]> 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_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825
2826 SWIGINTERN int
2827 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2828 {
2829 long v = 0;
2830 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2831 return SWIG_TypeError;
2832 }
2833 else if (val)
2834 *val = (unsigned long)v;
2835 return SWIG_OK;
2836 }
2837
2838
2839 SWIGINTERN int
2840 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2841 {
2842 unsigned long v;
2843 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2844 if (SWIG_IsOK(res)) {
2845 if ((v > UCHAR_MAX)) {
2846 return SWIG_OverflowError;
2847 } else {
2848 if (val) *val = static_cast< unsigned char >(v);
2849 }
2850 }
2851 return res;
2852 }
2853
2854
2855
2856 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2857 wxRect r;
2858 self->GetFieldRect(i, r);
2859 return r;
2860 }
2861 static const wxString wxPySplitterNameStr(wxT("splitter"));
2862 static const wxString wxPySashNameStr(wxT("sashWindow"));
2863 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2864
2865 #include <wx/popupwin.h>
2866
2867
2868 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2869 {
2870 public:
2871 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2872 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2873 : wxPopupTransientWindow(parent, style) {}
2874
2875 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2876 DEC_PYCALLBACK__(OnDismiss);
2877 DEC_PYCALLBACK_BOOL_(CanDismiss);
2878 PYPRIVATE;
2879 };
2880
2881
2882 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2883 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2884 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2885
2886
2887 #include <wx/tipwin.h>
2888
2889 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2890 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2891 }
2892
2893 #include <wx/tipwin.h>
2894
2895
2896 #include <wx/vscroll.h>
2897
2898
2899 class wxPyVScrolledWindow : public wxVScrolledWindow
2900 {
2901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2902 public:
2903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2904
2905 wxPyVScrolledWindow(wxWindow *parent,
2906 wxWindowID id = wxID_ANY,
2907 const wxPoint& pos = wxDefaultPosition,
2908 const wxSize& size = wxDefaultSize,
2909 long style = 0,
2910 const wxString& name = wxPyPanelNameStr)
2911 : wxVScrolledWindow(parent, id, pos, size, style, name)
2912 {}
2913
2914 // Overridable virtuals
2915
2916 // this function must be overridden in the derived class and it should
2917 // return the height of the given line in pixels
2918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2919
2920
2921 // this function doesn't have to be overridden but it may be useful to do
2922 // it if calculating the lines heights is a relatively expensive operation
2923 // as it gives the user code a possibility to calculate several of them at
2924 // once
2925 //
2926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2927 // shouldn't rely on the latter being called for all lines in the interval
2928 // specified here. It is also possible that OnGetLineHeight() will be
2929 // called for the lines outside of this interval, so this is really just a
2930 // hint, not a promise.
2931 //
2932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2933 // usual
2934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2935
2936
2937 // when the number of lines changes, we try to estimate the total height
2938 // of all lines which is a rather expensive operation in terms of lines
2939 // access, so if the user code may estimate the average height
2940 // better/faster than we do, it should override this function to implement
2941 // its own logic
2942 //
2943 // this function should return the best guess for the total height it may
2944 // make
2945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2946
2947
2948 // Also expose some other interesting protected methods
2949
2950
2951 // find the index of the line we need to show at the top of the window such
2952 // that the last (fully or partially) visible line is the given one
2953 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2955
2956 // get the total height of the lines between lineMin (inclusive) and
2957 // lineMax (exclusive)
2958 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2959 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2960
2961 // update the thumb size shown by the scrollbar
2962 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2963
2964 // remove the scrollbar completely because we don't need it
2965 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2966
2967 PYPRIVATE;
2968 };
2969
2970 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2971
2972 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2973 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2974 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2975
2976
2977 SWIGINTERNINLINE int
2978 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2979 {
2980 unsigned long v;
2981 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2982 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2983 return res;
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject*
2988 SWIG_From_unsigned_SS_long (unsigned long value)
2989 {
2990 return (value > LONG_MAX) ?
2991 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2992 }
2993
2994
2995 SWIGINTERNINLINE PyObject *
2996 SWIG_From_size_t (size_t value)
2997 {
2998 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2999 }
3000
3001
3002 #include <wx/vlbox.h>
3003
3004 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3005
3006 class wxPyVListBox : public wxVListBox
3007 {
3008 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3009 public:
3010 wxPyVListBox() : wxVListBox() {}
3011
3012 wxPyVListBox(wxWindow *parent,
3013 wxWindowID id = wxID_ANY,
3014 const wxPoint& pos = wxDefaultPosition,
3015 const wxSize& size = wxDefaultSize,
3016 long style = 0,
3017 const wxString& name = wxPyVListBoxNameStr)
3018 : wxVListBox(parent, id, pos, size, style, name)
3019 {}
3020
3021 // Overridable virtuals
3022
3023 // the derived class must implement this function to actually draw the item
3024 // with the given index on the provided DC
3025 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3026 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3027
3028
3029 // the derived class must implement this method to return the height of the
3030 // specified item
3031 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3032 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3033
3034
3035 // this method may be used to draw separators between the lines; note that
3036 // the rectangle may be modified, typically to deflate it a bit before
3037 // passing to OnDrawItem()
3038 //
3039 // the base class version doesn't do anything
3040 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3042
3043
3044 // this method is used to draw the items background and, maybe, a border
3045 // around it
3046 //
3047 // the base class version implements a reasonable default behaviour which
3048 // consists in drawing the selected item with the standard background
3049 // colour and drawing a border around the item if it is either selected or
3050 // current
3051 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3052 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3053
3054
3055 PYPRIVATE;
3056 };
3057
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3059
3060 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3062 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3063 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3064
3065
3066 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3067 unsigned long cookie = 0;
3068 int selected = self->GetFirstSelected(cookie);
3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3072 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
3076 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3077 int selected = self->GetNextSelected(cookie);
3078 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3079 PyObject* tup = PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3081 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3082 wxPyEndBlockThreads(blocked);
3083 return tup;
3084 }
3085
3086 #include <wx/htmllbox.h>
3087
3088
3089 class wxPyHtmlListBox : public wxHtmlListBox
3090 {
3091 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3092 public:
3093 wxPyHtmlListBox() : wxHtmlListBox() {}
3094
3095 wxPyHtmlListBox(wxWindow *parent,
3096 wxWindowID id = wxID_ANY,
3097 const wxPoint& pos = wxDefaultPosition,
3098 const wxSize& size = wxDefaultSize,
3099 long style = 0,
3100 const wxString& name = wxPyVListBoxNameStr)
3101 : wxHtmlListBox(parent, id, pos, size, style, name)
3102 {}
3103
3104 // Overridable virtuals
3105
3106 // this method must be implemented in the derived class and should return
3107 // the body (i.e. without <html>) of the HTML for the given item
3108 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3109
3110 // this function may be overridden to decorate HTML returned by OnGetItem()
3111 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3112
3113 // These are from wxVListBox
3114 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3115 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3116
3117 // TODO:
3118 // // this method allows to customize the selection appearance: it may be used
3119 // // to specify the colour of the text which normally has the given colour
3120 // // colFg when it is inside the selection
3121 // //
3122 // // by default, the original colour is not used at all and all text has the
3123 // // same (default for this system) colour inside selection
3124 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3125
3126 // // this is the same as GetSelectedTextColour() but allows to customize the
3127 // // background colour -- this is even more rarely used as you can change it
3128 // // globally using SetSelectionBackground()
3129 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3130
3131
3132 // This method may be overriden to handle clicking on a link in
3133 // the listbox. By default, clicking links is ignored.
3134 virtual void OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link);
3136
3137 PYPRIVATE;
3138 };
3139
3140
3141 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3142
3143 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3144 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3145 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3146 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3147
3148
3149 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3150 const wxHtmlLinkInfo& link) {
3151 bool found;
3152 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3153 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3154 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3155 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3156 Py_DECREF(obj);
3157 }
3158 wxPyEndBlockThreads(blocked);
3159 if (! found)
3160 wxPyHtmlListBox::OnLinkClicked(n, link);
3161 }
3162
3163
3164
3165
3166
3167 #ifndef wxHAS_TASK_BAR_ICON
3168 // implement dummy classes for platforms that don't have it
3169
3170 class wxTaskBarIcon : public wxEvtHandler
3171 {
3172 public:
3173 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3174 };
3175
3176
3177 class wxTaskBarIconEvent : public wxEvent
3178 {
3179 public:
3180 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3181 { wxPyRaiseNotImplemented(); }
3182 virtual wxEvent* Clone() const { return NULL; }
3183 bool IsOk() const { return false; }
3184 bool IsIconInstalled() const { return false; }
3185 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3186 bool RemoveIcon() { return false; }
3187 bool PopupMenu(wxMenu *menu) { return false; }
3188 };
3189
3190 enum {
3191 wxEVT_TASKBAR_MOVE = 0,
3192 wxEVT_TASKBAR_LEFT_DOWN = 0,
3193 wxEVT_TASKBAR_LEFT_UP = 0,
3194 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3195 wxEVT_TASKBAR_RIGHT_UP = 0,
3196 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3197 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3198 };
3199
3200
3201 #else
3202 // Otherwise make a class that can virtualize CreatePopupMenu
3203 class wxPyTaskBarIcon : public wxTaskBarIcon
3204 {
3205 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3206 public:
3207 wxPyTaskBarIcon() : wxTaskBarIcon()
3208 {}
3209
3210 wxMenu* CreatePopupMenu() {
3211 wxMenu *rval = NULL;
3212 bool found;
3213 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3214 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3215 PyObject* ro;
3216 wxMenu* ptr;
3217 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3218 if (ro) {
3219 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3220 rval = ptr;
3221 Py_DECREF(ro);
3222 }
3223 }
3224 wxPyEndBlockThreads(blocked);
3225 if (! found)
3226 rval = wxTaskBarIcon::CreatePopupMenu();
3227 return rval;
3228 }
3229
3230 PYPRIVATE;
3231 };
3232
3233 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3234
3235 #endif
3236
3237 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3238 self->RemoveIcon();
3239 delete self;
3240 }
3241 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3242 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3243 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3244 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3245 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3246 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3247
3248 // for compatibility only
3249 #define wxHIDE_READONLY 0
3250
3251 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3252 wxArrayString arr;
3253 self->GetFilenames(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
3256 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3257 wxArrayString arr;
3258 self->GetPaths(arr);
3259 return wxArrayString2PyList_helper(arr);
3260 }
3261 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3262 return wxArrayInt2PyList_helper(self->GetSelections());
3263 }
3264 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){
3265 return new wxSingleChoiceDialog(parent, message, caption,
3266 choices, choices_array, NULL, style, pos);
3267 }
3268 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3269
3270 SWIGINTERNINLINE PyObject*
3271 SWIG_From_bool (bool value)
3272 {
3273 return PyBool_FromLong(value ? 1 : 0);
3274 }
3275
3276
3277 #include <wx/mdi.h>
3278
3279 // C++ version of Python aware wxWindow
3280 class wxPyWindow : public wxWindow
3281 {
3282 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3283 public:
3284 wxPyWindow() : wxWindow() {}
3285 wxPyWindow(wxWindow* parent, const wxWindowID id,
3286 const wxPoint& pos = wxDefaultPosition,
3287 const wxSize& size = wxDefaultSize,
3288 long style = 0,
3289 const wxString& name = wxPyPanelNameStr)
3290 : wxWindow(parent, id, pos, size, style, name) {}
3291
3292 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3293
3294 bool DoEraseBackground(wxDC* dc) {
3295 #ifdef __WXMSW__
3296 return wxWindow::DoEraseBackground(dc->GetHDC());
3297 #else
3298 dc->SetBackground(wxBrush(GetBackgroundColour()));
3299 dc->Clear();
3300 return true;
3301 #endif
3302 }
3303
3304 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3305 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3308
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3312
3313 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3314 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3315
3316 DEC_PYCALLBACK__(InitDialog);
3317 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3318 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3319 DEC_PYCALLBACK_BOOL_(Validate);
3320
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3323 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3324
3325 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3327
3328 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3329 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3330
3331 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3332
3333 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3334
3335 PYPRIVATE;
3336 };
3337
3338 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3339
3340 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3341 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3344
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3348
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3351
3352 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3356
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3359 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3360
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3363
3364 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3365 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3366
3367 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3368
3369 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3370
3371 // C++ version of Python aware wxPanel
3372 class wxPyPanel : public wxPanel
3373 {
3374 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3375 public:
3376 wxPyPanel() : wxPanel() {}
3377 wxPyPanel(wxWindow* parent, const wxWindowID id,
3378 const wxPoint& pos = wxDefaultPosition,
3379 const wxSize& size = wxDefaultSize,
3380 long style = 0,
3381 const wxString& name = wxPyPanelNameStr)
3382 : wxPanel(parent, id, pos, size, style, name) {}
3383
3384 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3385 bool DoEraseBackground(wxDC* dc) {
3386 #ifdef __WXMSW__
3387 return wxWindow::DoEraseBackground(dc->GetHDC());
3388 #else
3389 dc->SetBackground(wxBrush(GetBackgroundColour()));
3390 dc->Clear();
3391 return true;
3392 #endif
3393 }
3394
3395
3396 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3397 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3400
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3404
3405 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3406 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3407
3408 DEC_PYCALLBACK__(InitDialog);
3409 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3410 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3411 DEC_PYCALLBACK_BOOL_(Validate);
3412
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3415 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3416
3417 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3419
3420 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3421 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3422
3423 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3424
3425 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3426
3427 PYPRIVATE;
3428 };
3429
3430 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3431
3432 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3433 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3436
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3440
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3443
3444 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3448
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3451 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3452
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3455
3456 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3457 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3458
3459 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3460
3461 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3462
3463 // C++ version of Python aware wxScrolledWindow
3464 class wxPyScrolledWindow : public wxScrolledWindow
3465 {
3466 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3467 public:
3468 wxPyScrolledWindow() : wxScrolledWindow() {}
3469 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3470 const wxPoint& pos = wxDefaultPosition,
3471 const wxSize& size = wxDefaultSize,
3472 long style = 0,
3473 const wxString& name = wxPyPanelNameStr)
3474 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3475
3476 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3477 bool DoEraseBackground(wxDC* dc) {
3478 #ifdef __WXMSW__
3479 return wxWindow::DoEraseBackground(dc->GetHDC());
3480 #else
3481 dc->SetBackground(wxBrush(GetBackgroundColour()));
3482 dc->Clear();
3483 return true;
3484 #endif
3485 }
3486
3487 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3488 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3491
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3495
3496 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3497 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3498
3499 DEC_PYCALLBACK__(InitDialog);
3500 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3501 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3502 DEC_PYCALLBACK_BOOL_(Validate);
3503
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3506 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3507
3508 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3510
3511 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3512 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3513
3514 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3515
3516 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3517
3518 PYPRIVATE;
3519 };
3520
3521 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3522
3523 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3524 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3527
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3531
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3534
3535 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3542 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3543
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3546
3547 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3548 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3549
3550 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3551
3552 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3553
3554
3555 #include "wx/wxPython/printfw.h"
3556
3557
3558 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3559 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3560 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3561 PyObject* data;
3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3563 data = PyString_FromStringAndSize(self->GetPrivData(),
3564 self->GetPrivDataLen());
3565 wxPyEndBlockThreads(blocked);
3566 return data;
3567 }
3568 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3569 if (! PyString_Check(data)) {
3570 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3571 "Expected string object"));
3572 return /* NULL */ ;
3573 }
3574
3575 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3576 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3577 wxPyEndBlockThreads(blocked);
3578 }
3579
3580
3581 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3582
3583 // Since this one would be tough and ugly to do with the Macros...
3584 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3585 bool hadErr = false;
3586 bool found;
3587
3588 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3589 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3590 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3591 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3592 PyObject* val;
3593
3594 val = PyTuple_GetItem(result, 0);
3595 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3596 else hadErr = true;
3597
3598 val = PyTuple_GetItem(result, 1);
3599 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3600 else hadErr = true;
3601
3602 val = PyTuple_GetItem(result, 2);
3603 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3604 else hadErr = true;
3605
3606 val = PyTuple_GetItem(result, 3);
3607 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3608 else hadErr = true;
3609 }
3610 else
3611 hadErr = true;
3612
3613 if (hadErr) {
3614 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3615 PyErr_Print();
3616 }
3617 Py_DECREF(result);
3618 }
3619 wxPyEndBlockThreads(blocked);
3620 if (! found)
3621 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3622 }
3623
3624
3625
3626 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3627 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3630 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3631 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3632 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3633
3634
3635
3636
3637
3638 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3639 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3640
3641
3642 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3643 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3644 bool rval=false; \
3645 bool found; \
3646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3648 PyObject* win = wxPyMake_wxObject(a,false); \
3649 PyObject* dc = wxPyMake_wxObject(&b,false); \
3650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3651 Py_DECREF(win); \
3652 Py_DECREF(dc); \
3653 } \
3654 wxPyEndBlockThreads(blocked); \
3655 if (! found) \
3656 rval = PCLASS::CBNAME(a, b); \
3657 return rval; \
3658 }
3659
3660
3661
3662
3663 class wxPyPrintPreview : public wxPrintPreview
3664 {
3665 DECLARE_CLASS(wxPyPrintPreview)
3666 public:
3667 wxPyPrintPreview(wxPyPrintout* printout,
3668 wxPyPrintout* printoutForPrinting,
3669 wxPrintDialogData* data=NULL)
3670 : wxPrintPreview(printout, printoutForPrinting, data)
3671 {}
3672 wxPyPrintPreview(wxPyPrintout* printout,
3673 wxPyPrintout* printoutForPrinting,
3674 wxPrintData* data)
3675 : wxPrintPreview(printout, printoutForPrinting, data)
3676 {}
3677
3678 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3681 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3682 DEC_PYCALLBACK_VOID_INT(SetZoom);
3683 DEC_PYCALLBACK_BOOL_BOOL(Print);
3684 DEC_PYCALLBACK_VOID_(DetermineScaling);
3685
3686 PYPRIVATE;
3687 };
3688
3689 // Stupid renamed classes... Fix this in 2.5...
3690 #if defined(__WXMSW__)
3691 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3692 #elif defined(__WXMAC__)
3693 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3694 #else
3695 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3696 #endif
3697
3698 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3701 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3702 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3703 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3704 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3705
3706
3707 class wxPyPreviewFrame : public wxPreviewFrame
3708 {
3709 DECLARE_CLASS(wxPyPreviewFrame)
3710 public:
3711 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3712 const wxString& title,
3713 const wxPoint& pos = wxDefaultPosition,
3714 const wxSize& size = wxDefaultSize,
3715 long style = wxDEFAULT_FRAME_STYLE,
3716 const wxString& name = wxPyFrameNameStr)
3717 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3718 {}
3719
3720 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3721 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3722
3723 DEC_PYCALLBACK_VOID_(Initialize);
3724 DEC_PYCALLBACK_VOID_(CreateCanvas);
3725 DEC_PYCALLBACK_VOID_(CreateControlBar);
3726
3727 PYPRIVATE;
3728 };
3729
3730 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3731
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3735
3736
3737 class wxPyPreviewControlBar : public wxPreviewControlBar
3738 {
3739 DECLARE_CLASS(wxPyPreviewControlBar)
3740 public:
3741 wxPyPreviewControlBar(wxPrintPreview *preview,
3742 long buttons,
3743 wxWindow *parent,
3744 const wxPoint& pos = wxDefaultPosition,
3745 const wxSize& size = wxDefaultSize,
3746 long style = 0,
3747 const wxString& name = wxPyPanelNameStr)
3748 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3749 {}
3750
3751 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3752
3753 DEC_PYCALLBACK_VOID_(CreateButtons);
3754 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3755
3756 PYPRIVATE;
3757 };
3758
3759 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3760 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3761 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3762
3763 #ifdef __cplusplus
3764 extern "C" {
3765 #endif
3766 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj = 0;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) (int)-1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3775 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3776 wxString *arg6 = (wxString *) &arg6_defvalue ;
3777 wxPanel *result = 0 ;
3778 void *argp1 = 0 ;
3779 int res1 = 0 ;
3780 int val2 ;
3781 int ecode2 = 0 ;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 long val5 ;
3785 int ecode5 = 0 ;
3786 bool temp6 = false ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 PyObject * obj4 = 0 ;
3792 PyObject * obj5 = 0 ;
3793 char * kwnames[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3795 };
3796
3797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3799 if (!SWIG_IsOK(res1)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3801 }
3802 arg1 = reinterpret_cast< wxWindow * >(argp1);
3803 if (obj1) {
3804 ecode2 = SWIG_AsVal_int(obj1, &val2);
3805 if (!SWIG_IsOK(ecode2)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3807 }
3808 arg2 = static_cast< int >(val2);
3809 }
3810 if (obj2) {
3811 {
3812 arg3 = &temp3;
3813 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3814 }
3815 }
3816 if (obj3) {
3817 {
3818 arg4 = &temp4;
3819 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3820 }
3821 }
3822 if (obj4) {
3823 ecode5 = SWIG_AsVal_long(obj4, &val5);
3824 if (!SWIG_IsOK(ecode5)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3826 }
3827 arg5 = static_cast< long >(val5);
3828 }
3829 if (obj5) {
3830 {
3831 arg6 = wxString_in_helper(obj5);
3832 if (arg6 == NULL) SWIG_fail;
3833 temp6 = true;
3834 }
3835 }
3836 {
3837 if (!wxPyCheckForApp()) SWIG_fail;
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3844 {
3845 if (temp6)
3846 delete arg6;
3847 }
3848 return resultobj;
3849 fail:
3850 {
3851 if (temp6)
3852 delete arg6;
3853 }
3854 return NULL;
3855 }
3856
3857
3858 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3859 PyObject *resultobj = 0;
3860 wxPanel *result = 0 ;
3861
3862 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3863 {
3864 if (!wxPyCheckForApp()) SWIG_fail;
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (wxPanel *)new wxPanel();
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj = 0;
3879 wxPanel *arg1 = (wxPanel *) 0 ;
3880 wxWindow *arg2 = (wxWindow *) 0 ;
3881 int arg3 = (int) (int)-1 ;
3882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3884 wxSize const &arg5_defvalue = wxDefaultSize ;
3885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3886 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3887 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3888 wxString *arg7 = (wxString *) &arg7_defvalue ;
3889 bool result;
3890 void *argp1 = 0 ;
3891 int res1 = 0 ;
3892 void *argp2 = 0 ;
3893 int res2 = 0 ;
3894 int val3 ;
3895 int ecode3 = 0 ;
3896 wxPoint temp4 ;
3897 wxSize temp5 ;
3898 long val6 ;
3899 int ecode6 = 0 ;
3900 bool temp7 = false ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 PyObject * obj2 = 0 ;
3904 PyObject * obj3 = 0 ;
3905 PyObject * obj4 = 0 ;
3906 PyObject * obj5 = 0 ;
3907 PyObject * obj6 = 0 ;
3908 char * kwnames[] = {
3909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3910 };
3911
3912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3914 if (!SWIG_IsOK(res1)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3916 }
3917 arg1 = reinterpret_cast< wxPanel * >(argp1);
3918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3919 if (!SWIG_IsOK(res2)) {
3920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3921 }
3922 arg2 = reinterpret_cast< wxWindow * >(argp2);
3923 if (obj2) {
3924 ecode3 = SWIG_AsVal_int(obj2, &val3);
3925 if (!SWIG_IsOK(ecode3)) {
3926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3927 }
3928 arg3 = static_cast< int >(val3);
3929 }
3930 if (obj3) {
3931 {
3932 arg4 = &temp4;
3933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3934 }
3935 }
3936 if (obj4) {
3937 {
3938 arg5 = &temp5;
3939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3940 }
3941 }
3942 if (obj5) {
3943 ecode6 = SWIG_AsVal_long(obj5, &val6);
3944 if (!SWIG_IsOK(ecode6)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3946 }
3947 arg6 = static_cast< long >(val6);
3948 }
3949 if (obj6) {
3950 {
3951 arg7 = wxString_in_helper(obj6);
3952 if (arg7 == NULL) SWIG_fail;
3953 temp7 = true;
3954 }
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3964 }
3965 {
3966 if (temp7)
3967 delete arg7;
3968 }
3969 return resultobj;
3970 fail:
3971 {
3972 if (temp7)
3973 delete arg7;
3974 }
3975 return NULL;
3976 }
3977
3978
3979 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 PyObject *resultobj = 0;
3981 wxPanel *arg1 = (wxPanel *) 0 ;
3982 void *argp1 = 0 ;
3983 int res1 = 0 ;
3984 PyObject *swig_obj[1] ;
3985
3986 if (!args) SWIG_fail;
3987 swig_obj[0] = args;
3988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3989 if (!SWIG_IsOK(res1)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3991 }
3992 arg1 = reinterpret_cast< wxPanel * >(argp1);
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 (arg1)->SetFocusIgnoringChildren();
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 resultobj = SWIG_Py_Void();
4000 return resultobj;
4001 fail:
4002 return NULL;
4003 }
4004
4005
4006 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4007 PyObject *resultobj = 0;
4008 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4009 SwigValueWrapper<wxVisualAttributes > result;
4010 int val1 ;
4011 int ecode1 = 0 ;
4012 PyObject * obj0 = 0 ;
4013 char * kwnames[] = {
4014 (char *) "variant", NULL
4015 };
4016
4017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4018 if (obj0) {
4019 ecode1 = SWIG_AsVal_int(obj0, &val1);
4020 if (!SWIG_IsOK(ecode1)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4022 }
4023 arg1 = static_cast< wxWindowVariant >(val1);
4024 }
4025 {
4026 if (!wxPyCheckForApp()) SWIG_fail;
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = wxPanel::GetClassDefaultAttributes(arg1);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 PyObject *obj;
4041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4043 return SWIG_Py_Void();
4044 }
4045
4046 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4047 return SWIG_Python_InitShadowInstance(args);
4048 }
4049
4050 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj = 0;
4052 wxWindow *arg1 = (wxWindow *) 0 ;
4053 int arg2 = (int) (int)-1 ;
4054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4056 wxSize const &arg4_defvalue = wxDefaultSize ;
4057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4058 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4059 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4060 wxString *arg6 = (wxString *) &arg6_defvalue ;
4061 wxScrolledWindow *result = 0 ;
4062 void *argp1 = 0 ;
4063 int res1 = 0 ;
4064 int val2 ;
4065 int ecode2 = 0 ;
4066 wxPoint temp3 ;
4067 wxSize temp4 ;
4068 long val5 ;
4069 int ecode5 = 0 ;
4070 bool temp6 = false ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 PyObject * obj2 = 0 ;
4074 PyObject * obj3 = 0 ;
4075 PyObject * obj4 = 0 ;
4076 PyObject * obj5 = 0 ;
4077 char * kwnames[] = {
4078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4079 };
4080
4081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4083 if (!SWIG_IsOK(res1)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4085 }
4086 arg1 = reinterpret_cast< wxWindow * >(argp1);
4087 if (obj1) {
4088 ecode2 = SWIG_AsVal_int(obj1, &val2);
4089 if (!SWIG_IsOK(ecode2)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4091 }
4092 arg2 = static_cast< int >(val2);
4093 }
4094 if (obj2) {
4095 {
4096 arg3 = &temp3;
4097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4098 }
4099 }
4100 if (obj3) {
4101 {
4102 arg4 = &temp4;
4103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4104 }
4105 }
4106 if (obj4) {
4107 ecode5 = SWIG_AsVal_long(obj4, &val5);
4108 if (!SWIG_IsOK(ecode5)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4110 }
4111 arg5 = static_cast< long >(val5);
4112 }
4113 if (obj5) {
4114 {
4115 arg6 = wxString_in_helper(obj5);
4116 if (arg6 == NULL) SWIG_fail;
4117 temp6 = true;
4118 }
4119 }
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4128 {
4129 if (temp6)
4130 delete arg6;
4131 }
4132 return resultobj;
4133 fail:
4134 {
4135 if (temp6)
4136 delete arg6;
4137 }
4138 return NULL;
4139 }
4140
4141
4142 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4143 PyObject *resultobj = 0;
4144 wxScrolledWindow *result = 0 ;
4145
4146 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4147 {
4148 if (!wxPyCheckForApp()) SWIG_fail;
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxScrolledWindow *)new wxScrolledWindow();
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj = 0;
4163 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4164 wxWindow *arg2 = (wxWindow *) 0 ;
4165 int arg3 = (int) (int)-1 ;
4166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4168 wxSize const &arg5_defvalue = wxDefaultSize ;
4169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4170 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4171 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4172 wxString *arg7 = (wxString *) &arg7_defvalue ;
4173 bool result;
4174 void *argp1 = 0 ;
4175 int res1 = 0 ;
4176 void *argp2 = 0 ;
4177 int res2 = 0 ;
4178 int val3 ;
4179 int ecode3 = 0 ;
4180 wxPoint temp4 ;
4181 wxSize temp5 ;
4182 long val6 ;
4183 int ecode6 = 0 ;
4184 bool temp7 = false ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 PyObject * obj2 = 0 ;
4188 PyObject * obj3 = 0 ;
4189 PyObject * obj4 = 0 ;
4190 PyObject * obj5 = 0 ;
4191 PyObject * obj6 = 0 ;
4192 char * kwnames[] = {
4193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4194 };
4195
4196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4198 if (!SWIG_IsOK(res1)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4200 }
4201 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4203 if (!SWIG_IsOK(res2)) {
4204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4205 }
4206 arg2 = reinterpret_cast< wxWindow * >(argp2);
4207 if (obj2) {
4208 ecode3 = SWIG_AsVal_int(obj2, &val3);
4209 if (!SWIG_IsOK(ecode3)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4211 }
4212 arg3 = static_cast< int >(val3);
4213 }
4214 if (obj3) {
4215 {
4216 arg4 = &temp4;
4217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4218 }
4219 }
4220 if (obj4) {
4221 {
4222 arg5 = &temp5;
4223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4224 }
4225 }
4226 if (obj5) {
4227 ecode6 = SWIG_AsVal_long(obj5, &val6);
4228 if (!SWIG_IsOK(ecode6)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4230 }
4231 arg6 = static_cast< long >(val6);
4232 }
4233 if (obj6) {
4234 {
4235 arg7 = wxString_in_helper(obj6);
4236 if (arg7 == NULL) SWIG_fail;
4237 temp7 = true;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4248 }
4249 {
4250 if (temp7)
4251 delete arg7;
4252 }
4253 return resultobj;
4254 fail:
4255 {
4256 if (temp7)
4257 delete arg7;
4258 }
4259 return NULL;
4260 }
4261
4262
4263 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4266 int arg2 ;
4267 int arg3 ;
4268 int arg4 ;
4269 int arg5 ;
4270 int arg6 = (int) 0 ;
4271 int arg7 = (int) 0 ;
4272 bool arg8 = (bool) false ;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 int val2 ;
4276 int ecode2 = 0 ;
4277 int val3 ;
4278 int ecode3 = 0 ;
4279 int val4 ;
4280 int ecode4 = 0 ;
4281 int val5 ;
4282 int ecode5 = 0 ;
4283 int val6 ;
4284 int ecode6 = 0 ;
4285 int val7 ;
4286 int ecode7 = 0 ;
4287 bool val8 ;
4288 int ecode8 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 PyObject * obj3 = 0 ;
4293 PyObject * obj4 = 0 ;
4294 PyObject * obj5 = 0 ;
4295 PyObject * obj6 = 0 ;
4296 PyObject * obj7 = 0 ;
4297 char * kwnames[] = {
4298 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4299 };
4300
4301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4303 if (!SWIG_IsOK(res1)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4305 }
4306 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4307 ecode2 = SWIG_AsVal_int(obj1, &val2);
4308 if (!SWIG_IsOK(ecode2)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4310 }
4311 arg2 = static_cast< int >(val2);
4312 ecode3 = SWIG_AsVal_int(obj2, &val3);
4313 if (!SWIG_IsOK(ecode3)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4315 }
4316 arg3 = static_cast< int >(val3);
4317 ecode4 = SWIG_AsVal_int(obj3, &val4);
4318 if (!SWIG_IsOK(ecode4)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4320 }
4321 arg4 = static_cast< int >(val4);
4322 ecode5 = SWIG_AsVal_int(obj4, &val5);
4323 if (!SWIG_IsOK(ecode5)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4325 }
4326 arg5 = static_cast< int >(val5);
4327 if (obj5) {
4328 ecode6 = SWIG_AsVal_int(obj5, &val6);
4329 if (!SWIG_IsOK(ecode6)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4331 }
4332 arg6 = static_cast< int >(val6);
4333 }
4334 if (obj6) {
4335 ecode7 = SWIG_AsVal_int(obj6, &val7);
4336 if (!SWIG_IsOK(ecode7)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4338 }
4339 arg7 = static_cast< int >(val7);
4340 }
4341 if (obj7) {
4342 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4343 if (!SWIG_IsOK(ecode8)) {
4344 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4345 }
4346 arg8 = static_cast< bool >(val8);
4347 }
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 resultobj = SWIG_Py_Void();
4355 return resultobj;
4356 fail:
4357 return NULL;
4358 }
4359
4360
4361 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj = 0;
4363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4364 int arg2 ;
4365 int arg3 ;
4366 void *argp1 = 0 ;
4367 int res1 = 0 ;
4368 int val2 ;
4369 int ecode2 = 0 ;
4370 int val3 ;
4371 int ecode3 = 0 ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 char * kwnames[] = {
4376 (char *) "self",(char *) "x",(char *) "y", NULL
4377 };
4378
4379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4381 if (!SWIG_IsOK(res1)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4383 }
4384 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4385 ecode2 = SWIG_AsVal_int(obj1, &val2);
4386 if (!SWIG_IsOK(ecode2)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4388 }
4389 arg2 = static_cast< int >(val2);
4390 ecode3 = SWIG_AsVal_int(obj2, &val3);
4391 if (!SWIG_IsOK(ecode3)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4393 }
4394 arg3 = static_cast< int >(val3);
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->Scroll(arg2,arg3);
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_Py_Void();
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj = 0;
4410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4411 int arg2 ;
4412 int result;
4413 void *argp1 = 0 ;
4414 int res1 = 0 ;
4415 int val2 ;
4416 int ecode2 = 0 ;
4417 PyObject * obj0 = 0 ;
4418 PyObject * obj1 = 0 ;
4419 char * kwnames[] = {
4420 (char *) "self",(char *) "orient", NULL
4421 };
4422
4423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4425 if (!SWIG_IsOK(res1)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4427 }
4428 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4429 ecode2 = SWIG_AsVal_int(obj1, &val2);
4430 if (!SWIG_IsOK(ecode2)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4432 }
4433 arg2 = static_cast< int >(val2);
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_From_int(static_cast< int >(result));
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj = 0;
4449 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4450 int arg2 ;
4451 int arg3 ;
4452 void *argp1 = 0 ;
4453 int res1 = 0 ;
4454 int val2 ;
4455 int ecode2 = 0 ;
4456 int val3 ;
4457 int ecode3 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
4461 char * kwnames[] = {
4462 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4463 };
4464
4465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4467 if (!SWIG_IsOK(res1)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4469 }
4470 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4471 ecode2 = SWIG_AsVal_int(obj1, &val2);
4472 if (!SWIG_IsOK(ecode2)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4474 }
4475 arg2 = static_cast< int >(val2);
4476 ecode3 = SWIG_AsVal_int(obj2, &val3);
4477 if (!SWIG_IsOK(ecode3)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4479 }
4480 arg3 = static_cast< int >(val3);
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetScrollPageSize(arg2,arg3);
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 resultobj = SWIG_Py_Void();
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj = 0;
4496 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4497 int arg2 ;
4498 int arg3 ;
4499 void *argp1 = 0 ;
4500 int res1 = 0 ;
4501 int val2 ;
4502 int ecode2 = 0 ;
4503 int val3 ;
4504 int ecode3 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 PyObject * obj2 = 0 ;
4508 char * kwnames[] = {
4509 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4510 };
4511
4512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4514 if (!SWIG_IsOK(res1)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4516 }
4517 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4518 ecode2 = SWIG_AsVal_int(obj1, &val2);
4519 if (!SWIG_IsOK(ecode2)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4521 }
4522 arg2 = static_cast< int >(val2);
4523 ecode3 = SWIG_AsVal_int(obj2, &val3);
4524 if (!SWIG_IsOK(ecode3)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4526 }
4527 arg3 = static_cast< int >(val3);
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 (arg1)->SetScrollRate(arg2,arg3);
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 resultobj = SWIG_Py_Void();
4535 return resultobj;
4536 fail:
4537 return NULL;
4538 }
4539
4540
4541 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4542 PyObject *resultobj = 0;
4543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4544 int *arg2 = (int *) 0 ;
4545 int *arg3 = (int *) 0 ;
4546 void *argp1 = 0 ;
4547 int res1 = 0 ;
4548 int temp2 ;
4549 int res2 = SWIG_TMPOBJ ;
4550 int temp3 ;
4551 int res3 = SWIG_TMPOBJ ;
4552 PyObject *swig_obj[1] ;
4553
4554 arg2 = &temp2;
4555 arg3 = &temp3;
4556 if (!args) SWIG_fail;
4557 swig_obj[0] = args;
4558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4559 if (!SWIG_IsOK(res1)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4561 }
4562 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = SWIG_Py_Void();
4570 if (SWIG_IsTmpObj(res2)) {
4571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4572 } else {
4573 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4575 }
4576 if (SWIG_IsTmpObj(res3)) {
4577 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4578 } else {
4579 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4581 }
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj = 0;
4590 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4591 bool arg2 ;
4592 bool arg3 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 bool val2 ;
4596 int ecode2 = 0 ;
4597 bool val3 ;
4598 int ecode3 = 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char * kwnames[] = {
4603 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4604 };
4605
4606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4608 if (!SWIG_IsOK(res1)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4610 }
4611 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4612 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4613 if (!SWIG_IsOK(ecode2)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4615 }
4616 arg2 = static_cast< bool >(val2);
4617 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4618 if (!SWIG_IsOK(ecode3)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4620 }
4621 arg3 = static_cast< bool >(val3);
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 (arg1)->EnableScrolling(arg2,arg3);
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = SWIG_Py_Void();
4629 return resultobj;
4630 fail:
4631 return NULL;
4632 }
4633
4634
4635 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4636 PyObject *resultobj = 0;
4637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4638 int *arg2 = (int *) 0 ;
4639 int *arg3 = (int *) 0 ;
4640 void *argp1 = 0 ;
4641 int res1 = 0 ;
4642 int temp2 ;
4643 int res2 = SWIG_TMPOBJ ;
4644 int temp3 ;
4645 int res3 = SWIG_TMPOBJ ;
4646 PyObject *swig_obj[1] ;
4647
4648 arg2 = &temp2;
4649 arg3 = &temp3;
4650 if (!args) SWIG_fail;
4651 swig_obj[0] = args;
4652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4653 if (!SWIG_IsOK(res1)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4655 }
4656 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 resultobj = SWIG_Py_Void();
4664 if (SWIG_IsTmpObj(res2)) {
4665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4666 } else {
4667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4669 }
4670 if (SWIG_IsTmpObj(res3)) {
4671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4672 } else {
4673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4675 }
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj = 0;
4684 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4685 double arg2 ;
4686 double arg3 ;
4687 void *argp1 = 0 ;
4688 int res1 = 0 ;
4689 double val2 ;
4690 int ecode2 = 0 ;
4691 double val3 ;
4692 int ecode3 = 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 PyObject * obj2 = 0 ;
4696 char * kwnames[] = {
4697 (char *) "self",(char *) "xs",(char *) "ys", NULL
4698 };
4699
4700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4702 if (!SWIG_IsOK(res1)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4704 }
4705 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4706 ecode2 = SWIG_AsVal_double(obj1, &val2);
4707 if (!SWIG_IsOK(ecode2)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4709 }
4710 arg2 = static_cast< double >(val2);
4711 ecode3 = SWIG_AsVal_double(obj2, &val3);
4712 if (!SWIG_IsOK(ecode3)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4714 }
4715 arg3 = static_cast< double >(val3);
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->SetScale(arg2,arg3);
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_Py_Void();
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4730 PyObject *resultobj = 0;
4731 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4732 double result;
4733 void *argp1 = 0 ;
4734 int res1 = 0 ;
4735 PyObject *swig_obj[1] ;
4736
4737 if (!args) SWIG_fail;
4738 swig_obj[0] = args;
4739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4742 }
4743 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_From_double(static_cast< double >(result));
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4758 PyObject *resultobj = 0;
4759 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4760 double result;
4761 void *argp1 = 0 ;
4762 int res1 = 0 ;
4763 PyObject *swig_obj[1] ;
4764
4765 if (!args) SWIG_fail;
4766 swig_obj[0] = args;
4767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4770 }
4771 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_From_double(static_cast< double >(result));
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4786 PyObject *resultobj = 0;
4787 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4788 wxPoint *arg2 = 0 ;
4789 wxPoint result;
4790 void *argp1 = 0 ;
4791 int res1 = 0 ;
4792 wxPoint temp2 ;
4793
4794 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4796 if (!SWIG_IsOK(res1)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4798 }
4799 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4800 {
4801 arg2 = &temp2;
4802 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4818 PyObject *resultobj = 0;
4819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4820 int arg2 ;
4821 int arg3 ;
4822 int *arg4 = (int *) 0 ;
4823 int *arg5 = (int *) 0 ;
4824 void *argp1 = 0 ;
4825 int res1 = 0 ;
4826 int val2 ;
4827 int ecode2 = 0 ;
4828 int val3 ;
4829 int ecode3 = 0 ;
4830 int temp4 ;
4831 int res4 = SWIG_TMPOBJ ;
4832 int temp5 ;
4833 int res5 = SWIG_TMPOBJ ;
4834
4835 arg4 = &temp4;
4836 arg5 = &temp5;
4837 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 }
4842 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4843 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4844 if (!SWIG_IsOK(ecode2)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4846 }
4847 arg2 = static_cast< int >(val2);
4848 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4849 if (!SWIG_IsOK(ecode3)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4851 }
4852 arg3 = static_cast< int >(val3);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_Py_Void();
4860 if (SWIG_IsTmpObj(res4)) {
4861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4862 } else {
4863 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4865 }
4866 if (SWIG_IsTmpObj(res5)) {
4867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4868 } else {
4869 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4871 }
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4879 int argc;
4880 PyObject *argv[4];
4881
4882 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4883 --argc;
4884 if (argc == 2) {
4885 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4886 }
4887 if (argc == 3) {
4888 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4889 }
4890
4891 fail:
4892 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4893 return NULL;
4894 }
4895
4896
4897 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4898 PyObject *resultobj = 0;
4899 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4900 wxPoint *arg2 = 0 ;
4901 wxPoint result;
4902 void *argp1 = 0 ;
4903 int res1 = 0 ;
4904 wxPoint temp2 ;
4905
4906 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4910 }
4911 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4912 {
4913 arg2 = &temp2;
4914 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4930 PyObject *resultobj = 0;
4931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4932 int arg2 ;
4933 int arg3 ;
4934 int *arg4 = (int *) 0 ;
4935 int *arg5 = (int *) 0 ;
4936 void *argp1 = 0 ;
4937 int res1 = 0 ;
4938 int val2 ;
4939 int ecode2 = 0 ;
4940 int val3 ;
4941 int ecode3 = 0 ;
4942 int temp4 ;
4943 int res4 = SWIG_TMPOBJ ;
4944 int temp5 ;
4945 int res5 = SWIG_TMPOBJ ;
4946
4947 arg4 = &temp4;
4948 arg5 = &temp5;
4949 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4951 if (!SWIG_IsOK(res1)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4953 }
4954 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4955 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4956 if (!SWIG_IsOK(ecode2)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4958 }
4959 arg2 = static_cast< int >(val2);
4960 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4961 if (!SWIG_IsOK(ecode3)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4963 }
4964 arg3 = static_cast< int >(val3);
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = SWIG_Py_Void();
4972 if (SWIG_IsTmpObj(res4)) {
4973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4974 } else {
4975 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4977 }
4978 if (SWIG_IsTmpObj(res5)) {
4979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4980 } else {
4981 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4983 }
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4991 int argc;
4992 PyObject *argv[4];
4993
4994 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4995 --argc;
4996 if (argc == 2) {
4997 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4998 }
4999 if (argc == 3) {
5000 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5001 }
5002
5003 fail:
5004 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5005 return NULL;
5006 }
5007
5008
5009 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5010 PyObject *resultobj = 0;
5011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5012 void *argp1 = 0 ;
5013 int res1 = 0 ;
5014 PyObject *swig_obj[1] ;
5015
5016 if (!args) SWIG_fail;
5017 swig_obj[0] = args;
5018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5019 if (!SWIG_IsOK(res1)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5021 }
5022 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 (arg1)->AdjustScrollbars();
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 resultobj = SWIG_Py_Void();
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj = 0;
5038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5039 wxScrollWinEvent *arg2 = 0 ;
5040 int result;
5041 void *argp1 = 0 ;
5042 int res1 = 0 ;
5043 void *argp2 = 0 ;
5044 int res2 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "event", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5055 }
5056 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5058 if (!SWIG_IsOK(res2)) {
5059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5060 }
5061 if (!argp2) {
5062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 }
5064 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (int)(arg1)->CalcScrollInc(*arg2);
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = SWIG_From_int(static_cast< int >(result));
5072 return resultobj;
5073 fail:
5074 return NULL;
5075 }
5076
5077
5078 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj = 0;
5080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5081 wxWindow *arg2 = (wxWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 void *argp2 = 0 ;
5085 int res2 = 0 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char * kwnames[] = {
5089 (char *) "self",(char *) "target", NULL
5090 };
5091
5092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5094 if (!SWIG_IsOK(res1)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 }
5097 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5099 if (!SWIG_IsOK(res2)) {
5100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5101 }
5102 arg2 = reinterpret_cast< wxWindow * >(argp2);
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetTargetWindow(arg2);
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_Py_Void();
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5117 PyObject *resultobj = 0;
5118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5119 wxWindow *result = 0 ;
5120 void *argp1 = 0 ;
5121 int res1 = 0 ;
5122 PyObject *swig_obj[1] ;
5123
5124 if (!args) SWIG_fail;
5125 swig_obj[0] = args;
5126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5127 if (!SWIG_IsOK(res1)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 }
5130 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 {
5138 resultobj = wxPyMake_wxObject(result, 0);
5139 }
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = 0;
5148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5149 wxRect *arg2 = 0 ;
5150 void *argp1 = 0 ;
5151 int res1 = 0 ;
5152 wxRect temp2 ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char * kwnames[] = {
5156 (char *) "self",(char *) "rect", NULL
5157 };
5158
5159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5161 if (!SWIG_IsOK(res1)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5163 }
5164 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5165 {
5166 arg2 = &temp2;
5167 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetTargetRect((wxRect const &)*arg2);
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_Py_Void();
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5183 PyObject *resultobj = 0;
5184 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5185 wxRect result;
5186 void *argp1 = 0 ;
5187 int res1 = 0 ;
5188 PyObject *swig_obj[1] ;
5189
5190 if (!args) SWIG_fail;
5191 swig_obj[0] = args;
5192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5193 if (!SWIG_IsOK(res1)) {
5194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5195 }
5196 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj = 0;
5212 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5213 wxDC *arg2 = 0 ;
5214 void *argp1 = 0 ;
5215 int res1 = 0 ;
5216 void *argp2 = 0 ;
5217 int res2 = 0 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char * kwnames[] = {
5221 (char *) "self",(char *) "dc", NULL
5222 };
5223
5224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5226 if (!SWIG_IsOK(res1)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5228 }
5229 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5231 if (!SWIG_IsOK(res2)) {
5232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5233 }
5234 if (!argp2) {
5235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 }
5237 arg2 = reinterpret_cast< wxDC * >(argp2);
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->DoPrepareDC(*arg2);
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = SWIG_Py_Void();
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj = 0;
5253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5254 SwigValueWrapper<wxVisualAttributes > result;
5255 int val1 ;
5256 int ecode1 = 0 ;
5257 PyObject * obj0 = 0 ;
5258 char * kwnames[] = {
5259 (char *) "variant", NULL
5260 };
5261
5262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5263 if (obj0) {
5264 ecode1 = SWIG_AsVal_int(obj0, &val1);
5265 if (!SWIG_IsOK(ecode1)) {
5266 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5267 }
5268 arg1 = static_cast< wxWindowVariant >(val1);
5269 }
5270 {
5271 if (!wxPyCheckForApp()) SWIG_fail;
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 PyObject *obj;
5286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5287 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5288 return SWIG_Py_Void();
5289 }
5290
5291 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5292 return SWIG_Python_InitShadowInstance(args);
5293 }
5294
5295 SWIGINTERN int FrameNameStr_set(PyObject *) {
5296 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5297 return 1;
5298 }
5299
5300
5301 SWIGINTERN PyObject *FrameNameStr_get(void) {
5302 PyObject *pyobj = 0;
5303
5304 {
5305 #if wxUSE_UNICODE
5306 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5307 #else
5308 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5309 #endif
5310 }
5311 return pyobj;
5312 }
5313
5314
5315 SWIGINTERN int DialogNameStr_set(PyObject *) {
5316 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5317 return 1;
5318 }
5319
5320
5321 SWIGINTERN PyObject *DialogNameStr_get(void) {
5322 PyObject *pyobj = 0;
5323
5324 {
5325 #if wxUSE_UNICODE
5326 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5327 #else
5328 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5329 #endif
5330 }
5331 return pyobj;
5332 }
5333
5334
5335 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5336 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5337 return 1;
5338 }
5339
5340
5341 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5342 PyObject *pyobj = 0;
5343
5344 {
5345 #if wxUSE_UNICODE
5346 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5347 #else
5348 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5349 #endif
5350 }
5351 return pyobj;
5352 }
5353
5354
5355 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5356 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5357 return 1;
5358 }
5359
5360
5361 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5362 PyObject *pyobj = 0;
5363
5364 {
5365 #if wxUSE_UNICODE
5366 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5367 #else
5368 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5369 #endif
5370 }
5371 return pyobj;
5372 }
5373
5374
5375 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj = 0;
5377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5378 bool arg2 = (bool) true ;
5379 void *argp1 = 0 ;
5380 int res1 = 0 ;
5381 bool val2 ;
5382 int ecode2 = 0 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char * kwnames[] = {
5386 (char *) "self",(char *) "maximize", NULL
5387 };
5388
5389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5391 if (!SWIG_IsOK(res1)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5393 }
5394 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5395 if (obj1) {
5396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5399 }
5400 arg2 = static_cast< bool >(val2);
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->Maximize(arg2);
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 resultobj = SWIG_Py_Void();
5409 return resultobj;
5410 fail:
5411 return NULL;
5412 }
5413
5414
5415 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5416 PyObject *resultobj = 0;
5417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5418 void *argp1 = 0 ;
5419 int res1 = 0 ;
5420 PyObject *swig_obj[1] ;
5421
5422 if (!args) SWIG_fail;
5423 swig_obj[0] = args;
5424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5425 if (!SWIG_IsOK(res1)) {
5426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5427 }
5428 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Restore();
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 resultobj = SWIG_Py_Void();
5436 return resultobj;
5437 fail:
5438 return NULL;
5439 }
5440
5441
5442 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj = 0;
5444 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5445 bool arg2 = (bool) true ;
5446 void *argp1 = 0 ;
5447 int res1 = 0 ;
5448 bool val2 ;
5449 int ecode2 = 0 ;
5450 PyObject * obj0 = 0 ;
5451 PyObject * obj1 = 0 ;
5452 char * kwnames[] = {
5453 (char *) "self",(char *) "iconize", NULL
5454 };
5455
5456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5458 if (!SWIG_IsOK(res1)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5460 }
5461 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5462 if (obj1) {
5463 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5464 if (!SWIG_IsOK(ecode2)) {
5465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5466 }
5467 arg2 = static_cast< bool >(val2);
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 (arg1)->Iconize(arg2);
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = SWIG_Py_Void();
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5483 PyObject *resultobj = 0;
5484 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5485 bool result;
5486 void *argp1 = 0 ;
5487 int res1 = 0 ;
5488 PyObject *swig_obj[1] ;
5489
5490 if (!args) SWIG_fail;
5491 swig_obj[0] = args;
5492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5493 if (!SWIG_IsOK(res1)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 }
5496 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 {
5504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5505 }
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5513 PyObject *resultobj = 0;
5514 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5515 bool result;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 PyObject *swig_obj[1] ;
5519
5520 if (!args) SWIG_fail;
5521 swig_obj[0] = args;
5522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5523 if (!SWIG_IsOK(res1)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5525 }
5526 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5535 }
5536 return resultobj;
5537 fail:
5538 return NULL;
5539 }
5540
5541
5542 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5543 PyObject *resultobj = 0;
5544 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5545 bool result;
5546 void *argp1 = 0 ;
5547 int res1 = 0 ;
5548 PyObject *swig_obj[1] ;
5549
5550 if (!args) SWIG_fail;
5551 swig_obj[0] = args;
5552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5553 if (!SWIG_IsOK(res1)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5555 }
5556 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5565 }
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5573 PyObject *resultobj = 0;
5574 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5575 wxIcon result;
5576 void *argp1 = 0 ;
5577 int res1 = 0 ;
5578 PyObject *swig_obj[1] ;
5579
5580 if (!args) SWIG_fail;
5581 swig_obj[0] = args;
5582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5583 if (!SWIG_IsOK(res1)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5585 }
5586 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj = 0;
5602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5603 wxIcon *arg2 = 0 ;
5604 void *argp1 = 0 ;
5605 int res1 = 0 ;
5606 void *argp2 = 0 ;
5607 int res2 = 0 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char * kwnames[] = {
5611 (char *) "self",(char *) "icon", NULL
5612 };
5613
5614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5616 if (!SWIG_IsOK(res1)) {
5617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5618 }
5619 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5620 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5621 if (!SWIG_IsOK(res2)) {
5622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5623 }
5624 if (!argp2) {
5625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 }
5627 arg2 = reinterpret_cast< wxIcon * >(argp2);
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 (arg1)->SetIcon((wxIcon const &)*arg2);
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 resultobj = SWIG_Py_Void();
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj = 0;
5643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5644 wxIconBundle *arg2 = 0 ;
5645 void *argp1 = 0 ;
5646 int res1 = 0 ;
5647 void *argp2 = 0 ;
5648 int res2 = 0 ;
5649 PyObject * obj0 = 0 ;
5650 PyObject * obj1 = 0 ;
5651 char * kwnames[] = {
5652 (char *) "self",(char *) "icons", NULL
5653 };
5654
5655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5657 if (!SWIG_IsOK(res1)) {
5658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5659 }
5660 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5661 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5662 if (!SWIG_IsOK(res2)) {
5663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5664 }
5665 if (!argp2) {
5666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 }
5668 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 resultobj = SWIG_Py_Void();
5676 return resultobj;
5677 fail:
5678 return NULL;
5679 }
5680
5681
5682 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj = 0;
5684 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5685 bool arg2 ;
5686 long arg3 = (long) wxFULLSCREEN_ALL ;
5687 bool result;
5688 void *argp1 = 0 ;
5689 int res1 = 0 ;
5690 bool val2 ;
5691 int ecode2 = 0 ;
5692 long val3 ;
5693 int ecode3 = 0 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 PyObject * obj2 = 0 ;
5697 char * kwnames[] = {
5698 (char *) "self",(char *) "show",(char *) "style", NULL
5699 };
5700
5701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5703 if (!SWIG_IsOK(res1)) {
5704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5705 }
5706 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5707 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5708 if (!SWIG_IsOK(ecode2)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5710 }
5711 arg2 = static_cast< bool >(val2);
5712 if (obj2) {
5713 ecode3 = SWIG_AsVal_long(obj2, &val3);
5714 if (!SWIG_IsOK(ecode3)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5716 }
5717 arg3 = static_cast< long >(val3);
5718 }
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5727 }
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 PyObject *resultobj = 0;
5736 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5737 bool result;
5738 void *argp1 = 0 ;
5739 int res1 = 0 ;
5740 PyObject *swig_obj[1] ;
5741
5742 if (!args) SWIG_fail;
5743 swig_obj[0] = args;
5744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5745 if (!SWIG_IsOK(res1)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5747 }
5748 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5757 }
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 wxString *arg2 = 0 ;
5768 void *argp1 = 0 ;
5769 int res1 = 0 ;
5770 bool temp2 = false ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char * kwnames[] = {
5774 (char *) "self",(char *) "title", NULL
5775 };
5776
5777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5779 if (!SWIG_IsOK(res1)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 }
5782 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5783 {
5784 arg2 = wxString_in_helper(obj1);
5785 if (arg2 == NULL) SWIG_fail;
5786 temp2 = true;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 (arg1)->SetTitle((wxString const &)*arg2);
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = SWIG_Py_Void();
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return resultobj;
5800 fail:
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return NULL;
5806 }
5807
5808
5809 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5810 PyObject *resultobj = 0;
5811 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5812 wxString result;
5813 void *argp1 = 0 ;
5814 int res1 = 0 ;
5815 PyObject *swig_obj[1] ;
5816
5817 if (!args) SWIG_fail;
5818 swig_obj[0] = args;
5819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5820 if (!SWIG_IsOK(res1)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5822 }
5823 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 {
5831 #if wxUSE_UNICODE
5832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5833 #else
5834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5835 #endif
5836 }
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj = 0;
5845 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5846 wxRegion *arg2 = 0 ;
5847 bool result;
5848 void *argp1 = 0 ;
5849 int res1 = 0 ;
5850 void *argp2 = 0 ;
5851 int res2 = 0 ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 char * kwnames[] = {
5855 (char *) "self",(char *) "region", NULL
5856 };
5857
5858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5860 if (!SWIG_IsOK(res1)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 }
5863 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5865 if (!SWIG_IsOK(res2)) {
5866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5867 }
5868 if (!argp2) {
5869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 }
5871 arg2 = reinterpret_cast< wxRegion * >(argp2);
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 {
5879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5880 }
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj = 0;
5889 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5890 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5891 void *argp1 = 0 ;
5892 int res1 = 0 ;
5893 int val2 ;
5894 int ecode2 = 0 ;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 char * kwnames[] = {
5898 (char *) "self",(char *) "flags", NULL
5899 };
5900
5901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5903 if (!SWIG_IsOK(res1)) {
5904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5905 }
5906 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5907 if (obj1) {
5908 ecode2 = SWIG_AsVal_int(obj1, &val2);
5909 if (!SWIG_IsOK(ecode2)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5911 }
5912 arg2 = static_cast< int >(val2);
5913 }
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->RequestUserAttention(arg2);
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5930 bool result;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 PyObject *swig_obj[1] ;
5934
5935 if (!args) SWIG_fail;
5936 swig_obj[0] = args;
5937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5938 if (!SWIG_IsOK(res1)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 }
5941 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (bool)(arg1)->IsActive();
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 {
5949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5950 }
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj = 0;
5959 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5960 bool arg2 ;
5961 void *argp1 = 0 ;
5962 int res1 = 0 ;
5963 bool val2 ;
5964 int ecode2 = 0 ;
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 char * kwnames[] = {
5968 (char *) "self",(char *) "on", NULL
5969 };
5970
5971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5973 if (!SWIG_IsOK(res1)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 }
5976 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5977 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5978 if (!SWIG_IsOK(ecode2)) {
5979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5980 }
5981 arg2 = static_cast< bool >(val2);
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_Py_Void();
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5996 PyObject *resultobj = 0;
5997 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5998 bool result;
5999 void *argp1 = 0 ;
6000 int res1 = 0 ;
6001 PyObject *swig_obj[1] ;
6002
6003 if (!args) SWIG_fail;
6004 swig_obj[0] = args;
6005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6006 if (!SWIG_IsOK(res1)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6008 }
6009 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6018 }
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj = 0;
6027 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6028 int arg2 = (int) wxBOTH ;
6029 void *argp1 = 0 ;
6030 int res1 = 0 ;
6031 int val2 ;
6032 int ecode2 = 0 ;
6033 PyObject * obj0 = 0 ;
6034 PyObject * obj1 = 0 ;
6035 char * kwnames[] = {
6036 (char *) "self",(char *) "dir", NULL
6037 };
6038
6039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6041 if (!SWIG_IsOK(res1)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6043 }
6044 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6045 if (obj1) {
6046 ecode2 = SWIG_AsVal_int(obj1, &val2);
6047 if (!SWIG_IsOK(ecode2)) {
6048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6049 }
6050 arg2 = static_cast< int >(val2);
6051 }
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 (arg1)->CenterOnScreen(arg2);
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = SWIG_Py_Void();
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj = 0;
6067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6068 bool arg2 = (bool) true ;
6069 bool result;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 bool val2 ;
6073 int ecode2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "enable", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 }
6085 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6086 if (obj1) {
6087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6088 if (!SWIG_IsOK(ecode2)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6090 }
6091 arg2 = static_cast< bool >(val2);
6092 }
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (bool)(arg1)->EnableCloseButton(arg2);
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 {
6100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6101 }
6102 return resultobj;
6103 fail:
6104 return NULL;
6105 }
6106
6107
6108 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj = 0;
6110 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6111 byte arg2 ;
6112 bool result;
6113 void *argp1 = 0 ;
6114 int res1 = 0 ;
6115 unsigned char val2 ;
6116 int ecode2 = 0 ;
6117 PyObject * obj0 = 0 ;
6118 PyObject * obj1 = 0 ;
6119 char * kwnames[] = {
6120 (char *) "self",(char *) "alpha", NULL
6121 };
6122
6123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6125 if (!SWIG_IsOK(res1)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6127 }
6128 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6129 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6130 if (!SWIG_IsOK(ecode2)) {
6131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6132 }
6133 arg2 = static_cast< byte >(val2);
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (bool)(arg1)->SetTransparent(arg2);
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6150 PyObject *resultobj = 0;
6151 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6152 bool result;
6153 void *argp1 = 0 ;
6154 int res1 = 0 ;
6155 PyObject *swig_obj[1] ;
6156
6157 if (!args) SWIG_fail;
6158 swig_obj[0] = args;
6159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6160 if (!SWIG_IsOK(res1)) {
6161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 }
6163 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (bool)(arg1)->CanSetTransparent();
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6180 PyObject *resultobj = 0;
6181 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6182 wxWindow *result = 0 ;
6183 void *argp1 = 0 ;
6184 int res1 = 0 ;
6185 PyObject *swig_obj[1] ;
6186
6187 if (!args) SWIG_fail;
6188 swig_obj[0] = args;
6189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6190 if (!SWIG_IsOK(res1)) {
6191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6192 }
6193 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 {
6201 resultobj = wxPyMake_wxObject(result, 0);
6202 }
6203 return resultobj;
6204 fail:
6205 return NULL;
6206 }
6207
6208
6209 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = 0;
6211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6212 wxWindow *arg2 = (wxWindow *) 0 ;
6213 wxWindow *result = 0 ;
6214 void *argp1 = 0 ;
6215 int res1 = 0 ;
6216 void *argp2 = 0 ;
6217 int res2 = 0 ;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "child", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6228 }
6229 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6231 if (!SWIG_IsOK(res2)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 }
6234 arg2 = reinterpret_cast< wxWindow * >(argp2);
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 {
6242 resultobj = wxPyMake_wxObject(result, 0);
6243 }
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj = 0;
6252 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6253 wxWindow *arg2 = (wxWindow *) 0 ;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 void *argp2 = 0 ;
6257 int res2 = 0 ;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 char * kwnames[] = {
6261 (char *) "self",(char *) "win", NULL
6262 };
6263
6264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6266 if (!SWIG_IsOK(res1)) {
6267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6268 }
6269 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6271 if (!SWIG_IsOK(res2)) {
6272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6273 }
6274 arg2 = reinterpret_cast< wxWindow * >(argp2);
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->SetTmpDefaultItem(arg2);
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 resultobj = SWIG_Py_Void();
6282 return resultobj;
6283 fail:
6284 return NULL;
6285 }
6286
6287
6288 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6289 PyObject *resultobj = 0;
6290 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6291 wxWindow *result = 0 ;
6292 void *argp1 = 0 ;
6293 int res1 = 0 ;
6294 PyObject *swig_obj[1] ;
6295
6296 if (!args) SWIG_fail;
6297 swig_obj[0] = args;
6298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6301 }
6302 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310 resultobj = wxPyMake_wxObject(result, 0);
6311 }
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6319 PyObject *obj;
6320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6321 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6322 return SWIG_Py_Void();
6323 }
6324
6325 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj = 0;
6327 wxWindow *arg1 = (wxWindow *) 0 ;
6328 int arg2 = (int) (int)-1 ;
6329 wxString const &arg3_defvalue = wxPyEmptyString ;
6330 wxString *arg3 = (wxString *) &arg3_defvalue ;
6331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6333 wxSize const &arg5_defvalue = wxDefaultSize ;
6334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6335 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6336 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6337 wxString *arg7 = (wxString *) &arg7_defvalue ;
6338 wxFrame *result = 0 ;
6339 void *argp1 = 0 ;
6340 int res1 = 0 ;
6341 int val2 ;
6342 int ecode2 = 0 ;
6343 bool temp3 = false ;
6344 wxPoint temp4 ;
6345 wxSize temp5 ;
6346 long val6 ;
6347 int ecode6 = 0 ;
6348 bool temp7 = false ;
6349 PyObject * obj0 = 0 ;
6350 PyObject * obj1 = 0 ;
6351 PyObject * obj2 = 0 ;
6352 PyObject * obj3 = 0 ;
6353 PyObject * obj4 = 0 ;
6354 PyObject * obj5 = 0 ;
6355 PyObject * obj6 = 0 ;
6356 char * kwnames[] = {
6357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6358 };
6359
6360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6362 if (!SWIG_IsOK(res1)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6364 }
6365 arg1 = reinterpret_cast< wxWindow * >(argp1);
6366 if (obj1) {
6367 ecode2 = SWIG_AsVal_int(obj1, &val2);
6368 if (!SWIG_IsOK(ecode2)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6370 }
6371 arg2 = static_cast< int >(val2);
6372 }
6373 if (obj2) {
6374 {
6375 arg3 = wxString_in_helper(obj2);
6376 if (arg3 == NULL) SWIG_fail;
6377 temp3 = true;
6378 }
6379 }
6380 if (obj3) {
6381 {
6382 arg4 = &temp4;
6383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6384 }
6385 }
6386 if (obj4) {
6387 {
6388 arg5 = &temp5;
6389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6390 }
6391 }
6392 if (obj5) {
6393 ecode6 = SWIG_AsVal_long(obj5, &val6);
6394 if (!SWIG_IsOK(ecode6)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6396 }
6397 arg6 = static_cast< long >(val6);
6398 }
6399 if (obj6) {
6400 {
6401 arg7 = wxString_in_helper(obj6);
6402 if (arg7 == NULL) SWIG_fail;
6403 temp7 = true;
6404 }
6405 }
6406 {
6407 if (!wxPyCheckForApp()) SWIG_fail;
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6414 {
6415 if (temp3)
6416 delete arg3;
6417 }
6418 {
6419 if (temp7)
6420 delete arg7;
6421 }
6422 return resultobj;
6423 fail:
6424 {
6425 if (temp3)
6426 delete arg3;
6427 }
6428 {
6429 if (temp7)
6430 delete arg7;
6431 }
6432 return NULL;
6433 }
6434
6435
6436 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6437 PyObject *resultobj = 0;
6438 wxFrame *result = 0 ;
6439
6440 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6441 {
6442 if (!wxPyCheckForApp()) SWIG_fail;
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (wxFrame *)new wxFrame();
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6449 return resultobj;
6450 fail:
6451 return NULL;
6452 }
6453
6454
6455 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj = 0;
6457 wxFrame *arg1 = (wxFrame *) 0 ;
6458 wxWindow *arg2 = (wxWindow *) 0 ;
6459 int arg3 = (int) (int)-1 ;
6460 wxString const &arg4_defvalue = wxPyEmptyString ;
6461 wxString *arg4 = (wxString *) &arg4_defvalue ;
6462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6464 wxSize const &arg6_defvalue = wxDefaultSize ;
6465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6466 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6467 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6468 wxString *arg8 = (wxString *) &arg8_defvalue ;
6469 bool result;
6470 void *argp1 = 0 ;
6471 int res1 = 0 ;
6472 void *argp2 = 0 ;
6473 int res2 = 0 ;
6474 int val3 ;
6475 int ecode3 = 0 ;
6476 bool temp4 = false ;
6477 wxPoint temp5 ;
6478 wxSize temp6 ;
6479 long val7 ;
6480 int ecode7 = 0 ;
6481 bool temp8 = false ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
6486 PyObject * obj4 = 0 ;
6487 PyObject * obj5 = 0 ;
6488 PyObject * obj6 = 0 ;
6489 PyObject * obj7 = 0 ;
6490 char * kwnames[] = {
6491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 };
6493
6494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6496 if (!SWIG_IsOK(res1)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 }
6499 arg1 = reinterpret_cast< wxFrame * >(argp1);
6500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6501 if (!SWIG_IsOK(res2)) {
6502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6503 }
6504 arg2 = reinterpret_cast< wxWindow * >(argp2);
6505 if (obj2) {
6506 ecode3 = SWIG_AsVal_int(obj2, &val3);
6507 if (!SWIG_IsOK(ecode3)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6509 }
6510 arg3 = static_cast< int >(val3);
6511 }
6512 if (obj3) {
6513 {
6514 arg4 = wxString_in_helper(obj3);
6515 if (arg4 == NULL) SWIG_fail;
6516 temp4 = true;
6517 }
6518 }
6519 if (obj4) {
6520 {
6521 arg5 = &temp5;
6522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6523 }
6524 }
6525 if (obj5) {
6526 {
6527 arg6 = &temp6;
6528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6529 }
6530 }
6531 if (obj6) {
6532 ecode7 = SWIG_AsVal_long(obj6, &val7);
6533 if (!SWIG_IsOK(ecode7)) {
6534 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6535 }
6536 arg7 = static_cast< long >(val7);
6537 }
6538 if (obj7) {
6539 {
6540 arg8 = wxString_in_helper(obj7);
6541 if (arg8 == NULL) SWIG_fail;
6542 temp8 = true;
6543 }
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6553 }
6554 {
6555 if (temp4)
6556 delete arg4;
6557 }
6558 {
6559 if (temp8)
6560 delete arg8;
6561 }
6562 return resultobj;
6563 fail:
6564 {
6565 if (temp4)
6566 delete arg4;
6567 }
6568 {
6569 if (temp8)
6570 delete arg8;
6571 }
6572 return NULL;
6573 }
6574
6575
6576 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6577 PyObject *resultobj = 0;
6578 wxFrame *arg1 = (wxFrame *) 0 ;
6579 void *argp1 = 0 ;
6580 int res1 = 0 ;
6581 PyObject *swig_obj[1] ;
6582
6583 if (!args) SWIG_fail;
6584 swig_obj[0] = args;
6585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6586 if (!SWIG_IsOK(res1)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 }
6589 arg1 = reinterpret_cast< wxFrame * >(argp1);
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->SendSizeEvent();
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_Py_Void();
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj = 0;
6605 wxFrame *arg1 = (wxFrame *) 0 ;
6606 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6607 void *argp1 = 0 ;
6608 int res1 = 0 ;
6609 void *argp2 = 0 ;
6610 int res2 = 0 ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char * kwnames[] = {
6614 (char *) "self",(char *) "menubar", NULL
6615 };
6616
6617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6619 if (!SWIG_IsOK(res1)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6621 }
6622 arg1 = reinterpret_cast< wxFrame * >(argp1);
6623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6624 if (!SWIG_IsOK(res2)) {
6625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6626 }
6627 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->SetMenuBar(arg2);
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 resultobj = SWIG_Py_Void();
6635 return resultobj;
6636 fail:
6637 return NULL;
6638 }
6639
6640
6641 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6642 PyObject *resultobj = 0;
6643 wxFrame *arg1 = (wxFrame *) 0 ;
6644 wxMenuBar *result = 0 ;
6645 void *argp1 = 0 ;
6646 int res1 = 0 ;
6647 PyObject *swig_obj[1] ;
6648
6649 if (!args) SWIG_fail;
6650 swig_obj[0] = args;
6651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6654 }
6655 arg1 = reinterpret_cast< wxFrame * >(argp1);
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 {
6663 resultobj = wxPyMake_wxObject(result, 0);
6664 }
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj = 0;
6673 wxFrame *arg1 = (wxFrame *) 0 ;
6674 int arg2 ;
6675 bool result;
6676 void *argp1 = 0 ;
6677 int res1 = 0 ;
6678 int val2 ;
6679 int ecode2 = 0 ;
6680 PyObject * obj0 = 0 ;
6681 PyObject * obj1 = 0 ;
6682 char * kwnames[] = {
6683 (char *) "self",(char *) "winid", NULL
6684 };
6685
6686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6688 if (!SWIG_IsOK(res1)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6690 }
6691 arg1 = reinterpret_cast< wxFrame * >(argp1);
6692 ecode2 = SWIG_AsVal_int(obj1, &val2);
6693 if (!SWIG_IsOK(ecode2)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6695 }
6696 arg2 = static_cast< int >(val2);
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (bool)(arg1)->ProcessCommand(arg2);
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6705 }
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj = 0;
6714 wxFrame *arg1 = (wxFrame *) 0 ;
6715 int arg2 = (int) 1 ;
6716 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6717 int arg4 = (int) 0 ;
6718 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6719 wxString *arg5 = (wxString *) &arg5_defvalue ;
6720 wxStatusBar *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 int val2 ;
6724 int ecode2 = 0 ;
6725 long val3 ;
6726 int ecode3 = 0 ;
6727 int val4 ;
6728 int ecode4 = 0 ;
6729 bool temp5 = false ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 PyObject * obj2 = 0 ;
6733 PyObject * obj3 = 0 ;
6734 PyObject * obj4 = 0 ;
6735 char * kwnames[] = {
6736 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6737 };
6738
6739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6741 if (!SWIG_IsOK(res1)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6743 }
6744 arg1 = reinterpret_cast< wxFrame * >(argp1);
6745 if (obj1) {
6746 ecode2 = SWIG_AsVal_int(obj1, &val2);
6747 if (!SWIG_IsOK(ecode2)) {
6748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6749 }
6750 arg2 = static_cast< int >(val2);
6751 }
6752 if (obj2) {
6753 ecode3 = SWIG_AsVal_long(obj2, &val3);
6754 if (!SWIG_IsOK(ecode3)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6756 }
6757 arg3 = static_cast< long >(val3);
6758 }
6759 if (obj3) {
6760 ecode4 = SWIG_AsVal_int(obj3, &val4);
6761 if (!SWIG_IsOK(ecode4)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6763 }
6764 arg4 = static_cast< int >(val4);
6765 }
6766 if (obj4) {
6767 {
6768 arg5 = wxString_in_helper(obj4);
6769 if (arg5 == NULL) SWIG_fail;
6770 temp5 = true;
6771 }
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 {
6780 resultobj = wxPyMake_wxObject(result, (bool)0);
6781 }
6782 {
6783 if (temp5)
6784 delete arg5;
6785 }
6786 return resultobj;
6787 fail:
6788 {
6789 if (temp5)
6790 delete arg5;
6791 }
6792 return NULL;
6793 }
6794
6795
6796 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6797 PyObject *resultobj = 0;
6798 wxFrame *arg1 = (wxFrame *) 0 ;
6799 wxStatusBar *result = 0 ;
6800 void *argp1 = 0 ;
6801 int res1 = 0 ;
6802 PyObject *swig_obj[1] ;
6803
6804 if (!args) SWIG_fail;
6805 swig_obj[0] = args;
6806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6807 if (!SWIG_IsOK(res1)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6809 }
6810 arg1 = reinterpret_cast< wxFrame * >(argp1);
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 {
6818 resultobj = wxPyMake_wxObject(result, (bool)0);
6819 }
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj = 0;
6828 wxFrame *arg1 = (wxFrame *) 0 ;
6829 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 void *argp2 = 0 ;
6833 int res2 = 0 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char * kwnames[] = {
6837 (char *) "self",(char *) "statBar", NULL
6838 };
6839
6840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6842 if (!SWIG_IsOK(res1)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6844 }
6845 arg1 = reinterpret_cast< wxFrame * >(argp1);
6846 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6847 if (!SWIG_IsOK(res2)) {
6848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6849 }
6850 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 (arg1)->SetStatusBar(arg2);
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = SWIG_Py_Void();
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj = 0;
6866 wxFrame *arg1 = (wxFrame *) 0 ;
6867 wxString *arg2 = 0 ;
6868 int arg3 = (int) 0 ;
6869 void *argp1 = 0 ;
6870 int res1 = 0 ;
6871 bool temp2 = false ;
6872 int val3 ;
6873 int ecode3 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 PyObject * obj2 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "text",(char *) "number", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 }
6886 arg1 = reinterpret_cast< wxFrame * >(argp1);
6887 {
6888 arg2 = wxString_in_helper(obj1);
6889 if (arg2 == NULL) SWIG_fail;
6890 temp2 = true;
6891 }
6892 if (obj2) {
6893 ecode3 = SWIG_AsVal_int(obj2, &val3);
6894 if (!SWIG_IsOK(ecode3)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6896 }
6897 arg3 = static_cast< int >(val3);
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_Py_Void();
6906 {
6907 if (temp2)
6908 delete arg2;
6909 }
6910 return resultobj;
6911 fail:
6912 {
6913 if (temp2)
6914 delete arg2;
6915 }
6916 return NULL;
6917 }
6918
6919
6920 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj = 0;
6922 wxFrame *arg1 = (wxFrame *) 0 ;
6923 int arg2 ;
6924 int *arg3 = (int *) 0 ;
6925 void *argp1 = 0 ;
6926 int res1 = 0 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "widths", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6937 }
6938 arg1 = reinterpret_cast< wxFrame * >(argp1);
6939 {
6940 arg2 = PyList_Size(obj1);
6941 arg3 = int_LIST_helper(obj1);
6942 if (arg3 == NULL) SWIG_fail;
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 resultobj = SWIG_Py_Void();
6951 {
6952 if (arg3) delete [] arg3;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (arg3) delete [] arg3;
6958 }
6959 return NULL;
6960 }
6961
6962
6963 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj = 0;
6965 wxFrame *arg1 = (wxFrame *) 0 ;
6966 wxString *arg2 = 0 ;
6967 int arg3 = (int) 0 ;
6968 void *argp1 = 0 ;
6969 int res1 = 0 ;
6970 bool temp2 = false ;
6971 int val3 ;
6972 int ecode3 = 0 ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 PyObject * obj2 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "text",(char *) "number", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6984 }
6985 arg1 = reinterpret_cast< wxFrame * >(argp1);
6986 {
6987 arg2 = wxString_in_helper(obj1);
6988 if (arg2 == NULL) SWIG_fail;
6989 temp2 = true;
6990 }
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_Py_Void();
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return resultobj;
7010 fail:
7011 {
7012 if (temp2)
7013 delete arg2;
7014 }
7015 return NULL;
7016 }
7017
7018
7019 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj = 0;
7021 wxFrame *arg1 = (wxFrame *) 0 ;
7022 int arg2 = (int) 0 ;
7023 void *argp1 = 0 ;
7024 int res1 = 0 ;
7025 int val2 ;
7026 int ecode2 = 0 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char * kwnames[] = {
7030 (char *) "self",(char *) "number", NULL
7031 };
7032
7033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7035 if (!SWIG_IsOK(res1)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7037 }
7038 arg1 = reinterpret_cast< wxFrame * >(argp1);
7039 if (obj1) {
7040 ecode2 = SWIG_AsVal_int(obj1, &val2);
7041 if (!SWIG_IsOK(ecode2)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7043 }
7044 arg2 = static_cast< int >(val2);
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->PopStatusText(arg2);
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = SWIG_Py_Void();
7053 return resultobj;
7054 fail:
7055 return NULL;
7056 }
7057
7058
7059 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj = 0;
7061 wxFrame *arg1 = (wxFrame *) 0 ;
7062 int arg2 ;
7063 void *argp1 = 0 ;
7064 int res1 = 0 ;
7065 int val2 ;
7066 int ecode2 = 0 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char * kwnames[] = {
7070 (char *) "self",(char *) "n", NULL
7071 };
7072
7073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7075 if (!SWIG_IsOK(res1)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7077 }
7078 arg1 = reinterpret_cast< wxFrame * >(argp1);
7079 ecode2 = SWIG_AsVal_int(obj1, &val2);
7080 if (!SWIG_IsOK(ecode2)) {
7081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7082 }
7083 arg2 = static_cast< int >(val2);
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetStatusBarPane(arg2);
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 resultobj = SWIG_Py_Void();
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7098 PyObject *resultobj = 0;
7099 wxFrame *arg1 = (wxFrame *) 0 ;
7100 int result;
7101 void *argp1 = 0 ;
7102 int res1 = 0 ;
7103 PyObject *swig_obj[1] ;
7104
7105 if (!args) SWIG_fail;
7106 swig_obj[0] = args;
7107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7108 if (!SWIG_IsOK(res1)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7110 }
7111 arg1 = reinterpret_cast< wxFrame * >(argp1);
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 resultobj = SWIG_From_int(static_cast< int >(result));
7119 return resultobj;
7120 fail:
7121 return NULL;
7122 }
7123
7124
7125 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj = 0;
7127 wxFrame *arg1 = (wxFrame *) 0 ;
7128 long arg2 = (long) -1 ;
7129 int arg3 = (int) -1 ;
7130 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7131 wxString *arg4 = (wxString *) &arg4_defvalue ;
7132 wxToolBar *result = 0 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 long val2 ;
7136 int ecode2 = 0 ;
7137 int val3 ;
7138 int ecode3 = 0 ;
7139 bool temp4 = false ;
7140 PyObject * obj0 = 0 ;
7141 PyObject * obj1 = 0 ;
7142 PyObject * obj2 = 0 ;
7143 PyObject * obj3 = 0 ;
7144 char * kwnames[] = {
7145 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7146 };
7147
7148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7150 if (!SWIG_IsOK(res1)) {
7151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7152 }
7153 arg1 = reinterpret_cast< wxFrame * >(argp1);
7154 if (obj1) {
7155 ecode2 = SWIG_AsVal_long(obj1, &val2);
7156 if (!SWIG_IsOK(ecode2)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7158 }
7159 arg2 = static_cast< long >(val2);
7160 }
7161 if (obj2) {
7162 ecode3 = SWIG_AsVal_int(obj2, &val3);
7163 if (!SWIG_IsOK(ecode3)) {
7164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7165 }
7166 arg3 = static_cast< int >(val3);
7167 }
7168 if (obj3) {
7169 {
7170 arg4 = wxString_in_helper(obj3);
7171 if (arg4 == NULL) SWIG_fail;
7172 temp4 = true;
7173 }
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 resultobj = wxPyMake_wxObject(result, (bool)0);
7183 }
7184 {
7185 if (temp4)
7186 delete arg4;
7187 }
7188 return resultobj;
7189 fail:
7190 {
7191 if (temp4)
7192 delete arg4;
7193 }
7194 return NULL;
7195 }
7196
7197
7198 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7199 PyObject *resultobj = 0;
7200 wxFrame *arg1 = (wxFrame *) 0 ;
7201 wxToolBar *result = 0 ;
7202 void *argp1 = 0 ;
7203 int res1 = 0 ;
7204 PyObject *swig_obj[1] ;
7205
7206 if (!args) SWIG_fail;
7207 swig_obj[0] = args;
7208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7209 if (!SWIG_IsOK(res1)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7211 }
7212 arg1 = reinterpret_cast< wxFrame * >(argp1);
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 {
7220 resultobj = wxPyMake_wxObject(result, (bool)0);
7221 }
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj = 0;
7230 wxFrame *arg1 = (wxFrame *) 0 ;
7231 wxToolBar *arg2 = (wxToolBar *) 0 ;
7232 void *argp1 = 0 ;
7233 int res1 = 0 ;
7234 void *argp2 = 0 ;
7235 int res2 = 0 ;
7236 PyObject * obj0 = 0 ;
7237 PyObject * obj1 = 0 ;
7238 char * kwnames[] = {
7239 (char *) "self",(char *) "toolbar", NULL
7240 };
7241
7242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7244 if (!SWIG_IsOK(res1)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7246 }
7247 arg1 = reinterpret_cast< wxFrame * >(argp1);
7248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7249 if (!SWIG_IsOK(res2)) {
7250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7251 }
7252 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 (arg1)->SetToolBar(arg2);
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_Py_Void();
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj = 0;
7268 wxFrame *arg1 = (wxFrame *) 0 ;
7269 wxString *arg2 = 0 ;
7270 bool arg3 ;
7271 void *argp1 = 0 ;
7272 int res1 = 0 ;
7273 bool temp2 = false ;
7274 bool val3 ;
7275 int ecode3 = 0 ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 PyObject * obj2 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "self",(char *) "text",(char *) "show", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7285 if (!SWIG_IsOK(res1)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7287 }
7288 arg1 = reinterpret_cast< wxFrame * >(argp1);
7289 {
7290 arg2 = wxString_in_helper(obj1);
7291 if (arg2 == NULL) SWIG_fail;
7292 temp2 = true;
7293 }
7294 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7295 if (!SWIG_IsOK(ecode3)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7297 }
7298 arg3 = static_cast< bool >(val3);
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 resultobj = SWIG_Py_Void();
7306 {
7307 if (temp2)
7308 delete arg2;
7309 }
7310 return resultobj;
7311 fail:
7312 {
7313 if (temp2)
7314 delete arg2;
7315 }
7316 return NULL;
7317 }
7318
7319
7320 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj = 0;
7322 wxFrame *arg1 = (wxFrame *) 0 ;
7323 wxMenu *arg2 = (wxMenu *) NULL ;
7324 void *argp1 = 0 ;
7325 int res1 = 0 ;
7326 void *argp2 = 0 ;
7327 int res2 = 0 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char * kwnames[] = {
7331 (char *) "self",(char *) "menu", NULL
7332 };
7333
7334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7336 if (!SWIG_IsOK(res1)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7338 }
7339 arg1 = reinterpret_cast< wxFrame * >(argp1);
7340 if (obj1) {
7341 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7342 if (!SWIG_IsOK(res2)) {
7343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7344 }
7345 arg2 = reinterpret_cast< wxMenu * >(argp2);
7346 }
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->DoMenuUpdates(arg2);
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_Py_Void();
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj = 0;
7362 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7363 SwigValueWrapper<wxVisualAttributes > result;
7364 int val1 ;
7365 int ecode1 = 0 ;
7366 PyObject * obj0 = 0 ;
7367 char * kwnames[] = {
7368 (char *) "variant", NULL
7369 };
7370
7371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7372 if (obj0) {
7373 ecode1 = SWIG_AsVal_int(obj0, &val1);
7374 if (!SWIG_IsOK(ecode1)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7376 }
7377 arg1 = static_cast< wxWindowVariant >(val1);
7378 }
7379 {
7380 if (!wxPyCheckForApp()) SWIG_fail;
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = wxFrame::GetClassDefaultAttributes(arg1);
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7387 return resultobj;
7388 fail:
7389 return NULL;
7390 }
7391
7392
7393 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7394 PyObject *obj;
7395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7396 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7397 return SWIG_Py_Void();
7398 }
7399
7400 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7401 return SWIG_Python_InitShadowInstance(args);
7402 }
7403
7404 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj = 0;
7406 wxWindow *arg1 = (wxWindow *) 0 ;
7407 int arg2 = (int) (int)-1 ;
7408 wxString const &arg3_defvalue = wxPyEmptyString ;
7409 wxString *arg3 = (wxString *) &arg3_defvalue ;
7410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7412 wxSize const &arg5_defvalue = wxDefaultSize ;
7413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7414 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7415 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7416 wxString *arg7 = (wxString *) &arg7_defvalue ;
7417 wxDialog *result = 0 ;
7418 void *argp1 = 0 ;
7419 int res1 = 0 ;
7420 int val2 ;
7421 int ecode2 = 0 ;
7422 bool temp3 = false ;
7423 wxPoint temp4 ;
7424 wxSize temp5 ;
7425 long val6 ;
7426 int ecode6 = 0 ;
7427 bool temp7 = false ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 PyObject * obj2 = 0 ;
7431 PyObject * obj3 = 0 ;
7432 PyObject * obj4 = 0 ;
7433 PyObject * obj5 = 0 ;
7434 PyObject * obj6 = 0 ;
7435 char * kwnames[] = {
7436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7437 };
7438
7439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7441 if (!SWIG_IsOK(res1)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7443 }
7444 arg1 = reinterpret_cast< wxWindow * >(argp1);
7445 if (obj1) {
7446 ecode2 = SWIG_AsVal_int(obj1, &val2);
7447 if (!SWIG_IsOK(ecode2)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7449 }
7450 arg2 = static_cast< int >(val2);
7451 }
7452 if (obj2) {
7453 {
7454 arg3 = wxString_in_helper(obj2);
7455 if (arg3 == NULL) SWIG_fail;
7456 temp3 = true;
7457 }
7458 }
7459 if (obj3) {
7460 {
7461 arg4 = &temp4;
7462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7463 }
7464 }
7465 if (obj4) {
7466 {
7467 arg5 = &temp5;
7468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7469 }
7470 }
7471 if (obj5) {
7472 ecode6 = SWIG_AsVal_long(obj5, &val6);
7473 if (!SWIG_IsOK(ecode6)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7475 }
7476 arg6 = static_cast< long >(val6);
7477 }
7478 if (obj6) {
7479 {
7480 arg7 = wxString_in_helper(obj6);
7481 if (arg7 == NULL) SWIG_fail;
7482 temp7 = true;
7483 }
7484 }
7485 {
7486 if (!wxPyCheckForApp()) SWIG_fail;
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7493 {
7494 if (temp3)
7495 delete arg3;
7496 }
7497 {
7498 if (temp7)
7499 delete arg7;
7500 }
7501 return resultobj;
7502 fail:
7503 {
7504 if (temp3)
7505 delete arg3;
7506 }
7507 {
7508 if (temp7)
7509 delete arg7;
7510 }
7511 return NULL;
7512 }
7513
7514
7515 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7516 PyObject *resultobj = 0;
7517 wxDialog *result = 0 ;
7518
7519 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7520 {
7521 if (!wxPyCheckForApp()) SWIG_fail;
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (wxDialog *)new wxDialog();
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj = 0;
7536 wxDialog *arg1 = (wxDialog *) 0 ;
7537 wxWindow *arg2 = (wxWindow *) 0 ;
7538 int arg3 = (int) (int)-1 ;
7539 wxString const &arg4_defvalue = wxPyEmptyString ;
7540 wxString *arg4 = (wxString *) &arg4_defvalue ;
7541 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7542 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7543 wxSize const &arg6_defvalue = wxDefaultSize ;
7544 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7545 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7546 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7547 wxString *arg8 = (wxString *) &arg8_defvalue ;
7548 bool result;
7549 void *argp1 = 0 ;
7550 int res1 = 0 ;
7551 void *argp2 = 0 ;
7552 int res2 = 0 ;
7553 int val3 ;
7554 int ecode3 = 0 ;
7555 bool temp4 = false ;
7556 wxPoint temp5 ;
7557 wxSize temp6 ;
7558 long val7 ;
7559 int ecode7 = 0 ;
7560 bool temp8 = false ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 PyObject * obj3 = 0 ;
7565 PyObject * obj4 = 0 ;
7566 PyObject * obj5 = 0 ;
7567 PyObject * obj6 = 0 ;
7568 PyObject * obj7 = 0 ;
7569 char * kwnames[] = {
7570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7571 };
7572
7573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7575 if (!SWIG_IsOK(res1)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7577 }
7578 arg1 = reinterpret_cast< wxDialog * >(argp1);
7579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7580 if (!SWIG_IsOK(res2)) {
7581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7582 }
7583 arg2 = reinterpret_cast< wxWindow * >(argp2);
7584 if (obj2) {
7585 ecode3 = SWIG_AsVal_int(obj2, &val3);
7586 if (!SWIG_IsOK(ecode3)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7588 }
7589 arg3 = static_cast< int >(val3);
7590 }
7591 if (obj3) {
7592 {
7593 arg4 = wxString_in_helper(obj3);
7594 if (arg4 == NULL) SWIG_fail;
7595 temp4 = true;
7596 }
7597 }
7598 if (obj4) {
7599 {
7600 arg5 = &temp5;
7601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7602 }
7603 }
7604 if (obj5) {
7605 {
7606 arg6 = &temp6;
7607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7608 }
7609 }
7610 if (obj6) {
7611 ecode7 = SWIG_AsVal_long(obj6, &val7);
7612 if (!SWIG_IsOK(ecode7)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7614 }
7615 arg7 = static_cast< long >(val7);
7616 }
7617 if (obj7) {
7618 {
7619 arg8 = wxString_in_helper(obj7);
7620 if (arg8 == NULL) SWIG_fail;
7621 temp8 = true;
7622 }
7623 }
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 {
7631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7632 }
7633 {
7634 if (temp4)
7635 delete arg4;
7636 }
7637 {
7638 if (temp8)
7639 delete arg8;
7640 }
7641 return resultobj;
7642 fail:
7643 {
7644 if (temp4)
7645 delete arg4;
7646 }
7647 {
7648 if (temp8)
7649 delete arg8;
7650 }
7651 return NULL;
7652 }
7653
7654
7655 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj = 0;
7657 wxDialog *arg1 = (wxDialog *) 0 ;
7658 int arg2 ;
7659 void *argp1 = 0 ;
7660 int res1 = 0 ;
7661 int val2 ;
7662 int ecode2 = 0 ;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 char * kwnames[] = {
7666 (char *) "self",(char *) "returnCode", NULL
7667 };
7668
7669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7671 if (!SWIG_IsOK(res1)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7673 }
7674 arg1 = reinterpret_cast< wxDialog * >(argp1);
7675 ecode2 = SWIG_AsVal_int(obj1, &val2);
7676 if (!SWIG_IsOK(ecode2)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7678 }
7679 arg2 = static_cast< int >(val2);
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->SetReturnCode(arg2);
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = SWIG_Py_Void();
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7694 PyObject *resultobj = 0;
7695 wxDialog *arg1 = (wxDialog *) 0 ;
7696 int result;
7697 void *argp1 = 0 ;
7698 int res1 = 0 ;
7699 PyObject *swig_obj[1] ;
7700
7701 if (!args) SWIG_fail;
7702 swig_obj[0] = args;
7703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7704 if (!SWIG_IsOK(res1)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7706 }
7707 arg1 = reinterpret_cast< wxDialog * >(argp1);
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 resultobj = SWIG_From_int(static_cast< int >(result));
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj = 0;
7723 wxDialog *arg1 = (wxDialog *) 0 ;
7724 int arg2 ;
7725 void *argp1 = 0 ;
7726 int res1 = 0 ;
7727 int val2 ;
7728 int ecode2 = 0 ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 char * kwnames[] = {
7732 (char *) "self",(char *) "affirmativeId", NULL
7733 };
7734
7735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7737 if (!SWIG_IsOK(res1)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7739 }
7740 arg1 = reinterpret_cast< wxDialog * >(argp1);
7741 ecode2 = SWIG_AsVal_int(obj1, &val2);
7742 if (!SWIG_IsOK(ecode2)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7744 }
7745 arg2 = static_cast< int >(val2);
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->SetAffirmativeId(arg2);
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_Py_Void();
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7760 PyObject *resultobj = 0;
7761 wxDialog *arg1 = (wxDialog *) 0 ;
7762 int result;
7763 void *argp1 = 0 ;
7764 int res1 = 0 ;
7765 PyObject *swig_obj[1] ;
7766
7767 if (!args) SWIG_fail;
7768 swig_obj[0] = args;
7769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7770 if (!SWIG_IsOK(res1)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7772 }
7773 arg1 = reinterpret_cast< wxDialog * >(argp1);
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 resultobj = SWIG_From_int(static_cast< int >(result));
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj = 0;
7789 wxDialog *arg1 = (wxDialog *) 0 ;
7790 int arg2 ;
7791 void *argp1 = 0 ;
7792 int res1 = 0 ;
7793 int val2 ;
7794 int ecode2 = 0 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char * kwnames[] = {
7798 (char *) "self",(char *) "escapeId", NULL
7799 };
7800
7801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7803 if (!SWIG_IsOK(res1)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7805 }
7806 arg1 = reinterpret_cast< wxDialog * >(argp1);
7807 ecode2 = SWIG_AsVal_int(obj1, &val2);
7808 if (!SWIG_IsOK(ecode2)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7810 }
7811 arg2 = static_cast< int >(val2);
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetEscapeId(arg2);
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 resultobj = SWIG_Py_Void();
7819 return resultobj;
7820 fail:
7821 return NULL;
7822 }
7823
7824
7825 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7826 PyObject *resultobj = 0;
7827 wxDialog *arg1 = (wxDialog *) 0 ;
7828 int result;
7829 void *argp1 = 0 ;
7830 int res1 = 0 ;
7831 PyObject *swig_obj[1] ;
7832
7833 if (!args) SWIG_fail;
7834 swig_obj[0] = args;
7835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7836 if (!SWIG_IsOK(res1)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7838 }
7839 arg1 = reinterpret_cast< wxDialog * >(argp1);
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 resultobj = SWIG_From_int(static_cast< int >(result));
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj = 0;
7855 wxDialog *arg1 = (wxDialog *) 0 ;
7856 wxString *arg2 = 0 ;
7857 wxSizer *result = 0 ;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 bool temp2 = false ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "self",(char *) "message", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7869 if (!SWIG_IsOK(res1)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7871 }
7872 arg1 = reinterpret_cast< wxDialog * >(argp1);
7873 {
7874 arg2 = wxString_in_helper(obj1);
7875 if (arg2 == NULL) SWIG_fail;
7876 temp2 = true;
7877 }
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = wxPyMake_wxObject(result, (bool)0);
7886 }
7887 {
7888 if (temp2)
7889 delete arg2;
7890 }
7891 return resultobj;
7892 fail:
7893 {
7894 if (temp2)
7895 delete arg2;
7896 }
7897 return NULL;
7898 }
7899
7900
7901 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = 0;
7903 wxDialog *arg1 = (wxDialog *) 0 ;
7904 long arg2 ;
7905 bool arg3 = (bool) false ;
7906 int arg4 = (int) 0 ;
7907 wxSizer *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 long val2 ;
7911 int ecode2 = 0 ;
7912 bool val3 ;
7913 int ecode3 = 0 ;
7914 int val4 ;
7915 int ecode4 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 PyObject * obj2 = 0 ;
7919 PyObject * obj3 = 0 ;
7920 char * kwnames[] = {
7921 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7922 };
7923
7924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7926 if (!SWIG_IsOK(res1)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7928 }
7929 arg1 = reinterpret_cast< wxDialog * >(argp1);
7930 ecode2 = SWIG_AsVal_long(obj1, &val2);
7931 if (!SWIG_IsOK(ecode2)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7933 }
7934 arg2 = static_cast< long >(val2);
7935 if (obj2) {
7936 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7937 if (!SWIG_IsOK(ecode3)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7939 }
7940 arg3 = static_cast< bool >(val3);
7941 }
7942 if (obj3) {
7943 ecode4 = SWIG_AsVal_int(obj3, &val4);
7944 if (!SWIG_IsOK(ecode4)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7946 }
7947 arg4 = static_cast< int >(val4);
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956 resultobj = wxPyMake_wxObject(result, (bool)0);
7957 }
7958 return resultobj;
7959 fail:
7960 return NULL;
7961 }
7962
7963
7964 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj = 0;
7966 wxDialog *arg1 = (wxDialog *) 0 ;
7967 long arg2 ;
7968 wxStdDialogButtonSizer *result = 0 ;
7969 void *argp1 = 0 ;
7970 int res1 = 0 ;
7971 long val2 ;
7972 int ecode2 = 0 ;
7973 PyObject * obj0 = 0 ;
7974 PyObject * obj1 = 0 ;
7975 char * kwnames[] = {
7976 (char *) "self",(char *) "flags", NULL
7977 };
7978
7979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7981 if (!SWIG_IsOK(res1)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7983 }
7984 arg1 = reinterpret_cast< wxDialog * >(argp1);
7985 ecode2 = SWIG_AsVal_long(obj1, &val2);
7986 if (!SWIG_IsOK(ecode2)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7988 }
7989 arg2 = static_cast< long >(val2);
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 wxDialog *arg1 = (wxDialog *) 0 ;
8006 bool result;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
8009 PyObject *swig_obj[1] ;
8010
8011 if (!args) SWIG_fail;
8012 swig_obj[0] = args;
8013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8016 }
8017 arg1 = reinterpret_cast< wxDialog * >(argp1);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (bool)((wxDialog const *)arg1)->IsModal();
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8034 PyObject *resultobj = 0;
8035 wxDialog *arg1 = (wxDialog *) 0 ;
8036 int result;
8037 void *argp1 = 0 ;
8038 int res1 = 0 ;
8039 PyObject *swig_obj[1] ;
8040
8041 if (!args) SWIG_fail;
8042 swig_obj[0] = args;
8043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8046 }
8047 arg1 = reinterpret_cast< wxDialog * >(argp1);
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (int)(arg1)->ShowModal();
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 resultobj = SWIG_From_int(static_cast< int >(result));
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxDialog *arg1 = (wxDialog *) 0 ;
8064 int arg2 ;
8065 void *argp1 = 0 ;
8066 int res1 = 0 ;
8067 int val2 ;
8068 int ecode2 = 0 ;
8069 PyObject * obj0 = 0 ;
8070 PyObject * obj1 = 0 ;
8071 char * kwnames[] = {
8072 (char *) "self",(char *) "retCode", NULL
8073 };
8074
8075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8077 if (!SWIG_IsOK(res1)) {
8078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8079 }
8080 arg1 = reinterpret_cast< wxDialog * >(argp1);
8081 ecode2 = SWIG_AsVal_int(obj1, &val2);
8082 if (!SWIG_IsOK(ecode2)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8084 }
8085 arg2 = static_cast< int >(val2);
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->EndModal(arg2);
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_Py_Void();
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj = 0;
8101 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8102 SwigValueWrapper<wxVisualAttributes > result;
8103 int val1 ;
8104 int ecode1 = 0 ;
8105 PyObject * obj0 = 0 ;
8106 char * kwnames[] = {
8107 (char *) "variant", NULL
8108 };
8109
8110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8111 if (obj0) {
8112 ecode1 = SWIG_AsVal_int(obj0, &val1);
8113 if (!SWIG_IsOK(ecode1)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8115 }
8116 arg1 = static_cast< wxWindowVariant >(val1);
8117 }
8118 {
8119 if (!wxPyCheckForApp()) SWIG_fail;
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = wxDialog::GetClassDefaultAttributes(arg1);
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8133 PyObject *obj;
8134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8135 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8136 return SWIG_Py_Void();
8137 }
8138
8139 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8140 return SWIG_Python_InitShadowInstance(args);
8141 }
8142
8143 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj = 0;
8145 wxWindow *arg1 = (wxWindow *) 0 ;
8146 int arg2 = (int) (int)-1 ;
8147 wxString const &arg3_defvalue = wxPyEmptyString ;
8148 wxString *arg3 = (wxString *) &arg3_defvalue ;
8149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8151 wxSize const &arg5_defvalue = wxDefaultSize ;
8152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8153 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8154 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8155 wxString *arg7 = (wxString *) &arg7_defvalue ;
8156 wxMiniFrame *result = 0 ;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 int val2 ;
8160 int ecode2 = 0 ;
8161 bool temp3 = false ;
8162 wxPoint temp4 ;
8163 wxSize temp5 ;
8164 long val6 ;
8165 int ecode6 = 0 ;
8166 bool temp7 = false ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 PyObject * obj2 = 0 ;
8170 PyObject * obj3 = 0 ;
8171 PyObject * obj4 = 0 ;
8172 PyObject * obj5 = 0 ;
8173 PyObject * obj6 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8180 if (!SWIG_IsOK(res1)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8182 }
8183 arg1 = reinterpret_cast< wxWindow * >(argp1);
8184 if (obj1) {
8185 ecode2 = SWIG_AsVal_int(obj1, &val2);
8186 if (!SWIG_IsOK(ecode2)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8188 }
8189 arg2 = static_cast< int >(val2);
8190 }
8191 if (obj2) {
8192 {
8193 arg3 = wxString_in_helper(obj2);
8194 if (arg3 == NULL) SWIG_fail;
8195 temp3 = true;
8196 }
8197 }
8198 if (obj3) {
8199 {
8200 arg4 = &temp4;
8201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8202 }
8203 }
8204 if (obj4) {
8205 {
8206 arg5 = &temp5;
8207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8208 }
8209 }
8210 if (obj5) {
8211 ecode6 = SWIG_AsVal_long(obj5, &val6);
8212 if (!SWIG_IsOK(ecode6)) {
8213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8214 }
8215 arg6 = static_cast< long >(val6);
8216 }
8217 if (obj6) {
8218 {
8219 arg7 = wxString_in_helper(obj6);
8220 if (arg7 == NULL) SWIG_fail;
8221 temp7 = true;
8222 }
8223 }
8224 {
8225 if (!wxPyCheckForApp()) SWIG_fail;
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8232 {
8233 if (temp3)
8234 delete arg3;
8235 }
8236 {
8237 if (temp7)
8238 delete arg7;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp3)
8244 delete arg3;
8245 }
8246 {
8247 if (temp7)
8248 delete arg7;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8255 PyObject *resultobj = 0;
8256 wxMiniFrame *result = 0 ;
8257
8258 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8259 {
8260 if (!wxPyCheckForApp()) SWIG_fail;
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (wxMiniFrame *)new wxMiniFrame();
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj = 0;
8275 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8276 wxWindow *arg2 = (wxWindow *) 0 ;
8277 int arg3 = (int) (int)-1 ;
8278 wxString const &arg4_defvalue = wxPyEmptyString ;
8279 wxString *arg4 = (wxString *) &arg4_defvalue ;
8280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8282 wxSize const &arg6_defvalue = wxDefaultSize ;
8283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8284 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8285 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8286 wxString *arg8 = (wxString *) &arg8_defvalue ;
8287 bool result;
8288 void *argp1 = 0 ;
8289 int res1 = 0 ;
8290 void *argp2 = 0 ;
8291 int res2 = 0 ;
8292 int val3 ;
8293 int ecode3 = 0 ;
8294 bool temp4 = false ;
8295 wxPoint temp5 ;
8296 wxSize temp6 ;
8297 long val7 ;
8298 int ecode7 = 0 ;
8299 bool temp8 = false ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj4 = 0 ;
8305 PyObject * obj5 = 0 ;
8306 PyObject * obj6 = 0 ;
8307 PyObject * obj7 = 0 ;
8308 char * kwnames[] = {
8309 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8310 };
8311
8312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8314 if (!SWIG_IsOK(res1)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8316 }
8317 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8318 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8319 if (!SWIG_IsOK(res2)) {
8320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8321 }
8322 arg2 = reinterpret_cast< wxWindow * >(argp2);
8323 if (obj2) {
8324 ecode3 = SWIG_AsVal_int(obj2, &val3);
8325 if (!SWIG_IsOK(ecode3)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8327 }
8328 arg3 = static_cast< int >(val3);
8329 }
8330 if (obj3) {
8331 {
8332 arg4 = wxString_in_helper(obj3);
8333 if (arg4 == NULL) SWIG_fail;
8334 temp4 = true;
8335 }
8336 }
8337 if (obj4) {
8338 {
8339 arg5 = &temp5;
8340 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8341 }
8342 }
8343 if (obj5) {
8344 {
8345 arg6 = &temp6;
8346 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8347 }
8348 }
8349 if (obj6) {
8350 ecode7 = SWIG_AsVal_long(obj6, &val7);
8351 if (!SWIG_IsOK(ecode7)) {
8352 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8353 }
8354 arg7 = static_cast< long >(val7);
8355 }
8356 if (obj7) {
8357 {
8358 arg8 = wxString_in_helper(obj7);
8359 if (arg8 == NULL) SWIG_fail;
8360 temp8 = true;
8361 }
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 {
8370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8371 }
8372 {
8373 if (temp4)
8374 delete arg4;
8375 }
8376 {
8377 if (temp8)
8378 delete arg8;
8379 }
8380 return resultobj;
8381 fail:
8382 {
8383 if (temp4)
8384 delete arg4;
8385 }
8386 {
8387 if (temp8)
8388 delete arg8;
8389 }
8390 return NULL;
8391 }
8392
8393
8394 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8395 PyObject *obj;
8396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8397 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8398 return SWIG_Py_Void();
8399 }
8400
8401 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8402 return SWIG_Python_InitShadowInstance(args);
8403 }
8404
8405 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj = 0;
8407 wxBitmap *arg1 = 0 ;
8408 wxWindow *arg2 = (wxWindow *) 0 ;
8409 int arg3 ;
8410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8412 wxSize const &arg5_defvalue = wxDefaultSize ;
8413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8414 long arg6 = (long) wxNO_BORDER ;
8415 wxSplashScreenWindow *result = 0 ;
8416 void *argp1 = 0 ;
8417 int res1 = 0 ;
8418 void *argp2 = 0 ;
8419 int res2 = 0 ;
8420 int val3 ;
8421 int ecode3 = 0 ;
8422 wxPoint temp4 ;
8423 wxSize temp5 ;
8424 long val6 ;
8425 int ecode6 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 PyObject * obj2 = 0 ;
8429 PyObject * obj3 = 0 ;
8430 PyObject * obj4 = 0 ;
8431 PyObject * obj5 = 0 ;
8432 char * kwnames[] = {
8433 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8434 };
8435
8436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8437 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8438 if (!SWIG_IsOK(res1)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8440 }
8441 if (!argp1) {
8442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8443 }
8444 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8446 if (!SWIG_IsOK(res2)) {
8447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8448 }
8449 arg2 = reinterpret_cast< wxWindow * >(argp2);
8450 ecode3 = SWIG_AsVal_int(obj2, &val3);
8451 if (!SWIG_IsOK(ecode3)) {
8452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8453 }
8454 arg3 = static_cast< int >(val3);
8455 if (obj3) {
8456 {
8457 arg4 = &temp4;
8458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8459 }
8460 }
8461 if (obj4) {
8462 {
8463 arg5 = &temp5;
8464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8465 }
8466 }
8467 if (obj5) {
8468 ecode6 = SWIG_AsVal_long(obj5, &val6);
8469 if (!SWIG_IsOK(ecode6)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8471 }
8472 arg6 = static_cast< long >(val6);
8473 }
8474 {
8475 if (!wxPyCheckForApp()) SWIG_fail;
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj = 0;
8490 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8491 wxBitmap *arg2 = 0 ;
8492 void *argp1 = 0 ;
8493 int res1 = 0 ;
8494 void *argp2 = 0 ;
8495 int res2 = 0 ;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char * kwnames[] = {
8499 (char *) "self",(char *) "bitmap", NULL
8500 };
8501
8502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8506 }
8507 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8509 if (!SWIG_IsOK(res2)) {
8510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8511 }
8512 if (!argp2) {
8513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8514 }
8515 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 resultobj = SWIG_Py_Void();
8523 return resultobj;
8524 fail:
8525 return NULL;
8526 }
8527
8528
8529 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8532 wxBitmap *result = 0 ;
8533 void *argp1 = 0 ;
8534 int res1 = 0 ;
8535 PyObject *swig_obj[1] ;
8536
8537 if (!args) SWIG_fail;
8538 swig_obj[0] = args;
8539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8540 if (!SWIG_IsOK(res1)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8542 }
8543 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 {
8547 wxBitmap &_result_ref = (arg1)->GetBitmap();
8548 result = (wxBitmap *) &_result_ref;
8549 }
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 {
8554 wxBitmap* resultptr = new wxBitmap(*result);
8555 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8556 }
8557 return resultobj;
8558 fail:
8559 return NULL;
8560 }
8561
8562
8563 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8564 PyObject *obj;
8565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8567 return SWIG_Py_Void();
8568 }
8569
8570 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8571 return SWIG_Python_InitShadowInstance(args);
8572 }
8573
8574 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8575 PyObject *resultobj = 0;
8576 wxBitmap *arg1 = 0 ;
8577 long arg2 ;
8578 int arg3 ;
8579 wxWindow *arg4 = (wxWindow *) 0 ;
8580 int arg5 = (int) -1 ;
8581 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8582 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8583 wxSize const &arg7_defvalue = wxDefaultSize ;
8584 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8585 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8586 wxSplashScreen *result = 0 ;
8587 void *argp1 = 0 ;
8588 int res1 = 0 ;
8589 long val2 ;
8590 int ecode2 = 0 ;
8591 int val3 ;
8592 int ecode3 = 0 ;
8593 void *argp4 = 0 ;
8594 int res4 = 0 ;
8595 int val5 ;
8596 int ecode5 = 0 ;
8597 wxPoint temp6 ;
8598 wxSize temp7 ;
8599 long val8 ;
8600 int ecode8 = 0 ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8604 PyObject * obj3 = 0 ;
8605 PyObject * obj4 = 0 ;
8606 PyObject * obj5 = 0 ;
8607 PyObject * obj6 = 0 ;
8608 PyObject * obj7 = 0 ;
8609 char * kwnames[] = {
8610 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8611 };
8612
8613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8614 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8615 if (!SWIG_IsOK(res1)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8617 }
8618 if (!argp1) {
8619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8620 }
8621 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8622 ecode2 = SWIG_AsVal_long(obj1, &val2);
8623 if (!SWIG_IsOK(ecode2)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8625 }
8626 arg2 = static_cast< long >(val2);
8627 ecode3 = SWIG_AsVal_int(obj2, &val3);
8628 if (!SWIG_IsOK(ecode3)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8630 }
8631 arg3 = static_cast< int >(val3);
8632 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8633 if (!SWIG_IsOK(res4)) {
8634 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8635 }
8636 arg4 = reinterpret_cast< wxWindow * >(argp4);
8637 if (obj4) {
8638 ecode5 = SWIG_AsVal_int(obj4, &val5);
8639 if (!SWIG_IsOK(ecode5)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8641 }
8642 arg5 = static_cast< int >(val5);
8643 }
8644 if (obj5) {
8645 {
8646 arg6 = &temp6;
8647 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8648 }
8649 }
8650 if (obj6) {
8651 {
8652 arg7 = &temp7;
8653 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8654 }
8655 }
8656 if (obj7) {
8657 ecode8 = SWIG_AsVal_long(obj7, &val8);
8658 if (!SWIG_IsOK(ecode8)) {
8659 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8660 }
8661 arg8 = static_cast< long >(val8);
8662 }
8663 {
8664 if (!wxPyCheckForApp()) SWIG_fail;
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8678 PyObject *resultobj = 0;
8679 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8680 long result;
8681 void *argp1 = 0 ;
8682 int res1 = 0 ;
8683 PyObject *swig_obj[1] ;
8684
8685 if (!args) SWIG_fail;
8686 swig_obj[0] = args;
8687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8690 }
8691 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_From_long(static_cast< long >(result));
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8706 PyObject *resultobj = 0;
8707 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8708 wxSplashScreenWindow *result = 0 ;
8709 void *argp1 = 0 ;
8710 int res1 = 0 ;
8711 PyObject *swig_obj[1] ;
8712
8713 if (!args) SWIG_fail;
8714 swig_obj[0] = args;
8715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8716 if (!SWIG_IsOK(res1)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8718 }
8719 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8734 PyObject *resultobj = 0;
8735 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8736 int result;
8737 void *argp1 = 0 ;
8738 int res1 = 0 ;
8739 PyObject *swig_obj[1] ;
8740
8741 if (!args) SWIG_fail;
8742 swig_obj[0] = args;
8743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8744 if (!SWIG_IsOK(res1)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8746 }
8747 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 resultobj = SWIG_From_int(static_cast< int >(result));
8755 return resultobj;
8756 fail:
8757 return NULL;
8758 }
8759
8760
8761 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8762 PyObject *obj;
8763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8765 return SWIG_Py_Void();
8766 }
8767
8768 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8769 return SWIG_Python_InitShadowInstance(args);
8770 }
8771
8772 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj = 0;
8774 wxWindow *arg1 = (wxWindow *) 0 ;
8775 int arg2 = (int) -1 ;
8776 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8777 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8778 wxString *arg4 = (wxString *) &arg4_defvalue ;
8779 wxStatusBar *result = 0 ;
8780 void *argp1 = 0 ;
8781 int res1 = 0 ;
8782 int val2 ;
8783 int ecode2 = 0 ;
8784 long val3 ;
8785 int ecode3 = 0 ;
8786 bool temp4 = false ;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
8790 PyObject * obj3 = 0 ;
8791 char * kwnames[] = {
8792 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8793 };
8794
8795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8797 if (!SWIG_IsOK(res1)) {
8798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8799 }
8800 arg1 = reinterpret_cast< wxWindow * >(argp1);
8801 if (obj1) {
8802 ecode2 = SWIG_AsVal_int(obj1, &val2);
8803 if (!SWIG_IsOK(ecode2)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8805 }
8806 arg2 = static_cast< int >(val2);
8807 }
8808 if (obj2) {
8809 ecode3 = SWIG_AsVal_long(obj2, &val3);
8810 if (!SWIG_IsOK(ecode3)) {
8811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8812 }
8813 arg3 = static_cast< long >(val3);
8814 }
8815 if (obj3) {
8816 {
8817 arg4 = wxString_in_helper(obj3);
8818 if (arg4 == NULL) SWIG_fail;
8819 temp4 = true;
8820 }
8821 }
8822 {
8823 if (!wxPyCheckForApp()) SWIG_fail;
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8830 {
8831 if (temp4)
8832 delete arg4;
8833 }
8834 return resultobj;
8835 fail:
8836 {
8837 if (temp4)
8838 delete arg4;
8839 }
8840 return NULL;
8841 }
8842
8843
8844 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8845 PyObject *resultobj = 0;
8846 wxStatusBar *result = 0 ;
8847
8848 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8849 {
8850 if (!wxPyCheckForApp()) SWIG_fail;
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (wxStatusBar *)new wxStatusBar();
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8857 return resultobj;
8858 fail:
8859 return NULL;
8860 }
8861
8862
8863 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj = 0;
8865 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8866 wxWindow *arg2 = (wxWindow *) 0 ;
8867 int arg3 = (int) -1 ;
8868 long arg4 = (long) wxST_SIZEGRIP ;
8869 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8870 wxString *arg5 = (wxString *) &arg5_defvalue ;
8871 bool result;
8872 void *argp1 = 0 ;
8873 int res1 = 0 ;
8874 void *argp2 = 0 ;
8875 int res2 = 0 ;
8876 int val3 ;
8877 int ecode3 = 0 ;
8878 long val4 ;
8879 int ecode4 = 0 ;
8880 bool temp5 = false ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 PyObject * obj2 = 0 ;
8884 PyObject * obj3 = 0 ;
8885 PyObject * obj4 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8892 if (!SWIG_IsOK(res1)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8897 if (!SWIG_IsOK(res2)) {
8898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8899 }
8900 arg2 = reinterpret_cast< wxWindow * >(argp2);
8901 if (obj2) {
8902 ecode3 = SWIG_AsVal_int(obj2, &val3);
8903 if (!SWIG_IsOK(ecode3)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8905 }
8906 arg3 = static_cast< int >(val3);
8907 }
8908 if (obj3) {
8909 ecode4 = SWIG_AsVal_long(obj3, &val4);
8910 if (!SWIG_IsOK(ecode4)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8912 }
8913 arg4 = static_cast< long >(val4);
8914 }
8915 if (obj4) {
8916 {
8917 arg5 = wxString_in_helper(obj4);
8918 if (arg5 == NULL) SWIG_fail;
8919 temp5 = true;
8920 }
8921 }
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8930 }
8931 {
8932 if (temp5)
8933 delete arg5;
8934 }
8935 return resultobj;
8936 fail:
8937 {
8938 if (temp5)
8939 delete arg5;
8940 }
8941 return NULL;
8942 }
8943
8944
8945 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = 0;
8947 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8948 int arg2 = (int) 1 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 int val2 ;
8952 int ecode2 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "number", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8963 }
8964 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8965 if (obj1) {
8966 ecode2 = SWIG_AsVal_int(obj1, &val2);
8967 if (!SWIG_IsOK(ecode2)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8969 }
8970 arg2 = static_cast< int >(val2);
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->SetFieldsCount(arg2);
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = SWIG_Py_Void();
8979 return resultobj;
8980 fail:
8981 return NULL;
8982 }
8983
8984
8985 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8986 PyObject *resultobj = 0;
8987 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8988 int result;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 PyObject *swig_obj[1] ;
8992
8993 if (!args) SWIG_fail;
8994 swig_obj[0] = args;
8995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8996 if (!SWIG_IsOK(res1)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8998 }
8999 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_From_int(static_cast< int >(result));
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj = 0;
9015 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9016 wxString *arg2 = 0 ;
9017 int arg3 = (int) 0 ;
9018 void *argp1 = 0 ;
9019 int res1 = 0 ;
9020 bool temp2 = false ;
9021 int val3 ;
9022 int ecode3 = 0 ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 PyObject * obj2 = 0 ;
9026 char * kwnames[] = {
9027 (char *) "self",(char *) "text",(char *) "number", NULL
9028 };
9029
9030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9032 if (!SWIG_IsOK(res1)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9034 }
9035 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9036 {
9037 arg2 = wxString_in_helper(obj1);
9038 if (arg2 == NULL) SWIG_fail;
9039 temp2 = true;
9040 }
9041 if (obj2) {
9042 ecode3 = SWIG_AsVal_int(obj2, &val3);
9043 if (!SWIG_IsOK(ecode3)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9045 }
9046 arg3 = static_cast< int >(val3);
9047 }
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = SWIG_Py_Void();
9055 {
9056 if (temp2)
9057 delete arg2;
9058 }
9059 return resultobj;
9060 fail:
9061 {
9062 if (temp2)
9063 delete arg2;
9064 }
9065 return NULL;
9066 }
9067
9068
9069 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj = 0;
9071 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9072 int arg2 = (int) 0 ;
9073 wxString result;
9074 void *argp1 = 0 ;
9075 int res1 = 0 ;
9076 int val2 ;
9077 int ecode2 = 0 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 char * kwnames[] = {
9081 (char *) "self",(char *) "number", NULL
9082 };
9083
9084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9086 if (!SWIG_IsOK(res1)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9088 }
9089 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9090 if (obj1) {
9091 ecode2 = SWIG_AsVal_int(obj1, &val2);
9092 if (!SWIG_IsOK(ecode2)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9094 }
9095 arg2 = static_cast< int >(val2);
9096 }
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 {
9104 #if wxUSE_UNICODE
9105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9106 #else
9107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9108 #endif
9109 }
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj = 0;
9118 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9119 wxString *arg2 = 0 ;
9120 int arg3 = (int) 0 ;
9121 void *argp1 = 0 ;
9122 int res1 = 0 ;
9123 bool temp2 = false ;
9124 int val3 ;
9125 int ecode3 = 0 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 PyObject * obj2 = 0 ;
9129 char * kwnames[] = {
9130 (char *) "self",(char *) "text",(char *) "number", NULL
9131 };
9132
9133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9135 if (!SWIG_IsOK(res1)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9137 }
9138 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9139 {
9140 arg2 = wxString_in_helper(obj1);
9141 if (arg2 == NULL) SWIG_fail;
9142 temp2 = true;
9143 }
9144 if (obj2) {
9145 ecode3 = SWIG_AsVal_int(obj2, &val3);
9146 if (!SWIG_IsOK(ecode3)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9148 }
9149 arg3 = static_cast< int >(val3);
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (temp2)
9160 delete arg2;
9161 }
9162 return resultobj;
9163 fail:
9164 {
9165 if (temp2)
9166 delete arg2;
9167 }
9168 return NULL;
9169 }
9170
9171
9172 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj = 0;
9174 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9175 int arg2 = (int) 0 ;
9176 void *argp1 = 0 ;
9177 int res1 = 0 ;
9178 int val2 ;
9179 int ecode2 = 0 ;
9180 PyObject * obj0 = 0 ;
9181 PyObject * obj1 = 0 ;
9182 char * kwnames[] = {
9183 (char *) "self",(char *) "number", NULL
9184 };
9185
9186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9188 if (!SWIG_IsOK(res1)) {
9189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9190 }
9191 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9192 if (obj1) {
9193 ecode2 = SWIG_AsVal_int(obj1, &val2);
9194 if (!SWIG_IsOK(ecode2)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9196 }
9197 arg2 = static_cast< int >(val2);
9198 }
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->PopStatusText(arg2);
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_Py_Void();
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9215 int arg2 ;
9216 int *arg3 = (int *) 0 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 char * kwnames[] = {
9222 (char *) "self",(char *) "widths", NULL
9223 };
9224
9225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9227 if (!SWIG_IsOK(res1)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9229 }
9230 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9231 {
9232 arg2 = PyList_Size(obj1);
9233 arg3 = int_LIST_helper(obj1);
9234 if (arg3 == NULL) SWIG_fail;
9235 }
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_Py_Void();
9243 {
9244 if (arg3) delete [] arg3;
9245 }
9246 return resultobj;
9247 fail:
9248 {
9249 if (arg3) delete [] arg3;
9250 }
9251 return NULL;
9252 }
9253
9254
9255 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj = 0;
9257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9258 int arg2 ;
9259 int *arg3 = (int *) 0 ;
9260 void *argp1 = 0 ;
9261 int res1 = 0 ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 char * kwnames[] = {
9265 (char *) "self",(char *) "styles", NULL
9266 };
9267
9268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9270 if (!SWIG_IsOK(res1)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9272 }
9273 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9274 {
9275 arg2 = PyList_Size(obj1);
9276 arg3 = int_LIST_helper(obj1);
9277 if (arg3 == NULL) SWIG_fail;
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 resultobj = SWIG_Py_Void();
9286 {
9287 if (arg3) delete [] arg3;
9288 }
9289 return resultobj;
9290 fail:
9291 {
9292 if (arg3) delete [] arg3;
9293 }
9294 return NULL;
9295 }
9296
9297
9298 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj = 0;
9300 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9301 int arg2 ;
9302 wxRect result;
9303 void *argp1 = 0 ;
9304 int res1 = 0 ;
9305 int val2 ;
9306 int ecode2 = 0 ;
9307 PyObject * obj0 = 0 ;
9308 PyObject * obj1 = 0 ;
9309 char * kwnames[] = {
9310 (char *) "self",(char *) "i", NULL
9311 };
9312
9313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9315 if (!SWIG_IsOK(res1)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9317 }
9318 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9319 ecode2 = SWIG_AsVal_int(obj1, &val2);
9320 if (!SWIG_IsOK(ecode2)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9322 }
9323 arg2 = static_cast< int >(val2);
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 result = wxStatusBar_GetFieldRect(arg1,arg2);
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj = 0;
9339 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9340 int arg2 ;
9341 void *argp1 = 0 ;
9342 int res1 = 0 ;
9343 int val2 ;
9344 int ecode2 = 0 ;
9345 PyObject * obj0 = 0 ;
9346 PyObject * obj1 = 0 ;
9347 char * kwnames[] = {
9348 (char *) "self",(char *) "height", NULL
9349 };
9350
9351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9355 }
9356 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9357 ecode2 = SWIG_AsVal_int(obj1, &val2);
9358 if (!SWIG_IsOK(ecode2)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9360 }
9361 arg2 = static_cast< int >(val2);
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 (arg1)->SetMinHeight(arg2);
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = SWIG_Py_Void();
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9376 PyObject *resultobj = 0;
9377 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9378 int result;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 PyObject *swig_obj[1] ;
9382
9383 if (!args) SWIG_fail;
9384 swig_obj[0] = args;
9385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9386 if (!SWIG_IsOK(res1)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9388 }
9389 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = SWIG_From_int(static_cast< int >(result));
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *resultobj = 0;
9405 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9406 int result;
9407 void *argp1 = 0 ;
9408 int res1 = 0 ;
9409 PyObject *swig_obj[1] ;
9410
9411 if (!args) SWIG_fail;
9412 swig_obj[0] = args;
9413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9414 if (!SWIG_IsOK(res1)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9416 }
9417 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = SWIG_From_int(static_cast< int >(result));
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj = 0;
9433 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9434 SwigValueWrapper<wxVisualAttributes > result;
9435 int val1 ;
9436 int ecode1 = 0 ;
9437 PyObject * obj0 = 0 ;
9438 char * kwnames[] = {
9439 (char *) "variant", NULL
9440 };
9441
9442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9443 if (obj0) {
9444 ecode1 = SWIG_AsVal_int(obj0, &val1);
9445 if (!SWIG_IsOK(ecode1)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9447 }
9448 arg1 = static_cast< wxWindowVariant >(val1);
9449 }
9450 {
9451 if (!wxPyCheckForApp()) SWIG_fail;
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9465 PyObject *obj;
9466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9467 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9468 return SWIG_Py_Void();
9469 }
9470
9471 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9472 return SWIG_Python_InitShadowInstance(args);
9473 }
9474
9475 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9476 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9477 return 1;
9478 }
9479
9480
9481 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9482 PyObject *pyobj = 0;
9483
9484 {
9485 #if wxUSE_UNICODE
9486 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9487 #else
9488 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9489 #endif
9490 }
9491 return pyobj;
9492 }
9493
9494
9495 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj = 0;
9497 wxWindow *arg1 = (wxWindow *) 0 ;
9498 int arg2 = (int) -1 ;
9499 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9500 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9501 wxSize const &arg4_defvalue = wxDefaultSize ;
9502 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9503 long arg5 = (long) wxSP_3D ;
9504 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9505 wxString *arg6 = (wxString *) &arg6_defvalue ;
9506 wxSplitterWindow *result = 0 ;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 int val2 ;
9510 int ecode2 = 0 ;
9511 wxPoint temp3 ;
9512 wxSize temp4 ;
9513 long val5 ;
9514 int ecode5 = 0 ;
9515 bool temp6 = false ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 PyObject * obj3 = 0 ;
9520 PyObject * obj4 = 0 ;
9521 PyObject * obj5 = 0 ;
9522 char * kwnames[] = {
9523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9524 };
9525
9526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9528 if (!SWIG_IsOK(res1)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9530 }
9531 arg1 = reinterpret_cast< wxWindow * >(argp1);
9532 if (obj1) {
9533 ecode2 = SWIG_AsVal_int(obj1, &val2);
9534 if (!SWIG_IsOK(ecode2)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9536 }
9537 arg2 = static_cast< int >(val2);
9538 }
9539 if (obj2) {
9540 {
9541 arg3 = &temp3;
9542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9543 }
9544 }
9545 if (obj3) {
9546 {
9547 arg4 = &temp4;
9548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9549 }
9550 }
9551 if (obj4) {
9552 ecode5 = SWIG_AsVal_long(obj4, &val5);
9553 if (!SWIG_IsOK(ecode5)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9555 }
9556 arg5 = static_cast< long >(val5);
9557 }
9558 if (obj5) {
9559 {
9560 arg6 = wxString_in_helper(obj5);
9561 if (arg6 == NULL) SWIG_fail;
9562 temp6 = true;
9563 }
9564 }
9565 {
9566 if (!wxPyCheckForApp()) SWIG_fail;
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9573 {
9574 if (temp6)
9575 delete arg6;
9576 }
9577 return resultobj;
9578 fail:
9579 {
9580 if (temp6)
9581 delete arg6;
9582 }
9583 return NULL;
9584 }
9585
9586
9587 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9588 PyObject *resultobj = 0;
9589 wxSplitterWindow *result = 0 ;
9590
9591 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9592 {
9593 if (!wxPyCheckForApp()) SWIG_fail;
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 result = (wxSplitterWindow *)new wxSplitterWindow();
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj = 0;
9608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9609 wxWindow *arg2 = (wxWindow *) 0 ;
9610 int arg3 = (int) -1 ;
9611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9613 wxSize const &arg5_defvalue = wxDefaultSize ;
9614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9615 long arg6 = (long) wxSP_3D ;
9616 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9617 wxString *arg7 = (wxString *) &arg7_defvalue ;
9618 bool result;
9619 void *argp1 = 0 ;
9620 int res1 = 0 ;
9621 void *argp2 = 0 ;
9622 int res2 = 0 ;
9623 int val3 ;
9624 int ecode3 = 0 ;
9625 wxPoint temp4 ;
9626 wxSize temp5 ;
9627 long val6 ;
9628 int ecode6 = 0 ;
9629 bool temp7 = false ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 PyObject * obj2 = 0 ;
9633 PyObject * obj3 = 0 ;
9634 PyObject * obj4 = 0 ;
9635 PyObject * obj5 = 0 ;
9636 PyObject * obj6 = 0 ;
9637 char * kwnames[] = {
9638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9639 };
9640
9641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9643 if (!SWIG_IsOK(res1)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9645 }
9646 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9648 if (!SWIG_IsOK(res2)) {
9649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9650 }
9651 arg2 = reinterpret_cast< wxWindow * >(argp2);
9652 if (obj2) {
9653 ecode3 = SWIG_AsVal_int(obj2, &val3);
9654 if (!SWIG_IsOK(ecode3)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9656 }
9657 arg3 = static_cast< int >(val3);
9658 }
9659 if (obj3) {
9660 {
9661 arg4 = &temp4;
9662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9663 }
9664 }
9665 if (obj4) {
9666 {
9667 arg5 = &temp5;
9668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9669 }
9670 }
9671 if (obj5) {
9672 ecode6 = SWIG_AsVal_long(obj5, &val6);
9673 if (!SWIG_IsOK(ecode6)) {
9674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9675 }
9676 arg6 = static_cast< long >(val6);
9677 }
9678 if (obj6) {
9679 {
9680 arg7 = wxString_in_helper(obj6);
9681 if (arg7 == NULL) SWIG_fail;
9682 temp7 = true;
9683 }
9684 }
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9693 }
9694 {
9695 if (temp7)
9696 delete arg7;
9697 }
9698 return resultobj;
9699 fail:
9700 {
9701 if (temp7)
9702 delete arg7;
9703 }
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9709 PyObject *resultobj = 0;
9710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9711 wxWindow *result = 0 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 PyObject *swig_obj[1] ;
9715
9716 if (!args) SWIG_fail;
9717 swig_obj[0] = args;
9718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9721 }
9722 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 resultobj = wxPyMake_wxObject(result, 0);
9731 }
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 wxWindow *result = 0 ;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 PyObject *swig_obj[1] ;
9745
9746 if (!args) SWIG_fail;
9747 swig_obj[0] = args;
9748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 }
9752 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 {
9760 resultobj = wxPyMake_wxObject(result, 0);
9761 }
9762 return resultobj;
9763 fail:
9764 return NULL;
9765 }
9766
9767
9768 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj = 0;
9770 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9771 int arg2 ;
9772 void *argp1 = 0 ;
9773 int res1 = 0 ;
9774 int val2 ;
9775 int ecode2 = 0 ;
9776 PyObject * obj0 = 0 ;
9777 PyObject * obj1 = 0 ;
9778 char * kwnames[] = {
9779 (char *) "self",(char *) "mode", NULL
9780 };
9781
9782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9784 if (!SWIG_IsOK(res1)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9786 }
9787 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9788 ecode2 = SWIG_AsVal_int(obj1, &val2);
9789 if (!SWIG_IsOK(ecode2)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9791 }
9792 arg2 = static_cast< int >(val2);
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 (arg1)->SetSplitMode(arg2);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 resultobj = SWIG_Py_Void();
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9807 PyObject *resultobj = 0;
9808 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9809 wxSplitMode result;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 PyObject *swig_obj[1] ;
9813
9814 if (!args) SWIG_fail;
9815 swig_obj[0] = args;
9816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9819 }
9820 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_From_int(static_cast< int >(result));
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj = 0;
9836 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9837 wxWindow *arg2 = (wxWindow *) 0 ;
9838 void *argp1 = 0 ;
9839 int res1 = 0 ;
9840 void *argp2 = 0 ;
9841 int res2 = 0 ;
9842 PyObject * obj0 = 0 ;
9843 PyObject * obj1 = 0 ;
9844 char * kwnames[] = {
9845 (char *) "self",(char *) "window", NULL
9846 };
9847
9848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9850 if (!SWIG_IsOK(res1)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9852 }
9853 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9854 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res2)) {
9856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9857 }
9858 arg2 = reinterpret_cast< wxWindow * >(argp2);
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 (arg1)->Initialize(arg2);
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 resultobj = SWIG_Py_Void();
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(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_SplitVertically",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_SplitVertically" "', 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_SplitVertically" "', 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_SplitVertically" "', 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_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9915 }
9916 arg4 = static_cast< int >(val4);
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->SplitVertically(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_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 wxWindow *arg2 = (wxWindow *) 0 ;
9937 wxWindow *arg3 = (wxWindow *) 0 ;
9938 int arg4 = (int) 0 ;
9939 bool result;
9940 void *argp1 = 0 ;
9941 int res1 = 0 ;
9942 void *argp2 = 0 ;
9943 int res2 = 0 ;
9944 void *argp3 = 0 ;
9945 int res3 = 0 ;
9946 int val4 ;
9947 int ecode4 = 0 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 PyObject * obj2 = 0 ;
9951 PyObject * obj3 = 0 ;
9952 char * kwnames[] = {
9953 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9954 };
9955
9956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9958 if (!SWIG_IsOK(res1)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 }
9961 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9963 if (!SWIG_IsOK(res2)) {
9964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9965 }
9966 arg2 = reinterpret_cast< wxWindow * >(argp2);
9967 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9968 if (!SWIG_IsOK(res3)) {
9969 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9970 }
9971 arg3 = reinterpret_cast< wxWindow * >(argp3);
9972 if (obj3) {
9973 ecode4 = SWIG_AsVal_int(obj3, &val4);
9974 if (!SWIG_IsOK(ecode4)) {
9975 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9976 }
9977 arg4 = static_cast< int >(val4);
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9987 }
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj = 0;
9996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9997 wxWindow *arg2 = (wxWindow *) NULL ;
9998 bool result;
9999 void *argp1 = 0 ;
10000 int res1 = 0 ;
10001 void *argp2 = 0 ;
10002 int res2 = 0 ;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 char * kwnames[] = {
10006 (char *) "self",(char *) "toRemove", NULL
10007 };
10008
10009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10011 if (!SWIG_IsOK(res1)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 }
10014 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10015 if (obj1) {
10016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10017 if (!SWIG_IsOK(res2)) {
10018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10019 }
10020 arg2 = reinterpret_cast< wxWindow * >(argp2);
10021 }
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (bool)(arg1)->Unsplit(arg2);
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 {
10029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10030 }
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj = 0;
10039 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10040 wxWindow *arg2 = (wxWindow *) 0 ;
10041 wxWindow *arg3 = (wxWindow *) 0 ;
10042 bool result;
10043 void *argp1 = 0 ;
10044 int res1 = 0 ;
10045 void *argp2 = 0 ;
10046 int res2 = 0 ;
10047 void *argp3 = 0 ;
10048 int res3 = 0 ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 PyObject * obj2 = 0 ;
10052 char * kwnames[] = {
10053 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10054 };
10055
10056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10063 if (!SWIG_IsOK(res2)) {
10064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10065 }
10066 arg2 = reinterpret_cast< wxWindow * >(argp2);
10067 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10068 if (!SWIG_IsOK(res3)) {
10069 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10070 }
10071 arg3 = reinterpret_cast< wxWindow * >(argp3);
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 {
10079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10080 }
10081 return resultobj;
10082 fail:
10083 return NULL;
10084 }
10085
10086
10087 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10088 PyObject *resultobj = 0;
10089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10090 void *argp1 = 0 ;
10091 int res1 = 0 ;
10092 PyObject *swig_obj[1] ;
10093
10094 if (!args) SWIG_fail;
10095 swig_obj[0] = args;
10096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10097 if (!SWIG_IsOK(res1)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 }
10100 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->UpdateSize();
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 bool result;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 PyObject *swig_obj[1] ;
10121
10122 if (!args) SWIG_fail;
10123 swig_obj[0] = args;
10124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10125 if (!SWIG_IsOK(res1)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 }
10128 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 {
10136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10137 }
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj = 0;
10146 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10147 int arg2 ;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char * kwnames[] = {
10155 (char *) "self",(char *) "width", NULL
10156 };
10157
10158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 ecode2 = SWIG_AsVal_int(obj1, &val2);
10165 if (!SWIG_IsOK(ecode2)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10167 }
10168 arg2 = static_cast< int >(val2);
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetSashSize(arg2);
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 resultobj = SWIG_Py_Void();
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj = 0;
10184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10185 int arg2 ;
10186 void *argp1 = 0 ;
10187 int res1 = 0 ;
10188 int val2 ;
10189 int ecode2 = 0 ;
10190 PyObject * obj0 = 0 ;
10191 PyObject * obj1 = 0 ;
10192 char * kwnames[] = {
10193 (char *) "self",(char *) "width", NULL
10194 };
10195
10196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 ecode2 = SWIG_AsVal_int(obj1, &val2);
10203 if (!SWIG_IsOK(ecode2)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10205 }
10206 arg2 = static_cast< int >(val2);
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 (arg1)->SetBorderSize(arg2);
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 resultobj = SWIG_Py_Void();
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10221 PyObject *resultobj = 0;
10222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10223 int result;
10224 void *argp1 = 0 ;
10225 int res1 = 0 ;
10226 PyObject *swig_obj[1] ;
10227
10228 if (!args) SWIG_fail;
10229 swig_obj[0] = args;
10230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10231 if (!SWIG_IsOK(res1)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10233 }
10234 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 resultobj = SWIG_From_int(static_cast< int >(result));
10242 return resultobj;
10243 fail:
10244 return NULL;
10245 }
10246
10247
10248 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10249 PyObject *resultobj = 0;
10250 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10251 int result;
10252 void *argp1 = 0 ;
10253 int res1 = 0 ;
10254 PyObject *swig_obj[1] ;
10255
10256 if (!args) SWIG_fail;
10257 swig_obj[0] = args;
10258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10259 if (!SWIG_IsOK(res1)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10261 }
10262 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = SWIG_From_int(static_cast< int >(result));
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj = 0;
10278 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10279 int arg2 ;
10280 bool arg3 = (bool) true ;
10281 void *argp1 = 0 ;
10282 int res1 = 0 ;
10283 int val2 ;
10284 int ecode2 = 0 ;
10285 bool val3 ;
10286 int ecode3 = 0 ;
10287 PyObject * obj0 = 0 ;
10288 PyObject * obj1 = 0 ;
10289 PyObject * obj2 = 0 ;
10290 char * kwnames[] = {
10291 (char *) "self",(char *) "position",(char *) "redraw", NULL
10292 };
10293
10294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10296 if (!SWIG_IsOK(res1)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10298 }
10299 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10300 ecode2 = SWIG_AsVal_int(obj1, &val2);
10301 if (!SWIG_IsOK(ecode2)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10303 }
10304 arg2 = static_cast< int >(val2);
10305 if (obj2) {
10306 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10307 if (!SWIG_IsOK(ecode3)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10309 }
10310 arg3 = static_cast< bool >(val3);
10311 }
10312 {
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 (arg1)->SetSashPosition(arg2,arg3);
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_Py_Void();
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10326 PyObject *resultobj = 0;
10327 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10328 int result;
10329 void *argp1 = 0 ;
10330 int res1 = 0 ;
10331 PyObject *swig_obj[1] ;
10332
10333 if (!args) SWIG_fail;
10334 swig_obj[0] = args;
10335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10336 if (!SWIG_IsOK(res1)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 }
10339 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 resultobj = SWIG_From_int(static_cast< int >(result));
10347 return resultobj;
10348 fail:
10349 return NULL;
10350 }
10351
10352
10353 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj = 0;
10355 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10356 double arg2 ;
10357 void *argp1 = 0 ;
10358 int res1 = 0 ;
10359 double val2 ;
10360 int ecode2 = 0 ;
10361 PyObject * obj0 = 0 ;
10362 PyObject * obj1 = 0 ;
10363 char * kwnames[] = {
10364 (char *) "self",(char *) "gravity", NULL
10365 };
10366
10367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10369 if (!SWIG_IsOK(res1)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10371 }
10372 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10373 ecode2 = SWIG_AsVal_double(obj1, &val2);
10374 if (!SWIG_IsOK(ecode2)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10376 }
10377 arg2 = static_cast< double >(val2);
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetSashGravity(arg2);
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_Py_Void();
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10392 PyObject *resultobj = 0;
10393 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10394 double result;
10395 void *argp1 = 0 ;
10396 int res1 = 0 ;
10397 PyObject *swig_obj[1] ;
10398
10399 if (!args) SWIG_fail;
10400 swig_obj[0] = args;
10401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10402 if (!SWIG_IsOK(res1)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10404 }
10405 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_From_double(static_cast< double >(result));
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj = 0;
10421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10422 int arg2 ;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 int val2 ;
10426 int ecode2 = 0 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char * kwnames[] = {
10430 (char *) "self",(char *) "min", NULL
10431 };
10432
10433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10435 if (!SWIG_IsOK(res1)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10437 }
10438 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10439 ecode2 = SWIG_AsVal_int(obj1, &val2);
10440 if (!SWIG_IsOK(ecode2)) {
10441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10442 }
10443 arg2 = static_cast< int >(val2);
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 (arg1)->SetMinimumPaneSize(arg2);
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = SWIG_Py_Void();
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10458 PyObject *resultobj = 0;
10459 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10460 int result;
10461 void *argp1 = 0 ;
10462 int res1 = 0 ;
10463 PyObject *swig_obj[1] ;
10464
10465 if (!args) SWIG_fail;
10466 swig_obj[0] = args;
10467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10468 if (!SWIG_IsOK(res1)) {
10469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10470 }
10471 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 resultobj = SWIG_From_int(static_cast< int >(result));
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 int arg2 ;
10489 int arg3 ;
10490 int arg4 = (int) 5 ;
10491 bool result;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 int val2 ;
10495 int ecode2 = 0 ;
10496 int val3 ;
10497 int ecode3 = 0 ;
10498 int val4 ;
10499 int ecode4 = 0 ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 PyObject * obj2 = 0 ;
10503 PyObject * obj3 = 0 ;
10504 char * kwnames[] = {
10505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10506 };
10507
10508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10510 if (!SWIG_IsOK(res1)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10512 }
10513 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10514 ecode2 = SWIG_AsVal_int(obj1, &val2);
10515 if (!SWIG_IsOK(ecode2)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10517 }
10518 arg2 = static_cast< int >(val2);
10519 ecode3 = SWIG_AsVal_int(obj2, &val3);
10520 if (!SWIG_IsOK(ecode3)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10522 }
10523 arg3 = static_cast< int >(val3);
10524 if (obj3) {
10525 ecode4 = SWIG_AsVal_int(obj3, &val4);
10526 if (!SWIG_IsOK(ecode4)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10528 }
10529 arg4 = static_cast< int >(val4);
10530 }
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10539 }
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 PyObject *swig_obj[1] ;
10552
10553 if (!args) SWIG_fail;
10554 swig_obj[0] = args;
10555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10558 }
10559 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SizeWindows();
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10576 bool arg2 ;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 bool val2 ;
10580 int ecode2 = 0 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char * kwnames[] = {
10584 (char *) "self",(char *) "needUpdating", NULL
10585 };
10586
10587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10591 }
10592 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10593 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10594 if (!SWIG_IsOK(ecode2)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10596 }
10597 arg2 = static_cast< bool >(val2);
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 (arg1)->SetNeedUpdating(arg2);
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = SWIG_Py_Void();
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 PyObject *resultobj = 0;
10613 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10614 bool result;
10615 void *argp1 = 0 ;
10616 int res1 = 0 ;
10617 PyObject *swig_obj[1] ;
10618
10619 if (!args) SWIG_fail;
10620 swig_obj[0] = args;
10621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10622 if (!SWIG_IsOK(res1)) {
10623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10624 }
10625 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 {
10633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10634 }
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj = 0;
10643 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10644 SwigValueWrapper<wxVisualAttributes > result;
10645 int val1 ;
10646 int ecode1 = 0 ;
10647 PyObject * obj0 = 0 ;
10648 char * kwnames[] = {
10649 (char *) "variant", NULL
10650 };
10651
10652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10653 if (obj0) {
10654 ecode1 = SWIG_AsVal_int(obj0, &val1);
10655 if (!SWIG_IsOK(ecode1)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10657 }
10658 arg1 = static_cast< wxWindowVariant >(val1);
10659 }
10660 {
10661 if (!wxPyCheckForApp()) SWIG_fail;
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *obj;
10676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10677 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10678 return SWIG_Py_Void();
10679 }
10680
10681 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10682 return SWIG_Python_InitShadowInstance(args);
10683 }
10684
10685 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj = 0;
10687 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10688 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10689 wxSplitterEvent *result = 0 ;
10690 int val1 ;
10691 int ecode1 = 0 ;
10692 void *argp2 = 0 ;
10693 int res2 = 0 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char * kwnames[] = {
10697 (char *) "type",(char *) "splitter", NULL
10698 };
10699
10700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10701 if (obj0) {
10702 ecode1 = SWIG_AsVal_int(obj0, &val1);
10703 if (!SWIG_IsOK(ecode1)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10705 }
10706 arg1 = static_cast< wxEventType >(val1);
10707 }
10708 if (obj1) {
10709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10710 if (!SWIG_IsOK(res2)) {
10711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10712 }
10713 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10714 }
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10722 return resultobj;
10723 fail:
10724 return NULL;
10725 }
10726
10727
10728 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj = 0;
10730 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10731 int arg2 ;
10732 void *argp1 = 0 ;
10733 int res1 = 0 ;
10734 int val2 ;
10735 int ecode2 = 0 ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 char * kwnames[] = {
10739 (char *) "self",(char *) "pos", NULL
10740 };
10741
10742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10748 ecode2 = SWIG_AsVal_int(obj1, &val2);
10749 if (!SWIG_IsOK(ecode2)) {
10750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10751 }
10752 arg2 = static_cast< int >(val2);
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 (arg1)->SetSashPosition(arg2);
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 resultobj = SWIG_Py_Void();
10760 return resultobj;
10761 fail:
10762 return NULL;
10763 }
10764
10765
10766 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10767 PyObject *resultobj = 0;
10768 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10769 int result;
10770 void *argp1 = 0 ;
10771 int res1 = 0 ;
10772 PyObject *swig_obj[1] ;
10773
10774 if (!args) SWIG_fail;
10775 swig_obj[0] = args;
10776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10777 if (!SWIG_IsOK(res1)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10779 }
10780 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 resultobj = SWIG_From_int(static_cast< int >(result));
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10795 PyObject *resultobj = 0;
10796 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10797 wxWindow *result = 0 ;
10798 void *argp1 = 0 ;
10799 int res1 = 0 ;
10800 PyObject *swig_obj[1] ;
10801
10802 if (!args) SWIG_fail;
10803 swig_obj[0] = args;
10804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10805 if (!SWIG_IsOK(res1)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10807 }
10808 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 {
10816 resultobj = wxPyMake_wxObject(result, 0);
10817 }
10818 return resultobj;
10819 fail:
10820 return NULL;
10821 }
10822
10823
10824 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10825 PyObject *resultobj = 0;
10826 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10827 int result;
10828 void *argp1 = 0 ;
10829 int res1 = 0 ;
10830 PyObject *swig_obj[1] ;
10831
10832 if (!args) SWIG_fail;
10833 swig_obj[0] = args;
10834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10835 if (!SWIG_IsOK(res1)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10837 }
10838 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_From_int(static_cast< int >(result));
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10853 PyObject *resultobj = 0;
10854 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10855 int result;
10856 void *argp1 = 0 ;
10857 int res1 = 0 ;
10858 PyObject *swig_obj[1] ;
10859
10860 if (!args) SWIG_fail;
10861 swig_obj[0] = args;
10862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10863 if (!SWIG_IsOK(res1)) {
10864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10865 }
10866 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 resultobj = SWIG_From_int(static_cast< int >(result));
10874 return resultobj;
10875 fail:
10876 return NULL;
10877 }
10878
10879
10880 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10881 PyObject *obj;
10882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10883 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10884 return SWIG_Py_Void();
10885 }
10886
10887 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10888 return SWIG_Python_InitShadowInstance(args);
10889 }
10890
10891 SWIGINTERN int SashNameStr_set(PyObject *) {
10892 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10893 return 1;
10894 }
10895
10896
10897 SWIGINTERN PyObject *SashNameStr_get(void) {
10898 PyObject *pyobj = 0;
10899
10900 {
10901 #if wxUSE_UNICODE
10902 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10903 #else
10904 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10905 #endif
10906 }
10907 return pyobj;
10908 }
10909
10910
10911 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10912 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10913 return 1;
10914 }
10915
10916
10917 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10918 PyObject *pyobj = 0;
10919
10920 {
10921 #if wxUSE_UNICODE
10922 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10923 #else
10924 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10925 #endif
10926 }
10927 return pyobj;
10928 }
10929
10930
10931 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj = 0;
10933 wxWindow *arg1 = (wxWindow *) 0 ;
10934 int arg2 = (int) -1 ;
10935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10937 wxSize const &arg4_defvalue = wxDefaultSize ;
10938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10939 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10940 wxString const &arg6_defvalue = wxPySashNameStr ;
10941 wxString *arg6 = (wxString *) &arg6_defvalue ;
10942 wxSashWindow *result = 0 ;
10943 void *argp1 = 0 ;
10944 int res1 = 0 ;
10945 int val2 ;
10946 int ecode2 = 0 ;
10947 wxPoint temp3 ;
10948 wxSize temp4 ;
10949 long val5 ;
10950 int ecode5 = 0 ;
10951 bool temp6 = false ;
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 PyObject * obj2 = 0 ;
10955 PyObject * obj3 = 0 ;
10956 PyObject * obj4 = 0 ;
10957 PyObject * obj5 = 0 ;
10958 char * kwnames[] = {
10959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10960 };
10961
10962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10964 if (!SWIG_IsOK(res1)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10966 }
10967 arg1 = reinterpret_cast< wxWindow * >(argp1);
10968 if (obj1) {
10969 ecode2 = SWIG_AsVal_int(obj1, &val2);
10970 if (!SWIG_IsOK(ecode2)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10972 }
10973 arg2 = static_cast< int >(val2);
10974 }
10975 if (obj2) {
10976 {
10977 arg3 = &temp3;
10978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10979 }
10980 }
10981 if (obj3) {
10982 {
10983 arg4 = &temp4;
10984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10985 }
10986 }
10987 if (obj4) {
10988 ecode5 = SWIG_AsVal_long(obj4, &val5);
10989 if (!SWIG_IsOK(ecode5)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10991 }
10992 arg5 = static_cast< long >(val5);
10993 }
10994 if (obj5) {
10995 {
10996 arg6 = wxString_in_helper(obj5);
10997 if (arg6 == NULL) SWIG_fail;
10998 temp6 = true;
10999 }
11000 }
11001 {
11002 if (!wxPyCheckForApp()) SWIG_fail;
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11009 {
11010 if (temp6)
11011 delete arg6;
11012 }
11013 return resultobj;
11014 fail:
11015 {
11016 if (temp6)
11017 delete arg6;
11018 }
11019 return NULL;
11020 }
11021
11022
11023 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11024 PyObject *resultobj = 0;
11025 wxSashWindow *result = 0 ;
11026
11027 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11028 {
11029 if (!wxPyCheckForApp()) SWIG_fail;
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (wxSashWindow *)new wxSashWindow();
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj = 0;
11044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11045 wxWindow *arg2 = (wxWindow *) 0 ;
11046 int arg3 = (int) -1 ;
11047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11049 wxSize const &arg5_defvalue = wxDefaultSize ;
11050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11051 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11052 wxString const &arg7_defvalue = wxPySashNameStr ;
11053 wxString *arg7 = (wxString *) &arg7_defvalue ;
11054 bool result;
11055 void *argp1 = 0 ;
11056 int res1 = 0 ;
11057 void *argp2 = 0 ;
11058 int res2 = 0 ;
11059 int val3 ;
11060 int ecode3 = 0 ;
11061 wxPoint temp4 ;
11062 wxSize temp5 ;
11063 long val6 ;
11064 int ecode6 = 0 ;
11065 bool temp7 = false ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 PyObject * obj4 = 0 ;
11071 PyObject * obj5 = 0 ;
11072 PyObject * obj6 = 0 ;
11073 char * kwnames[] = {
11074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11075 };
11076
11077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res1)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 }
11082 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11084 if (!SWIG_IsOK(res2)) {
11085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11086 }
11087 arg2 = reinterpret_cast< wxWindow * >(argp2);
11088 if (obj2) {
11089 ecode3 = SWIG_AsVal_int(obj2, &val3);
11090 if (!SWIG_IsOK(ecode3)) {
11091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11092 }
11093 arg3 = static_cast< int >(val3);
11094 }
11095 if (obj3) {
11096 {
11097 arg4 = &temp4;
11098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11099 }
11100 }
11101 if (obj4) {
11102 {
11103 arg5 = &temp5;
11104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11105 }
11106 }
11107 if (obj5) {
11108 ecode6 = SWIG_AsVal_long(obj5, &val6);
11109 if (!SWIG_IsOK(ecode6)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11111 }
11112 arg6 = static_cast< long >(val6);
11113 }
11114 if (obj6) {
11115 {
11116 arg7 = wxString_in_helper(obj6);
11117 if (arg7 == NULL) SWIG_fail;
11118 temp7 = true;
11119 }
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 {
11128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11129 }
11130 {
11131 if (temp7)
11132 delete arg7;
11133 }
11134 return resultobj;
11135 fail:
11136 {
11137 if (temp7)
11138 delete arg7;
11139 }
11140 return NULL;
11141 }
11142
11143
11144 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj = 0;
11146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11147 wxSashEdgePosition arg2 ;
11148 bool arg3 ;
11149 void *argp1 = 0 ;
11150 int res1 = 0 ;
11151 int val2 ;
11152 int ecode2 = 0 ;
11153 bool val3 ;
11154 int ecode3 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 PyObject * obj2 = 0 ;
11158 char * kwnames[] = {
11159 (char *) "self",(char *) "edge",(char *) "sash", NULL
11160 };
11161
11162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11164 if (!SWIG_IsOK(res1)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 }
11167 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11168 ecode2 = SWIG_AsVal_int(obj1, &val2);
11169 if (!SWIG_IsOK(ecode2)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 }
11172 arg2 = static_cast< wxSashEdgePosition >(val2);
11173 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11174 if (!SWIG_IsOK(ecode3)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11176 }
11177 arg3 = static_cast< bool >(val3);
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->SetSashVisible(arg2,arg3);
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = SWIG_Py_Void();
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj = 0;
11193 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11194 wxSashEdgePosition arg2 ;
11195 bool result;
11196 void *argp1 = 0 ;
11197 int res1 = 0 ;
11198 int val2 ;
11199 int ecode2 = 0 ;
11200 PyObject * obj0 = 0 ;
11201 PyObject * obj1 = 0 ;
11202 char * kwnames[] = {
11203 (char *) "self",(char *) "edge", NULL
11204 };
11205
11206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11208 if (!SWIG_IsOK(res1)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11210 }
11211 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11212 ecode2 = SWIG_AsVal_int(obj1, &val2);
11213 if (!SWIG_IsOK(ecode2)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11215 }
11216 arg2 = static_cast< wxSashEdgePosition >(val2);
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj = 0;
11234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11235 wxSashEdgePosition arg2 ;
11236 bool arg3 ;
11237 void *argp1 = 0 ;
11238 int res1 = 0 ;
11239 int val2 ;
11240 int ecode2 = 0 ;
11241 bool val3 ;
11242 int ecode3 = 0 ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 PyObject * obj2 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "edge",(char *) "border", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 }
11260 arg2 = static_cast< wxSashEdgePosition >(val2);
11261 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11262 if (!SWIG_IsOK(ecode3)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11264 }
11265 arg3 = static_cast< bool >(val3);
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 (arg1)->SetSashBorder(arg2,arg3);
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 resultobj = SWIG_Py_Void();
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj = 0;
11281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11282 wxSashEdgePosition arg2 ;
11283 bool result;
11284 void *argp1 = 0 ;
11285 int res1 = 0 ;
11286 int val2 ;
11287 int ecode2 = 0 ;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char * kwnames[] = {
11291 (char *) "self",(char *) "edge", NULL
11292 };
11293
11294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11296 if (!SWIG_IsOK(res1)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11298 }
11299 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11300 ecode2 = SWIG_AsVal_int(obj1, &val2);
11301 if (!SWIG_IsOK(ecode2)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11303 }
11304 arg2 = static_cast< wxSashEdgePosition >(val2);
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 {
11312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11313 }
11314 return resultobj;
11315 fail:
11316 return NULL;
11317 }
11318
11319
11320 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11321 PyObject *resultobj = 0;
11322 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11323 wxSashEdgePosition arg2 ;
11324 int result;
11325 void *argp1 = 0 ;
11326 int res1 = 0 ;
11327 int val2 ;
11328 int ecode2 = 0 ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char * kwnames[] = {
11332 (char *) "self",(char *) "edge", NULL
11333 };
11334
11335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 }
11340 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11341 ecode2 = SWIG_AsVal_int(obj1, &val2);
11342 if (!SWIG_IsOK(ecode2)) {
11343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11344 }
11345 arg2 = static_cast< wxSashEdgePosition >(val2);
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = SWIG_From_int(static_cast< int >(result));
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj = 0;
11361 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11362 int arg2 ;
11363 void *argp1 = 0 ;
11364 int res1 = 0 ;
11365 int val2 ;
11366 int ecode2 = 0 ;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 char * kwnames[] = {
11370 (char *) "self",(char *) "width", NULL
11371 };
11372
11373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11375 if (!SWIG_IsOK(res1)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 }
11378 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11379 ecode2 = SWIG_AsVal_int(obj1, &val2);
11380 if (!SWIG_IsOK(ecode2)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11382 }
11383 arg2 = static_cast< int >(val2);
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->SetDefaultBorderSize(arg2);
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 resultobj = SWIG_Py_Void();
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11398 PyObject *resultobj = 0;
11399 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11400 int result;
11401 void *argp1 = 0 ;
11402 int res1 = 0 ;
11403 PyObject *swig_obj[1] ;
11404
11405 if (!args) SWIG_fail;
11406 swig_obj[0] = args;
11407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11408 if (!SWIG_IsOK(res1)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11410 }
11411 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 resultobj = SWIG_From_int(static_cast< int >(result));
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj = 0;
11427 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11428 int arg2 ;
11429 void *argp1 = 0 ;
11430 int res1 = 0 ;
11431 int val2 ;
11432 int ecode2 = 0 ;
11433 PyObject * obj0 = 0 ;
11434 PyObject * obj1 = 0 ;
11435 char * kwnames[] = {
11436 (char *) "self",(char *) "width", NULL
11437 };
11438
11439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11441 if (!SWIG_IsOK(res1)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11443 }
11444 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11445 ecode2 = SWIG_AsVal_int(obj1, &val2);
11446 if (!SWIG_IsOK(ecode2)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11448 }
11449 arg2 = static_cast< int >(val2);
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->SetExtraBorderSize(arg2);
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 resultobj = SWIG_Py_Void();
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11464 PyObject *resultobj = 0;
11465 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11466 int result;
11467 void *argp1 = 0 ;
11468 int res1 = 0 ;
11469 PyObject *swig_obj[1] ;
11470
11471 if (!args) SWIG_fail;
11472 swig_obj[0] = args;
11473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11474 if (!SWIG_IsOK(res1)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 }
11477 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = SWIG_From_int(static_cast< int >(result));
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj = 0;
11493 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11494 int arg2 ;
11495 void *argp1 = 0 ;
11496 int res1 = 0 ;
11497 int val2 ;
11498 int ecode2 = 0 ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 char * kwnames[] = {
11502 (char *) "self",(char *) "min", NULL
11503 };
11504
11505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11507 if (!SWIG_IsOK(res1)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 }
11510 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11511 ecode2 = SWIG_AsVal_int(obj1, &val2);
11512 if (!SWIG_IsOK(ecode2)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 }
11515 arg2 = static_cast< int >(val2);
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->SetMinimumSizeX(arg2);
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 resultobj = SWIG_Py_Void();
11523 return resultobj;
11524 fail:
11525 return NULL;
11526 }
11527
11528
11529 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj = 0;
11531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11532 int arg2 ;
11533 void *argp1 = 0 ;
11534 int res1 = 0 ;
11535 int val2 ;
11536 int ecode2 = 0 ;
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 char * kwnames[] = {
11540 (char *) "self",(char *) "min", NULL
11541 };
11542
11543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11545 if (!SWIG_IsOK(res1)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 }
11548 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11549 ecode2 = SWIG_AsVal_int(obj1, &val2);
11550 if (!SWIG_IsOK(ecode2)) {
11551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 }
11553 arg2 = static_cast< int >(val2);
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->SetMinimumSizeY(arg2);
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 resultobj = SWIG_Py_Void();
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11568 PyObject *resultobj = 0;
11569 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11570 int result;
11571 void *argp1 = 0 ;
11572 int res1 = 0 ;
11573 PyObject *swig_obj[1] ;
11574
11575 if (!args) SWIG_fail;
11576 swig_obj[0] = args;
11577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 }
11581 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 resultobj = SWIG_From_int(static_cast< int >(result));
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11596 PyObject *resultobj = 0;
11597 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11598 int result;
11599 void *argp1 = 0 ;
11600 int res1 = 0 ;
11601 PyObject *swig_obj[1] ;
11602
11603 if (!args) SWIG_fail;
11604 swig_obj[0] = args;
11605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11606 if (!SWIG_IsOK(res1)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 }
11609 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_From_int(static_cast< int >(result));
11617 return resultobj;
11618 fail:
11619 return NULL;
11620 }
11621
11622
11623 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj = 0;
11625 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11626 int arg2 ;
11627 void *argp1 = 0 ;
11628 int res1 = 0 ;
11629 int val2 ;
11630 int ecode2 = 0 ;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char * kwnames[] = {
11634 (char *) "self",(char *) "max", NULL
11635 };
11636
11637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11639 if (!SWIG_IsOK(res1)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11641 }
11642 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11643 ecode2 = SWIG_AsVal_int(obj1, &val2);
11644 if (!SWIG_IsOK(ecode2)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11646 }
11647 arg2 = static_cast< int >(val2);
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->SetMaximumSizeX(arg2);
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 resultobj = SWIG_Py_Void();
11655 return resultobj;
11656 fail:
11657 return NULL;
11658 }
11659
11660
11661 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj = 0;
11663 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11664 int arg2 ;
11665 void *argp1 = 0 ;
11666 int res1 = 0 ;
11667 int val2 ;
11668 int ecode2 = 0 ;
11669 PyObject * obj0 = 0 ;
11670 PyObject * obj1 = 0 ;
11671 char * kwnames[] = {
11672 (char *) "self",(char *) "max", NULL
11673 };
11674
11675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11677 if (!SWIG_IsOK(res1)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11679 }
11680 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11681 ecode2 = SWIG_AsVal_int(obj1, &val2);
11682 if (!SWIG_IsOK(ecode2)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11684 }
11685 arg2 = static_cast< int >(val2);
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->SetMaximumSizeY(arg2);
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = SWIG_Py_Void();
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11700 PyObject *resultobj = 0;
11701 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11702 int result;
11703 void *argp1 = 0 ;
11704 int res1 = 0 ;
11705 PyObject *swig_obj[1] ;
11706
11707 if (!args) SWIG_fail;
11708 swig_obj[0] = args;
11709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11712 }
11713 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_From_int(static_cast< int >(result));
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11730 int result;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 PyObject *swig_obj[1] ;
11734
11735 if (!args) SWIG_fail;
11736 swig_obj[0] = args;
11737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11738 if (!SWIG_IsOK(res1)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11740 }
11741 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_From_int(static_cast< int >(result));
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj = 0;
11757 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11758 int arg2 ;
11759 int arg3 ;
11760 int arg4 = (int) 2 ;
11761 wxSashEdgePosition result;
11762 void *argp1 = 0 ;
11763 int res1 = 0 ;
11764 int val2 ;
11765 int ecode2 = 0 ;
11766 int val3 ;
11767 int ecode3 = 0 ;
11768 int val4 ;
11769 int ecode4 = 0 ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772 PyObject * obj2 = 0 ;
11773 PyObject * obj3 = 0 ;
11774 char * kwnames[] = {
11775 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11776 };
11777
11778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11780 if (!SWIG_IsOK(res1)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11782 }
11783 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11784 ecode2 = SWIG_AsVal_int(obj1, &val2);
11785 if (!SWIG_IsOK(ecode2)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11787 }
11788 arg2 = static_cast< int >(val2);
11789 ecode3 = SWIG_AsVal_int(obj2, &val3);
11790 if (!SWIG_IsOK(ecode3)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11792 }
11793 arg3 = static_cast< int >(val3);
11794 if (obj3) {
11795 ecode4 = SWIG_AsVal_int(obj3, &val4);
11796 if (!SWIG_IsOK(ecode4)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11798 }
11799 arg4 = static_cast< int >(val4);
11800 }
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 resultobj = SWIG_From_int(static_cast< int >(result));
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11815 PyObject *resultobj = 0;
11816 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11817 void *argp1 = 0 ;
11818 int res1 = 0 ;
11819 PyObject *swig_obj[1] ;
11820
11821 if (!args) SWIG_fail;
11822 swig_obj[0] = args;
11823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11824 if (!SWIG_IsOK(res1)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11826 }
11827 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 (arg1)->SizeWindows();
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = SWIG_Py_Void();
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11842 PyObject *obj;
11843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11844 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11845 return SWIG_Py_Void();
11846 }
11847
11848 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 return SWIG_Python_InitShadowInstance(args);
11850 }
11851
11852 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj = 0;
11854 int arg1 = (int) 0 ;
11855 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11856 wxSashEvent *result = 0 ;
11857 int val1 ;
11858 int ecode1 = 0 ;
11859 int val2 ;
11860 int ecode2 = 0 ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 char * kwnames[] = {
11864 (char *) "id",(char *) "edge", NULL
11865 };
11866
11867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11868 if (obj0) {
11869 ecode1 = SWIG_AsVal_int(obj0, &val1);
11870 if (!SWIG_IsOK(ecode1)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11872 }
11873 arg1 = static_cast< int >(val1);
11874 }
11875 if (obj1) {
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11879 }
11880 arg2 = static_cast< wxSashEdgePosition >(val2);
11881 }
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11896 PyObject *resultobj = 0;
11897 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11898 wxSashEdgePosition arg2 ;
11899 void *argp1 = 0 ;
11900 int res1 = 0 ;
11901 int val2 ;
11902 int ecode2 = 0 ;
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
11905 char * kwnames[] = {
11906 (char *) "self",(char *) "edge", NULL
11907 };
11908
11909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11911 if (!SWIG_IsOK(res1)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11913 }
11914 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11915 ecode2 = SWIG_AsVal_int(obj1, &val2);
11916 if (!SWIG_IsOK(ecode2)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11918 }
11919 arg2 = static_cast< wxSashEdgePosition >(val2);
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetEdge(arg2);
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_Py_Void();
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11934 PyObject *resultobj = 0;
11935 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11936 wxSashEdgePosition result;
11937 void *argp1 = 0 ;
11938 int res1 = 0 ;
11939 PyObject *swig_obj[1] ;
11940
11941 if (!args) SWIG_fail;
11942 swig_obj[0] = args;
11943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11944 if (!SWIG_IsOK(res1)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11946 }
11947 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_From_int(static_cast< int >(result));
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj = 0;
11963 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11964 wxRect *arg2 = 0 ;
11965 void *argp1 = 0 ;
11966 int res1 = 0 ;
11967 wxRect temp2 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char * kwnames[] = {
11971 (char *) "self",(char *) "rect", NULL
11972 };
11973
11974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11976 if (!SWIG_IsOK(res1)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11978 }
11979 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11980 {
11981 arg2 = &temp2;
11982 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetDragRect((wxRect const &)*arg2);
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_Py_Void();
11991 return resultobj;
11992 fail:
11993 return NULL;
11994 }
11995
11996
11997 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11998 PyObject *resultobj = 0;
11999 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12000 wxRect result;
12001 void *argp1 = 0 ;
12002 int res1 = 0 ;
12003 PyObject *swig_obj[1] ;
12004
12005 if (!args) SWIG_fail;
12006 swig_obj[0] = args;
12007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12008 if (!SWIG_IsOK(res1)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12010 }
12011 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = ((wxSashEvent const *)arg1)->GetDragRect();
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj = 0;
12027 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12028 wxSashDragStatus arg2 ;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 int val2 ;
12032 int ecode2 = 0 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 char * kwnames[] = {
12036 (char *) "self",(char *) "status", NULL
12037 };
12038
12039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12041 if (!SWIG_IsOK(res1)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12043 }
12044 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12045 ecode2 = SWIG_AsVal_int(obj1, &val2);
12046 if (!SWIG_IsOK(ecode2)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12048 }
12049 arg2 = static_cast< wxSashDragStatus >(val2);
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 (arg1)->SetDragStatus(arg2);
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_Py_Void();
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12064 PyObject *resultobj = 0;
12065 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12066 wxSashDragStatus result;
12067 void *argp1 = 0 ;
12068 int res1 = 0 ;
12069 PyObject *swig_obj[1] ;
12070
12071 if (!args) SWIG_fail;
12072 swig_obj[0] = args;
12073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12074 if (!SWIG_IsOK(res1)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12076 }
12077 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = SWIG_From_int(static_cast< int >(result));
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12092 PyObject *obj;
12093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12094 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12095 return SWIG_Py_Void();
12096 }
12097
12098 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12099 return SWIG_Python_InitShadowInstance(args);
12100 }
12101
12102 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj = 0;
12104 int arg1 = (int) 0 ;
12105 wxQueryLayoutInfoEvent *result = 0 ;
12106 int val1 ;
12107 int ecode1 = 0 ;
12108 PyObject * obj0 = 0 ;
12109 char * kwnames[] = {
12110 (char *) "id", NULL
12111 };
12112
12113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12114 if (obj0) {
12115 ecode1 = SWIG_AsVal_int(obj0, &val1);
12116 if (!SWIG_IsOK(ecode1)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12118 }
12119 arg1 = static_cast< int >(val1);
12120 }
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj = 0;
12136 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12137 int arg2 ;
12138 void *argp1 = 0 ;
12139 int res1 = 0 ;
12140 int val2 ;
12141 int ecode2 = 0 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "length", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12152 }
12153 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12154 ecode2 = SWIG_AsVal_int(obj1, &val2);
12155 if (!SWIG_IsOK(ecode2)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12157 }
12158 arg2 = static_cast< int >(val2);
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 (arg1)->SetRequestedLength(arg2);
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = SWIG_Py_Void();
12166 return resultobj;
12167 fail:
12168 return NULL;
12169 }
12170
12171
12172 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12173 PyObject *resultobj = 0;
12174 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12175 int result;
12176 void *argp1 = 0 ;
12177 int res1 = 0 ;
12178 PyObject *swig_obj[1] ;
12179
12180 if (!args) SWIG_fail;
12181 swig_obj[0] = args;
12182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12183 if (!SWIG_IsOK(res1)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12185 }
12186 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = SWIG_From_int(static_cast< int >(result));
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12201 PyObject *resultobj = 0;
12202 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12203 int arg2 ;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 int val2 ;
12207 int ecode2 = 0 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "self",(char *) "flags", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12216 if (!SWIG_IsOK(res1)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12218 }
12219 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12220 ecode2 = SWIG_AsVal_int(obj1, &val2);
12221 if (!SWIG_IsOK(ecode2)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12223 }
12224 arg2 = static_cast< int >(val2);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetFlags(arg2);
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_Py_Void();
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12239 PyObject *resultobj = 0;
12240 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12241 int result;
12242 void *argp1 = 0 ;
12243 int res1 = 0 ;
12244 PyObject *swig_obj[1] ;
12245
12246 if (!args) SWIG_fail;
12247 swig_obj[0] = args;
12248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12249 if (!SWIG_IsOK(res1)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12251 }
12252 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_From_int(static_cast< int >(result));
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj = 0;
12268 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12269 wxSize *arg2 = 0 ;
12270 void *argp1 = 0 ;
12271 int res1 = 0 ;
12272 wxSize temp2 ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 char * kwnames[] = {
12276 (char *) "self",(char *) "size", NULL
12277 };
12278
12279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12281 if (!SWIG_IsOK(res1)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12283 }
12284 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12285 {
12286 arg2 = &temp2;
12287 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 (arg1)->SetSize((wxSize const &)*arg2);
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 resultobj = SWIG_Py_Void();
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12303 PyObject *resultobj = 0;
12304 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12305 wxSize result;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 PyObject *swig_obj[1] ;
12309
12310 if (!args) SWIG_fail;
12311 swig_obj[0] = args;
12312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12313 if (!SWIG_IsOK(res1)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 }
12316 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj = 0;
12332 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12333 wxLayoutOrientation arg2 ;
12334 void *argp1 = 0 ;
12335 int res1 = 0 ;
12336 int val2 ;
12337 int ecode2 = 0 ;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 char * kwnames[] = {
12341 (char *) "self",(char *) "orient", NULL
12342 };
12343
12344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12346 if (!SWIG_IsOK(res1)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12348 }
12349 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12350 ecode2 = SWIG_AsVal_int(obj1, &val2);
12351 if (!SWIG_IsOK(ecode2)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12353 }
12354 arg2 = static_cast< wxLayoutOrientation >(val2);
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 (arg1)->SetOrientation(arg2);
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_Py_Void();
12362 return resultobj;
12363 fail:
12364 return NULL;
12365 }
12366
12367
12368 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12369 PyObject *resultobj = 0;
12370 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12371 wxLayoutOrientation result;
12372 void *argp1 = 0 ;
12373 int res1 = 0 ;
12374 PyObject *swig_obj[1] ;
12375
12376 if (!args) SWIG_fail;
12377 swig_obj[0] = args;
12378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12379 if (!SWIG_IsOK(res1)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12381 }
12382 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 resultobj = SWIG_From_int(static_cast< int >(result));
12390 return resultobj;
12391 fail:
12392 return NULL;
12393 }
12394
12395
12396 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj = 0;
12398 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12399 wxLayoutAlignment arg2 ;
12400 void *argp1 = 0 ;
12401 int res1 = 0 ;
12402 int val2 ;
12403 int ecode2 = 0 ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 char * kwnames[] = {
12407 (char *) "self",(char *) "align", NULL
12408 };
12409
12410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12412 if (!SWIG_IsOK(res1)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12414 }
12415 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12416 ecode2 = SWIG_AsVal_int(obj1, &val2);
12417 if (!SWIG_IsOK(ecode2)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12419 }
12420 arg2 = static_cast< wxLayoutAlignment >(val2);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->SetAlignment(arg2);
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_Py_Void();
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12435 PyObject *resultobj = 0;
12436 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12437 wxLayoutAlignment result;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 PyObject *swig_obj[1] ;
12441
12442 if (!args) SWIG_fail;
12443 swig_obj[0] = args;
12444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12445 if (!SWIG_IsOK(res1)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12447 }
12448 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_From_int(static_cast< int >(result));
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12463 PyObject *obj;
12464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12465 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12466 return SWIG_Py_Void();
12467 }
12468
12469 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 return SWIG_Python_InitShadowInstance(args);
12471 }
12472
12473 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj = 0;
12475 int arg1 = (int) 0 ;
12476 wxCalculateLayoutEvent *result = 0 ;
12477 int val1 ;
12478 int ecode1 = 0 ;
12479 PyObject * obj0 = 0 ;
12480 char * kwnames[] = {
12481 (char *) "id", NULL
12482 };
12483
12484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12485 if (obj0) {
12486 ecode1 = SWIG_AsVal_int(obj0, &val1);
12487 if (!SWIG_IsOK(ecode1)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12489 }
12490 arg1 = static_cast< int >(val1);
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12499 return resultobj;
12500 fail:
12501 return NULL;
12502 }
12503
12504
12505 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12506 PyObject *resultobj = 0;
12507 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12508 int arg2 ;
12509 void *argp1 = 0 ;
12510 int res1 = 0 ;
12511 int val2 ;
12512 int ecode2 = 0 ;
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 char * kwnames[] = {
12516 (char *) "self",(char *) "flags", NULL
12517 };
12518
12519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12521 if (!SWIG_IsOK(res1)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12523 }
12524 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12525 ecode2 = SWIG_AsVal_int(obj1, &val2);
12526 if (!SWIG_IsOK(ecode2)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12528 }
12529 arg2 = static_cast< int >(val2);
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetFlags(arg2);
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_Py_Void();
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12544 PyObject *resultobj = 0;
12545 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12546 int result;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 PyObject *swig_obj[1] ;
12550
12551 if (!args) SWIG_fail;
12552 swig_obj[0] = args;
12553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12556 }
12557 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_From_int(static_cast< int >(result));
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = 0;
12573 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12574 wxRect *arg2 = 0 ;
12575 void *argp1 = 0 ;
12576 int res1 = 0 ;
12577 wxRect temp2 ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 char * kwnames[] = {
12581 (char *) "self",(char *) "rect", NULL
12582 };
12583
12584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12586 if (!SWIG_IsOK(res1)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12588 }
12589 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12590 {
12591 arg2 = &temp2;
12592 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12593 }
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 (arg1)->SetRect((wxRect const &)*arg2);
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_Py_Void();
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12608 PyObject *resultobj = 0;
12609 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12610 wxRect result;
12611 void *argp1 = 0 ;
12612 int res1 = 0 ;
12613 PyObject *swig_obj[1] ;
12614
12615 if (!args) SWIG_fail;
12616 swig_obj[0] = args;
12617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12620 }
12621 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12629 return resultobj;
12630 fail:
12631 return NULL;
12632 }
12633
12634
12635 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12636 PyObject *obj;
12637 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12638 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12639 return SWIG_Py_Void();
12640 }
12641
12642 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12643 return SWIG_Python_InitShadowInstance(args);
12644 }
12645
12646 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxWindow *arg1 = (wxWindow *) 0 ;
12649 int arg2 = (int) -1 ;
12650 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12651 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12652 wxSize const &arg4_defvalue = wxDefaultSize ;
12653 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12654 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12655 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12656 wxString *arg6 = (wxString *) &arg6_defvalue ;
12657 wxSashLayoutWindow *result = 0 ;
12658 void *argp1 = 0 ;
12659 int res1 = 0 ;
12660 int val2 ;
12661 int ecode2 = 0 ;
12662 wxPoint temp3 ;
12663 wxSize temp4 ;
12664 long val5 ;
12665 int ecode5 = 0 ;
12666 bool temp6 = false ;
12667 PyObject * obj0 = 0 ;
12668 PyObject * obj1 = 0 ;
12669 PyObject * obj2 = 0 ;
12670 PyObject * obj3 = 0 ;
12671 PyObject * obj4 = 0 ;
12672 PyObject * obj5 = 0 ;
12673 char * kwnames[] = {
12674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12675 };
12676
12677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12679 if (!SWIG_IsOK(res1)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12681 }
12682 arg1 = reinterpret_cast< wxWindow * >(argp1);
12683 if (obj1) {
12684 ecode2 = SWIG_AsVal_int(obj1, &val2);
12685 if (!SWIG_IsOK(ecode2)) {
12686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12687 }
12688 arg2 = static_cast< int >(val2);
12689 }
12690 if (obj2) {
12691 {
12692 arg3 = &temp3;
12693 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12694 }
12695 }
12696 if (obj3) {
12697 {
12698 arg4 = &temp4;
12699 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12700 }
12701 }
12702 if (obj4) {
12703 ecode5 = SWIG_AsVal_long(obj4, &val5);
12704 if (!SWIG_IsOK(ecode5)) {
12705 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12706 }
12707 arg5 = static_cast< long >(val5);
12708 }
12709 if (obj5) {
12710 {
12711 arg6 = wxString_in_helper(obj5);
12712 if (arg6 == NULL) SWIG_fail;
12713 temp6 = true;
12714 }
12715 }
12716 {
12717 if (!wxPyCheckForApp()) SWIG_fail;
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12724 {
12725 if (temp6)
12726 delete arg6;
12727 }
12728 return resultobj;
12729 fail:
12730 {
12731 if (temp6)
12732 delete arg6;
12733 }
12734 return NULL;
12735 }
12736
12737
12738 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12739 PyObject *resultobj = 0;
12740 wxSashLayoutWindow *result = 0 ;
12741
12742 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12743 {
12744 if (!wxPyCheckForApp()) SWIG_fail;
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj = 0;
12759 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12760 wxWindow *arg2 = (wxWindow *) 0 ;
12761 int arg3 = (int) -1 ;
12762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12764 wxSize const &arg5_defvalue = wxDefaultSize ;
12765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12766 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12767 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12768 wxString *arg7 = (wxString *) &arg7_defvalue ;
12769 bool result;
12770 void *argp1 = 0 ;
12771 int res1 = 0 ;
12772 void *argp2 = 0 ;
12773 int res2 = 0 ;
12774 int val3 ;
12775 int ecode3 = 0 ;
12776 wxPoint temp4 ;
12777 wxSize temp5 ;
12778 long val6 ;
12779 int ecode6 = 0 ;
12780 bool temp7 = false ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 PyObject * obj2 = 0 ;
12784 PyObject * obj3 = 0 ;
12785 PyObject * obj4 = 0 ;
12786 PyObject * obj5 = 0 ;
12787 PyObject * obj6 = 0 ;
12788 char * kwnames[] = {
12789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12790 };
12791
12792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12794 if (!SWIG_IsOK(res1)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12796 }
12797 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12798 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12799 if (!SWIG_IsOK(res2)) {
12800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12801 }
12802 arg2 = reinterpret_cast< wxWindow * >(argp2);
12803 if (obj2) {
12804 ecode3 = SWIG_AsVal_int(obj2, &val3);
12805 if (!SWIG_IsOK(ecode3)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12807 }
12808 arg3 = static_cast< int >(val3);
12809 }
12810 if (obj3) {
12811 {
12812 arg4 = &temp4;
12813 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12814 }
12815 }
12816 if (obj4) {
12817 {
12818 arg5 = &temp5;
12819 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12820 }
12821 }
12822 if (obj5) {
12823 ecode6 = SWIG_AsVal_long(obj5, &val6);
12824 if (!SWIG_IsOK(ecode6)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12826 }
12827 arg6 = static_cast< long >(val6);
12828 }
12829 if (obj6) {
12830 {
12831 arg7 = wxString_in_helper(obj6);
12832 if (arg7 == NULL) SWIG_fail;
12833 temp7 = true;
12834 }
12835 }
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 {
12843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12844 }
12845 {
12846 if (temp7)
12847 delete arg7;
12848 }
12849 return resultobj;
12850 fail:
12851 {
12852 if (temp7)
12853 delete arg7;
12854 }
12855 return NULL;
12856 }
12857
12858
12859 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12860 PyObject *resultobj = 0;
12861 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12862 wxLayoutAlignment result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 PyObject *swig_obj[1] ;
12866
12867 if (!args) SWIG_fail;
12868 swig_obj[0] = args;
12869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 }
12873 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 resultobj = SWIG_From_int(static_cast< int >(result));
12881 return resultobj;
12882 fail:
12883 return NULL;
12884 }
12885
12886
12887 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12888 PyObject *resultobj = 0;
12889 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12890 wxLayoutOrientation result;
12891 void *argp1 = 0 ;
12892 int res1 = 0 ;
12893 PyObject *swig_obj[1] ;
12894
12895 if (!args) SWIG_fail;
12896 swig_obj[0] = args;
12897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res1)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 }
12901 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 resultobj = SWIG_From_int(static_cast< int >(result));
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj = 0;
12917 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12918 wxLayoutAlignment arg2 ;
12919 void *argp1 = 0 ;
12920 int res1 = 0 ;
12921 int val2 ;
12922 int ecode2 = 0 ;
12923 PyObject * obj0 = 0 ;
12924 PyObject * obj1 = 0 ;
12925 char * kwnames[] = {
12926 (char *) "self",(char *) "alignment", NULL
12927 };
12928
12929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12931 if (!SWIG_IsOK(res1)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12933 }
12934 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12935 ecode2 = SWIG_AsVal_int(obj1, &val2);
12936 if (!SWIG_IsOK(ecode2)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12938 }
12939 arg2 = static_cast< wxLayoutAlignment >(val2);
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 (arg1)->SetAlignment(arg2);
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 resultobj = SWIG_Py_Void();
12947 return resultobj;
12948 fail:
12949 return NULL;
12950 }
12951
12952
12953 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj = 0;
12955 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12956 wxSize *arg2 = 0 ;
12957 void *argp1 = 0 ;
12958 int res1 = 0 ;
12959 wxSize temp2 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 char * kwnames[] = {
12963 (char *) "self",(char *) "size", NULL
12964 };
12965
12966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12968 if (!SWIG_IsOK(res1)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12970 }
12971 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12972 {
12973 arg2 = &temp2;
12974 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 resultobj = SWIG_Py_Void();
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj = 0;
12991 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12992 wxLayoutOrientation arg2 ;
12993 void *argp1 = 0 ;
12994 int res1 = 0 ;
12995 int val2 ;
12996 int ecode2 = 0 ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char * kwnames[] = {
13000 (char *) "self",(char *) "orientation", NULL
13001 };
13002
13003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
13004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
13005 if (!SWIG_IsOK(res1)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13007 }
13008 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
13009 ecode2 = SWIG_AsVal_int(obj1, &val2);
13010 if (!SWIG_IsOK(ecode2)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13012 }
13013 arg2 = static_cast< wxLayoutOrientation >(val2);
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 (arg1)->SetOrientation(arg2);
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_Py_Void();
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 PyObject *obj;
13029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13030 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13031 return SWIG_Py_Void();
13032 }
13033
13034 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13035 return SWIG_Python_InitShadowInstance(args);
13036 }
13037
13038 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13039 PyObject *resultobj = 0;
13040 wxLayoutAlgorithm *result = 0 ;
13041
13042 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13057 PyObject *resultobj = 0;
13058 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13059 void *argp1 = 0 ;
13060 int res1 = 0 ;
13061 PyObject *swig_obj[1] ;
13062
13063 if (!args) SWIG_fail;
13064 swig_obj[0] = args;
13065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13066 if (!SWIG_IsOK(res1)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13068 }
13069 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 delete arg1;
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = SWIG_Py_Void();
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj = 0;
13086 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13087 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13088 wxRect *arg3 = (wxRect *) NULL ;
13089 bool result;
13090 void *argp1 = 0 ;
13091 int res1 = 0 ;
13092 void *argp2 = 0 ;
13093 int res2 = 0 ;
13094 void *argp3 = 0 ;
13095 int res3 = 0 ;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 PyObject * obj2 = 0 ;
13099 char * kwnames[] = {
13100 (char *) "self",(char *) "frame",(char *) "rect", NULL
13101 };
13102
13103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13105 if (!SWIG_IsOK(res1)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13107 }
13108 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13110 if (!SWIG_IsOK(res2)) {
13111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13112 }
13113 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13114 if (obj2) {
13115 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13116 if (!SWIG_IsOK(res3)) {
13117 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13118 }
13119 arg3 = reinterpret_cast< wxRect * >(argp3);
13120 }
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 {
13128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13129 }
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj = 0;
13138 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13139 wxFrame *arg2 = (wxFrame *) 0 ;
13140 wxWindow *arg3 = (wxWindow *) NULL ;
13141 bool result;
13142 void *argp1 = 0 ;
13143 int res1 = 0 ;
13144 void *argp2 = 0 ;
13145 int res2 = 0 ;
13146 void *argp3 = 0 ;
13147 int res3 = 0 ;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 PyObject * obj2 = 0 ;
13151 char * kwnames[] = {
13152 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13153 };
13154
13155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13157 if (!SWIG_IsOK(res1)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13159 }
13160 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13162 if (!SWIG_IsOK(res2)) {
13163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13164 }
13165 arg2 = reinterpret_cast< wxFrame * >(argp2);
13166 if (obj2) {
13167 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13168 if (!SWIG_IsOK(res3)) {
13169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13170 }
13171 arg3 = reinterpret_cast< wxWindow * >(argp3);
13172 }
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 {
13180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13181 }
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj = 0;
13190 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13191 wxWindow *arg2 = (wxWindow *) 0 ;
13192 wxWindow *arg3 = (wxWindow *) NULL ;
13193 bool result;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 void *argp2 = 0 ;
13197 int res2 = 0 ;
13198 void *argp3 = 0 ;
13199 int res3 = 0 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 PyObject * obj2 = 0 ;
13203 char * kwnames[] = {
13204 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13205 };
13206
13207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13209 if (!SWIG_IsOK(res1)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13211 }
13212 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13214 if (!SWIG_IsOK(res2)) {
13215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13216 }
13217 arg2 = reinterpret_cast< wxWindow * >(argp2);
13218 if (obj2) {
13219 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13220 if (!SWIG_IsOK(res3)) {
13221 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13222 }
13223 arg3 = reinterpret_cast< wxWindow * >(argp3);
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 {
13232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13233 }
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13241 PyObject *obj;
13242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13243 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13244 return SWIG_Py_Void();
13245 }
13246
13247 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13248 return SWIG_Python_InitShadowInstance(args);
13249 }
13250
13251 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj = 0;
13253 wxWindow *arg1 = (wxWindow *) 0 ;
13254 int arg2 = (int) wxBORDER_NONE ;
13255 wxPopupWindow *result = 0 ;
13256 void *argp1 = 0 ;
13257 int res1 = 0 ;
13258 int val2 ;
13259 int ecode2 = 0 ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 char * kwnames[] = {
13263 (char *) "parent",(char *) "flags", NULL
13264 };
13265
13266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13268 if (!SWIG_IsOK(res1)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13270 }
13271 arg1 = reinterpret_cast< wxWindow * >(argp1);
13272 if (obj1) {
13273 ecode2 = SWIG_AsVal_int(obj1, &val2);
13274 if (!SWIG_IsOK(ecode2)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13276 }
13277 arg2 = static_cast< int >(val2);
13278 }
13279 {
13280 if (!wxPyCheckForApp()) SWIG_fail;
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13294 PyObject *resultobj = 0;
13295 wxPopupWindow *result = 0 ;
13296
13297 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13298 {
13299 if (!wxPyCheckForApp()) SWIG_fail;
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxPopupWindow *)new wxPopupWindow();
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj = 0;
13314 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13315 wxWindow *arg2 = (wxWindow *) 0 ;
13316 int arg3 = (int) wxBORDER_NONE ;
13317 bool result;
13318 void *argp1 = 0 ;
13319 int res1 = 0 ;
13320 void *argp2 = 0 ;
13321 int res2 = 0 ;
13322 int val3 ;
13323 int ecode3 = 0 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 PyObject * obj2 = 0 ;
13327 char * kwnames[] = {
13328 (char *) "self",(char *) "parent",(char *) "flags", NULL
13329 };
13330
13331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13333 if (!SWIG_IsOK(res1)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13335 }
13336 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13338 if (!SWIG_IsOK(res2)) {
13339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13340 }
13341 arg2 = reinterpret_cast< wxWindow * >(argp2);
13342 if (obj2) {
13343 ecode3 = SWIG_AsVal_int(obj2, &val3);
13344 if (!SWIG_IsOK(ecode3)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13346 }
13347 arg3 = static_cast< int >(val3);
13348 }
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 result = (bool)(arg1)->Create(arg2,arg3);
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 {
13356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13357 }
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = 0;
13366 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13367 wxPoint *arg2 = 0 ;
13368 wxSize *arg3 = 0 ;
13369 void *argp1 = 0 ;
13370 int res1 = 0 ;
13371 wxPoint temp2 ;
13372 wxSize temp3 ;
13373 PyObject * obj0 = 0 ;
13374 PyObject * obj1 = 0 ;
13375 PyObject * obj2 = 0 ;
13376 char * kwnames[] = {
13377 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13378 };
13379
13380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13382 if (!SWIG_IsOK(res1)) {
13383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13384 }
13385 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13386 {
13387 arg2 = &temp2;
13388 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13389 }
13390 {
13391 arg3 = &temp3;
13392 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13393 }
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_Py_Void();
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13408 PyObject *obj;
13409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13411 return SWIG_Py_Void();
13412 }
13413
13414 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13415 return SWIG_Python_InitShadowInstance(args);
13416 }
13417
13418 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj = 0;
13420 wxWindow *arg1 = (wxWindow *) 0 ;
13421 int arg2 = (int) wxBORDER_NONE ;
13422 wxPyPopupTransientWindow *result = 0 ;
13423 void *argp1 = 0 ;
13424 int res1 = 0 ;
13425 int val2 ;
13426 int ecode2 = 0 ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char * kwnames[] = {
13430 (char *) "parent",(char *) "style", NULL
13431 };
13432
13433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13437 }
13438 arg1 = reinterpret_cast< wxWindow * >(argp1);
13439 if (obj1) {
13440 ecode2 = SWIG_AsVal_int(obj1, &val2);
13441 if (!SWIG_IsOK(ecode2)) {
13442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13443 }
13444 arg2 = static_cast< int >(val2);
13445 }
13446 {
13447 if (!wxPyCheckForApp()) SWIG_fail;
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13461 PyObject *resultobj = 0;
13462 wxPyPopupTransientWindow *result = 0 ;
13463
13464 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13465 {
13466 if (!wxPyCheckForApp()) SWIG_fail;
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj = 0;
13481 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13482 PyObject *arg2 = (PyObject *) 0 ;
13483 PyObject *arg3 = (PyObject *) 0 ;
13484 void *argp1 = 0 ;
13485 int res1 = 0 ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 PyObject * obj2 = 0 ;
13489 char * kwnames[] = {
13490 (char *) "self",(char *) "self",(char *) "_class", NULL
13491 };
13492
13493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 }
13498 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13499 arg2 = obj1;
13500 arg3 = obj2;
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->_setCallbackInfo(arg2,arg3);
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = SWIG_Py_Void();
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj = 0;
13516 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13517 wxWindow *arg2 = (wxWindow *) NULL ;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 void *argp2 = 0 ;
13521 int res2 = 0 ;
13522 PyObject * obj0 = 0 ;
13523 PyObject * obj1 = 0 ;
13524 char * kwnames[] = {
13525 (char *) "self",(char *) "focus", NULL
13526 };
13527
13528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13530 if (!SWIG_IsOK(res1)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13532 }
13533 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13534 if (obj1) {
13535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13536 if (!SWIG_IsOK(res2)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13538 }
13539 arg2 = reinterpret_cast< wxWindow * >(argp2);
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 (arg1)->Popup(arg2);
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 resultobj = SWIG_Py_Void();
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13555 PyObject *resultobj = 0;
13556 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13557 void *argp1 = 0 ;
13558 int res1 = 0 ;
13559 PyObject *swig_obj[1] ;
13560
13561 if (!args) SWIG_fail;
13562 swig_obj[0] = args;
13563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13564 if (!SWIG_IsOK(res1)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13566 }
13567 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 (arg1)->Dismiss();
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_Py_Void();
13575 return resultobj;
13576 fail:
13577 return NULL;
13578 }
13579
13580
13581 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13582 PyObject *obj;
13583 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13585 return SWIG_Py_Void();
13586 }
13587
13588 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13589 return SWIG_Python_InitShadowInstance(args);
13590 }
13591
13592 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj = 0;
13594 wxWindow *arg1 = (wxWindow *) 0 ;
13595 wxString *arg2 = 0 ;
13596 int arg3 = (int) 100 ;
13597 wxRect *arg4 = (wxRect *) NULL ;
13598 wxTipWindow *result = 0 ;
13599 void *argp1 = 0 ;
13600 int res1 = 0 ;
13601 bool temp2 = false ;
13602 int val3 ;
13603 int ecode3 = 0 ;
13604 void *argp4 = 0 ;
13605 int res4 = 0 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 PyObject * obj2 = 0 ;
13609 PyObject * obj3 = 0 ;
13610 char * kwnames[] = {
13611 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13612 };
13613
13614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13616 if (!SWIG_IsOK(res1)) {
13617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13618 }
13619 arg1 = reinterpret_cast< wxWindow * >(argp1);
13620 {
13621 arg2 = wxString_in_helper(obj1);
13622 if (arg2 == NULL) SWIG_fail;
13623 temp2 = true;
13624 }
13625 if (obj2) {
13626 ecode3 = SWIG_AsVal_int(obj2, &val3);
13627 if (!SWIG_IsOK(ecode3)) {
13628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13629 }
13630 arg3 = static_cast< int >(val3);
13631 }
13632 if (obj3) {
13633 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13634 if (!SWIG_IsOK(res4)) {
13635 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13636 }
13637 arg4 = reinterpret_cast< wxRect * >(argp4);
13638 }
13639 {
13640 if (!wxPyCheckForApp()) SWIG_fail;
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13647 {
13648 if (temp2)
13649 delete arg2;
13650 }
13651 return resultobj;
13652 fail:
13653 {
13654 if (temp2)
13655 delete arg2;
13656 }
13657 return NULL;
13658 }
13659
13660
13661 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13662 PyObject *resultobj = 0;
13663 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13664 wxRect *arg2 = 0 ;
13665 void *argp1 = 0 ;
13666 int res1 = 0 ;
13667 wxRect temp2 ;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char * kwnames[] = {
13671 (char *) "self",(char *) "rectBound", NULL
13672 };
13673
13674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13676 if (!SWIG_IsOK(res1)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13678 }
13679 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13680 {
13681 arg2 = &temp2;
13682 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13683 }
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_Py_Void();
13691 return resultobj;
13692 fail:
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13698 PyObject *resultobj = 0;
13699 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13700 void *argp1 = 0 ;
13701 int res1 = 0 ;
13702 PyObject *swig_obj[1] ;
13703
13704 if (!args) SWIG_fail;
13705 swig_obj[0] = args;
13706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13707 if (!SWIG_IsOK(res1)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13709 }
13710 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->Close();
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_Py_Void();
13718 return resultobj;
13719 fail:
13720 return NULL;
13721 }
13722
13723
13724 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13725 PyObject *obj;
13726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13727 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13728 return SWIG_Py_Void();
13729 }
13730
13731 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13732 return SWIG_Python_InitShadowInstance(args);
13733 }
13734
13735 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = 0;
13737 wxWindow *arg1 = (wxWindow *) 0 ;
13738 int arg2 = (int) wxID_ANY ;
13739 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13740 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13741 wxSize const &arg4_defvalue = wxDefaultSize ;
13742 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13743 long arg5 = (long) 0 ;
13744 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13745 wxString *arg6 = (wxString *) &arg6_defvalue ;
13746 wxPyVScrolledWindow *result = 0 ;
13747 void *argp1 = 0 ;
13748 int res1 = 0 ;
13749 int val2 ;
13750 int ecode2 = 0 ;
13751 wxPoint temp3 ;
13752 wxSize temp4 ;
13753 long val5 ;
13754 int ecode5 = 0 ;
13755 bool temp6 = 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 char * kwnames[] = {
13763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13764 };
13765
13766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13770 }
13771 arg1 = reinterpret_cast< wxWindow * >(argp1);
13772 if (obj1) {
13773 ecode2 = SWIG_AsVal_int(obj1, &val2);
13774 if (!SWIG_IsOK(ecode2)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13776 }
13777 arg2 = static_cast< int >(val2);
13778 }
13779 if (obj2) {
13780 {
13781 arg3 = &temp3;
13782 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13783 }
13784 }
13785 if (obj3) {
13786 {
13787 arg4 = &temp4;
13788 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13789 }
13790 }
13791 if (obj4) {
13792 ecode5 = SWIG_AsVal_long(obj4, &val5);
13793 if (!SWIG_IsOK(ecode5)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13795 }
13796 arg5 = static_cast< long >(val5);
13797 }
13798 if (obj5) {
13799 {
13800 arg6 = wxString_in_helper(obj5);
13801 if (arg6 == NULL) SWIG_fail;
13802 temp6 = true;
13803 }
13804 }
13805 {
13806 if (!wxPyCheckForApp()) SWIG_fail;
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13813 {
13814 if (temp6)
13815 delete arg6;
13816 }
13817 return resultobj;
13818 fail:
13819 {
13820 if (temp6)
13821 delete arg6;
13822 }
13823 return NULL;
13824 }
13825
13826
13827 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13828 PyObject *resultobj = 0;
13829 wxPyVScrolledWindow *result = 0 ;
13830
13831 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13832 {
13833 if (!wxPyCheckForApp()) SWIG_fail;
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13840 return resultobj;
13841 fail:
13842 return NULL;
13843 }
13844
13845
13846 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj = 0;
13848 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13849 PyObject *arg2 = (PyObject *) 0 ;
13850 PyObject *arg3 = (PyObject *) 0 ;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 PyObject * obj2 = 0 ;
13856 char * kwnames[] = {
13857 (char *) "self",(char *) "self",(char *) "_class", NULL
13858 };
13859
13860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res1)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13864 }
13865 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13866 arg2 = obj1;
13867 arg3 = obj2;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->_setCallbackInfo(arg2,arg3);
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = SWIG_Py_Void();
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj = 0;
13883 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13884 wxWindow *arg2 = (wxWindow *) 0 ;
13885 int arg3 = (int) wxID_ANY ;
13886 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13887 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13888 wxSize const &arg5_defvalue = wxDefaultSize ;
13889 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13890 long arg6 = (long) 0 ;
13891 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13892 wxString *arg7 = (wxString *) &arg7_defvalue ;
13893 bool result;
13894 void *argp1 = 0 ;
13895 int res1 = 0 ;
13896 void *argp2 = 0 ;
13897 int res2 = 0 ;
13898 int val3 ;
13899 int ecode3 = 0 ;
13900 wxPoint temp4 ;
13901 wxSize temp5 ;
13902 long val6 ;
13903 int ecode6 = 0 ;
13904 bool temp7 = false ;
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 PyObject * obj2 = 0 ;
13908 PyObject * obj3 = 0 ;
13909 PyObject * obj4 = 0 ;
13910 PyObject * obj5 = 0 ;
13911 PyObject * obj6 = 0 ;
13912 char * kwnames[] = {
13913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13914 };
13915
13916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13918 if (!SWIG_IsOK(res1)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13920 }
13921 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13923 if (!SWIG_IsOK(res2)) {
13924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13925 }
13926 arg2 = reinterpret_cast< wxWindow * >(argp2);
13927 if (obj2) {
13928 ecode3 = SWIG_AsVal_int(obj2, &val3);
13929 if (!SWIG_IsOK(ecode3)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13931 }
13932 arg3 = static_cast< int >(val3);
13933 }
13934 if (obj3) {
13935 {
13936 arg4 = &temp4;
13937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13938 }
13939 }
13940 if (obj4) {
13941 {
13942 arg5 = &temp5;
13943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13944 }
13945 }
13946 if (obj5) {
13947 ecode6 = SWIG_AsVal_long(obj5, &val6);
13948 if (!SWIG_IsOK(ecode6)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13950 }
13951 arg6 = static_cast< long >(val6);
13952 }
13953 if (obj6) {
13954 {
13955 arg7 = wxString_in_helper(obj6);
13956 if (arg7 == NULL) SWIG_fail;
13957 temp7 = true;
13958 }
13959 }
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13968 }
13969 {
13970 if (temp7)
13971 delete arg7;
13972 }
13973 return resultobj;
13974 fail:
13975 {
13976 if (temp7)
13977 delete arg7;
13978 }
13979 return NULL;
13980 }
13981
13982
13983 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj = 0;
13985 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13986 size_t arg2 ;
13987 void *argp1 = 0 ;
13988 int res1 = 0 ;
13989 size_t val2 ;
13990 int ecode2 = 0 ;
13991 PyObject * obj0 = 0 ;
13992 PyObject * obj1 = 0 ;
13993 char * kwnames[] = {
13994 (char *) "self",(char *) "count", NULL
13995 };
13996
13997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13999 if (!SWIG_IsOK(res1)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14001 }
14002 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14003 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14004 if (!SWIG_IsOK(ecode2)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
14006 }
14007 arg2 = static_cast< size_t >(val2);
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 (arg1)->SetLineCount(arg2);
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 resultobj = SWIG_Py_Void();
14015 return resultobj;
14016 fail:
14017 return NULL;
14018 }
14019
14020
14021 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj = 0;
14023 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14024 size_t arg2 ;
14025 bool result;
14026 void *argp1 = 0 ;
14027 int res1 = 0 ;
14028 size_t val2 ;
14029 int ecode2 = 0 ;
14030 PyObject * obj0 = 0 ;
14031 PyObject * obj1 = 0 ;
14032 char * kwnames[] = {
14033 (char *) "self",(char *) "line", NULL
14034 };
14035
14036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
14037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14038 if (!SWIG_IsOK(res1)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14040 }
14041 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14042 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14043 if (!SWIG_IsOK(ecode2)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
14045 }
14046 arg2 = static_cast< size_t >(val2);
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (bool)(arg1)->ScrollToLine(arg2);
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 {
14054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14055 }
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj = 0;
14064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14065 size_t arg2 ;
14066 void *argp1 = 0 ;
14067 int res1 = 0 ;
14068 size_t val2 ;
14069 int ecode2 = 0 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char * kwnames[] = {
14073 (char *) "self",(char *) "line", NULL
14074 };
14075
14076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14078 if (!SWIG_IsOK(res1)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14080 }
14081 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14082 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14083 if (!SWIG_IsOK(ecode2)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14085 }
14086 arg2 = static_cast< size_t >(val2);
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->RefreshLine(arg2);
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 resultobj = SWIG_Py_Void();
14094 return resultobj;
14095 fail:
14096 return NULL;
14097 }
14098
14099
14100 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj = 0;
14102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14103 size_t arg2 ;
14104 size_t arg3 ;
14105 void *argp1 = 0 ;
14106 int res1 = 0 ;
14107 size_t val2 ;
14108 int ecode2 = 0 ;
14109 size_t val3 ;
14110 int ecode3 = 0 ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 PyObject * obj2 = 0 ;
14114 char * kwnames[] = {
14115 (char *) "self",(char *) "from",(char *) "to", NULL
14116 };
14117
14118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14122 }
14123 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14124 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14125 if (!SWIG_IsOK(ecode2)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14127 }
14128 arg2 = static_cast< size_t >(val2);
14129 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14130 if (!SWIG_IsOK(ecode3)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14132 }
14133 arg3 = static_cast< size_t >(val3);
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 (arg1)->RefreshLines(arg2,arg3);
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_Py_Void();
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14148 PyObject *resultobj = 0;
14149 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14150 int arg2 ;
14151 int arg3 ;
14152 int result;
14153 void *argp1 = 0 ;
14154 int res1 = 0 ;
14155 int val2 ;
14156 int ecode2 = 0 ;
14157 int val3 ;
14158 int ecode3 = 0 ;
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 char * kwnames[] = {
14163 (char *) "self",(char *) "x",(char *) "y", NULL
14164 };
14165
14166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 }
14171 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14172 ecode2 = SWIG_AsVal_int(obj1, &val2);
14173 if (!SWIG_IsOK(ecode2)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14175 }
14176 arg2 = static_cast< int >(val2);
14177 ecode3 = SWIG_AsVal_int(obj2, &val3);
14178 if (!SWIG_IsOK(ecode3)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14180 }
14181 arg3 = static_cast< int >(val3);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_From_int(static_cast< int >(result));
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj = 0;
14197 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14198 wxPoint *arg2 = 0 ;
14199 int result;
14200 void *argp1 = 0 ;
14201 int res1 = 0 ;
14202 wxPoint temp2 ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char * kwnames[] = {
14206 (char *) "self",(char *) "pt", NULL
14207 };
14208
14209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",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_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 }
14214 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14215 {
14216 arg2 = &temp2;
14217 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14218 }
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 resultobj = SWIG_From_int(static_cast< int >(result));
14226 return resultobj;
14227 fail:
14228 return NULL;
14229 }
14230
14231
14232 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14233 PyObject *resultobj = 0;
14234 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 PyObject *swig_obj[1] ;
14238
14239 if (!args) SWIG_fail;
14240 swig_obj[0] = args;
14241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14242 if (!SWIG_IsOK(res1)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14244 }
14245 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 (arg1)->RefreshAll();
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = SWIG_Py_Void();
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *resultobj = 0;
14261 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14262 size_t result;
14263 void *argp1 = 0 ;
14264 int res1 = 0 ;
14265 PyObject *swig_obj[1] ;
14266
14267 if (!args) SWIG_fail;
14268 swig_obj[0] = args;
14269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14270 if (!SWIG_IsOK(res1)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 }
14273 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14281 return resultobj;
14282 fail:
14283 return NULL;
14284 }
14285
14286
14287 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14288 PyObject *resultobj = 0;
14289 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14290 size_t result;
14291 void *argp1 = 0 ;
14292 int res1 = 0 ;
14293 PyObject *swig_obj[1] ;
14294
14295 if (!args) SWIG_fail;
14296 swig_obj[0] = args;
14297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14316 PyObject *resultobj = 0;
14317 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14318 size_t result;
14319 void *argp1 = 0 ;
14320 int res1 = 0 ;
14321 PyObject *swig_obj[1] ;
14322
14323 if (!args) SWIG_fail;
14324 swig_obj[0] = args;
14325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14326 if (!SWIG_IsOK(res1)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14328 }
14329 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14337 return resultobj;
14338 fail:
14339 return NULL;
14340 }
14341
14342
14343 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj = 0;
14345 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14346 size_t arg2 ;
14347 bool result;
14348 void *argp1 = 0 ;
14349 int res1 = 0 ;
14350 size_t val2 ;
14351 int ecode2 = 0 ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 char * kwnames[] = {
14355 (char *) "self",(char *) "line", NULL
14356 };
14357
14358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14360 if (!SWIG_IsOK(res1)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14362 }
14363 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14365 if (!SWIG_IsOK(ecode2)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14367 }
14368 arg2 = static_cast< size_t >(val2);
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 {
14376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14377 }
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14385 PyObject *resultobj = 0;
14386 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14387 size_t result;
14388 void *argp1 = 0 ;
14389 int res1 = 0 ;
14390 PyObject *swig_obj[1] ;
14391
14392 if (!args) SWIG_fail;
14393 swig_obj[0] = args;
14394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14395 if (!SWIG_IsOK(res1)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14397 }
14398 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 PyObject *resultobj = 0;
14414 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14415 size_t result;
14416 void *argp1 = 0 ;
14417 int res1 = 0 ;
14418 PyObject *swig_obj[1] ;
14419
14420 if (!args) SWIG_fail;
14421 swig_obj[0] = args;
14422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14423 if (!SWIG_IsOK(res1)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14425 }
14426 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj = 0;
14442 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14443 size_t arg2 ;
14444 bool arg3 = (bool) false ;
14445 size_t result;
14446 void *argp1 = 0 ;
14447 int res1 = 0 ;
14448 size_t val2 ;
14449 int ecode2 = 0 ;
14450 bool val3 ;
14451 int ecode3 = 0 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 PyObject * obj2 = 0 ;
14455 char * kwnames[] = {
14456 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14457 };
14458
14459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14461 if (!SWIG_IsOK(res1)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14463 }
14464 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14465 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14466 if (!SWIG_IsOK(ecode2)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14468 }
14469 arg2 = static_cast< size_t >(val2);
14470 if (obj2) {
14471 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14472 if (!SWIG_IsOK(ecode3)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14474 }
14475 arg3 = static_cast< bool >(val3);
14476 }
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj = 0;
14492 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14493 size_t arg2 ;
14494 size_t arg3 ;
14495 int result;
14496 void *argp1 = 0 ;
14497 int res1 = 0 ;
14498 size_t val2 ;
14499 int ecode2 = 0 ;
14500 size_t val3 ;
14501 int ecode3 = 0 ;
14502 PyObject * obj0 = 0 ;
14503 PyObject * obj1 = 0 ;
14504 PyObject * obj2 = 0 ;
14505 char * kwnames[] = {
14506 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14507 };
14508
14509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14511 if (!SWIG_IsOK(res1)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14513 }
14514 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14515 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14516 if (!SWIG_IsOK(ecode2)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14518 }
14519 arg2 = static_cast< size_t >(val2);
14520 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14521 if (!SWIG_IsOK(ecode3)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14523 }
14524 arg3 = static_cast< size_t >(val3);
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 resultobj = SWIG_From_int(static_cast< int >(result));
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14539 PyObject *obj;
14540 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14542 return SWIG_Py_Void();
14543 }
14544
14545 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14546 return SWIG_Python_InitShadowInstance(args);
14547 }
14548
14549 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14550 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14551 return 1;
14552 }
14553
14554
14555 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14556 PyObject *pyobj = 0;
14557
14558 {
14559 #if wxUSE_UNICODE
14560 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14561 #else
14562 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14563 #endif
14564 }
14565 return pyobj;
14566 }
14567
14568
14569 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj = 0;
14571 wxWindow *arg1 = (wxWindow *) 0 ;
14572 int arg2 = (int) wxID_ANY ;
14573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14575 wxSize const &arg4_defvalue = wxDefaultSize ;
14576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14577 long arg5 = (long) 0 ;
14578 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14579 wxString *arg6 = (wxString *) &arg6_defvalue ;
14580 wxPyVListBox *result = 0 ;
14581 void *argp1 = 0 ;
14582 int res1 = 0 ;
14583 int val2 ;
14584 int ecode2 = 0 ;
14585 wxPoint temp3 ;
14586 wxSize temp4 ;
14587 long val5 ;
14588 int ecode5 = 0 ;
14589 bool temp6 = 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 char * kwnames[] = {
14597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14598 };
14599
14600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14602 if (!SWIG_IsOK(res1)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14604 }
14605 arg1 = reinterpret_cast< wxWindow * >(argp1);
14606 if (obj1) {
14607 ecode2 = SWIG_AsVal_int(obj1, &val2);
14608 if (!SWIG_IsOK(ecode2)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14610 }
14611 arg2 = static_cast< int >(val2);
14612 }
14613 if (obj2) {
14614 {
14615 arg3 = &temp3;
14616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14617 }
14618 }
14619 if (obj3) {
14620 {
14621 arg4 = &temp4;
14622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14623 }
14624 }
14625 if (obj4) {
14626 ecode5 = SWIG_AsVal_long(obj4, &val5);
14627 if (!SWIG_IsOK(ecode5)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14629 }
14630 arg5 = static_cast< long >(val5);
14631 }
14632 if (obj5) {
14633 {
14634 arg6 = wxString_in_helper(obj5);
14635 if (arg6 == NULL) SWIG_fail;
14636 temp6 = true;
14637 }
14638 }
14639 {
14640 if (!wxPyCheckForApp()) SWIG_fail;
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14647 {
14648 if (temp6)
14649 delete arg6;
14650 }
14651 return resultobj;
14652 fail:
14653 {
14654 if (temp6)
14655 delete arg6;
14656 }
14657 return NULL;
14658 }
14659
14660
14661 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14662 PyObject *resultobj = 0;
14663 wxPyVListBox *result = 0 ;
14664
14665 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14666 {
14667 if (!wxPyCheckForApp()) SWIG_fail;
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (wxPyVListBox *)new wxPyVListBox();
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14674 return resultobj;
14675 fail:
14676 return NULL;
14677 }
14678
14679
14680 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj = 0;
14682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14683 PyObject *arg2 = (PyObject *) 0 ;
14684 PyObject *arg3 = (PyObject *) 0 ;
14685 void *argp1 = 0 ;
14686 int res1 = 0 ;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 PyObject * obj2 = 0 ;
14690 char * kwnames[] = {
14691 (char *) "self",(char *) "self",(char *) "_class", NULL
14692 };
14693
14694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14696 if (!SWIG_IsOK(res1)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14698 }
14699 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14700 arg2 = obj1;
14701 arg3 = obj2;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->_setCallbackInfo(arg2,arg3);
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 resultobj = SWIG_Py_Void();
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj = 0;
14717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14718 wxWindow *arg2 = (wxWindow *) 0 ;
14719 int arg3 = (int) wxID_ANY ;
14720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14722 wxSize const &arg5_defvalue = wxDefaultSize ;
14723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14724 long arg6 = (long) 0 ;
14725 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14726 wxString *arg7 = (wxString *) &arg7_defvalue ;
14727 bool result;
14728 void *argp1 = 0 ;
14729 int res1 = 0 ;
14730 void *argp2 = 0 ;
14731 int res2 = 0 ;
14732 int val3 ;
14733 int ecode3 = 0 ;
14734 wxPoint temp4 ;
14735 wxSize temp5 ;
14736 long val6 ;
14737 int ecode6 = 0 ;
14738 bool temp7 = false ;
14739 PyObject * obj0 = 0 ;
14740 PyObject * obj1 = 0 ;
14741 PyObject * obj2 = 0 ;
14742 PyObject * obj3 = 0 ;
14743 PyObject * obj4 = 0 ;
14744 PyObject * obj5 = 0 ;
14745 PyObject * obj6 = 0 ;
14746 char * kwnames[] = {
14747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14748 };
14749
14750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14757 if (!SWIG_IsOK(res2)) {
14758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14759 }
14760 arg2 = reinterpret_cast< wxWindow * >(argp2);
14761 if (obj2) {
14762 ecode3 = SWIG_AsVal_int(obj2, &val3);
14763 if (!SWIG_IsOK(ecode3)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14765 }
14766 arg3 = static_cast< int >(val3);
14767 }
14768 if (obj3) {
14769 {
14770 arg4 = &temp4;
14771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14772 }
14773 }
14774 if (obj4) {
14775 {
14776 arg5 = &temp5;
14777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14778 }
14779 }
14780 if (obj5) {
14781 ecode6 = SWIG_AsVal_long(obj5, &val6);
14782 if (!SWIG_IsOK(ecode6)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14784 }
14785 arg6 = static_cast< long >(val6);
14786 }
14787 if (obj6) {
14788 {
14789 arg7 = wxString_in_helper(obj6);
14790 if (arg7 == NULL) SWIG_fail;
14791 temp7 = true;
14792 }
14793 }
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 {
14801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14802 }
14803 {
14804 if (temp7)
14805 delete arg7;
14806 }
14807 return resultobj;
14808 fail:
14809 {
14810 if (temp7)
14811 delete arg7;
14812 }
14813 return NULL;
14814 }
14815
14816
14817 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14818 PyObject *resultobj = 0;
14819 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14820 size_t result;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 PyObject *swig_obj[1] ;
14824
14825 if (!args) SWIG_fail;
14826 swig_obj[0] = args;
14827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 }
14831 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14846 PyObject *resultobj = 0;
14847 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14848 bool result;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 PyObject *swig_obj[1] ;
14852
14853 if (!args) SWIG_fail;
14854 swig_obj[0] = args;
14855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14856 if (!SWIG_IsOK(res1)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14858 }
14859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14868 }
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14876 PyObject *resultobj = 0;
14877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14878 int result;
14879 void *argp1 = 0 ;
14880 int res1 = 0 ;
14881 PyObject *swig_obj[1] ;
14882
14883 if (!args) SWIG_fail;
14884 swig_obj[0] = args;
14885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14886 if (!SWIG_IsOK(res1)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14888 }
14889 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_From_int(static_cast< int >(result));
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 size_t arg2 ;
14907 bool result;
14908 void *argp1 = 0 ;
14909 int res1 = 0 ;
14910 size_t val2 ;
14911 int ecode2 = 0 ;
14912 PyObject * obj0 = 0 ;
14913 PyObject * obj1 = 0 ;
14914 char * kwnames[] = {
14915 (char *) "self",(char *) "item", NULL
14916 };
14917
14918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14922 }
14923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14925 if (!SWIG_IsOK(ecode2)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14927 }
14928 arg2 = static_cast< size_t >(val2);
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14937 }
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj = 0;
14946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14947 size_t arg2 ;
14948 bool result;
14949 void *argp1 = 0 ;
14950 int res1 = 0 ;
14951 size_t val2 ;
14952 int ecode2 = 0 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char * kwnames[] = {
14956 (char *) "self",(char *) "item", NULL
14957 };
14958
14959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14963 }
14964 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14966 if (!SWIG_IsOK(ecode2)) {
14967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14968 }
14969 arg2 = static_cast< size_t >(val2);
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14978 }
14979 return resultobj;
14980 fail:
14981 return NULL;
14982 }
14983
14984
14985 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14986 PyObject *resultobj = 0;
14987 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14988 size_t result;
14989 void *argp1 = 0 ;
14990 int res1 = 0 ;
14991 PyObject *swig_obj[1] ;
14992
14993 if (!args) SWIG_fail;
14994 swig_obj[0] = args;
14995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14996 if (!SWIG_IsOK(res1)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14998 }
14999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15014 PyObject *resultobj = 0;
15015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15016 PyObject *result = 0 ;
15017 void *argp1 = 0 ;
15018 int res1 = 0 ;
15019 PyObject *swig_obj[1] ;
15020
15021 if (!args) SWIG_fail;
15022 swig_obj[0] = args;
15023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15024 if (!SWIG_IsOK(res1)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15026 }
15027 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 resultobj = result;
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj = 0;
15043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15044 unsigned long arg2 ;
15045 PyObject *result = 0 ;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 unsigned long val2 ;
15049 int ecode2 = 0 ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 char * kwnames[] = {
15053 (char *) "self",(char *) "cookie", NULL
15054 };
15055
15056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
15057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15060 }
15061 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15062 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15063 if (!SWIG_IsOK(ecode2)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15065 }
15066 arg2 = static_cast< unsigned long >(val2);
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 resultobj = result;
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15081 PyObject *resultobj = 0;
15082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15083 wxPoint result;
15084 void *argp1 = 0 ;
15085 int res1 = 0 ;
15086 PyObject *swig_obj[1] ;
15087
15088 if (!args) SWIG_fail;
15089 swig_obj[0] = args;
15090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15091 if (!SWIG_IsOK(res1)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15093 }
15094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 result = ((wxPyVListBox const *)arg1)->GetMargins();
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15109 PyObject *resultobj = 0;
15110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15111 wxColour *result = 0 ;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 PyObject *swig_obj[1] ;
15115
15116 if (!args) SWIG_fail;
15117 swig_obj[0] = args;
15118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15119 if (!SWIG_IsOK(res1)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15121 }
15122 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 {
15126 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15127 result = (wxColour *) &_result_ref;
15128 }
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 size_t arg2 ;
15143 void *argp1 = 0 ;
15144 int res1 = 0 ;
15145 size_t val2 ;
15146 int ecode2 = 0 ;
15147 PyObject * obj0 = 0 ;
15148 PyObject * obj1 = 0 ;
15149 char * kwnames[] = {
15150 (char *) "self",(char *) "count", NULL
15151 };
15152
15153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15155 if (!SWIG_IsOK(res1)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 }
15158 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15159 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15160 if (!SWIG_IsOK(ecode2)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15162 }
15163 arg2 = static_cast< size_t >(val2);
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->SetItemCount(arg2);
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 resultobj = SWIG_Py_Void();
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15178 PyObject *resultobj = 0;
15179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 PyObject *swig_obj[1] ;
15183
15184 if (!args) SWIG_fail;
15185 swig_obj[0] = args;
15186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15187 if (!SWIG_IsOK(res1)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 }
15190 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 (arg1)->Clear();
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = SWIG_Py_Void();
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj = 0;
15206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15207 int arg2 ;
15208 void *argp1 = 0 ;
15209 int res1 = 0 ;
15210 int val2 ;
15211 int ecode2 = 0 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char * kwnames[] = {
15215 (char *) "self",(char *) "selection", NULL
15216 };
15217
15218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15220 if (!SWIG_IsOK(res1)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15222 }
15223 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15224 ecode2 = SWIG_AsVal_int(obj1, &val2);
15225 if (!SWIG_IsOK(ecode2)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15227 }
15228 arg2 = static_cast< int >(val2);
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->SetSelection(arg2);
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = SWIG_Py_Void();
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj = 0;
15244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15245 size_t arg2 ;
15246 bool arg3 = (bool) true ;
15247 bool result;
15248 void *argp1 = 0 ;
15249 int res1 = 0 ;
15250 size_t val2 ;
15251 int ecode2 = 0 ;
15252 bool val3 ;
15253 int ecode3 = 0 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 PyObject * obj2 = 0 ;
15257 char * kwnames[] = {
15258 (char *) "self",(char *) "item",(char *) "select", NULL
15259 };
15260
15261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15263 if (!SWIG_IsOK(res1)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15265 }
15266 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15267 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15268 if (!SWIG_IsOK(ecode2)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15270 }
15271 arg2 = static_cast< size_t >(val2);
15272 if (obj2) {
15273 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15274 if (!SWIG_IsOK(ecode3)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15276 }
15277 arg3 = static_cast< bool >(val3);
15278 }
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = (bool)(arg1)->Select(arg2,arg3);
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15287 }
15288 return resultobj;
15289 fail:
15290 return NULL;
15291 }
15292
15293
15294 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj = 0;
15296 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15297 size_t arg2 ;
15298 size_t arg3 ;
15299 bool result;
15300 void *argp1 = 0 ;
15301 int res1 = 0 ;
15302 size_t val2 ;
15303 int ecode2 = 0 ;
15304 size_t val3 ;
15305 int ecode3 = 0 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 PyObject * obj2 = 0 ;
15309 char * kwnames[] = {
15310 (char *) "self",(char *) "from",(char *) "to", NULL
15311 };
15312
15313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15315 if (!SWIG_IsOK(res1)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15317 }
15318 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15319 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15320 if (!SWIG_IsOK(ecode2)) {
15321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15322 }
15323 arg2 = static_cast< size_t >(val2);
15324 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15325 if (!SWIG_IsOK(ecode3)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15327 }
15328 arg3 = static_cast< size_t >(val3);
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 result = (bool)(arg1)->SelectRange(arg2,arg3);
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 {
15336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj = 0;
15346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15347 size_t arg2 ;
15348 void *argp1 = 0 ;
15349 int res1 = 0 ;
15350 size_t val2 ;
15351 int ecode2 = 0 ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char * kwnames[] = {
15355 (char *) "self",(char *) "item", NULL
15356 };
15357
15358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15360 if (!SWIG_IsOK(res1)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15362 }
15363 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15365 if (!SWIG_IsOK(ecode2)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15367 }
15368 arg2 = static_cast< size_t >(val2);
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->Toggle(arg2);
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 resultobj = SWIG_Py_Void();
15376 return resultobj;
15377 fail:
15378 return NULL;
15379 }
15380
15381
15382 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15383 PyObject *resultobj = 0;
15384 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15385 bool result;
15386 void *argp1 = 0 ;
15387 int res1 = 0 ;
15388 PyObject *swig_obj[1] ;
15389
15390 if (!args) SWIG_fail;
15391 swig_obj[0] = args;
15392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15393 if (!SWIG_IsOK(res1)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15395 }
15396 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)(arg1)->SelectAll();
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 {
15404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15405 }
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 PyObject *resultobj = 0;
15414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15415 bool result;
15416 void *argp1 = 0 ;
15417 int res1 = 0 ;
15418 PyObject *swig_obj[1] ;
15419
15420 if (!args) SWIG_fail;
15421 swig_obj[0] = args;
15422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15423 if (!SWIG_IsOK(res1)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15425 }
15426 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (bool)(arg1)->DeselectAll();
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 {
15434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15435 }
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj = 0;
15444 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15445 wxPoint *arg2 = 0 ;
15446 void *argp1 = 0 ;
15447 int res1 = 0 ;
15448 wxPoint temp2 ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "self",(char *) "pt", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15459 }
15460 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15461 {
15462 arg2 = &temp2;
15463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15464 }
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetMargins((wxPoint const &)*arg2);
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = SWIG_Py_Void();
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj = 0;
15480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15481 int arg2 ;
15482 int arg3 ;
15483 void *argp1 = 0 ;
15484 int res1 = 0 ;
15485 int val2 ;
15486 int ecode2 = 0 ;
15487 int val3 ;
15488 int ecode3 = 0 ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 PyObject * obj2 = 0 ;
15492 char * kwnames[] = {
15493 (char *) "self",(char *) "x",(char *) "y", NULL
15494 };
15495
15496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15498 if (!SWIG_IsOK(res1)) {
15499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15500 }
15501 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15502 ecode2 = SWIG_AsVal_int(obj1, &val2);
15503 if (!SWIG_IsOK(ecode2)) {
15504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15505 }
15506 arg2 = static_cast< int >(val2);
15507 ecode3 = SWIG_AsVal_int(obj2, &val3);
15508 if (!SWIG_IsOK(ecode3)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15510 }
15511 arg3 = static_cast< int >(val3);
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->SetMargins(arg2,arg3);
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = SWIG_Py_Void();
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj = 0;
15527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15528 wxColour *arg2 = 0 ;
15529 void *argp1 = 0 ;
15530 int res1 = 0 ;
15531 wxColour temp2 ;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 char * kwnames[] = {
15535 (char *) "self",(char *) "col", NULL
15536 };
15537
15538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15540 if (!SWIG_IsOK(res1)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15542 }
15543 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15544 {
15545 arg2 = &temp2;
15546 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15547 }
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_Py_Void();
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj = 0;
15563 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15564 wxDC *arg2 = 0 ;
15565 wxRect *arg3 = 0 ;
15566 size_t arg4 ;
15567 void *argp1 = 0 ;
15568 int res1 = 0 ;
15569 void *argp2 = 0 ;
15570 int res2 = 0 ;
15571 wxRect temp3 ;
15572 size_t val4 ;
15573 int ecode4 = 0 ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 PyObject * obj3 = 0 ;
15578 char * kwnames[] = {
15579 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15580 };
15581
15582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15584 if (!SWIG_IsOK(res1)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15586 }
15587 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15588 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15589 if (!SWIG_IsOK(res2)) {
15590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15591 }
15592 if (!argp2) {
15593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15594 }
15595 arg2 = reinterpret_cast< wxDC * >(argp2);
15596 {
15597 arg3 = &temp3;
15598 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15599 }
15600 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15601 if (!SWIG_IsOK(ecode4)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15603 }
15604 arg4 = static_cast< size_t >(val4);
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 resultobj = SWIG_Py_Void();
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj = 0;
15620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15621 wxDC *arg2 = 0 ;
15622 wxRect *arg3 = 0 ;
15623 size_t arg4 ;
15624 void *argp1 = 0 ;
15625 int res1 = 0 ;
15626 void *argp2 = 0 ;
15627 int res2 = 0 ;
15628 wxRect temp3 ;
15629 size_t val4 ;
15630 int ecode4 = 0 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 PyObject * obj2 = 0 ;
15634 PyObject * obj3 = 0 ;
15635 char * kwnames[] = {
15636 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15637 };
15638
15639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15641 if (!SWIG_IsOK(res1)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15643 }
15644 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15646 if (!SWIG_IsOK(res2)) {
15647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15648 }
15649 if (!argp2) {
15650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15651 }
15652 arg2 = reinterpret_cast< wxDC * >(argp2);
15653 {
15654 arg3 = &temp3;
15655 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15656 }
15657 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15658 if (!SWIG_IsOK(ecode4)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15660 }
15661 arg4 = static_cast< size_t >(val4);
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 resultobj = SWIG_Py_Void();
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15676 PyObject *obj;
15677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15679 return SWIG_Py_Void();
15680 }
15681
15682 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15683 return SWIG_Python_InitShadowInstance(args);
15684 }
15685
15686 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj = 0;
15688 wxWindow *arg1 = (wxWindow *) 0 ;
15689 int arg2 = (int) wxID_ANY ;
15690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15692 wxSize const &arg4_defvalue = wxDefaultSize ;
15693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15694 long arg5 = (long) 0 ;
15695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15696 wxString *arg6 = (wxString *) &arg6_defvalue ;
15697 wxPyHtmlListBox *result = 0 ;
15698 void *argp1 = 0 ;
15699 int res1 = 0 ;
15700 int val2 ;
15701 int ecode2 = 0 ;
15702 wxPoint temp3 ;
15703 wxSize temp4 ;
15704 long val5 ;
15705 int ecode5 = 0 ;
15706 bool temp6 = false ;
15707 PyObject * obj0 = 0 ;
15708 PyObject * obj1 = 0 ;
15709 PyObject * obj2 = 0 ;
15710 PyObject * obj3 = 0 ;
15711 PyObject * obj4 = 0 ;
15712 PyObject * obj5 = 0 ;
15713 char * kwnames[] = {
15714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15715 };
15716
15717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15719 if (!SWIG_IsOK(res1)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15721 }
15722 arg1 = reinterpret_cast< wxWindow * >(argp1);
15723 if (obj1) {
15724 ecode2 = SWIG_AsVal_int(obj1, &val2);
15725 if (!SWIG_IsOK(ecode2)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15727 }
15728 arg2 = static_cast< int >(val2);
15729 }
15730 if (obj2) {
15731 {
15732 arg3 = &temp3;
15733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15734 }
15735 }
15736 if (obj3) {
15737 {
15738 arg4 = &temp4;
15739 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15740 }
15741 }
15742 if (obj4) {
15743 ecode5 = SWIG_AsVal_long(obj4, &val5);
15744 if (!SWIG_IsOK(ecode5)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15746 }
15747 arg5 = static_cast< long >(val5);
15748 }
15749 if (obj5) {
15750 {
15751 arg6 = wxString_in_helper(obj5);
15752 if (arg6 == NULL) SWIG_fail;
15753 temp6 = true;
15754 }
15755 }
15756 {
15757 if (!wxPyCheckForApp()) SWIG_fail;
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15764 {
15765 if (temp6)
15766 delete arg6;
15767 }
15768 return resultobj;
15769 fail:
15770 {
15771 if (temp6)
15772 delete arg6;
15773 }
15774 return NULL;
15775 }
15776
15777
15778 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *resultobj = 0;
15780 wxPyHtmlListBox *result = 0 ;
15781
15782 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj = 0;
15799 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15800 PyObject *arg2 = (PyObject *) 0 ;
15801 PyObject *arg3 = (PyObject *) 0 ;
15802 void *argp1 = 0 ;
15803 int res1 = 0 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 char * kwnames[] = {
15808 (char *) "self",(char *) "self",(char *) "_class", NULL
15809 };
15810
15811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15813 if (!SWIG_IsOK(res1)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15815 }
15816 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15817 arg2 = obj1;
15818 arg3 = obj2;
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->_setCallbackInfo(arg2,arg3);
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_Py_Void();
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj = 0;
15834 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15835 wxWindow *arg2 = (wxWindow *) 0 ;
15836 int arg3 = (int) wxID_ANY ;
15837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15839 wxSize const &arg5_defvalue = wxDefaultSize ;
15840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15841 long arg6 = (long) 0 ;
15842 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15843 wxString *arg7 = (wxString *) &arg7_defvalue ;
15844 bool result;
15845 void *argp1 = 0 ;
15846 int res1 = 0 ;
15847 void *argp2 = 0 ;
15848 int res2 = 0 ;
15849 int val3 ;
15850 int ecode3 = 0 ;
15851 wxPoint temp4 ;
15852 wxSize temp5 ;
15853 long val6 ;
15854 int ecode6 = 0 ;
15855 bool temp7 = false ;
15856 PyObject * obj0 = 0 ;
15857 PyObject * obj1 = 0 ;
15858 PyObject * obj2 = 0 ;
15859 PyObject * obj3 = 0 ;
15860 PyObject * obj4 = 0 ;
15861 PyObject * obj5 = 0 ;
15862 PyObject * obj6 = 0 ;
15863 char * kwnames[] = {
15864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15865 };
15866
15867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15869 if (!SWIG_IsOK(res1)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15871 }
15872 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15874 if (!SWIG_IsOK(res2)) {
15875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15876 }
15877 arg2 = reinterpret_cast< wxWindow * >(argp2);
15878 if (obj2) {
15879 ecode3 = SWIG_AsVal_int(obj2, &val3);
15880 if (!SWIG_IsOK(ecode3)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15882 }
15883 arg3 = static_cast< int >(val3);
15884 }
15885 if (obj3) {
15886 {
15887 arg4 = &temp4;
15888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15889 }
15890 }
15891 if (obj4) {
15892 {
15893 arg5 = &temp5;
15894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15895 }
15896 }
15897 if (obj5) {
15898 ecode6 = SWIG_AsVal_long(obj5, &val6);
15899 if (!SWIG_IsOK(ecode6)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15901 }
15902 arg6 = static_cast< long >(val6);
15903 }
15904 if (obj6) {
15905 {
15906 arg7 = wxString_in_helper(obj6);
15907 if (arg7 == NULL) SWIG_fail;
15908 temp7 = true;
15909 }
15910 }
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 {
15921 if (temp7)
15922 delete arg7;
15923 }
15924 return resultobj;
15925 fail:
15926 {
15927 if (temp7)
15928 delete arg7;
15929 }
15930 return NULL;
15931 }
15932
15933
15934 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj = 0;
15936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15937 size_t arg2 ;
15938 void *argp1 = 0 ;
15939 int res1 = 0 ;
15940 size_t val2 ;
15941 int ecode2 = 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char * kwnames[] = {
15945 (char *) "self",(char *) "count", NULL
15946 };
15947
15948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15950 if (!SWIG_IsOK(res1)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15952 }
15953 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15954 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15955 if (!SWIG_IsOK(ecode2)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15957 }
15958 arg2 = static_cast< size_t >(val2);
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 (arg1)->SetItemCount(arg2);
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 resultobj = SWIG_Py_Void();
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15973 PyObject *resultobj = 0;
15974 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15975 wxFileSystem *result = 0 ;
15976 void *argp1 = 0 ;
15977 int res1 = 0 ;
15978 PyObject *swig_obj[1] ;
15979
15980 if (!args) SWIG_fail;
15981 swig_obj[0] = args;
15982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15983 if (!SWIG_IsOK(res1)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15985 }
15986 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 {
15990 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15991 result = (wxFileSystem *) &_result_ref;
15992 }
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj = 0;
16005 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
16006 size_t arg2 ;
16007 wxHtmlLinkInfo *arg3 = 0 ;
16008 void *argp1 = 0 ;
16009 int res1 = 0 ;
16010 size_t val2 ;
16011 int ecode2 = 0 ;
16012 void *argp3 = 0 ;
16013 int res3 = 0 ;
16014 PyObject * obj0 = 0 ;
16015 PyObject * obj1 = 0 ;
16016 PyObject * obj2 = 0 ;
16017 char * kwnames[] = {
16018 (char *) "self",(char *) "n",(char *) "link", NULL
16019 };
16020
16021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
16025 }
16026 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
16027 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16028 if (!SWIG_IsOK(ecode2)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
16030 }
16031 arg2 = static_cast< size_t >(val2);
16032 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
16033 if (!SWIG_IsOK(res3)) {
16034 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16035 }
16036 if (!argp3) {
16037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16038 }
16039 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_Py_Void();
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16054 PyObject *obj;
16055 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16056 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
16057 return SWIG_Py_Void();
16058 }
16059
16060 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16061 return SWIG_Python_InitShadowInstance(args);
16062 }
16063
16064 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16065 PyObject *resultobj = 0;
16066 wxPyTaskBarIcon *result = 0 ;
16067
16068 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16069 {
16070 if (!wxPyCheckForApp()) SWIG_fail;
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 PyObject *resultobj = 0;
16085 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16086 void *argp1 = 0 ;
16087 int res1 = 0 ;
16088 PyObject *swig_obj[1] ;
16089
16090 if (!args) SWIG_fail;
16091 swig_obj[0] = args;
16092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16093 if (!SWIG_IsOK(res1)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16095 }
16096 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 delete arg1;
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 resultobj = SWIG_Py_Void();
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj = 0;
16113 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16114 PyObject *arg2 = (PyObject *) 0 ;
16115 PyObject *arg3 = (PyObject *) 0 ;
16116 int arg4 ;
16117 void *argp1 = 0 ;
16118 int res1 = 0 ;
16119 int val4 ;
16120 int ecode4 = 0 ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 PyObject * obj2 = 0 ;
16124 PyObject * obj3 = 0 ;
16125 char * kwnames[] = {
16126 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16127 };
16128
16129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16131 if (!SWIG_IsOK(res1)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 }
16134 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16135 arg2 = obj1;
16136 arg3 = obj2;
16137 ecode4 = SWIG_AsVal_int(obj3, &val4);
16138 if (!SWIG_IsOK(ecode4)) {
16139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16140 }
16141 arg4 = static_cast< int >(val4);
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 resultobj = SWIG_Py_Void();
16149 return resultobj;
16150 fail:
16151 return NULL;
16152 }
16153
16154
16155 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16156 PyObject *resultobj = 0;
16157 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16158 void *argp1 = 0 ;
16159 int res1 = 0 ;
16160 PyObject *swig_obj[1] ;
16161
16162 if (!args) SWIG_fail;
16163 swig_obj[0] = args;
16164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16167 }
16168 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 wxPyTaskBarIcon_Destroy(arg1);
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_Py_Void();
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16183 PyObject *resultobj = 0;
16184 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16185 bool result;
16186 void *argp1 = 0 ;
16187 int res1 = 0 ;
16188 PyObject *swig_obj[1] ;
16189
16190 if (!args) SWIG_fail;
16191 swig_obj[0] = args;
16192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16193 if (!SWIG_IsOK(res1)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16195 }
16196 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 {
16204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16205 }
16206 return resultobj;
16207 fail:
16208 return NULL;
16209 }
16210
16211
16212 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16213 PyObject *resultobj = 0;
16214 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16215 bool result;
16216 void *argp1 = 0 ;
16217 int res1 = 0 ;
16218 PyObject *swig_obj[1] ;
16219
16220 if (!args) SWIG_fail;
16221 swig_obj[0] = args;
16222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16223 if (!SWIG_IsOK(res1)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16225 }
16226 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16235 }
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj = 0;
16244 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16245 wxIcon *arg2 = 0 ;
16246 wxString const &arg3_defvalue = wxPyEmptyString ;
16247 wxString *arg3 = (wxString *) &arg3_defvalue ;
16248 bool result;
16249 void *argp1 = 0 ;
16250 int res1 = 0 ;
16251 void *argp2 = 0 ;
16252 int res2 = 0 ;
16253 bool temp3 = false ;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 PyObject * obj2 = 0 ;
16257 char * kwnames[] = {
16258 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16259 };
16260
16261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16263 if (!SWIG_IsOK(res1)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16265 }
16266 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16267 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16268 if (!SWIG_IsOK(res2)) {
16269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16270 }
16271 if (!argp2) {
16272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16273 }
16274 arg2 = reinterpret_cast< wxIcon * >(argp2);
16275 if (obj2) {
16276 {
16277 arg3 = wxString_in_helper(obj2);
16278 if (arg3 == NULL) SWIG_fail;
16279 temp3 = true;
16280 }
16281 }
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16290 }
16291 {
16292 if (temp3)
16293 delete arg3;
16294 }
16295 return resultobj;
16296 fail:
16297 {
16298 if (temp3)
16299 delete arg3;
16300 }
16301 return NULL;
16302 }
16303
16304
16305 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *resultobj = 0;
16307 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16308 bool result;
16309 void *argp1 = 0 ;
16310 int res1 = 0 ;
16311 PyObject *swig_obj[1] ;
16312
16313 if (!args) SWIG_fail;
16314 swig_obj[0] = args;
16315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16316 if (!SWIG_IsOK(res1)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16318 }
16319 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (bool)(arg1)->RemoveIcon();
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 {
16327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16328 }
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj = 0;
16337 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16338 wxMenu *arg2 = (wxMenu *) 0 ;
16339 bool result;
16340 void *argp1 = 0 ;
16341 int res1 = 0 ;
16342 void *argp2 = 0 ;
16343 int res2 = 0 ;
16344 PyObject * obj0 = 0 ;
16345 PyObject * obj1 = 0 ;
16346 char * kwnames[] = {
16347 (char *) "self",(char *) "menu", NULL
16348 };
16349
16350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16352 if (!SWIG_IsOK(res1)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16354 }
16355 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16357 if (!SWIG_IsOK(res2)) {
16358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16359 }
16360 arg2 = reinterpret_cast< wxMenu * >(argp2);
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (bool)(arg1)->PopupMenu(arg2);
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 {
16368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16369 }
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16377 PyObject *obj;
16378 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16380 return SWIG_Py_Void();
16381 }
16382
16383 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16384 return SWIG_Python_InitShadowInstance(args);
16385 }
16386
16387 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj = 0;
16389 wxEventType arg1 ;
16390 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16391 wxTaskBarIconEvent *result = 0 ;
16392 int val1 ;
16393 int ecode1 = 0 ;
16394 void *argp2 = 0 ;
16395 int res2 = 0 ;
16396 PyObject * obj0 = 0 ;
16397 PyObject * obj1 = 0 ;
16398 char * kwnames[] = {
16399 (char *) "evtType",(char *) "tbIcon", NULL
16400 };
16401
16402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16403 ecode1 = SWIG_AsVal_int(obj0, &val1);
16404 if (!SWIG_IsOK(ecode1)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16406 }
16407 arg1 = static_cast< wxEventType >(val1);
16408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16409 if (!SWIG_IsOK(res2)) {
16410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16411 }
16412 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16427 PyObject *obj;
16428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16429 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16430 return SWIG_Py_Void();
16431 }
16432
16433 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16434 return SWIG_Python_InitShadowInstance(args);
16435 }
16436
16437 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16438 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16439 return 1;
16440 }
16441
16442
16443 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16444 PyObject *pyobj = 0;
16445
16446 {
16447 #if wxUSE_UNICODE
16448 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16449 #else
16450 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16451 #endif
16452 }
16453 return pyobj;
16454 }
16455
16456
16457 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16458 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16459 return 1;
16460 }
16461
16462
16463 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16464 PyObject *pyobj = 0;
16465
16466 {
16467 #if wxUSE_UNICODE
16468 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16469 #else
16470 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16471 #endif
16472 }
16473 return pyobj;
16474 }
16475
16476
16477 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16478 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16479 return 1;
16480 }
16481
16482
16483 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16484 PyObject *pyobj = 0;
16485
16486 {
16487 #if wxUSE_UNICODE
16488 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16489 #else
16490 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16491 #endif
16492 }
16493 return pyobj;
16494 }
16495
16496
16497 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16498 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16499 return 1;
16500 }
16501
16502
16503 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16504 PyObject *pyobj = 0;
16505
16506 {
16507 #if wxUSE_UNICODE
16508 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16509 #else
16510 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16511 #endif
16512 }
16513 return pyobj;
16514 }
16515
16516
16517 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16518 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16519 return 1;
16520 }
16521
16522
16523 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16524 PyObject *pyobj = 0;
16525
16526 {
16527 #if wxUSE_UNICODE
16528 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16529 #else
16530 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16531 #endif
16532 }
16533 return pyobj;
16534 }
16535
16536
16537 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16538 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16539 return 1;
16540 }
16541
16542
16543 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16544 PyObject *pyobj = 0;
16545
16546 {
16547 #if wxUSE_UNICODE
16548 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16549 #else
16550 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16551 #endif
16552 }
16553 return pyobj;
16554 }
16555
16556
16557 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16558 PyObject *resultobj = 0;
16559 wxColourData *result = 0 ;
16560
16561 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 result = (wxColourData *)new wxColourData();
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16569 return resultobj;
16570 fail:
16571 return NULL;
16572 }
16573
16574
16575 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16576 PyObject *resultobj = 0;
16577 wxColourData *arg1 = (wxColourData *) 0 ;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 PyObject *swig_obj[1] ;
16581
16582 if (!args) SWIG_fail;
16583 swig_obj[0] = args;
16584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16587 }
16588 arg1 = reinterpret_cast< wxColourData * >(argp1);
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 delete arg1;
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 resultobj = SWIG_Py_Void();
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16604 PyObject *resultobj = 0;
16605 wxColourData *arg1 = (wxColourData *) 0 ;
16606 bool result;
16607 void *argp1 = 0 ;
16608 int res1 = 0 ;
16609 PyObject *swig_obj[1] ;
16610
16611 if (!args) SWIG_fail;
16612 swig_obj[0] = args;
16613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16616 }
16617 arg1 = reinterpret_cast< wxColourData * >(argp1);
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (bool)(arg1)->GetChooseFull();
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 {
16625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16626 }
16627 return resultobj;
16628 fail:
16629 return NULL;
16630 }
16631
16632
16633 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16634 PyObject *resultobj = 0;
16635 wxColourData *arg1 = (wxColourData *) 0 ;
16636 wxColour result;
16637 void *argp1 = 0 ;
16638 int res1 = 0 ;
16639 PyObject *swig_obj[1] ;
16640
16641 if (!args) SWIG_fail;
16642 swig_obj[0] = args;
16643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16644 if (!SWIG_IsOK(res1)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16646 }
16647 arg1 = reinterpret_cast< wxColourData * >(argp1);
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (arg1)->GetColour();
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16655 return resultobj;
16656 fail:
16657 return NULL;
16658 }
16659
16660
16661 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj = 0;
16663 wxColourData *arg1 = (wxColourData *) 0 ;
16664 int arg2 ;
16665 wxColour result;
16666 void *argp1 = 0 ;
16667 int res1 = 0 ;
16668 int val2 ;
16669 int ecode2 = 0 ;
16670 PyObject * obj0 = 0 ;
16671 PyObject * obj1 = 0 ;
16672 char * kwnames[] = {
16673 (char *) "self",(char *) "i", NULL
16674 };
16675
16676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16678 if (!SWIG_IsOK(res1)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16680 }
16681 arg1 = reinterpret_cast< wxColourData * >(argp1);
16682 ecode2 = SWIG_AsVal_int(obj1, &val2);
16683 if (!SWIG_IsOK(ecode2)) {
16684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16685 }
16686 arg2 = static_cast< int >(val2);
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 result = (arg1)->GetCustomColour(arg2);
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj = 0;
16702 wxColourData *arg1 = (wxColourData *) 0 ;
16703 int arg2 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 int val2 ;
16707 int ecode2 = 0 ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 char * kwnames[] = {
16711 (char *) "self",(char *) "flag", NULL
16712 };
16713
16714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16716 if (!SWIG_IsOK(res1)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16718 }
16719 arg1 = reinterpret_cast< wxColourData * >(argp1);
16720 ecode2 = SWIG_AsVal_int(obj1, &val2);
16721 if (!SWIG_IsOK(ecode2)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16723 }
16724 arg2 = static_cast< int >(val2);
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 (arg1)->SetChooseFull(arg2);
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 resultobj = SWIG_Py_Void();
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj = 0;
16740 wxColourData *arg1 = (wxColourData *) 0 ;
16741 wxColour *arg2 = 0 ;
16742 void *argp1 = 0 ;
16743 int res1 = 0 ;
16744 wxColour temp2 ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 char * kwnames[] = {
16748 (char *) "self",(char *) "colour", NULL
16749 };
16750
16751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16753 if (!SWIG_IsOK(res1)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16755 }
16756 arg1 = reinterpret_cast< wxColourData * >(argp1);
16757 {
16758 arg2 = &temp2;
16759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16760 }
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 (arg1)->SetColour((wxColour const &)*arg2);
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = SWIG_Py_Void();
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj = 0;
16776 wxColourData *arg1 = (wxColourData *) 0 ;
16777 int arg2 ;
16778 wxColour *arg3 = 0 ;
16779 void *argp1 = 0 ;
16780 int res1 = 0 ;
16781 int val2 ;
16782 int ecode2 = 0 ;
16783 wxColour temp3 ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 PyObject * obj2 = 0 ;
16787 char * kwnames[] = {
16788 (char *) "self",(char *) "i",(char *) "colour", NULL
16789 };
16790
16791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16793 if (!SWIG_IsOK(res1)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16795 }
16796 arg1 = reinterpret_cast< wxColourData * >(argp1);
16797 ecode2 = SWIG_AsVal_int(obj1, &val2);
16798 if (!SWIG_IsOK(ecode2)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16800 }
16801 arg2 = static_cast< int >(val2);
16802 {
16803 arg3 = &temp3;
16804 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16805 }
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 resultobj = SWIG_Py_Void();
16813 return resultobj;
16814 fail:
16815 return NULL;
16816 }
16817
16818
16819 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16820 PyObject *obj;
16821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16822 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16823 return SWIG_Py_Void();
16824 }
16825
16826 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16827 return SWIG_Python_InitShadowInstance(args);
16828 }
16829
16830 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj = 0;
16832 wxWindow *arg1 = (wxWindow *) 0 ;
16833 wxColourData *arg2 = (wxColourData *) NULL ;
16834 wxColourDialog *result = 0 ;
16835 void *argp1 = 0 ;
16836 int res1 = 0 ;
16837 void *argp2 = 0 ;
16838 int res2 = 0 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 char * kwnames[] = {
16842 (char *) "parent",(char *) "data", NULL
16843 };
16844
16845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16847 if (!SWIG_IsOK(res1)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16849 }
16850 arg1 = reinterpret_cast< wxWindow * >(argp1);
16851 if (obj1) {
16852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16853 if (!SWIG_IsOK(res2)) {
16854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16855 }
16856 arg2 = reinterpret_cast< wxColourData * >(argp2);
16857 }
16858 {
16859 if (!wxPyCheckForApp()) SWIG_fail;
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16873 PyObject *resultobj = 0;
16874 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16875 wxColourData *result = 0 ;
16876 void *argp1 = 0 ;
16877 int res1 = 0 ;
16878 PyObject *swig_obj[1] ;
16879
16880 if (!args) SWIG_fail;
16881 swig_obj[0] = args;
16882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16883 if (!SWIG_IsOK(res1)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16885 }
16886 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 {
16890 wxColourData &_result_ref = (arg1)->GetColourData();
16891 result = (wxColourData *) &_result_ref;
16892 }
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16904 PyObject *obj;
16905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16906 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16907 return SWIG_Py_Void();
16908 }
16909
16910 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16911 return SWIG_Python_InitShadowInstance(args);
16912 }
16913
16914 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj = 0;
16916 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16917 wxColour const &arg2_defvalue = wxNullColour ;
16918 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16919 wxString const &arg3_defvalue = wxPyEmptyString ;
16920 wxString *arg3 = (wxString *) &arg3_defvalue ;
16921 wxColour result;
16922 void *argp1 = 0 ;
16923 int res1 = 0 ;
16924 wxColour temp2 ;
16925 bool temp3 = false ;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 PyObject * obj2 = 0 ;
16929 char * kwnames[] = {
16930 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16931 };
16932
16933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16934 if (obj0) {
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16938 }
16939 arg1 = reinterpret_cast< wxWindow * >(argp1);
16940 }
16941 if (obj1) {
16942 {
16943 arg2 = &temp2;
16944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16945 }
16946 }
16947 if (obj2) {
16948 {
16949 arg3 = wxString_in_helper(obj2);
16950 if (arg3 == NULL) SWIG_fail;
16951 temp3 = true;
16952 }
16953 }
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16961 {
16962 if (temp3)
16963 delete arg3;
16964 }
16965 return resultobj;
16966 fail:
16967 {
16968 if (temp3)
16969 delete arg3;
16970 }
16971 return NULL;
16972 }
16973
16974
16975 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16976 PyObject *resultobj = 0;
16977 wxWindow *arg1 = (wxWindow *) 0 ;
16978 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16979 wxString *arg2 = (wxString *) &arg2_defvalue ;
16980 wxString const &arg3_defvalue = wxPyEmptyString ;
16981 wxString *arg3 = (wxString *) &arg3_defvalue ;
16982 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16983 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16984 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16985 wxSize const &arg6_defvalue = wxDefaultSize ;
16986 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16987 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16988 wxString *arg7 = (wxString *) &arg7_defvalue ;
16989 wxDirDialog *result = 0 ;
16990 void *argp1 = 0 ;
16991 int res1 = 0 ;
16992 bool temp2 = false ;
16993 bool temp3 = false ;
16994 long val4 ;
16995 int ecode4 = 0 ;
16996 wxPoint temp5 ;
16997 wxSize temp6 ;
16998 bool temp7 = false ;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 PyObject * obj2 = 0 ;
17002 PyObject * obj3 = 0 ;
17003 PyObject * obj4 = 0 ;
17004 PyObject * obj5 = 0 ;
17005 PyObject * obj6 = 0 ;
17006 char * kwnames[] = {
17007 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17008 };
17009
17010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17012 if (!SWIG_IsOK(res1)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17014 }
17015 arg1 = reinterpret_cast< wxWindow * >(argp1);
17016 if (obj1) {
17017 {
17018 arg2 = wxString_in_helper(obj1);
17019 if (arg2 == NULL) SWIG_fail;
17020 temp2 = true;
17021 }
17022 }
17023 if (obj2) {
17024 {
17025 arg3 = wxString_in_helper(obj2);
17026 if (arg3 == NULL) SWIG_fail;
17027 temp3 = true;
17028 }
17029 }
17030 if (obj3) {
17031 ecode4 = SWIG_AsVal_long(obj3, &val4);
17032 if (!SWIG_IsOK(ecode4)) {
17033 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17034 }
17035 arg4 = static_cast< long >(val4);
17036 }
17037 if (obj4) {
17038 {
17039 arg5 = &temp5;
17040 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17041 }
17042 }
17043 if (obj5) {
17044 {
17045 arg6 = &temp6;
17046 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17047 }
17048 }
17049 if (obj6) {
17050 {
17051 arg7 = wxString_in_helper(obj6);
17052 if (arg7 == NULL) SWIG_fail;
17053 temp7 = true;
17054 }
17055 }
17056 {
17057 if (!wxPyCheckForApp()) SWIG_fail;
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17064 {
17065 if (temp2)
17066 delete arg2;
17067 }
17068 {
17069 if (temp3)
17070 delete arg3;
17071 }
17072 {
17073 if (temp7)
17074 delete arg7;
17075 }
17076 return resultobj;
17077 fail:
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 {
17083 if (temp3)
17084 delete arg3;
17085 }
17086 {
17087 if (temp7)
17088 delete arg7;
17089 }
17090 return NULL;
17091 }
17092
17093
17094 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17095 PyObject *resultobj = 0;
17096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17097 wxString result;
17098 void *argp1 = 0 ;
17099 int res1 = 0 ;
17100 PyObject *swig_obj[1] ;
17101
17102 if (!args) SWIG_fail;
17103 swig_obj[0] = args;
17104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17105 if (!SWIG_IsOK(res1)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17107 }
17108 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 result = (arg1)->GetPath();
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116 #if wxUSE_UNICODE
17117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17118 #else
17119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17120 #endif
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125 }
17126
17127
17128 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17129 PyObject *resultobj = 0;
17130 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17131 wxString result;
17132 void *argp1 = 0 ;
17133 int res1 = 0 ;
17134 PyObject *swig_obj[1] ;
17135
17136 if (!args) SWIG_fail;
17137 swig_obj[0] = args;
17138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17139 if (!SWIG_IsOK(res1)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17141 }
17142 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 result = (arg1)->GetMessage();
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 #if wxUSE_UNICODE
17151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17152 #else
17153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17154 #endif
17155 }
17156 return resultobj;
17157 fail:
17158 return NULL;
17159 }
17160
17161
17162 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj = 0;
17164 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17165 wxString *arg2 = 0 ;
17166 void *argp1 = 0 ;
17167 int res1 = 0 ;
17168 bool temp2 = false ;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char * kwnames[] = {
17172 (char *) "self",(char *) "message", NULL
17173 };
17174
17175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17177 if (!SWIG_IsOK(res1)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17179 }
17180 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17181 {
17182 arg2 = wxString_in_helper(obj1);
17183 if (arg2 == NULL) SWIG_fail;
17184 temp2 = true;
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->SetMessage((wxString const &)*arg2);
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = SWIG_Py_Void();
17193 {
17194 if (temp2)
17195 delete arg2;
17196 }
17197 return resultobj;
17198 fail:
17199 {
17200 if (temp2)
17201 delete arg2;
17202 }
17203 return NULL;
17204 }
17205
17206
17207 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj = 0;
17209 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17210 wxString *arg2 = 0 ;
17211 void *argp1 = 0 ;
17212 int res1 = 0 ;
17213 bool temp2 = false ;
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj1 = 0 ;
17216 char * kwnames[] = {
17217 (char *) "self",(char *) "path", NULL
17218 };
17219
17220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17222 if (!SWIG_IsOK(res1)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17224 }
17225 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17226 {
17227 arg2 = wxString_in_helper(obj1);
17228 if (arg2 == NULL) SWIG_fail;
17229 temp2 = true;
17230 }
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 (arg1)->SetPath((wxString const &)*arg2);
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 resultobj = SWIG_Py_Void();
17238 {
17239 if (temp2)
17240 delete arg2;
17241 }
17242 return resultobj;
17243 fail:
17244 {
17245 if (temp2)
17246 delete arg2;
17247 }
17248 return NULL;
17249 }
17250
17251
17252 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17253 PyObject *obj;
17254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17255 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17256 return SWIG_Py_Void();
17257 }
17258
17259 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17260 return SWIG_Python_InitShadowInstance(args);
17261 }
17262
17263 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj = 0;
17265 wxWindow *arg1 = (wxWindow *) 0 ;
17266 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17267 wxString *arg2 = (wxString *) &arg2_defvalue ;
17268 wxString const &arg3_defvalue = wxPyEmptyString ;
17269 wxString *arg3 = (wxString *) &arg3_defvalue ;
17270 wxString const &arg4_defvalue = wxPyEmptyString ;
17271 wxString *arg4 = (wxString *) &arg4_defvalue ;
17272 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17273 wxString *arg5 = (wxString *) &arg5_defvalue ;
17274 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17275 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17276 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17277 wxFileDialog *result = 0 ;
17278 void *argp1 = 0 ;
17279 int res1 = 0 ;
17280 bool temp2 = false ;
17281 bool temp3 = false ;
17282 bool temp4 = false ;
17283 bool temp5 = false ;
17284 long val6 ;
17285 int ecode6 = 0 ;
17286 wxPoint temp7 ;
17287 PyObject * obj0 = 0 ;
17288 PyObject * obj1 = 0 ;
17289 PyObject * obj2 = 0 ;
17290 PyObject * obj3 = 0 ;
17291 PyObject * obj4 = 0 ;
17292 PyObject * obj5 = 0 ;
17293 PyObject * obj6 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17302 }
17303 arg1 = reinterpret_cast< wxWindow * >(argp1);
17304 if (obj1) {
17305 {
17306 arg2 = wxString_in_helper(obj1);
17307 if (arg2 == NULL) SWIG_fail;
17308 temp2 = true;
17309 }
17310 }
17311 if (obj2) {
17312 {
17313 arg3 = wxString_in_helper(obj2);
17314 if (arg3 == NULL) SWIG_fail;
17315 temp3 = true;
17316 }
17317 }
17318 if (obj3) {
17319 {
17320 arg4 = wxString_in_helper(obj3);
17321 if (arg4 == NULL) SWIG_fail;
17322 temp4 = true;
17323 }
17324 }
17325 if (obj4) {
17326 {
17327 arg5 = wxString_in_helper(obj4);
17328 if (arg5 == NULL) SWIG_fail;
17329 temp5 = true;
17330 }
17331 }
17332 if (obj5) {
17333 ecode6 = SWIG_AsVal_long(obj5, &val6);
17334 if (!SWIG_IsOK(ecode6)) {
17335 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17336 }
17337 arg6 = static_cast< long >(val6);
17338 }
17339 if (obj6) {
17340 {
17341 arg7 = &temp7;
17342 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17343 }
17344 }
17345 {
17346 if (!wxPyCheckForApp()) SWIG_fail;
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17353 {
17354 if (temp2)
17355 delete arg2;
17356 }
17357 {
17358 if (temp3)
17359 delete arg3;
17360 }
17361 {
17362 if (temp4)
17363 delete arg4;
17364 }
17365 {
17366 if (temp5)
17367 delete arg5;
17368 }
17369 return resultobj;
17370 fail:
17371 {
17372 if (temp2)
17373 delete arg2;
17374 }
17375 {
17376 if (temp3)
17377 delete arg3;
17378 }
17379 {
17380 if (temp4)
17381 delete arg4;
17382 }
17383 {
17384 if (temp5)
17385 delete arg5;
17386 }
17387 return NULL;
17388 }
17389
17390
17391 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj = 0;
17393 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17394 wxString *arg2 = 0 ;
17395 void *argp1 = 0 ;
17396 int res1 = 0 ;
17397 bool temp2 = false ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char * kwnames[] = {
17401 (char *) "self",(char *) "message", NULL
17402 };
17403
17404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17406 if (!SWIG_IsOK(res1)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17408 }
17409 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17410 {
17411 arg2 = wxString_in_helper(obj1);
17412 if (arg2 == NULL) SWIG_fail;
17413 temp2 = true;
17414 }
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->SetMessage((wxString const &)*arg2);
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = SWIG_Py_Void();
17422 {
17423 if (temp2)
17424 delete arg2;
17425 }
17426 return resultobj;
17427 fail:
17428 {
17429 if (temp2)
17430 delete arg2;
17431 }
17432 return NULL;
17433 }
17434
17435
17436 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj = 0;
17438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17439 wxString *arg2 = 0 ;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 bool temp2 = false ;
17443 PyObject * obj0 = 0 ;
17444 PyObject * obj1 = 0 ;
17445 char * kwnames[] = {
17446 (char *) "self",(char *) "path", NULL
17447 };
17448
17449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17451 if (!SWIG_IsOK(res1)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17453 }
17454 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17455 {
17456 arg2 = wxString_in_helper(obj1);
17457 if (arg2 == NULL) SWIG_fail;
17458 temp2 = true;
17459 }
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 (arg1)->SetPath((wxString const &)*arg2);
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_Py_Void();
17467 {
17468 if (temp2)
17469 delete arg2;
17470 }
17471 return resultobj;
17472 fail:
17473 {
17474 if (temp2)
17475 delete arg2;
17476 }
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj = 0;
17483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17484 wxString *arg2 = 0 ;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 bool temp2 = false ;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj1 = 0 ;
17490 char * kwnames[] = {
17491 (char *) "self",(char *) "dir", NULL
17492 };
17493
17494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17496 if (!SWIG_IsOK(res1)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17498 }
17499 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17500 {
17501 arg2 = wxString_in_helper(obj1);
17502 if (arg2 == NULL) SWIG_fail;
17503 temp2 = true;
17504 }
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->SetDirectory((wxString const &)*arg2);
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_Py_Void();
17512 {
17513 if (temp2)
17514 delete arg2;
17515 }
17516 return resultobj;
17517 fail:
17518 {
17519 if (temp2)
17520 delete arg2;
17521 }
17522 return NULL;
17523 }
17524
17525
17526 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj = 0;
17528 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17529 wxString *arg2 = 0 ;
17530 void *argp1 = 0 ;
17531 int res1 = 0 ;
17532 bool temp2 = false ;
17533 PyObject * obj0 = 0 ;
17534 PyObject * obj1 = 0 ;
17535 char * kwnames[] = {
17536 (char *) "self",(char *) "name", NULL
17537 };
17538
17539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17541 if (!SWIG_IsOK(res1)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17543 }
17544 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17545 {
17546 arg2 = wxString_in_helper(obj1);
17547 if (arg2 == NULL) SWIG_fail;
17548 temp2 = true;
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 (arg1)->SetFilename((wxString const &)*arg2);
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = SWIG_Py_Void();
17557 {
17558 if (temp2)
17559 delete arg2;
17560 }
17561 return resultobj;
17562 fail:
17563 {
17564 if (temp2)
17565 delete arg2;
17566 }
17567 return NULL;
17568 }
17569
17570
17571 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj = 0;
17573 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17574 wxString *arg2 = 0 ;
17575 void *argp1 = 0 ;
17576 int res1 = 0 ;
17577 bool temp2 = false ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 char * kwnames[] = {
17581 (char *) "self",(char *) "wildCard", NULL
17582 };
17583
17584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17586 if (!SWIG_IsOK(res1)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17588 }
17589 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17590 {
17591 arg2 = wxString_in_helper(obj1);
17592 if (arg2 == NULL) SWIG_fail;
17593 temp2 = true;
17594 }
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 (arg1)->SetWildcard((wxString const &)*arg2);
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = SWIG_Py_Void();
17602 {
17603 if (temp2)
17604 delete arg2;
17605 }
17606 return resultobj;
17607 fail:
17608 {
17609 if (temp2)
17610 delete arg2;
17611 }
17612 return NULL;
17613 }
17614
17615
17616 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj = 0;
17618 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17619 int arg2 ;
17620 void *argp1 = 0 ;
17621 int res1 = 0 ;
17622 int val2 ;
17623 int ecode2 = 0 ;
17624 PyObject * obj0 = 0 ;
17625 PyObject * obj1 = 0 ;
17626 char * kwnames[] = {
17627 (char *) "self",(char *) "filterIndex", NULL
17628 };
17629
17630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17632 if (!SWIG_IsOK(res1)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17634 }
17635 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17636 ecode2 = SWIG_AsVal_int(obj1, &val2);
17637 if (!SWIG_IsOK(ecode2)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17639 }
17640 arg2 = static_cast< int >(val2);
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 (arg1)->SetFilterIndex(arg2);
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = SWIG_Py_Void();
17648 return resultobj;
17649 fail:
17650 return NULL;
17651 }
17652
17653
17654 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17655 PyObject *resultobj = 0;
17656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17657 wxString result;
17658 void *argp1 = 0 ;
17659 int res1 = 0 ;
17660 PyObject *swig_obj[1] ;
17661
17662 if (!args) SWIG_fail;
17663 swig_obj[0] = args;
17664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17665 if (!SWIG_IsOK(res1)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 }
17668 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = ((wxFileDialog const *)arg1)->GetMessage();
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676 #if wxUSE_UNICODE
17677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17678 #else
17679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17680 #endif
17681 }
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 PyObject *resultobj = 0;
17690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17691 wxString result;
17692 void *argp1 = 0 ;
17693 int res1 = 0 ;
17694 PyObject *swig_obj[1] ;
17695
17696 if (!args) SWIG_fail;
17697 swig_obj[0] = args;
17698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17699 if (!SWIG_IsOK(res1)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 }
17702 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = ((wxFileDialog const *)arg1)->GetPath();
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710 #if wxUSE_UNICODE
17711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17712 #else
17713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17714 #endif
17715 }
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *resultobj = 0;
17724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17725 wxString result;
17726 void *argp1 = 0 ;
17727 int res1 = 0 ;
17728 PyObject *swig_obj[1] ;
17729
17730 if (!args) SWIG_fail;
17731 swig_obj[0] = args;
17732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17735 }
17736 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = ((wxFileDialog const *)arg1)->GetDirectory();
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744 #if wxUSE_UNICODE
17745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17746 #else
17747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17748 #endif
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17757 PyObject *resultobj = 0;
17758 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17759 wxString result;
17760 void *argp1 = 0 ;
17761 int res1 = 0 ;
17762 PyObject *swig_obj[1] ;
17763
17764 if (!args) SWIG_fail;
17765 swig_obj[0] = args;
17766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17767 if (!SWIG_IsOK(res1)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17769 }
17770 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = ((wxFileDialog const *)arg1)->GetFilename();
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778 #if wxUSE_UNICODE
17779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17780 #else
17781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17782 #endif
17783 }
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17791 PyObject *resultobj = 0;
17792 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17793 wxString result;
17794 void *argp1 = 0 ;
17795 int res1 = 0 ;
17796 PyObject *swig_obj[1] ;
17797
17798 if (!args) SWIG_fail;
17799 swig_obj[0] = args;
17800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17801 if (!SWIG_IsOK(res1)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17803 }
17804 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 result = ((wxFileDialog const *)arg1)->GetWildcard();
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812 #if wxUSE_UNICODE
17813 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17814 #else
17815 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17816 #endif
17817 }
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17825 PyObject *resultobj = 0;
17826 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17827 int result;
17828 void *argp1 = 0 ;
17829 int res1 = 0 ;
17830 PyObject *swig_obj[1] ;
17831
17832 if (!args) SWIG_fail;
17833 swig_obj[0] = args;
17834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17835 if (!SWIG_IsOK(res1)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17837 }
17838 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 resultobj = SWIG_From_int(static_cast< int >(result));
17846 return resultobj;
17847 fail:
17848 return NULL;
17849 }
17850
17851
17852 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17853 PyObject *resultobj = 0;
17854 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17855 PyObject *result = 0 ;
17856 void *argp1 = 0 ;
17857 int res1 = 0 ;
17858 PyObject *swig_obj[1] ;
17859
17860 if (!args) SWIG_fail;
17861 swig_obj[0] = args;
17862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17863 if (!SWIG_IsOK(res1)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17865 }
17866 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = result;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17881 PyObject *resultobj = 0;
17882 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17883 PyObject *result = 0 ;
17884 void *argp1 = 0 ;
17885 int res1 = 0 ;
17886 PyObject *swig_obj[1] ;
17887
17888 if (!args) SWIG_fail;
17889 swig_obj[0] = args;
17890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17891 if (!SWIG_IsOK(res1)) {
17892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17893 }
17894 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = result;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17909 PyObject *obj;
17910 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17911 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17912 return SWIG_Py_Void();
17913 }
17914
17915 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17916 return SWIG_Python_InitShadowInstance(args);
17917 }
17918
17919 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj = 0;
17921 wxWindow *arg1 = (wxWindow *) 0 ;
17922 wxString *arg2 = 0 ;
17923 wxString *arg3 = 0 ;
17924 int arg4 = (int) 0 ;
17925 wxString *arg5 = (wxString *) NULL ;
17926 long arg6 = (long) wxCHOICEDLG_STYLE ;
17927 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17928 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17929 wxMultiChoiceDialog *result = 0 ;
17930 void *argp1 = 0 ;
17931 int res1 = 0 ;
17932 bool temp2 = false ;
17933 bool temp3 = false ;
17934 long val6 ;
17935 int ecode6 = 0 ;
17936 wxPoint temp7 ;
17937 PyObject * obj0 = 0 ;
17938 PyObject * obj1 = 0 ;
17939 PyObject * obj2 = 0 ;
17940 PyObject * obj3 = 0 ;
17941 PyObject * obj4 = 0 ;
17942 PyObject * obj5 = 0 ;
17943 char * kwnames[] = {
17944 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17945 };
17946
17947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17951 }
17952 arg1 = reinterpret_cast< wxWindow * >(argp1);
17953 {
17954 arg2 = wxString_in_helper(obj1);
17955 if (arg2 == NULL) SWIG_fail;
17956 temp2 = true;
17957 }
17958 {
17959 arg3 = wxString_in_helper(obj2);
17960 if (arg3 == NULL) SWIG_fail;
17961 temp3 = true;
17962 }
17963 if (obj3) {
17964 {
17965 arg4 = PyList_Size(obj3);
17966 arg5 = wxString_LIST_helper(obj3);
17967 if (arg5 == NULL) SWIG_fail;
17968 }
17969 }
17970 if (obj4) {
17971 ecode6 = SWIG_AsVal_long(obj4, &val6);
17972 if (!SWIG_IsOK(ecode6)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17974 }
17975 arg6 = static_cast< long >(val6);
17976 }
17977 if (obj5) {
17978 {
17979 arg7 = &temp7;
17980 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17981 }
17982 }
17983 {
17984 if (!wxPyCheckForApp()) SWIG_fail;
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17991 {
17992 if (temp2)
17993 delete arg2;
17994 }
17995 {
17996 if (temp3)
17997 delete arg3;
17998 }
17999 {
18000 if (arg5) delete [] arg5;
18001 }
18002 return resultobj;
18003 fail:
18004 {
18005 if (temp2)
18006 delete arg2;
18007 }
18008 {
18009 if (temp3)
18010 delete arg3;
18011 }
18012 {
18013 if (arg5) delete [] arg5;
18014 }
18015 return NULL;
18016 }
18017
18018
18019 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj = 0;
18021 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18022 wxArrayInt *arg2 = 0 ;
18023 void *argp1 = 0 ;
18024 int res1 = 0 ;
18025 bool temp2 = false ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 char * kwnames[] = {
18029 (char *) "self",(char *) "selections", NULL
18030 };
18031
18032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18034 if (!SWIG_IsOK(res1)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18036 }
18037 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18038 {
18039 if (! PySequence_Check(obj1)) {
18040 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18041 SWIG_fail;
18042 }
18043 arg2 = new wxArrayInt;
18044 temp2 = true;
18045 int i, len=PySequence_Length(obj1);
18046 for (i=0; i<len; i++) {
18047 PyObject* item = PySequence_GetItem(obj1, i);
18048 PyObject* number = PyNumber_Int(item);
18049 arg2->Add(PyInt_AS_LONG(number));
18050 Py_DECREF(item);
18051 Py_DECREF(number);
18052 }
18053 }
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 resultobj = SWIG_Py_Void();
18061 {
18062 if (temp2) delete arg2;
18063 }
18064 return resultobj;
18065 fail:
18066 {
18067 if (temp2) delete arg2;
18068 }
18069 return NULL;
18070 }
18071
18072
18073 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18074 PyObject *resultobj = 0;
18075 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18076 PyObject *result = 0 ;
18077 void *argp1 = 0 ;
18078 int res1 = 0 ;
18079 PyObject *swig_obj[1] ;
18080
18081 if (!args) SWIG_fail;
18082 swig_obj[0] = args;
18083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18084 if (!SWIG_IsOK(res1)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18086 }
18087 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = result;
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18102 PyObject *obj;
18103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18104 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18105 return SWIG_Py_Void();
18106 }
18107
18108 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18109 return SWIG_Python_InitShadowInstance(args);
18110 }
18111
18112 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj = 0;
18114 wxWindow *arg1 = (wxWindow *) 0 ;
18115 wxString *arg2 = 0 ;
18116 wxString *arg3 = 0 ;
18117 int arg4 ;
18118 wxString *arg5 = (wxString *) 0 ;
18119 long arg6 = (long) wxCHOICEDLG_STYLE ;
18120 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18121 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18122 wxSingleChoiceDialog *result = 0 ;
18123 void *argp1 = 0 ;
18124 int res1 = 0 ;
18125 bool temp2 = false ;
18126 bool temp3 = false ;
18127 long val6 ;
18128 int ecode6 = 0 ;
18129 wxPoint temp7 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 PyObject * obj2 = 0 ;
18133 PyObject * obj3 = 0 ;
18134 PyObject * obj4 = 0 ;
18135 PyObject * obj5 = 0 ;
18136 char * kwnames[] = {
18137 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18138 };
18139
18140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18142 if (!SWIG_IsOK(res1)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18144 }
18145 arg1 = reinterpret_cast< wxWindow * >(argp1);
18146 {
18147 arg2 = wxString_in_helper(obj1);
18148 if (arg2 == NULL) SWIG_fail;
18149 temp2 = true;
18150 }
18151 {
18152 arg3 = wxString_in_helper(obj2);
18153 if (arg3 == NULL) SWIG_fail;
18154 temp3 = true;
18155 }
18156 {
18157 arg4 = PyList_Size(obj3);
18158 arg5 = wxString_LIST_helper(obj3);
18159 if (arg5 == NULL) SWIG_fail;
18160 }
18161 if (obj4) {
18162 ecode6 = SWIG_AsVal_long(obj4, &val6);
18163 if (!SWIG_IsOK(ecode6)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18165 }
18166 arg6 = static_cast< long >(val6);
18167 }
18168 if (obj5) {
18169 {
18170 arg7 = &temp7;
18171 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18172 }
18173 }
18174 {
18175 if (!wxPyCheckForApp()) SWIG_fail;
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18182 {
18183 if (temp2)
18184 delete arg2;
18185 }
18186 {
18187 if (temp3)
18188 delete arg3;
18189 }
18190 {
18191 if (arg5) delete [] arg5;
18192 }
18193 return resultobj;
18194 fail:
18195 {
18196 if (temp2)
18197 delete arg2;
18198 }
18199 {
18200 if (temp3)
18201 delete arg3;
18202 }
18203 {
18204 if (arg5) delete [] arg5;
18205 }
18206 return NULL;
18207 }
18208
18209
18210 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18211 PyObject *resultobj = 0;
18212 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18213 int result;
18214 void *argp1 = 0 ;
18215 int res1 = 0 ;
18216 PyObject *swig_obj[1] ;
18217
18218 if (!args) SWIG_fail;
18219 swig_obj[0] = args;
18220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18221 if (!SWIG_IsOK(res1)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18223 }
18224 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (int)(arg1)->GetSelection();
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_From_int(static_cast< int >(result));
18232 return resultobj;
18233 fail:
18234 return NULL;
18235 }
18236
18237
18238 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18239 PyObject *resultobj = 0;
18240 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18241 wxString result;
18242 void *argp1 = 0 ;
18243 int res1 = 0 ;
18244 PyObject *swig_obj[1] ;
18245
18246 if (!args) SWIG_fail;
18247 swig_obj[0] = args;
18248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18249 if (!SWIG_IsOK(res1)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18251 }
18252 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (arg1)->GetStringSelection();
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 {
18260 #if wxUSE_UNICODE
18261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18262 #else
18263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18264 #endif
18265 }
18266 return resultobj;
18267 fail:
18268 return NULL;
18269 }
18270
18271
18272 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj = 0;
18274 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18275 int arg2 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 int val2 ;
18279 int ecode2 = 0 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char * kwnames[] = {
18283 (char *) "self",(char *) "sel", NULL
18284 };
18285
18286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18288 if (!SWIG_IsOK(res1)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18290 }
18291 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18292 ecode2 = SWIG_AsVal_int(obj1, &val2);
18293 if (!SWIG_IsOK(ecode2)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18295 }
18296 arg2 = static_cast< int >(val2);
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetSelection(arg2);
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_Py_Void();
18304 return resultobj;
18305 fail:
18306 return NULL;
18307 }
18308
18309
18310 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 PyObject *obj;
18312 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18313 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18314 return SWIG_Py_Void();
18315 }
18316
18317 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18318 return SWIG_Python_InitShadowInstance(args);
18319 }
18320
18321 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj = 0;
18323 wxWindow *arg1 = (wxWindow *) 0 ;
18324 wxString *arg2 = 0 ;
18325 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18326 wxString *arg3 = (wxString *) &arg3_defvalue ;
18327 wxString const &arg4_defvalue = wxPyEmptyString ;
18328 wxString *arg4 = (wxString *) &arg4_defvalue ;
18329 long arg5 = (long) wxTextEntryDialogStyle ;
18330 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18331 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18332 wxTextEntryDialog *result = 0 ;
18333 void *argp1 = 0 ;
18334 int res1 = 0 ;
18335 bool temp2 = false ;
18336 bool temp3 = false ;
18337 bool temp4 = false ;
18338 long val5 ;
18339 int ecode5 = 0 ;
18340 wxPoint temp6 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 PyObject * obj2 = 0 ;
18344 PyObject * obj3 = 0 ;
18345 PyObject * obj4 = 0 ;
18346 PyObject * obj5 = 0 ;
18347 char * kwnames[] = {
18348 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18349 };
18350
18351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18353 if (!SWIG_IsOK(res1)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18355 }
18356 arg1 = reinterpret_cast< wxWindow * >(argp1);
18357 {
18358 arg2 = wxString_in_helper(obj1);
18359 if (arg2 == NULL) SWIG_fail;
18360 temp2 = true;
18361 }
18362 if (obj2) {
18363 {
18364 arg3 = wxString_in_helper(obj2);
18365 if (arg3 == NULL) SWIG_fail;
18366 temp3 = true;
18367 }
18368 }
18369 if (obj3) {
18370 {
18371 arg4 = wxString_in_helper(obj3);
18372 if (arg4 == NULL) SWIG_fail;
18373 temp4 = true;
18374 }
18375 }
18376 if (obj4) {
18377 ecode5 = SWIG_AsVal_long(obj4, &val5);
18378 if (!SWIG_IsOK(ecode5)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18380 }
18381 arg5 = static_cast< long >(val5);
18382 }
18383 if (obj5) {
18384 {
18385 arg6 = &temp6;
18386 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18387 }
18388 }
18389 {
18390 if (!wxPyCheckForApp()) SWIG_fail;
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18397 {
18398 if (temp2)
18399 delete arg2;
18400 }
18401 {
18402 if (temp3)
18403 delete arg3;
18404 }
18405 {
18406 if (temp4)
18407 delete arg4;
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 (temp4)
18421 delete arg4;
18422 }
18423 return NULL;
18424 }
18425
18426
18427 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18428 PyObject *resultobj = 0;
18429 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18430 wxString result;
18431 void *argp1 = 0 ;
18432 int res1 = 0 ;
18433 PyObject *swig_obj[1] ;
18434
18435 if (!args) SWIG_fail;
18436 swig_obj[0] = args;
18437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18438 if (!SWIG_IsOK(res1)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18440 }
18441 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = (arg1)->GetValue();
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
18449 #if wxUSE_UNICODE
18450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18451 #else
18452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18453 #endif
18454 }
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj = 0;
18463 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18464 wxString *arg2 = 0 ;
18465 void *argp1 = 0 ;
18466 int res1 = 0 ;
18467 bool temp2 = false ;
18468 PyObject * obj0 = 0 ;
18469 PyObject * obj1 = 0 ;
18470 char * kwnames[] = {
18471 (char *) "self",(char *) "value", NULL
18472 };
18473
18474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18476 if (!SWIG_IsOK(res1)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18478 }
18479 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18480 {
18481 arg2 = wxString_in_helper(obj1);
18482 if (arg2 == NULL) SWIG_fail;
18483 temp2 = true;
18484 }
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 (arg1)->SetValue((wxString const &)*arg2);
18488 wxPyEndAllowThreads(__tstate);
18489 if (PyErr_Occurred()) SWIG_fail;
18490 }
18491 resultobj = SWIG_Py_Void();
18492 {
18493 if (temp2)
18494 delete arg2;
18495 }
18496 return resultobj;
18497 fail:
18498 {
18499 if (temp2)
18500 delete arg2;
18501 }
18502 return NULL;
18503 }
18504
18505
18506 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18507 PyObject *obj;
18508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18509 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18510 return SWIG_Py_Void();
18511 }
18512
18513 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18514 return SWIG_Python_InitShadowInstance(args);
18515 }
18516
18517 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18518 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18519 return 1;
18520 }
18521
18522
18523 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18524 PyObject *pyobj = 0;
18525
18526 {
18527 #if wxUSE_UNICODE
18528 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18529 #else
18530 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18531 #endif
18532 }
18533 return pyobj;
18534 }
18535
18536
18537 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(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 = wxPyGetPasswordFromUserPromptStr ;
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 wxPasswordEntryDialog *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 *) "value",(char *) "style",(char *) "pos", NULL
18565 };
18566
18567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",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_PasswordEntryDialog" "', 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_PasswordEntryDialog" "', 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
18607 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18612 {
18613 if (temp2)
18614 delete arg2;
18615 }
18616 {
18617 if (temp3)
18618 delete arg3;
18619 }
18620 {
18621 if (temp4)
18622 delete arg4;
18623 }
18624 return resultobj;
18625 fail:
18626 {
18627 if (temp2)
18628 delete arg2;
18629 }
18630 {
18631 if (temp3)
18632 delete arg3;
18633 }
18634 {
18635 if (temp4)
18636 delete arg4;
18637 }
18638 return NULL;
18639 }
18640
18641
18642 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18643 PyObject *obj;
18644 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18646 return SWIG_Py_Void();
18647 }
18648
18649 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18650 return SWIG_Python_InitShadowInstance(args);
18651 }
18652
18653 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj = 0;
18655 wxWindow *arg1 = (wxWindow *) 0 ;
18656 wxString *arg2 = 0 ;
18657 wxString *arg3 = 0 ;
18658 wxString *arg4 = 0 ;
18659 long arg5 ;
18660 long arg6 ;
18661 long arg7 ;
18662 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18663 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18664 wxNumberEntryDialog *result = 0 ;
18665 void *argp1 = 0 ;
18666 int res1 = 0 ;
18667 bool temp2 = false ;
18668 bool temp3 = false ;
18669 bool temp4 = false ;
18670 long val5 ;
18671 int ecode5 = 0 ;
18672 long val6 ;
18673 int ecode6 = 0 ;
18674 long val7 ;
18675 int ecode7 = 0 ;
18676 wxPoint temp8 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 PyObject * obj2 = 0 ;
18680 PyObject * obj3 = 0 ;
18681 PyObject * obj4 = 0 ;
18682 PyObject * obj5 = 0 ;
18683 PyObject * obj6 = 0 ;
18684 PyObject * obj7 = 0 ;
18685 char * kwnames[] = {
18686 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18687 };
18688
18689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18691 if (!SWIG_IsOK(res1)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18693 }
18694 arg1 = reinterpret_cast< wxWindow * >(argp1);
18695 {
18696 arg2 = wxString_in_helper(obj1);
18697 if (arg2 == NULL) SWIG_fail;
18698 temp2 = true;
18699 }
18700 {
18701 arg3 = wxString_in_helper(obj2);
18702 if (arg3 == NULL) SWIG_fail;
18703 temp3 = true;
18704 }
18705 {
18706 arg4 = wxString_in_helper(obj3);
18707 if (arg4 == NULL) SWIG_fail;
18708 temp4 = true;
18709 }
18710 ecode5 = SWIG_AsVal_long(obj4, &val5);
18711 if (!SWIG_IsOK(ecode5)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18713 }
18714 arg5 = static_cast< long >(val5);
18715 ecode6 = SWIG_AsVal_long(obj5, &val6);
18716 if (!SWIG_IsOK(ecode6)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18718 }
18719 arg6 = static_cast< long >(val6);
18720 ecode7 = SWIG_AsVal_long(obj6, &val7);
18721 if (!SWIG_IsOK(ecode7)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18723 }
18724 arg7 = static_cast< long >(val7);
18725 if (obj7) {
18726 {
18727 arg8 = &temp8;
18728 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18729 }
18730 }
18731 {
18732 if (!wxPyCheckForApp()) SWIG_fail;
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18739 {
18740 if (temp2)
18741 delete arg2;
18742 }
18743 {
18744 if (temp3)
18745 delete arg3;
18746 }
18747 {
18748 if (temp4)
18749 delete arg4;
18750 }
18751 return resultobj;
18752 fail:
18753 {
18754 if (temp2)
18755 delete arg2;
18756 }
18757 {
18758 if (temp3)
18759 delete arg3;
18760 }
18761 {
18762 if (temp4)
18763 delete arg4;
18764 }
18765 return NULL;
18766 }
18767
18768
18769 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18770 PyObject *resultobj = 0;
18771 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18772 long result;
18773 void *argp1 = 0 ;
18774 int res1 = 0 ;
18775 PyObject *swig_obj[1] ;
18776
18777 if (!args) SWIG_fail;
18778 swig_obj[0] = args;
18779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18780 if (!SWIG_IsOK(res1)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18782 }
18783 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (long)(arg1)->GetValue();
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 resultobj = SWIG_From_long(static_cast< long >(result));
18791 return resultobj;
18792 fail:
18793 return NULL;
18794 }
18795
18796
18797 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18798 PyObject *obj;
18799 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18800 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18801 return SWIG_Py_Void();
18802 }
18803
18804 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18805 return SWIG_Python_InitShadowInstance(args);
18806 }
18807
18808 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18809 PyObject *resultobj = 0;
18810 wxFontData *result = 0 ;
18811
18812 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (wxFontData *)new wxFontData();
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18820 return resultobj;
18821 fail:
18822 return NULL;
18823 }
18824
18825
18826 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18827 PyObject *resultobj = 0;
18828 wxFontData *arg1 = (wxFontData *) 0 ;
18829 void *argp1 = 0 ;
18830 int res1 = 0 ;
18831 PyObject *swig_obj[1] ;
18832
18833 if (!args) SWIG_fail;
18834 swig_obj[0] = args;
18835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18836 if (!SWIG_IsOK(res1)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18838 }
18839 arg1 = reinterpret_cast< wxFontData * >(argp1);
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 delete arg1;
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_Py_Void();
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj = 0;
18856 wxFontData *arg1 = (wxFontData *) 0 ;
18857 bool arg2 ;
18858 void *argp1 = 0 ;
18859 int res1 = 0 ;
18860 bool val2 ;
18861 int ecode2 = 0 ;
18862 PyObject * obj0 = 0 ;
18863 PyObject * obj1 = 0 ;
18864 char * kwnames[] = {
18865 (char *) "self",(char *) "enable", NULL
18866 };
18867
18868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18870 if (!SWIG_IsOK(res1)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 }
18873 arg1 = reinterpret_cast< wxFontData * >(argp1);
18874 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18875 if (!SWIG_IsOK(ecode2)) {
18876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18877 }
18878 arg2 = static_cast< bool >(val2);
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->EnableEffects(arg2);
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 resultobj = SWIG_Py_Void();
18886 return resultobj;
18887 fail:
18888 return NULL;
18889 }
18890
18891
18892 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18893 PyObject *resultobj = 0;
18894 wxFontData *arg1 = (wxFontData *) 0 ;
18895 bool result;
18896 void *argp1 = 0 ;
18897 int res1 = 0 ;
18898 PyObject *swig_obj[1] ;
18899
18900 if (!args) SWIG_fail;
18901 swig_obj[0] = args;
18902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18903 if (!SWIG_IsOK(res1)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18905 }
18906 arg1 = reinterpret_cast< wxFontData * >(argp1);
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 result = (bool)(arg1)->GetAllowSymbols();
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 {
18914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18915 }
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18923 PyObject *resultobj = 0;
18924 wxFontData *arg1 = (wxFontData *) 0 ;
18925 wxColour result;
18926 void *argp1 = 0 ;
18927 int res1 = 0 ;
18928 PyObject *swig_obj[1] ;
18929
18930 if (!args) SWIG_fail;
18931 swig_obj[0] = args;
18932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18933 if (!SWIG_IsOK(res1)) {
18934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18935 }
18936 arg1 = reinterpret_cast< wxFontData * >(argp1);
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (arg1)->GetColour();
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18944 return resultobj;
18945 fail:
18946 return NULL;
18947 }
18948
18949
18950 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18951 PyObject *resultobj = 0;
18952 wxFontData *arg1 = (wxFontData *) 0 ;
18953 wxFont result;
18954 void *argp1 = 0 ;
18955 int res1 = 0 ;
18956 PyObject *swig_obj[1] ;
18957
18958 if (!args) SWIG_fail;
18959 swig_obj[0] = args;
18960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18961 if (!SWIG_IsOK(res1)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 }
18964 arg1 = reinterpret_cast< wxFontData * >(argp1);
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (arg1)->GetChosenFont();
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18979 PyObject *resultobj = 0;
18980 wxFontData *arg1 = (wxFontData *) 0 ;
18981 bool result;
18982 void *argp1 = 0 ;
18983 int res1 = 0 ;
18984 PyObject *swig_obj[1] ;
18985
18986 if (!args) SWIG_fail;
18987 swig_obj[0] = args;
18988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18989 if (!SWIG_IsOK(res1)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18991 }
18992 arg1 = reinterpret_cast< wxFontData * >(argp1);
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = (bool)(arg1)->GetEnableEffects();
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19001 }
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19009 PyObject *resultobj = 0;
19010 wxFontData *arg1 = (wxFontData *) 0 ;
19011 wxFont result;
19012 void *argp1 = 0 ;
19013 int res1 = 0 ;
19014 PyObject *swig_obj[1] ;
19015
19016 if (!args) SWIG_fail;
19017 swig_obj[0] = args;
19018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19019 if (!SWIG_IsOK(res1)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 }
19022 arg1 = reinterpret_cast< wxFontData * >(argp1);
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (arg1)->GetInitialFont();
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19037 PyObject *resultobj = 0;
19038 wxFontData *arg1 = (wxFontData *) 0 ;
19039 bool result;
19040 void *argp1 = 0 ;
19041 int res1 = 0 ;
19042 PyObject *swig_obj[1] ;
19043
19044 if (!args) SWIG_fail;
19045 swig_obj[0] = args;
19046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19047 if (!SWIG_IsOK(res1)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19049 }
19050 arg1 = reinterpret_cast< wxFontData * >(argp1);
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (bool)(arg1)->GetShowHelp();
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 {
19058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19059 }
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj = 0;
19068 wxFontData *arg1 = (wxFontData *) 0 ;
19069 bool arg2 ;
19070 void *argp1 = 0 ;
19071 int res1 = 0 ;
19072 bool val2 ;
19073 int ecode2 = 0 ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char * kwnames[] = {
19077 (char *) "self",(char *) "allowSymbols", NULL
19078 };
19079
19080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19082 if (!SWIG_IsOK(res1)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19084 }
19085 arg1 = reinterpret_cast< wxFontData * >(argp1);
19086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19087 if (!SWIG_IsOK(ecode2)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19089 }
19090 arg2 = static_cast< bool >(val2);
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 (arg1)->SetAllowSymbols(arg2);
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 resultobj = SWIG_Py_Void();
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj = 0;
19106 wxFontData *arg1 = (wxFontData *) 0 ;
19107 wxFont *arg2 = 0 ;
19108 void *argp1 = 0 ;
19109 int res1 = 0 ;
19110 void *argp2 = 0 ;
19111 int res2 = 0 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char * kwnames[] = {
19115 (char *) "self",(char *) "font", NULL
19116 };
19117
19118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19120 if (!SWIG_IsOK(res1)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19122 }
19123 arg1 = reinterpret_cast< wxFontData * >(argp1);
19124 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19125 if (!SWIG_IsOK(res2)) {
19126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19127 }
19128 if (!argp2) {
19129 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19130 }
19131 arg2 = reinterpret_cast< wxFont * >(argp2);
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 (arg1)->SetChosenFont((wxFont const &)*arg2);
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
19138 resultobj = SWIG_Py_Void();
19139 return resultobj;
19140 fail:
19141 return NULL;
19142 }
19143
19144
19145 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19146 PyObject *resultobj = 0;
19147 wxFontData *arg1 = (wxFontData *) 0 ;
19148 wxColour *arg2 = 0 ;
19149 void *argp1 = 0 ;
19150 int res1 = 0 ;
19151 wxColour temp2 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 char * kwnames[] = {
19155 (char *) "self",(char *) "colour", NULL
19156 };
19157
19158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19160 if (!SWIG_IsOK(res1)) {
19161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19162 }
19163 arg1 = reinterpret_cast< wxFontData * >(argp1);
19164 {
19165 arg2 = &temp2;
19166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19167 }
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->SetColour((wxColour const &)*arg2);
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = SWIG_Py_Void();
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj = 0;
19183 wxFontData *arg1 = (wxFontData *) 0 ;
19184 wxFont *arg2 = 0 ;
19185 void *argp1 = 0 ;
19186 int res1 = 0 ;
19187 void *argp2 = 0 ;
19188 int res2 = 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char * kwnames[] = {
19192 (char *) "self",(char *) "font", NULL
19193 };
19194
19195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19197 if (!SWIG_IsOK(res1)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19199 }
19200 arg1 = reinterpret_cast< wxFontData * >(argp1);
19201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19202 if (!SWIG_IsOK(res2)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19204 }
19205 if (!argp2) {
19206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19207 }
19208 arg2 = reinterpret_cast< wxFont * >(argp2);
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->SetInitialFont((wxFont const &)*arg2);
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 resultobj = SWIG_Py_Void();
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj = 0;
19224 wxFontData *arg1 = (wxFontData *) 0 ;
19225 int arg2 ;
19226 int arg3 ;
19227 void *argp1 = 0 ;
19228 int res1 = 0 ;
19229 int val2 ;
19230 int ecode2 = 0 ;
19231 int val3 ;
19232 int ecode3 = 0 ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 PyObject * obj2 = 0 ;
19236 char * kwnames[] = {
19237 (char *) "self",(char *) "min",(char *) "max", NULL
19238 };
19239
19240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19242 if (!SWIG_IsOK(res1)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19244 }
19245 arg1 = reinterpret_cast< wxFontData * >(argp1);
19246 ecode2 = SWIG_AsVal_int(obj1, &val2);
19247 if (!SWIG_IsOK(ecode2)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19249 }
19250 arg2 = static_cast< int >(val2);
19251 ecode3 = SWIG_AsVal_int(obj2, &val3);
19252 if (!SWIG_IsOK(ecode3)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19254 }
19255 arg3 = static_cast< int >(val3);
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 (arg1)->SetRange(arg2,arg3);
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 resultobj = SWIG_Py_Void();
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj = 0;
19271 wxFontData *arg1 = (wxFontData *) 0 ;
19272 bool arg2 ;
19273 void *argp1 = 0 ;
19274 int res1 = 0 ;
19275 bool val2 ;
19276 int ecode2 = 0 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char * kwnames[] = {
19280 (char *) "self",(char *) "showHelp", NULL
19281 };
19282
19283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19285 if (!SWIG_IsOK(res1)) {
19286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19287 }
19288 arg1 = reinterpret_cast< wxFontData * >(argp1);
19289 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19290 if (!SWIG_IsOK(ecode2)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19292 }
19293 arg2 = static_cast< bool >(val2);
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 (arg1)->SetShowHelp(arg2);
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = SWIG_Py_Void();
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19308 PyObject *obj;
19309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19310 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19311 return SWIG_Py_Void();
19312 }
19313
19314 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19315 return SWIG_Python_InitShadowInstance(args);
19316 }
19317
19318 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj = 0;
19320 wxWindow *arg1 = (wxWindow *) 0 ;
19321 wxFontData *arg2 = 0 ;
19322 wxFontDialog *result = 0 ;
19323 void *argp1 = 0 ;
19324 int res1 = 0 ;
19325 void *argp2 = 0 ;
19326 int res2 = 0 ;
19327 PyObject * obj0 = 0 ;
19328 PyObject * obj1 = 0 ;
19329 char * kwnames[] = {
19330 (char *) "parent",(char *) "data", NULL
19331 };
19332
19333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19335 if (!SWIG_IsOK(res1)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19337 }
19338 arg1 = reinterpret_cast< wxWindow * >(argp1);
19339 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19340 if (!SWIG_IsOK(res2)) {
19341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19342 }
19343 if (!argp2) {
19344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19345 }
19346 arg2 = reinterpret_cast< wxFontData * >(argp2);
19347 {
19348 if (!wxPyCheckForApp()) SWIG_fail;
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19362 PyObject *resultobj = 0;
19363 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19364 wxFontData *result = 0 ;
19365 void *argp1 = 0 ;
19366 int res1 = 0 ;
19367 PyObject *swig_obj[1] ;
19368
19369 if (!args) SWIG_fail;
19370 swig_obj[0] = args;
19371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19372 if (!SWIG_IsOK(res1)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19374 }
19375 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 {
19379 wxFontData &_result_ref = (arg1)->GetFontData();
19380 result = (wxFontData *) &_result_ref;
19381 }
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19393 PyObject *obj;
19394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19396 return SWIG_Py_Void();
19397 }
19398
19399 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19400 return SWIG_Python_InitShadowInstance(args);
19401 }
19402
19403 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj = 0;
19405 wxWindow *arg1 = (wxWindow *) NULL ;
19406 wxFont const &arg2_defvalue = wxNullFont ;
19407 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19408 wxString const &arg3_defvalue = wxPyEmptyString ;
19409 wxString *arg3 = (wxString *) &arg3_defvalue ;
19410 wxFont result;
19411 void *argp1 = 0 ;
19412 int res1 = 0 ;
19413 void *argp2 = 0 ;
19414 int res2 = 0 ;
19415 bool temp3 = false ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj2 = 0 ;
19419 char * kwnames[] = {
19420 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19421 };
19422
19423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19424 if (obj0) {
19425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19426 if (!SWIG_IsOK(res1)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19428 }
19429 arg1 = reinterpret_cast< wxWindow * >(argp1);
19430 }
19431 if (obj1) {
19432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19433 if (!SWIG_IsOK(res2)) {
19434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19435 }
19436 if (!argp2) {
19437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19438 }
19439 arg2 = reinterpret_cast< wxFont * >(argp2);
19440 }
19441 if (obj2) {
19442 {
19443 arg3 = wxString_in_helper(obj2);
19444 if (arg3 == NULL) SWIG_fail;
19445 temp3 = true;
19446 }
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19455 {
19456 if (temp3)
19457 delete arg3;
19458 }
19459 return resultobj;
19460 fail:
19461 {
19462 if (temp3)
19463 delete arg3;
19464 }
19465 return NULL;
19466 }
19467
19468
19469 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj = 0;
19471 wxWindow *arg1 = (wxWindow *) 0 ;
19472 wxString *arg2 = 0 ;
19473 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19474 wxString *arg3 = (wxString *) &arg3_defvalue ;
19475 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19478 wxMessageDialog *result = 0 ;
19479 void *argp1 = 0 ;
19480 int res1 = 0 ;
19481 bool temp2 = false ;
19482 bool temp3 = false ;
19483 long val4 ;
19484 int ecode4 = 0 ;
19485 wxPoint temp5 ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 PyObject * obj2 = 0 ;
19489 PyObject * obj3 = 0 ;
19490 PyObject * obj4 = 0 ;
19491 char * kwnames[] = {
19492 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19493 };
19494
19495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19497 if (!SWIG_IsOK(res1)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19499 }
19500 arg1 = reinterpret_cast< wxWindow * >(argp1);
19501 {
19502 arg2 = wxString_in_helper(obj1);
19503 if (arg2 == NULL) SWIG_fail;
19504 temp2 = true;
19505 }
19506 if (obj2) {
19507 {
19508 arg3 = wxString_in_helper(obj2);
19509 if (arg3 == NULL) SWIG_fail;
19510 temp3 = true;
19511 }
19512 }
19513 if (obj3) {
19514 ecode4 = SWIG_AsVal_long(obj3, &val4);
19515 if (!SWIG_IsOK(ecode4)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19517 }
19518 arg4 = static_cast< long >(val4);
19519 }
19520 if (obj4) {
19521 {
19522 arg5 = &temp5;
19523 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19524 }
19525 }
19526 {
19527 if (!wxPyCheckForApp()) SWIG_fail;
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19534 {
19535 if (temp2)
19536 delete arg2;
19537 }
19538 {
19539 if (temp3)
19540 delete arg3;
19541 }
19542 return resultobj;
19543 fail:
19544 {
19545 if (temp2)
19546 delete arg2;
19547 }
19548 {
19549 if (temp3)
19550 delete arg3;
19551 }
19552 return NULL;
19553 }
19554
19555
19556 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19557 PyObject *obj;
19558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19559 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19560 return SWIG_Py_Void();
19561 }
19562
19563 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19564 return SWIG_Python_InitShadowInstance(args);
19565 }
19566
19567 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj = 0;
19569 wxString *arg1 = 0 ;
19570 wxString *arg2 = 0 ;
19571 int arg3 = (int) 100 ;
19572 wxWindow *arg4 = (wxWindow *) NULL ;
19573 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19574 wxProgressDialog *result = 0 ;
19575 bool temp1 = false ;
19576 bool temp2 = false ;
19577 int val3 ;
19578 int ecode3 = 0 ;
19579 void *argp4 = 0 ;
19580 int res4 = 0 ;
19581 int val5 ;
19582 int ecode5 = 0 ;
19583 PyObject * obj0 = 0 ;
19584 PyObject * obj1 = 0 ;
19585 PyObject * obj2 = 0 ;
19586 PyObject * obj3 = 0 ;
19587 PyObject * obj4 = 0 ;
19588 char * kwnames[] = {
19589 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19590 };
19591
19592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19593 {
19594 arg1 = wxString_in_helper(obj0);
19595 if (arg1 == NULL) SWIG_fail;
19596 temp1 = true;
19597 }
19598 {
19599 arg2 = wxString_in_helper(obj1);
19600 if (arg2 == NULL) SWIG_fail;
19601 temp2 = true;
19602 }
19603 if (obj2) {
19604 ecode3 = SWIG_AsVal_int(obj2, &val3);
19605 if (!SWIG_IsOK(ecode3)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19607 }
19608 arg3 = static_cast< int >(val3);
19609 }
19610 if (obj3) {
19611 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19612 if (!SWIG_IsOK(res4)) {
19613 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19614 }
19615 arg4 = reinterpret_cast< wxWindow * >(argp4);
19616 }
19617 if (obj4) {
19618 ecode5 = SWIG_AsVal_int(obj4, &val5);
19619 if (!SWIG_IsOK(ecode5)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19621 }
19622 arg5 = static_cast< int >(val5);
19623 }
19624 {
19625 if (!wxPyCheckForApp()) SWIG_fail;
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19632 {
19633 if (temp1)
19634 delete arg1;
19635 }
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return resultobj;
19641 fail:
19642 {
19643 if (temp1)
19644 delete arg1;
19645 }
19646 {
19647 if (temp2)
19648 delete arg2;
19649 }
19650 return NULL;
19651 }
19652
19653
19654 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj = 0;
19656 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19657 int arg2 ;
19658 wxString const &arg3_defvalue = wxPyEmptyString ;
19659 wxString *arg3 = (wxString *) &arg3_defvalue ;
19660 bool *arg4 = (bool *) 0 ;
19661 bool result;
19662 void *argp1 = 0 ;
19663 int res1 = 0 ;
19664 int val2 ;
19665 int ecode2 = 0 ;
19666 bool temp3 = false ;
19667 bool temp4 ;
19668 int res4 = SWIG_TMPOBJ ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 PyObject * obj2 = 0 ;
19672 char * kwnames[] = {
19673 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19674 };
19675
19676 arg4 = &temp4;
19677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19679 if (!SWIG_IsOK(res1)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19681 }
19682 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19683 ecode2 = SWIG_AsVal_int(obj1, &val2);
19684 if (!SWIG_IsOK(ecode2)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19686 }
19687 arg2 = static_cast< int >(val2);
19688 if (obj2) {
19689 {
19690 arg3 = wxString_in_helper(obj2);
19691 if (arg3 == NULL) SWIG_fail;
19692 temp3 = true;
19693 }
19694 }
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19703 }
19704 if (SWIG_IsTmpObj(res4)) {
19705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19706 } else {
19707 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19709 }
19710 {
19711 if (temp3)
19712 delete arg3;
19713 }
19714 return resultobj;
19715 fail:
19716 {
19717 if (temp3)
19718 delete arg3;
19719 }
19720 return NULL;
19721 }
19722
19723
19724 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19725 PyObject *resultobj = 0;
19726 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19727 void *argp1 = 0 ;
19728 int res1 = 0 ;
19729 PyObject *swig_obj[1] ;
19730
19731 if (!args) SWIG_fail;
19732 swig_obj[0] = args;
19733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19734 if (!SWIG_IsOK(res1)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19736 }
19737 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 (arg1)->Resume();
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 resultobj = SWIG_Py_Void();
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19752 PyObject *obj;
19753 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19754 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19755 return SWIG_Py_Void();
19756 }
19757
19758 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19759 return SWIG_Python_InitShadowInstance(args);
19760 }
19761
19762 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj = 0;
19764 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19765 int arg2 = (int) 0 ;
19766 wxFindDialogEvent *result = 0 ;
19767 int val1 ;
19768 int ecode1 = 0 ;
19769 int val2 ;
19770 int ecode2 = 0 ;
19771 PyObject * obj0 = 0 ;
19772 PyObject * obj1 = 0 ;
19773 char * kwnames[] = {
19774 (char *) "commandType",(char *) "id", NULL
19775 };
19776
19777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19778 if (obj0) {
19779 ecode1 = SWIG_AsVal_int(obj0, &val1);
19780 if (!SWIG_IsOK(ecode1)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19782 }
19783 arg1 = static_cast< wxEventType >(val1);
19784 }
19785 if (obj1) {
19786 ecode2 = SWIG_AsVal_int(obj1, &val2);
19787 if (!SWIG_IsOK(ecode2)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19789 }
19790 arg2 = static_cast< int >(val2);
19791 }
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19806 PyObject *resultobj = 0;
19807 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19808 int result;
19809 void *argp1 = 0 ;
19810 int res1 = 0 ;
19811 PyObject *swig_obj[1] ;
19812
19813 if (!args) SWIG_fail;
19814 swig_obj[0] = args;
19815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19816 if (!SWIG_IsOK(res1)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19818 }
19819 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (int)(arg1)->GetFlags();
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = SWIG_From_int(static_cast< int >(result));
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19834 PyObject *resultobj = 0;
19835 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19836 wxString *result = 0 ;
19837 void *argp1 = 0 ;
19838 int res1 = 0 ;
19839 PyObject *swig_obj[1] ;
19840
19841 if (!args) SWIG_fail;
19842 swig_obj[0] = args;
19843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19844 if (!SWIG_IsOK(res1)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19846 }
19847 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 {
19851 wxString const &_result_ref = (arg1)->GetFindString();
19852 result = (wxString *) &_result_ref;
19853 }
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858 #if wxUSE_UNICODE
19859 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19860 #else
19861 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19862 #endif
19863 }
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19871 PyObject *resultobj = 0;
19872 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19873 wxString *result = 0 ;
19874 void *argp1 = 0 ;
19875 int res1 = 0 ;
19876 PyObject *swig_obj[1] ;
19877
19878 if (!args) SWIG_fail;
19879 swig_obj[0] = args;
19880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19881 if (!SWIG_IsOK(res1)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19883 }
19884 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 {
19888 wxString const &_result_ref = (arg1)->GetReplaceString();
19889 result = (wxString *) &_result_ref;
19890 }
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 {
19895 #if wxUSE_UNICODE
19896 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19897 #else
19898 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19899 #endif
19900 }
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19908 PyObject *resultobj = 0;
19909 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19910 wxFindReplaceDialog *result = 0 ;
19911 void *argp1 = 0 ;
19912 int res1 = 0 ;
19913 PyObject *swig_obj[1] ;
19914
19915 if (!args) SWIG_fail;
19916 swig_obj[0] = args;
19917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19918 if (!SWIG_IsOK(res1)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19920 }
19921 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19929 return resultobj;
19930 fail:
19931 return NULL;
19932 }
19933
19934
19935 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj = 0;
19937 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19938 int arg2 ;
19939 void *argp1 = 0 ;
19940 int res1 = 0 ;
19941 int val2 ;
19942 int ecode2 = 0 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char * kwnames[] = {
19946 (char *) "self",(char *) "flags", NULL
19947 };
19948
19949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19951 if (!SWIG_IsOK(res1)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19953 }
19954 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19955 ecode2 = SWIG_AsVal_int(obj1, &val2);
19956 if (!SWIG_IsOK(ecode2)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19958 }
19959 arg2 = static_cast< int >(val2);
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 (arg1)->SetFlags(arg2);
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 resultobj = SWIG_Py_Void();
19967 return resultobj;
19968 fail:
19969 return NULL;
19970 }
19971
19972
19973 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj = 0;
19975 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19976 wxString *arg2 = 0 ;
19977 void *argp1 = 0 ;
19978 int res1 = 0 ;
19979 bool temp2 = false ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char * kwnames[] = {
19983 (char *) "self",(char *) "str", NULL
19984 };
19985
19986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19988 if (!SWIG_IsOK(res1)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19990 }
19991 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19992 {
19993 arg2 = wxString_in_helper(obj1);
19994 if (arg2 == NULL) SWIG_fail;
19995 temp2 = true;
19996 }
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 (arg1)->SetFindString((wxString const &)*arg2);
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 resultobj = SWIG_Py_Void();
20004 {
20005 if (temp2)
20006 delete arg2;
20007 }
20008 return resultobj;
20009 fail:
20010 {
20011 if (temp2)
20012 delete arg2;
20013 }
20014 return NULL;
20015 }
20016
20017
20018 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj = 0;
20020 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20021 wxString *arg2 = 0 ;
20022 void *argp1 = 0 ;
20023 int res1 = 0 ;
20024 bool temp2 = false ;
20025 PyObject * obj0 = 0 ;
20026 PyObject * obj1 = 0 ;
20027 char * kwnames[] = {
20028 (char *) "self",(char *) "str", NULL
20029 };
20030
20031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20033 if (!SWIG_IsOK(res1)) {
20034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20035 }
20036 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20037 {
20038 arg2 = wxString_in_helper(obj1);
20039 if (arg2 == NULL) SWIG_fail;
20040 temp2 = true;
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 (arg1)->SetReplaceString((wxString const &)*arg2);
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 resultobj = SWIG_Py_Void();
20049 {
20050 if (temp2)
20051 delete arg2;
20052 }
20053 return resultobj;
20054 fail:
20055 {
20056 if (temp2)
20057 delete arg2;
20058 }
20059 return NULL;
20060 }
20061
20062
20063 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20064 PyObject *obj;
20065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20066 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20067 return SWIG_Py_Void();
20068 }
20069
20070 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20071 return SWIG_Python_InitShadowInstance(args);
20072 }
20073
20074 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj = 0;
20076 int arg1 = (int) 0 ;
20077 wxFindReplaceData *result = 0 ;
20078 int val1 ;
20079 int ecode1 = 0 ;
20080 PyObject * obj0 = 0 ;
20081 char * kwnames[] = {
20082 (char *) "flags", NULL
20083 };
20084
20085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20086 if (obj0) {
20087 ecode1 = SWIG_AsVal_int(obj0, &val1);
20088 if (!SWIG_IsOK(ecode1)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20090 }
20091 arg1 = static_cast< int >(val1);
20092 }
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20107 PyObject *resultobj = 0;
20108 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20109 void *argp1 = 0 ;
20110 int res1 = 0 ;
20111 PyObject *swig_obj[1] ;
20112
20113 if (!args) SWIG_fail;
20114 swig_obj[0] = args;
20115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20116 if (!SWIG_IsOK(res1)) {
20117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20118 }
20119 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 delete arg1;
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_Py_Void();
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20135 PyObject *resultobj = 0;
20136 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20137 wxString *result = 0 ;
20138 void *argp1 = 0 ;
20139 int res1 = 0 ;
20140 PyObject *swig_obj[1] ;
20141
20142 if (!args) SWIG_fail;
20143 swig_obj[0] = args;
20144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20145 if (!SWIG_IsOK(res1)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20147 }
20148 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 {
20152 wxString const &_result_ref = (arg1)->GetFindString();
20153 result = (wxString *) &_result_ref;
20154 }
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 {
20159 #if wxUSE_UNICODE
20160 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20161 #else
20162 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20163 #endif
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20172 PyObject *resultobj = 0;
20173 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20174 wxString *result = 0 ;
20175 void *argp1 = 0 ;
20176 int res1 = 0 ;
20177 PyObject *swig_obj[1] ;
20178
20179 if (!args) SWIG_fail;
20180 swig_obj[0] = args;
20181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20182 if (!SWIG_IsOK(res1)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20184 }
20185 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 {
20189 wxString const &_result_ref = (arg1)->GetReplaceString();
20190 result = (wxString *) &_result_ref;
20191 }
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 #if wxUSE_UNICODE
20197 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20198 #else
20199 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20200 #endif
20201 }
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20209 PyObject *resultobj = 0;
20210 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20211 int result;
20212 void *argp1 = 0 ;
20213 int res1 = 0 ;
20214 PyObject *swig_obj[1] ;
20215
20216 if (!args) SWIG_fail;
20217 swig_obj[0] = args;
20218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20219 if (!SWIG_IsOK(res1)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20221 }
20222 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (int)(arg1)->GetFlags();
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_From_int(static_cast< int >(result));
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj = 0;
20238 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20239 int arg2 ;
20240 void *argp1 = 0 ;
20241 int res1 = 0 ;
20242 int val2 ;
20243 int ecode2 = 0 ;
20244 PyObject * obj0 = 0 ;
20245 PyObject * obj1 = 0 ;
20246 char * kwnames[] = {
20247 (char *) "self",(char *) "flags", NULL
20248 };
20249
20250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20252 if (!SWIG_IsOK(res1)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20254 }
20255 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20256 ecode2 = SWIG_AsVal_int(obj1, &val2);
20257 if (!SWIG_IsOK(ecode2)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20259 }
20260 arg2 = static_cast< int >(val2);
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 (arg1)->SetFlags(arg2);
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 resultobj = SWIG_Py_Void();
20268 return resultobj;
20269 fail:
20270 return NULL;
20271 }
20272
20273
20274 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj = 0;
20276 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20277 wxString *arg2 = 0 ;
20278 void *argp1 = 0 ;
20279 int res1 = 0 ;
20280 bool temp2 = false ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char * kwnames[] = {
20284 (char *) "self",(char *) "str", NULL
20285 };
20286
20287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20289 if (!SWIG_IsOK(res1)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20291 }
20292 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20293 {
20294 arg2 = wxString_in_helper(obj1);
20295 if (arg2 == NULL) SWIG_fail;
20296 temp2 = true;
20297 }
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 (arg1)->SetFindString((wxString const &)*arg2);
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 resultobj = SWIG_Py_Void();
20305 {
20306 if (temp2)
20307 delete arg2;
20308 }
20309 return resultobj;
20310 fail:
20311 {
20312 if (temp2)
20313 delete arg2;
20314 }
20315 return NULL;
20316 }
20317
20318
20319 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj = 0;
20321 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20322 wxString *arg2 = 0 ;
20323 void *argp1 = 0 ;
20324 int res1 = 0 ;
20325 bool temp2 = false ;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 char * kwnames[] = {
20329 (char *) "self",(char *) "str", NULL
20330 };
20331
20332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20334 if (!SWIG_IsOK(res1)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20336 }
20337 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20338 {
20339 arg2 = wxString_in_helper(obj1);
20340 if (arg2 == NULL) SWIG_fail;
20341 temp2 = true;
20342 }
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 (arg1)->SetReplaceString((wxString const &)*arg2);
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = SWIG_Py_Void();
20350 {
20351 if (temp2)
20352 delete arg2;
20353 }
20354 return resultobj;
20355 fail:
20356 {
20357 if (temp2)
20358 delete arg2;
20359 }
20360 return NULL;
20361 }
20362
20363
20364 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20365 PyObject *obj;
20366 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20367 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20368 return SWIG_Py_Void();
20369 }
20370
20371 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20372 return SWIG_Python_InitShadowInstance(args);
20373 }
20374
20375 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj = 0;
20377 wxWindow *arg1 = (wxWindow *) 0 ;
20378 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20379 wxString *arg3 = 0 ;
20380 int arg4 = (int) 0 ;
20381 wxFindReplaceDialog *result = 0 ;
20382 void *argp1 = 0 ;
20383 int res1 = 0 ;
20384 void *argp2 = 0 ;
20385 int res2 = 0 ;
20386 bool temp3 = false ;
20387 int val4 ;
20388 int ecode4 = 0 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 PyObject * obj2 = 0 ;
20392 PyObject * obj3 = 0 ;
20393 char * kwnames[] = {
20394 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20395 };
20396
20397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20399 if (!SWIG_IsOK(res1)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20401 }
20402 arg1 = reinterpret_cast< wxWindow * >(argp1);
20403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20404 if (!SWIG_IsOK(res2)) {
20405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20406 }
20407 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20408 {
20409 arg3 = wxString_in_helper(obj2);
20410 if (arg3 == NULL) SWIG_fail;
20411 temp3 = true;
20412 }
20413 if (obj3) {
20414 ecode4 = SWIG_AsVal_int(obj3, &val4);
20415 if (!SWIG_IsOK(ecode4)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20417 }
20418 arg4 = static_cast< int >(val4);
20419 }
20420 {
20421 if (!wxPyCheckForApp()) SWIG_fail;
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20428 {
20429 if (temp3)
20430 delete arg3;
20431 }
20432 return resultobj;
20433 fail:
20434 {
20435 if (temp3)
20436 delete arg3;
20437 }
20438 return NULL;
20439 }
20440
20441
20442 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20443 PyObject *resultobj = 0;
20444 wxFindReplaceDialog *result = 0 ;
20445
20446 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20447 {
20448 if (!wxPyCheckForApp()) SWIG_fail;
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj = 0;
20463 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20464 wxWindow *arg2 = (wxWindow *) 0 ;
20465 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20466 wxString *arg4 = 0 ;
20467 int arg5 = (int) 0 ;
20468 bool result;
20469 void *argp1 = 0 ;
20470 int res1 = 0 ;
20471 void *argp2 = 0 ;
20472 int res2 = 0 ;
20473 void *argp3 = 0 ;
20474 int res3 = 0 ;
20475 bool temp4 = false ;
20476 int val5 ;
20477 int ecode5 = 0 ;
20478 PyObject * obj0 = 0 ;
20479 PyObject * obj1 = 0 ;
20480 PyObject * obj2 = 0 ;
20481 PyObject * obj3 = 0 ;
20482 PyObject * obj4 = 0 ;
20483 char * kwnames[] = {
20484 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20485 };
20486
20487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20489 if (!SWIG_IsOK(res1)) {
20490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20491 }
20492 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20494 if (!SWIG_IsOK(res2)) {
20495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20496 }
20497 arg2 = reinterpret_cast< wxWindow * >(argp2);
20498 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20499 if (!SWIG_IsOK(res3)) {
20500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20501 }
20502 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20503 {
20504 arg4 = wxString_in_helper(obj3);
20505 if (arg4 == NULL) SWIG_fail;
20506 temp4 = true;
20507 }
20508 if (obj4) {
20509 ecode5 = SWIG_AsVal_int(obj4, &val5);
20510 if (!SWIG_IsOK(ecode5)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20512 }
20513 arg5 = static_cast< int >(val5);
20514 }
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 {
20522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20523 }
20524 {
20525 if (temp4)
20526 delete arg4;
20527 }
20528 return resultobj;
20529 fail:
20530 {
20531 if (temp4)
20532 delete arg4;
20533 }
20534 return NULL;
20535 }
20536
20537
20538 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20539 PyObject *resultobj = 0;
20540 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20541 wxFindReplaceData *result = 0 ;
20542 void *argp1 = 0 ;
20543 int res1 = 0 ;
20544 PyObject *swig_obj[1] ;
20545
20546 if (!args) SWIG_fail;
20547 swig_obj[0] = args;
20548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20549 if (!SWIG_IsOK(res1)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20551 }
20552 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (wxFindReplaceData *)(arg1)->GetData();
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj = 0;
20568 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20569 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20570 void *argp1 = 0 ;
20571 int res1 = 0 ;
20572 void *argp2 = 0 ;
20573 int res2 = 0 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "self",(char *) "data", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20584 }
20585 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20587 if (!SWIG_IsOK(res2)) {
20588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20589 }
20590 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->SetData(arg2);
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 resultobj = SWIG_Py_Void();
20598 return resultobj;
20599 fail:
20600 return NULL;
20601 }
20602
20603
20604 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20605 PyObject *obj;
20606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20607 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20608 return SWIG_Py_Void();
20609 }
20610
20611 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20612 return SWIG_Python_InitShadowInstance(args);
20613 }
20614
20615 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj = 0;
20617 wxWindow *arg1 = (wxWindow *) 0 ;
20618 int arg2 = (int) (int)-1 ;
20619 wxString const &arg3_defvalue = wxPyEmptyString ;
20620 wxString *arg3 = (wxString *) &arg3_defvalue ;
20621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20623 wxSize const &arg5_defvalue = wxDefaultSize ;
20624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20625 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20626 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20627 wxString *arg7 = (wxString *) &arg7_defvalue ;
20628 wxMDIParentFrame *result = 0 ;
20629 void *argp1 = 0 ;
20630 int res1 = 0 ;
20631 int val2 ;
20632 int ecode2 = 0 ;
20633 bool temp3 = false ;
20634 wxPoint temp4 ;
20635 wxSize temp5 ;
20636 long val6 ;
20637 int ecode6 = 0 ;
20638 bool temp7 = false ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 PyObject * obj2 = 0 ;
20642 PyObject * obj3 = 0 ;
20643 PyObject * obj4 = 0 ;
20644 PyObject * obj5 = 0 ;
20645 PyObject * obj6 = 0 ;
20646 char * kwnames[] = {
20647 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20648 };
20649
20650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20652 if (!SWIG_IsOK(res1)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20654 }
20655 arg1 = reinterpret_cast< wxWindow * >(argp1);
20656 if (obj1) {
20657 ecode2 = SWIG_AsVal_int(obj1, &val2);
20658 if (!SWIG_IsOK(ecode2)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20660 }
20661 arg2 = static_cast< int >(val2);
20662 }
20663 if (obj2) {
20664 {
20665 arg3 = wxString_in_helper(obj2);
20666 if (arg3 == NULL) SWIG_fail;
20667 temp3 = true;
20668 }
20669 }
20670 if (obj3) {
20671 {
20672 arg4 = &temp4;
20673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20674 }
20675 }
20676 if (obj4) {
20677 {
20678 arg5 = &temp5;
20679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20680 }
20681 }
20682 if (obj5) {
20683 ecode6 = SWIG_AsVal_long(obj5, &val6);
20684 if (!SWIG_IsOK(ecode6)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20686 }
20687 arg6 = static_cast< long >(val6);
20688 }
20689 if (obj6) {
20690 {
20691 arg7 = wxString_in_helper(obj6);
20692 if (arg7 == NULL) SWIG_fail;
20693 temp7 = true;
20694 }
20695 }
20696 {
20697 if (!wxPyCheckForApp()) SWIG_fail;
20698 PyThreadState* __tstate = wxPyBeginAllowThreads();
20699 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20704 {
20705 if (temp3)
20706 delete arg3;
20707 }
20708 {
20709 if (temp7)
20710 delete arg7;
20711 }
20712 return resultobj;
20713 fail:
20714 {
20715 if (temp3)
20716 delete arg3;
20717 }
20718 {
20719 if (temp7)
20720 delete arg7;
20721 }
20722 return NULL;
20723 }
20724
20725
20726 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20727 PyObject *resultobj = 0;
20728 wxMDIParentFrame *result = 0 ;
20729
20730 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20731 {
20732 if (!wxPyCheckForApp()) SWIG_fail;
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj = 0;
20747 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20748 wxWindow *arg2 = (wxWindow *) 0 ;
20749 int arg3 = (int) (int)-1 ;
20750 wxString const &arg4_defvalue = wxPyEmptyString ;
20751 wxString *arg4 = (wxString *) &arg4_defvalue ;
20752 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20753 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20754 wxSize const &arg6_defvalue = wxDefaultSize ;
20755 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20756 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20757 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20758 wxString *arg8 = (wxString *) &arg8_defvalue ;
20759 bool result;
20760 void *argp1 = 0 ;
20761 int res1 = 0 ;
20762 void *argp2 = 0 ;
20763 int res2 = 0 ;
20764 int val3 ;
20765 int ecode3 = 0 ;
20766 bool temp4 = false ;
20767 wxPoint temp5 ;
20768 wxSize temp6 ;
20769 long val7 ;
20770 int ecode7 = 0 ;
20771 bool temp8 = false ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 PyObject * obj2 = 0 ;
20775 PyObject * obj3 = 0 ;
20776 PyObject * obj4 = 0 ;
20777 PyObject * obj5 = 0 ;
20778 PyObject * obj6 = 0 ;
20779 PyObject * obj7 = 0 ;
20780 char * kwnames[] = {
20781 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20782 };
20783
20784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20786 if (!SWIG_IsOK(res1)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20788 }
20789 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20791 if (!SWIG_IsOK(res2)) {
20792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20793 }
20794 arg2 = reinterpret_cast< wxWindow * >(argp2);
20795 if (obj2) {
20796 ecode3 = SWIG_AsVal_int(obj2, &val3);
20797 if (!SWIG_IsOK(ecode3)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20799 }
20800 arg3 = static_cast< int >(val3);
20801 }
20802 if (obj3) {
20803 {
20804 arg4 = wxString_in_helper(obj3);
20805 if (arg4 == NULL) SWIG_fail;
20806 temp4 = true;
20807 }
20808 }
20809 if (obj4) {
20810 {
20811 arg5 = &temp5;
20812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20813 }
20814 }
20815 if (obj5) {
20816 {
20817 arg6 = &temp6;
20818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20819 }
20820 }
20821 if (obj6) {
20822 ecode7 = SWIG_AsVal_long(obj6, &val7);
20823 if (!SWIG_IsOK(ecode7)) {
20824 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20825 }
20826 arg7 = static_cast< long >(val7);
20827 }
20828 if (obj7) {
20829 {
20830 arg8 = wxString_in_helper(obj7);
20831 if (arg8 == NULL) SWIG_fail;
20832 temp8 = true;
20833 }
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 {
20842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20843 }
20844 {
20845 if (temp4)
20846 delete arg4;
20847 }
20848 {
20849 if (temp8)
20850 delete arg8;
20851 }
20852 return resultobj;
20853 fail:
20854 {
20855 if (temp4)
20856 delete arg4;
20857 }
20858 {
20859 if (temp8)
20860 delete arg8;
20861 }
20862 return NULL;
20863 }
20864
20865
20866 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20867 PyObject *resultobj = 0;
20868 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20869 void *argp1 = 0 ;
20870 int res1 = 0 ;
20871 PyObject *swig_obj[1] ;
20872
20873 if (!args) SWIG_fail;
20874 swig_obj[0] = args;
20875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20876 if (!SWIG_IsOK(res1)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20878 }
20879 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 (arg1)->ActivateNext();
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 resultobj = SWIG_Py_Void();
20887 return resultobj;
20888 fail:
20889 return NULL;
20890 }
20891
20892
20893 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20894 PyObject *resultobj = 0;
20895 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20896 void *argp1 = 0 ;
20897 int res1 = 0 ;
20898 PyObject *swig_obj[1] ;
20899
20900 if (!args) SWIG_fail;
20901 swig_obj[0] = args;
20902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20903 if (!SWIG_IsOK(res1)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20905 }
20906 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->ActivatePrevious();
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_Py_Void();
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20921 PyObject *resultobj = 0;
20922 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20923 void *argp1 = 0 ;
20924 int res1 = 0 ;
20925 PyObject *swig_obj[1] ;
20926
20927 if (!args) SWIG_fail;
20928 swig_obj[0] = args;
20929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20930 if (!SWIG_IsOK(res1)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20932 }
20933 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->ArrangeIcons();
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = SWIG_Py_Void();
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20948 PyObject *resultobj = 0;
20949 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20950 void *argp1 = 0 ;
20951 int res1 = 0 ;
20952 PyObject *swig_obj[1] ;
20953
20954 if (!args) SWIG_fail;
20955 swig_obj[0] = args;
20956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20957 if (!SWIG_IsOK(res1)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20959 }
20960 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->Cascade();
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_Py_Void();
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20975 PyObject *resultobj = 0;
20976 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20977 wxMDIChildFrame *result = 0 ;
20978 void *argp1 = 0 ;
20979 int res1 = 0 ;
20980 PyObject *swig_obj[1] ;
20981
20982 if (!args) SWIG_fail;
20983 swig_obj[0] = args;
20984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20985 if (!SWIG_IsOK(res1)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20987 }
20988 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 resultobj = wxPyMake_wxObject(result, (bool)0);
20997 }
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21005 PyObject *resultobj = 0;
21006 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21007 wxMDIClientWindow *result = 0 ;
21008 void *argp1 = 0 ;
21009 int res1 = 0 ;
21010 PyObject *swig_obj[1] ;
21011
21012 if (!args) SWIG_fail;
21013 swig_obj[0] = args;
21014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21015 if (!SWIG_IsOK(res1)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21017 }
21018 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 resultobj = wxPyMake_wxObject(result, (bool)0);
21027 }
21028 return resultobj;
21029 fail:
21030 return NULL;
21031 }
21032
21033
21034 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21035 PyObject *resultobj = 0;
21036 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21037 wxWindow *result = 0 ;
21038 void *argp1 = 0 ;
21039 int res1 = 0 ;
21040 PyObject *swig_obj[1] ;
21041
21042 if (!args) SWIG_fail;
21043 swig_obj[0] = args;
21044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21045 if (!SWIG_IsOK(res1)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21047 }
21048 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21049 {
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 result = (wxWindow *)(arg1)->GetToolBar();
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 resultobj = wxPyMake_wxObject(result, 0);
21057 }
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21065 PyObject *resultobj = 0;
21066 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21067 wxMenu *result = 0 ;
21068 void *argp1 = 0 ;
21069 int res1 = 0 ;
21070 PyObject *swig_obj[1] ;
21071
21072 if (!args) SWIG_fail;
21073 swig_obj[0] = args;
21074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21075 if (!SWIG_IsOK(res1)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21077 }
21078 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxMenu *)(arg1)->GetWindowMenu();
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 {
21086 resultobj = wxPyMake_wxObject(result, 0);
21087 }
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj = 0;
21096 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21097 wxMenu *arg2 = (wxMenu *) 0 ;
21098 void *argp1 = 0 ;
21099 int res1 = 0 ;
21100 void *argp2 = 0 ;
21101 int res2 = 0 ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 char * kwnames[] = {
21105 (char *) "self",(char *) "menu", NULL
21106 };
21107
21108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21110 if (!SWIG_IsOK(res1)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 }
21113 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21114 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21115 if (!SWIG_IsOK(res2)) {
21116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21117 }
21118 arg2 = reinterpret_cast< wxMenu * >(argp2);
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 (arg1)->SetWindowMenu(arg2);
21122 wxPyEndAllowThreads(__tstate);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 }
21125 resultobj = SWIG_Py_Void();
21126 return resultobj;
21127 fail:
21128 return NULL;
21129 }
21130
21131
21132 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21133 PyObject *resultobj = 0;
21134 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21135 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21136 void *argp1 = 0 ;
21137 int res1 = 0 ;
21138 int val2 ;
21139 int ecode2 = 0 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char * kwnames[] = {
21143 (char *) "self",(char *) "orient", NULL
21144 };
21145
21146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21148 if (!SWIG_IsOK(res1)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21150 }
21151 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21152 if (obj1) {
21153 ecode2 = SWIG_AsVal_int(obj1, &val2);
21154 if (!SWIG_IsOK(ecode2)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21156 }
21157 arg2 = static_cast< wxOrientation >(val2);
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 (arg1)->Tile(arg2);
21162 wxPyEndAllowThreads(__tstate);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 resultobj = SWIG_Py_Void();
21166 return resultobj;
21167 fail:
21168 return NULL;
21169 }
21170
21171
21172 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21173 PyObject *obj;
21174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21175 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21176 return SWIG_Py_Void();
21177 }
21178
21179 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21180 return SWIG_Python_InitShadowInstance(args);
21181 }
21182
21183 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj = 0;
21185 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21186 int arg2 = (int) (int)-1 ;
21187 wxString const &arg3_defvalue = wxPyEmptyString ;
21188 wxString *arg3 = (wxString *) &arg3_defvalue ;
21189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21191 wxSize const &arg5_defvalue = wxDefaultSize ;
21192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21193 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21194 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21195 wxString *arg7 = (wxString *) &arg7_defvalue ;
21196 wxMDIChildFrame *result = 0 ;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 int val2 ;
21200 int ecode2 = 0 ;
21201 bool temp3 = false ;
21202 wxPoint temp4 ;
21203 wxSize temp5 ;
21204 long val6 ;
21205 int ecode6 = 0 ;
21206 bool temp7 = false ;
21207 PyObject * obj0 = 0 ;
21208 PyObject * obj1 = 0 ;
21209 PyObject * obj2 = 0 ;
21210 PyObject * obj3 = 0 ;
21211 PyObject * obj4 = 0 ;
21212 PyObject * obj5 = 0 ;
21213 PyObject * obj6 = 0 ;
21214 char * kwnames[] = {
21215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21216 };
21217
21218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21220 if (!SWIG_IsOK(res1)) {
21221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21222 }
21223 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21224 if (obj1) {
21225 ecode2 = SWIG_AsVal_int(obj1, &val2);
21226 if (!SWIG_IsOK(ecode2)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21228 }
21229 arg2 = static_cast< int >(val2);
21230 }
21231 if (obj2) {
21232 {
21233 arg3 = wxString_in_helper(obj2);
21234 if (arg3 == NULL) SWIG_fail;
21235 temp3 = true;
21236 }
21237 }
21238 if (obj3) {
21239 {
21240 arg4 = &temp4;
21241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21242 }
21243 }
21244 if (obj4) {
21245 {
21246 arg5 = &temp5;
21247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21248 }
21249 }
21250 if (obj5) {
21251 ecode6 = SWIG_AsVal_long(obj5, &val6);
21252 if (!SWIG_IsOK(ecode6)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21254 }
21255 arg6 = static_cast< long >(val6);
21256 }
21257 if (obj6) {
21258 {
21259 arg7 = wxString_in_helper(obj6);
21260 if (arg7 == NULL) SWIG_fail;
21261 temp7 = true;
21262 }
21263 }
21264 {
21265 if (!wxPyCheckForApp()) SWIG_fail;
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21272 {
21273 if (temp3)
21274 delete arg3;
21275 }
21276 {
21277 if (temp7)
21278 delete arg7;
21279 }
21280 return resultobj;
21281 fail:
21282 {
21283 if (temp3)
21284 delete arg3;
21285 }
21286 {
21287 if (temp7)
21288 delete arg7;
21289 }
21290 return NULL;
21291 }
21292
21293
21294 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21295 PyObject *resultobj = 0;
21296 wxMDIChildFrame *result = 0 ;
21297
21298 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21299 {
21300 if (!wxPyCheckForApp()) SWIG_fail;
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj = 0;
21315 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21316 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21317 int arg3 = (int) (int)-1 ;
21318 wxString const &arg4_defvalue = wxPyEmptyString ;
21319 wxString *arg4 = (wxString *) &arg4_defvalue ;
21320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21322 wxSize const &arg6_defvalue = wxDefaultSize ;
21323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21324 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21326 wxString *arg8 = (wxString *) &arg8_defvalue ;
21327 bool result;
21328 void *argp1 = 0 ;
21329 int res1 = 0 ;
21330 void *argp2 = 0 ;
21331 int res2 = 0 ;
21332 int val3 ;
21333 int ecode3 = 0 ;
21334 bool temp4 = false ;
21335 wxPoint temp5 ;
21336 wxSize temp6 ;
21337 long val7 ;
21338 int ecode7 = 0 ;
21339 bool temp8 = false ;
21340 PyObject * obj0 = 0 ;
21341 PyObject * obj1 = 0 ;
21342 PyObject * obj2 = 0 ;
21343 PyObject * obj3 = 0 ;
21344 PyObject * obj4 = 0 ;
21345 PyObject * obj5 = 0 ;
21346 PyObject * obj6 = 0 ;
21347 PyObject * obj7 = 0 ;
21348 char * kwnames[] = {
21349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21350 };
21351
21352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21354 if (!SWIG_IsOK(res1)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21356 }
21357 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21359 if (!SWIG_IsOK(res2)) {
21360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21361 }
21362 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21363 if (obj2) {
21364 ecode3 = SWIG_AsVal_int(obj2, &val3);
21365 if (!SWIG_IsOK(ecode3)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21367 }
21368 arg3 = static_cast< int >(val3);
21369 }
21370 if (obj3) {
21371 {
21372 arg4 = wxString_in_helper(obj3);
21373 if (arg4 == NULL) SWIG_fail;
21374 temp4 = true;
21375 }
21376 }
21377 if (obj4) {
21378 {
21379 arg5 = &temp5;
21380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21381 }
21382 }
21383 if (obj5) {
21384 {
21385 arg6 = &temp6;
21386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21387 }
21388 }
21389 if (obj6) {
21390 ecode7 = SWIG_AsVal_long(obj6, &val7);
21391 if (!SWIG_IsOK(ecode7)) {
21392 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21393 }
21394 arg7 = static_cast< long >(val7);
21395 }
21396 if (obj7) {
21397 {
21398 arg8 = wxString_in_helper(obj7);
21399 if (arg8 == NULL) SWIG_fail;
21400 temp8 = true;
21401 }
21402 }
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 {
21410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21411 }
21412 {
21413 if (temp4)
21414 delete arg4;
21415 }
21416 {
21417 if (temp8)
21418 delete arg8;
21419 }
21420 return resultobj;
21421 fail:
21422 {
21423 if (temp4)
21424 delete arg4;
21425 }
21426 {
21427 if (temp8)
21428 delete arg8;
21429 }
21430 return NULL;
21431 }
21432
21433
21434 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21435 PyObject *resultobj = 0;
21436 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21437 void *argp1 = 0 ;
21438 int res1 = 0 ;
21439 PyObject *swig_obj[1] ;
21440
21441 if (!args) SWIG_fail;
21442 swig_obj[0] = args;
21443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21444 if (!SWIG_IsOK(res1)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21446 }
21447 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 (arg1)->Activate();
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 resultobj = SWIG_Py_Void();
21455 return resultobj;
21456 fail:
21457 return NULL;
21458 }
21459
21460
21461 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21462 PyObject *obj;
21463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21464 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21465 return SWIG_Py_Void();
21466 }
21467
21468 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21469 return SWIG_Python_InitShadowInstance(args);
21470 }
21471
21472 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21473 PyObject *resultobj = 0;
21474 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21475 long arg2 = (long) 0 ;
21476 wxMDIClientWindow *result = 0 ;
21477 void *argp1 = 0 ;
21478 int res1 = 0 ;
21479 long val2 ;
21480 int ecode2 = 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char * kwnames[] = {
21484 (char *) "parent",(char *) "style", NULL
21485 };
21486
21487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21489 if (!SWIG_IsOK(res1)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21491 }
21492 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21493 if (obj1) {
21494 ecode2 = SWIG_AsVal_long(obj1, &val2);
21495 if (!SWIG_IsOK(ecode2)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21497 }
21498 arg2 = static_cast< long >(val2);
21499 }
21500 {
21501 if (!wxPyCheckForApp()) SWIG_fail;
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21508 return resultobj;
21509 fail:
21510 return NULL;
21511 }
21512
21513
21514 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21515 PyObject *resultobj = 0;
21516 wxMDIClientWindow *result = 0 ;
21517
21518 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21519 {
21520 if (!wxPyCheckForApp()) SWIG_fail;
21521 PyThreadState* __tstate = wxPyBeginAllowThreads();
21522 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21527 return resultobj;
21528 fail:
21529 return NULL;
21530 }
21531
21532
21533 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj = 0;
21535 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21536 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21537 long arg3 = (long) 0 ;
21538 bool result;
21539 void *argp1 = 0 ;
21540 int res1 = 0 ;
21541 void *argp2 = 0 ;
21542 int res2 = 0 ;
21543 long val3 ;
21544 int ecode3 = 0 ;
21545 PyObject * obj0 = 0 ;
21546 PyObject * obj1 = 0 ;
21547 PyObject * obj2 = 0 ;
21548 char * kwnames[] = {
21549 (char *) "self",(char *) "parent",(char *) "style", NULL
21550 };
21551
21552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21554 if (!SWIG_IsOK(res1)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21556 }
21557 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21559 if (!SWIG_IsOK(res2)) {
21560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21561 }
21562 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21563 if (obj2) {
21564 ecode3 = SWIG_AsVal_long(obj2, &val3);
21565 if (!SWIG_IsOK(ecode3)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21567 }
21568 arg3 = static_cast< long >(val3);
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (bool)(arg1)->Create(arg2,arg3);
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 {
21577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21578 }
21579 return resultobj;
21580 fail:
21581 return NULL;
21582 }
21583
21584
21585 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21586 PyObject *obj;
21587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21588 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21589 return SWIG_Py_Void();
21590 }
21591
21592 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21593 return SWIG_Python_InitShadowInstance(args);
21594 }
21595
21596 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj = 0;
21598 wxWindow *arg1 = (wxWindow *) 0 ;
21599 int arg2 = (int) (int)-1 ;
21600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21602 wxSize const &arg4_defvalue = wxDefaultSize ;
21603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21604 long arg5 = (long) 0 ;
21605 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21606 wxString *arg6 = (wxString *) &arg6_defvalue ;
21607 wxPyWindow *result = 0 ;
21608 void *argp1 = 0 ;
21609 int res1 = 0 ;
21610 int val2 ;
21611 int ecode2 = 0 ;
21612 wxPoint temp3 ;
21613 wxSize temp4 ;
21614 long val5 ;
21615 int ecode5 = 0 ;
21616 bool temp6 = false ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 PyObject * obj2 = 0 ;
21620 PyObject * obj3 = 0 ;
21621 PyObject * obj4 = 0 ;
21622 PyObject * obj5 = 0 ;
21623 char * kwnames[] = {
21624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21625 };
21626
21627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21629 if (!SWIG_IsOK(res1)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21631 }
21632 arg1 = reinterpret_cast< wxWindow * >(argp1);
21633 if (obj1) {
21634 ecode2 = SWIG_AsVal_int(obj1, &val2);
21635 if (!SWIG_IsOK(ecode2)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21637 }
21638 arg2 = static_cast< int >(val2);
21639 }
21640 if (obj2) {
21641 {
21642 arg3 = &temp3;
21643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21644 }
21645 }
21646 if (obj3) {
21647 {
21648 arg4 = &temp4;
21649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21650 }
21651 }
21652 if (obj4) {
21653 ecode5 = SWIG_AsVal_long(obj4, &val5);
21654 if (!SWIG_IsOK(ecode5)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21656 }
21657 arg5 = static_cast< long >(val5);
21658 }
21659 if (obj5) {
21660 {
21661 arg6 = wxString_in_helper(obj5);
21662 if (arg6 == NULL) SWIG_fail;
21663 temp6 = true;
21664 }
21665 }
21666 {
21667 if (!wxPyCheckForApp()) SWIG_fail;
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21674 {
21675 if (temp6)
21676 delete arg6;
21677 }
21678 return resultobj;
21679 fail:
21680 {
21681 if (temp6)
21682 delete arg6;
21683 }
21684 return NULL;
21685 }
21686
21687
21688 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21689 PyObject *resultobj = 0;
21690 wxPyWindow *result = 0 ;
21691
21692 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21693 {
21694 if (!wxPyCheckForApp()) SWIG_fail;
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (wxPyWindow *)new wxPyWindow();
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21701 return resultobj;
21702 fail:
21703 return NULL;
21704 }
21705
21706
21707 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj = 0;
21709 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21710 PyObject *arg2 = (PyObject *) 0 ;
21711 PyObject *arg3 = (PyObject *) 0 ;
21712 void *argp1 = 0 ;
21713 int res1 = 0 ;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 PyObject * obj2 = 0 ;
21717 char * kwnames[] = {
21718 (char *) "self",(char *) "self",(char *) "_class", NULL
21719 };
21720
21721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21723 if (!SWIG_IsOK(res1)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21725 }
21726 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21727 arg2 = obj1;
21728 arg3 = obj2;
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 (arg1)->_setCallbackInfo(arg2,arg3);
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 resultobj = SWIG_Py_Void();
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj = 0;
21744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21745 wxSize *arg2 = 0 ;
21746 void *argp1 = 0 ;
21747 int res1 = 0 ;
21748 wxSize temp2 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 char * kwnames[] = {
21752 (char *) "self",(char *) "size", NULL
21753 };
21754
21755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21757 if (!SWIG_IsOK(res1)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 }
21760 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21761 {
21762 arg2 = &temp2;
21763 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 (arg1)->SetBestSize((wxSize const &)*arg2);
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 resultobj = SWIG_Py_Void();
21772 return resultobj;
21773 fail:
21774 return NULL;
21775 }
21776
21777
21778 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj = 0;
21780 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21781 wxDC *arg2 = (wxDC *) 0 ;
21782 bool result;
21783 void *argp1 = 0 ;
21784 int res1 = 0 ;
21785 void *argp2 = 0 ;
21786 int res2 = 0 ;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char * kwnames[] = {
21790 (char *) "self",(char *) "dc", NULL
21791 };
21792
21793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21795 if (!SWIG_IsOK(res1)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21797 }
21798 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21800 if (!SWIG_IsOK(res2)) {
21801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21802 }
21803 arg2 = reinterpret_cast< wxDC * >(argp2);
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 result = (bool)(arg1)->DoEraseBackground(arg2);
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21812 }
21813 return resultobj;
21814 fail:
21815 return NULL;
21816 }
21817
21818
21819 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj = 0;
21821 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21822 int arg2 ;
21823 int arg3 ;
21824 int arg4 ;
21825 int arg5 ;
21826 void *argp1 = 0 ;
21827 int res1 = 0 ;
21828 int val2 ;
21829 int ecode2 = 0 ;
21830 int val3 ;
21831 int ecode3 = 0 ;
21832 int val4 ;
21833 int ecode4 = 0 ;
21834 int val5 ;
21835 int ecode5 = 0 ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 PyObject * obj2 = 0 ;
21839 PyObject * obj3 = 0 ;
21840 PyObject * obj4 = 0 ;
21841 char * kwnames[] = {
21842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21843 };
21844
21845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21847 if (!SWIG_IsOK(res1)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21849 }
21850 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21851 ecode2 = SWIG_AsVal_int(obj1, &val2);
21852 if (!SWIG_IsOK(ecode2)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21854 }
21855 arg2 = static_cast< int >(val2);
21856 ecode3 = SWIG_AsVal_int(obj2, &val3);
21857 if (!SWIG_IsOK(ecode3)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21859 }
21860 arg3 = static_cast< int >(val3);
21861 ecode4 = SWIG_AsVal_int(obj3, &val4);
21862 if (!SWIG_IsOK(ecode4)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21864 }
21865 arg4 = static_cast< int >(val4);
21866 ecode5 = SWIG_AsVal_int(obj4, &val5);
21867 if (!SWIG_IsOK(ecode5)) {
21868 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21869 }
21870 arg5 = static_cast< int >(val5);
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 resultobj = SWIG_Py_Void();
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj = 0;
21886 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21887 int arg2 ;
21888 int arg3 ;
21889 int arg4 ;
21890 int arg5 ;
21891 int arg6 = (int) wxSIZE_AUTO ;
21892 void *argp1 = 0 ;
21893 int res1 = 0 ;
21894 int val2 ;
21895 int ecode2 = 0 ;
21896 int val3 ;
21897 int ecode3 = 0 ;
21898 int val4 ;
21899 int ecode4 = 0 ;
21900 int val5 ;
21901 int ecode5 = 0 ;
21902 int val6 ;
21903 int ecode6 = 0 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 PyObject * obj2 = 0 ;
21907 PyObject * obj3 = 0 ;
21908 PyObject * obj4 = 0 ;
21909 PyObject * obj5 = 0 ;
21910 char * kwnames[] = {
21911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21912 };
21913
21914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21916 if (!SWIG_IsOK(res1)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21918 }
21919 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21920 ecode2 = SWIG_AsVal_int(obj1, &val2);
21921 if (!SWIG_IsOK(ecode2)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21923 }
21924 arg2 = static_cast< int >(val2);
21925 ecode3 = SWIG_AsVal_int(obj2, &val3);
21926 if (!SWIG_IsOK(ecode3)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21928 }
21929 arg3 = static_cast< int >(val3);
21930 ecode4 = SWIG_AsVal_int(obj3, &val4);
21931 if (!SWIG_IsOK(ecode4)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21933 }
21934 arg4 = static_cast< int >(val4);
21935 ecode5 = SWIG_AsVal_int(obj4, &val5);
21936 if (!SWIG_IsOK(ecode5)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21938 }
21939 arg5 = static_cast< int >(val5);
21940 if (obj5) {
21941 ecode6 = SWIG_AsVal_int(obj5, &val6);
21942 if (!SWIG_IsOK(ecode6)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21944 }
21945 arg6 = static_cast< int >(val6);
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 resultobj = SWIG_Py_Void();
21954 return resultobj;
21955 fail:
21956 return NULL;
21957 }
21958
21959
21960 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj = 0;
21962 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21963 int arg2 ;
21964 int arg3 ;
21965 void *argp1 = 0 ;
21966 int res1 = 0 ;
21967 int val2 ;
21968 int ecode2 = 0 ;
21969 int val3 ;
21970 int ecode3 = 0 ;
21971 PyObject * obj0 = 0 ;
21972 PyObject * obj1 = 0 ;
21973 PyObject * obj2 = 0 ;
21974 char * kwnames[] = {
21975 (char *) "self",(char *) "width",(char *) "height", NULL
21976 };
21977
21978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21980 if (!SWIG_IsOK(res1)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21982 }
21983 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21984 ecode2 = SWIG_AsVal_int(obj1, &val2);
21985 if (!SWIG_IsOK(ecode2)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21987 }
21988 arg2 = static_cast< int >(val2);
21989 ecode3 = SWIG_AsVal_int(obj2, &val3);
21990 if (!SWIG_IsOK(ecode3)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21992 }
21993 arg3 = static_cast< int >(val3);
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 (arg1)->DoSetClientSize(arg2,arg3);
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 resultobj = SWIG_Py_Void();
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj = 0;
22009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22010 int arg2 ;
22011 int arg3 ;
22012 void *argp1 = 0 ;
22013 int res1 = 0 ;
22014 int val2 ;
22015 int ecode2 = 0 ;
22016 int val3 ;
22017 int ecode3 = 0 ;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 PyObject * obj2 = 0 ;
22021 char * kwnames[] = {
22022 (char *) "self",(char *) "x",(char *) "y", NULL
22023 };
22024
22025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22027 if (!SWIG_IsOK(res1)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22029 }
22030 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22031 ecode2 = SWIG_AsVal_int(obj1, &val2);
22032 if (!SWIG_IsOK(ecode2)) {
22033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22034 }
22035 arg2 = static_cast< int >(val2);
22036 ecode3 = SWIG_AsVal_int(obj2, &val3);
22037 if (!SWIG_IsOK(ecode3)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22039 }
22040 arg3 = static_cast< int >(val3);
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 (arg1)->DoSetVirtualSize(arg2,arg3);
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 resultobj = SWIG_Py_Void();
22048 return resultobj;
22049 fail:
22050 return NULL;
22051 }
22052
22053
22054 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22055 PyObject *resultobj = 0;
22056 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22057 int *arg2 = (int *) 0 ;
22058 int *arg3 = (int *) 0 ;
22059 void *argp1 = 0 ;
22060 int res1 = 0 ;
22061 int temp2 ;
22062 int res2 = SWIG_TMPOBJ ;
22063 int temp3 ;
22064 int res3 = SWIG_TMPOBJ ;
22065 PyObject *swig_obj[1] ;
22066
22067 arg2 = &temp2;
22068 arg3 = &temp3;
22069 if (!args) SWIG_fail;
22070 swig_obj[0] = args;
22071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22072 if (!SWIG_IsOK(res1)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22074 }
22075 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 resultobj = SWIG_Py_Void();
22083 if (SWIG_IsTmpObj(res2)) {
22084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22085 } else {
22086 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22088 }
22089 if (SWIG_IsTmpObj(res3)) {
22090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22091 } else {
22092 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22094 }
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22102 PyObject *resultobj = 0;
22103 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22104 int *arg2 = (int *) 0 ;
22105 int *arg3 = (int *) 0 ;
22106 void *argp1 = 0 ;
22107 int res1 = 0 ;
22108 int temp2 ;
22109 int res2 = SWIG_TMPOBJ ;
22110 int temp3 ;
22111 int res3 = SWIG_TMPOBJ ;
22112 PyObject *swig_obj[1] ;
22113
22114 arg2 = &temp2;
22115 arg3 = &temp3;
22116 if (!args) SWIG_fail;
22117 swig_obj[0] = args;
22118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22119 if (!SWIG_IsOK(res1)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22121 }
22122 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 resultobj = SWIG_Py_Void();
22130 if (SWIG_IsTmpObj(res2)) {
22131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22132 } else {
22133 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22135 }
22136 if (SWIG_IsTmpObj(res3)) {
22137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22138 } else {
22139 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22141 }
22142 return resultobj;
22143 fail:
22144 return NULL;
22145 }
22146
22147
22148 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22149 PyObject *resultobj = 0;
22150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22151 int *arg2 = (int *) 0 ;
22152 int *arg3 = (int *) 0 ;
22153 void *argp1 = 0 ;
22154 int res1 = 0 ;
22155 int temp2 ;
22156 int res2 = SWIG_TMPOBJ ;
22157 int temp3 ;
22158 int res3 = SWIG_TMPOBJ ;
22159 PyObject *swig_obj[1] ;
22160
22161 arg2 = &temp2;
22162 arg3 = &temp3;
22163 if (!args) SWIG_fail;
22164 swig_obj[0] = args;
22165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22166 if (!SWIG_IsOK(res1)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22168 }
22169 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 resultobj = SWIG_Py_Void();
22177 if (SWIG_IsTmpObj(res2)) {
22178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22179 } else {
22180 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22182 }
22183 if (SWIG_IsTmpObj(res3)) {
22184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22185 } else {
22186 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22188 }
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22196 PyObject *resultobj = 0;
22197 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22198 wxSize result;
22199 void *argp1 = 0 ;
22200 int res1 = 0 ;
22201 PyObject *swig_obj[1] ;
22202
22203 if (!args) SWIG_fail;
22204 swig_obj[0] = args;
22205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22206 if (!SWIG_IsOK(res1)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22208 }
22209 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22217 return resultobj;
22218 fail:
22219 return NULL;
22220 }
22221
22222
22223 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22224 PyObject *resultobj = 0;
22225 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22226 wxSize result;
22227 void *argp1 = 0 ;
22228 int res1 = 0 ;
22229 PyObject *swig_obj[1] ;
22230
22231 if (!args) SWIG_fail;
22232 swig_obj[0] = args;
22233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22234 if (!SWIG_IsOK(res1)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22236 }
22237 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22245 return resultobj;
22246 fail:
22247 return NULL;
22248 }
22249
22250
22251 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22252 PyObject *resultobj = 0;
22253 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22254 SwigValueWrapper<wxVisualAttributes > result;
22255 void *argp1 = 0 ;
22256 int res1 = 0 ;
22257 PyObject *swig_obj[1] ;
22258
22259 if (!args) SWIG_fail;
22260 swig_obj[0] = args;
22261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22262 if (!SWIG_IsOK(res1)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22264 }
22265 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 result = (arg1)->GetDefaultAttributes();
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22273 return resultobj;
22274 fail:
22275 return NULL;
22276 }
22277
22278
22279 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22280 PyObject *resultobj = 0;
22281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22282 void *argp1 = 0 ;
22283 int res1 = 0 ;
22284 PyObject *swig_obj[1] ;
22285
22286 if (!args) SWIG_fail;
22287 swig_obj[0] = args;
22288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22289 if (!SWIG_IsOK(res1)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22291 }
22292 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 (arg1)->OnInternalIdle();
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_Py_Void();
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22307 PyObject *obj;
22308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22310 return SWIG_Py_Void();
22311 }
22312
22313 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22314 return SWIG_Python_InitShadowInstance(args);
22315 }
22316
22317 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj = 0;
22319 wxWindow *arg1 = (wxWindow *) 0 ;
22320 int arg2 = (int) (int)-1 ;
22321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22323 wxSize const &arg4_defvalue = wxDefaultSize ;
22324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22325 long arg5 = (long) 0 ;
22326 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22327 wxString *arg6 = (wxString *) &arg6_defvalue ;
22328 wxPyPanel *result = 0 ;
22329 void *argp1 = 0 ;
22330 int res1 = 0 ;
22331 int val2 ;
22332 int ecode2 = 0 ;
22333 wxPoint temp3 ;
22334 wxSize temp4 ;
22335 long val5 ;
22336 int ecode5 = 0 ;
22337 bool temp6 = false ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 PyObject * obj2 = 0 ;
22341 PyObject * obj3 = 0 ;
22342 PyObject * obj4 = 0 ;
22343 PyObject * obj5 = 0 ;
22344 char * kwnames[] = {
22345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22346 };
22347
22348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22350 if (!SWIG_IsOK(res1)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22352 }
22353 arg1 = reinterpret_cast< wxWindow * >(argp1);
22354 if (obj1) {
22355 ecode2 = SWIG_AsVal_int(obj1, &val2);
22356 if (!SWIG_IsOK(ecode2)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22358 }
22359 arg2 = static_cast< int >(val2);
22360 }
22361 if (obj2) {
22362 {
22363 arg3 = &temp3;
22364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22365 }
22366 }
22367 if (obj3) {
22368 {
22369 arg4 = &temp4;
22370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22371 }
22372 }
22373 if (obj4) {
22374 ecode5 = SWIG_AsVal_long(obj4, &val5);
22375 if (!SWIG_IsOK(ecode5)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22377 }
22378 arg5 = static_cast< long >(val5);
22379 }
22380 if (obj5) {
22381 {
22382 arg6 = wxString_in_helper(obj5);
22383 if (arg6 == NULL) SWIG_fail;
22384 temp6 = true;
22385 }
22386 }
22387 {
22388 if (!wxPyCheckForApp()) SWIG_fail;
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22395 {
22396 if (temp6)
22397 delete arg6;
22398 }
22399 return resultobj;
22400 fail:
22401 {
22402 if (temp6)
22403 delete arg6;
22404 }
22405 return NULL;
22406 }
22407
22408
22409 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22410 PyObject *resultobj = 0;
22411 wxPyPanel *result = 0 ;
22412
22413 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22414 {
22415 if (!wxPyCheckForApp()) SWIG_fail;
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (wxPyPanel *)new wxPyPanel();
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22422 return resultobj;
22423 fail:
22424 return NULL;
22425 }
22426
22427
22428 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj = 0;
22430 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22431 PyObject *arg2 = (PyObject *) 0 ;
22432 PyObject *arg3 = (PyObject *) 0 ;
22433 void *argp1 = 0 ;
22434 int res1 = 0 ;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 PyObject * obj2 = 0 ;
22438 char * kwnames[] = {
22439 (char *) "self",(char *) "self",(char *) "_class", NULL
22440 };
22441
22442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22444 if (!SWIG_IsOK(res1)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22446 }
22447 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22448 arg2 = obj1;
22449 arg3 = obj2;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 (arg1)->_setCallbackInfo(arg2,arg3);
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 resultobj = SWIG_Py_Void();
22457 return resultobj;
22458 fail:
22459 return NULL;
22460 }
22461
22462
22463 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22464 PyObject *resultobj = 0;
22465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22466 wxSize *arg2 = 0 ;
22467 void *argp1 = 0 ;
22468 int res1 = 0 ;
22469 wxSize temp2 ;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 char * kwnames[] = {
22473 (char *) "self",(char *) "size", NULL
22474 };
22475
22476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 }
22481 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22482 {
22483 arg2 = &temp2;
22484 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->SetBestSize((wxSize const &)*arg2);
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 resultobj = SWIG_Py_Void();
22493 return resultobj;
22494 fail:
22495 return NULL;
22496 }
22497
22498
22499 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj = 0;
22501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22502 wxDC *arg2 = (wxDC *) 0 ;
22503 bool result;
22504 void *argp1 = 0 ;
22505 int res1 = 0 ;
22506 void *argp2 = 0 ;
22507 int res2 = 0 ;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 char * kwnames[] = {
22511 (char *) "self",(char *) "dc", NULL
22512 };
22513
22514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22516 if (!SWIG_IsOK(res1)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22518 }
22519 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22521 if (!SWIG_IsOK(res2)) {
22522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22523 }
22524 arg2 = reinterpret_cast< wxDC * >(argp2);
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (bool)(arg1)->DoEraseBackground(arg2);
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22533 }
22534 return resultobj;
22535 fail:
22536 return NULL;
22537 }
22538
22539
22540 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj = 0;
22542 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22543 int arg2 ;
22544 int arg3 ;
22545 int arg4 ;
22546 int arg5 ;
22547 void *argp1 = 0 ;
22548 int res1 = 0 ;
22549 int val2 ;
22550 int ecode2 = 0 ;
22551 int val3 ;
22552 int ecode3 = 0 ;
22553 int val4 ;
22554 int ecode4 = 0 ;
22555 int val5 ;
22556 int ecode5 = 0 ;
22557 PyObject * obj0 = 0 ;
22558 PyObject * obj1 = 0 ;
22559 PyObject * obj2 = 0 ;
22560 PyObject * obj3 = 0 ;
22561 PyObject * obj4 = 0 ;
22562 char * kwnames[] = {
22563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22564 };
22565
22566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22568 if (!SWIG_IsOK(res1)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22570 }
22571 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22572 ecode2 = SWIG_AsVal_int(obj1, &val2);
22573 if (!SWIG_IsOK(ecode2)) {
22574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22575 }
22576 arg2 = static_cast< int >(val2);
22577 ecode3 = SWIG_AsVal_int(obj2, &val3);
22578 if (!SWIG_IsOK(ecode3)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22580 }
22581 arg3 = static_cast< int >(val3);
22582 ecode4 = SWIG_AsVal_int(obj3, &val4);
22583 if (!SWIG_IsOK(ecode4)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22585 }
22586 arg4 = static_cast< int >(val4);
22587 ecode5 = SWIG_AsVal_int(obj4, &val5);
22588 if (!SWIG_IsOK(ecode5)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22590 }
22591 arg5 = static_cast< int >(val5);
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 resultobj = SWIG_Py_Void();
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj = 0;
22607 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22608 int arg2 ;
22609 int arg3 ;
22610 int arg4 ;
22611 int arg5 ;
22612 int arg6 = (int) wxSIZE_AUTO ;
22613 void *argp1 = 0 ;
22614 int res1 = 0 ;
22615 int val2 ;
22616 int ecode2 = 0 ;
22617 int val3 ;
22618 int ecode3 = 0 ;
22619 int val4 ;
22620 int ecode4 = 0 ;
22621 int val5 ;
22622 int ecode5 = 0 ;
22623 int val6 ;
22624 int ecode6 = 0 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 PyObject * obj2 = 0 ;
22628 PyObject * obj3 = 0 ;
22629 PyObject * obj4 = 0 ;
22630 PyObject * obj5 = 0 ;
22631 char * kwnames[] = {
22632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22633 };
22634
22635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22637 if (!SWIG_IsOK(res1)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22639 }
22640 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22641 ecode2 = SWIG_AsVal_int(obj1, &val2);
22642 if (!SWIG_IsOK(ecode2)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22644 }
22645 arg2 = static_cast< int >(val2);
22646 ecode3 = SWIG_AsVal_int(obj2, &val3);
22647 if (!SWIG_IsOK(ecode3)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22649 }
22650 arg3 = static_cast< int >(val3);
22651 ecode4 = SWIG_AsVal_int(obj3, &val4);
22652 if (!SWIG_IsOK(ecode4)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22654 }
22655 arg4 = static_cast< int >(val4);
22656 ecode5 = SWIG_AsVal_int(obj4, &val5);
22657 if (!SWIG_IsOK(ecode5)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22659 }
22660 arg5 = static_cast< int >(val5);
22661 if (obj5) {
22662 ecode6 = SWIG_AsVal_int(obj5, &val6);
22663 if (!SWIG_IsOK(ecode6)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22665 }
22666 arg6 = static_cast< int >(val6);
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_Py_Void();
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj = 0;
22683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22684 int arg2 ;
22685 int arg3 ;
22686 void *argp1 = 0 ;
22687 int res1 = 0 ;
22688 int val2 ;
22689 int ecode2 = 0 ;
22690 int val3 ;
22691 int ecode3 = 0 ;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 PyObject * obj2 = 0 ;
22695 char * kwnames[] = {
22696 (char *) "self",(char *) "width",(char *) "height", NULL
22697 };
22698
22699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22701 if (!SWIG_IsOK(res1)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22703 }
22704 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22705 ecode2 = SWIG_AsVal_int(obj1, &val2);
22706 if (!SWIG_IsOK(ecode2)) {
22707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22708 }
22709 arg2 = static_cast< int >(val2);
22710 ecode3 = SWIG_AsVal_int(obj2, &val3);
22711 if (!SWIG_IsOK(ecode3)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22713 }
22714 arg3 = static_cast< int >(val3);
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 (arg1)->DoSetClientSize(arg2,arg3);
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 resultobj = SWIG_Py_Void();
22722 return resultobj;
22723 fail:
22724 return NULL;
22725 }
22726
22727
22728 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj = 0;
22730 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22731 int arg2 ;
22732 int arg3 ;
22733 void *argp1 = 0 ;
22734 int res1 = 0 ;
22735 int val2 ;
22736 int ecode2 = 0 ;
22737 int val3 ;
22738 int ecode3 = 0 ;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 PyObject * obj2 = 0 ;
22742 char * kwnames[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22744 };
22745
22746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22748 if (!SWIG_IsOK(res1)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22750 }
22751 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22752 ecode2 = SWIG_AsVal_int(obj1, &val2);
22753 if (!SWIG_IsOK(ecode2)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22755 }
22756 arg2 = static_cast< int >(val2);
22757 ecode3 = SWIG_AsVal_int(obj2, &val3);
22758 if (!SWIG_IsOK(ecode3)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22760 }
22761 arg3 = static_cast< int >(val3);
22762 {
22763 PyThreadState* __tstate = wxPyBeginAllowThreads();
22764 (arg1)->DoSetVirtualSize(arg2,arg3);
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 resultobj = SWIG_Py_Void();
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22776 PyObject *resultobj = 0;
22777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22778 int *arg2 = (int *) 0 ;
22779 int *arg3 = (int *) 0 ;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 int temp2 ;
22783 int res2 = SWIG_TMPOBJ ;
22784 int temp3 ;
22785 int res3 = SWIG_TMPOBJ ;
22786 PyObject *swig_obj[1] ;
22787
22788 arg2 = &temp2;
22789 arg3 = &temp3;
22790 if (!args) SWIG_fail;
22791 swig_obj[0] = args;
22792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22793 if (!SWIG_IsOK(res1)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22795 }
22796 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 resultobj = SWIG_Py_Void();
22804 if (SWIG_IsTmpObj(res2)) {
22805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22806 } else {
22807 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22809 }
22810 if (SWIG_IsTmpObj(res3)) {
22811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22812 } else {
22813 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22815 }
22816 return resultobj;
22817 fail:
22818 return NULL;
22819 }
22820
22821
22822 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22823 PyObject *resultobj = 0;
22824 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22825 int *arg2 = (int *) 0 ;
22826 int *arg3 = (int *) 0 ;
22827 void *argp1 = 0 ;
22828 int res1 = 0 ;
22829 int temp2 ;
22830 int res2 = SWIG_TMPOBJ ;
22831 int temp3 ;
22832 int res3 = SWIG_TMPOBJ ;
22833 PyObject *swig_obj[1] ;
22834
22835 arg2 = &temp2;
22836 arg3 = &temp3;
22837 if (!args) SWIG_fail;
22838 swig_obj[0] = args;
22839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22840 if (!SWIG_IsOK(res1)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22842 }
22843 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 resultobj = SWIG_Py_Void();
22851 if (SWIG_IsTmpObj(res2)) {
22852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22853 } else {
22854 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22856 }
22857 if (SWIG_IsTmpObj(res3)) {
22858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22859 } else {
22860 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22862 }
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22870 PyObject *resultobj = 0;
22871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22872 int *arg2 = (int *) 0 ;
22873 int *arg3 = (int *) 0 ;
22874 void *argp1 = 0 ;
22875 int res1 = 0 ;
22876 int temp2 ;
22877 int res2 = SWIG_TMPOBJ ;
22878 int temp3 ;
22879 int res3 = SWIG_TMPOBJ ;
22880 PyObject *swig_obj[1] ;
22881
22882 arg2 = &temp2;
22883 arg3 = &temp3;
22884 if (!args) SWIG_fail;
22885 swig_obj[0] = args;
22886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22887 if (!SWIG_IsOK(res1)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22889 }
22890 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = SWIG_Py_Void();
22898 if (SWIG_IsTmpObj(res2)) {
22899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22900 } else {
22901 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22903 }
22904 if (SWIG_IsTmpObj(res3)) {
22905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22906 } else {
22907 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22909 }
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22917 PyObject *resultobj = 0;
22918 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22919 wxSize result;
22920 void *argp1 = 0 ;
22921 int res1 = 0 ;
22922 PyObject *swig_obj[1] ;
22923
22924 if (!args) SWIG_fail;
22925 swig_obj[0] = args;
22926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22927 if (!SWIG_IsOK(res1)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22929 }
22930 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22945 PyObject *resultobj = 0;
22946 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22947 wxSize result;
22948 void *argp1 = 0 ;
22949 int res1 = 0 ;
22950 PyObject *swig_obj[1] ;
22951
22952 if (!args) SWIG_fail;
22953 swig_obj[0] = args;
22954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22955 if (!SWIG_IsOK(res1)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22957 }
22958 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22966 return resultobj;
22967 fail:
22968 return NULL;
22969 }
22970
22971
22972 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22973 PyObject *resultobj = 0;
22974 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22975 SwigValueWrapper<wxVisualAttributes > result;
22976 void *argp1 = 0 ;
22977 int res1 = 0 ;
22978 PyObject *swig_obj[1] ;
22979
22980 if (!args) SWIG_fail;
22981 swig_obj[0] = args;
22982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22983 if (!SWIG_IsOK(res1)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22985 }
22986 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 result = (arg1)->GetDefaultAttributes();
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
22993 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22994 return resultobj;
22995 fail:
22996 return NULL;
22997 }
22998
22999
23000 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23001 PyObject *resultobj = 0;
23002 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23003 void *argp1 = 0 ;
23004 int res1 = 0 ;
23005 PyObject *swig_obj[1] ;
23006
23007 if (!args) SWIG_fail;
23008 swig_obj[0] = args;
23009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23010 if (!SWIG_IsOK(res1)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23012 }
23013 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->OnInternalIdle();
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_Py_Void();
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23028 PyObject *obj;
23029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23031 return SWIG_Py_Void();
23032 }
23033
23034 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23035 return SWIG_Python_InitShadowInstance(args);
23036 }
23037
23038 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj = 0;
23040 wxWindow *arg1 = (wxWindow *) 0 ;
23041 int arg2 = (int) (int)-1 ;
23042 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23043 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23044 wxSize const &arg4_defvalue = wxDefaultSize ;
23045 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23046 long arg5 = (long) 0 ;
23047 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23048 wxString *arg6 = (wxString *) &arg6_defvalue ;
23049 wxPyScrolledWindow *result = 0 ;
23050 void *argp1 = 0 ;
23051 int res1 = 0 ;
23052 int val2 ;
23053 int ecode2 = 0 ;
23054 wxPoint temp3 ;
23055 wxSize temp4 ;
23056 long val5 ;
23057 int ecode5 = 0 ;
23058 bool temp6 = false ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 PyObject * obj2 = 0 ;
23062 PyObject * obj3 = 0 ;
23063 PyObject * obj4 = 0 ;
23064 PyObject * obj5 = 0 ;
23065 char * kwnames[] = {
23066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23067 };
23068
23069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23071 if (!SWIG_IsOK(res1)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23073 }
23074 arg1 = reinterpret_cast< wxWindow * >(argp1);
23075 if (obj1) {
23076 ecode2 = SWIG_AsVal_int(obj1, &val2);
23077 if (!SWIG_IsOK(ecode2)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23079 }
23080 arg2 = static_cast< int >(val2);
23081 }
23082 if (obj2) {
23083 {
23084 arg3 = &temp3;
23085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23086 }
23087 }
23088 if (obj3) {
23089 {
23090 arg4 = &temp4;
23091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23092 }
23093 }
23094 if (obj4) {
23095 ecode5 = SWIG_AsVal_long(obj4, &val5);
23096 if (!SWIG_IsOK(ecode5)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23098 }
23099 arg5 = static_cast< long >(val5);
23100 }
23101 if (obj5) {
23102 {
23103 arg6 = wxString_in_helper(obj5);
23104 if (arg6 == NULL) SWIG_fail;
23105 temp6 = true;
23106 }
23107 }
23108 {
23109 if (!wxPyCheckForApp()) SWIG_fail;
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23116 {
23117 if (temp6)
23118 delete arg6;
23119 }
23120 return resultobj;
23121 fail:
23122 {
23123 if (temp6)
23124 delete arg6;
23125 }
23126 return NULL;
23127 }
23128
23129
23130 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23131 PyObject *resultobj = 0;
23132 wxPyScrolledWindow *result = 0 ;
23133
23134 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23135 {
23136 if (!wxPyCheckForApp()) SWIG_fail;
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23143 return resultobj;
23144 fail:
23145 return NULL;
23146 }
23147
23148
23149 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23150 PyObject *resultobj = 0;
23151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23152 PyObject *arg2 = (PyObject *) 0 ;
23153 PyObject *arg3 = (PyObject *) 0 ;
23154 void *argp1 = 0 ;
23155 int res1 = 0 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 PyObject * obj2 = 0 ;
23159 char * kwnames[] = {
23160 (char *) "self",(char *) "self",(char *) "_class", NULL
23161 };
23162
23163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23165 if (!SWIG_IsOK(res1)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23167 }
23168 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23169 arg2 = obj1;
23170 arg3 = obj2;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 (arg1)->_setCallbackInfo(arg2,arg3);
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 resultobj = SWIG_Py_Void();
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23185 PyObject *resultobj = 0;
23186 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23187 wxSize *arg2 = 0 ;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 wxSize temp2 ;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 char * kwnames[] = {
23194 (char *) "self",(char *) "size", NULL
23195 };
23196
23197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23199 if (!SWIG_IsOK(res1)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 }
23202 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23203 {
23204 arg2 = &temp2;
23205 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 (arg1)->SetBestSize((wxSize const &)*arg2);
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 resultobj = SWIG_Py_Void();
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj = 0;
23222 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23223 wxDC *arg2 = (wxDC *) 0 ;
23224 bool result;
23225 void *argp1 = 0 ;
23226 int res1 = 0 ;
23227 void *argp2 = 0 ;
23228 int res2 = 0 ;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 char * kwnames[] = {
23232 (char *) "self",(char *) "dc", NULL
23233 };
23234
23235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23237 if (!SWIG_IsOK(res1)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23239 }
23240 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23241 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23242 if (!SWIG_IsOK(res2)) {
23243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23244 }
23245 arg2 = reinterpret_cast< wxDC * >(argp2);
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (bool)(arg1)->DoEraseBackground(arg2);
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 {
23253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23254 }
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj = 0;
23263 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23264 int arg2 ;
23265 int arg3 ;
23266 int arg4 ;
23267 int arg5 ;
23268 void *argp1 = 0 ;
23269 int res1 = 0 ;
23270 int val2 ;
23271 int ecode2 = 0 ;
23272 int val3 ;
23273 int ecode3 = 0 ;
23274 int val4 ;
23275 int ecode4 = 0 ;
23276 int val5 ;
23277 int ecode5 = 0 ;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 PyObject * obj2 = 0 ;
23281 PyObject * obj3 = 0 ;
23282 PyObject * obj4 = 0 ;
23283 char * kwnames[] = {
23284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23285 };
23286
23287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23289 if (!SWIG_IsOK(res1)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23291 }
23292 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23293 ecode2 = SWIG_AsVal_int(obj1, &val2);
23294 if (!SWIG_IsOK(ecode2)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23296 }
23297 arg2 = static_cast< int >(val2);
23298 ecode3 = SWIG_AsVal_int(obj2, &val3);
23299 if (!SWIG_IsOK(ecode3)) {
23300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23301 }
23302 arg3 = static_cast< int >(val3);
23303 ecode4 = SWIG_AsVal_int(obj3, &val4);
23304 if (!SWIG_IsOK(ecode4)) {
23305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23306 }
23307 arg4 = static_cast< int >(val4);
23308 ecode5 = SWIG_AsVal_int(obj4, &val5);
23309 if (!SWIG_IsOK(ecode5)) {
23310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23311 }
23312 arg5 = static_cast< int >(val5);
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 resultobj = SWIG_Py_Void();
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj = 0;
23328 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23329 int arg2 ;
23330 int arg3 ;
23331 int arg4 ;
23332 int arg5 ;
23333 int arg6 = (int) wxSIZE_AUTO ;
23334 void *argp1 = 0 ;
23335 int res1 = 0 ;
23336 int val2 ;
23337 int ecode2 = 0 ;
23338 int val3 ;
23339 int ecode3 = 0 ;
23340 int val4 ;
23341 int ecode4 = 0 ;
23342 int val5 ;
23343 int ecode5 = 0 ;
23344 int val6 ;
23345 int ecode6 = 0 ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 PyObject * obj2 = 0 ;
23349 PyObject * obj3 = 0 ;
23350 PyObject * obj4 = 0 ;
23351 PyObject * obj5 = 0 ;
23352 char * kwnames[] = {
23353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23354 };
23355
23356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23358 if (!SWIG_IsOK(res1)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23360 }
23361 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23362 ecode2 = SWIG_AsVal_int(obj1, &val2);
23363 if (!SWIG_IsOK(ecode2)) {
23364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23365 }
23366 arg2 = static_cast< int >(val2);
23367 ecode3 = SWIG_AsVal_int(obj2, &val3);
23368 if (!SWIG_IsOK(ecode3)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23370 }
23371 arg3 = static_cast< int >(val3);
23372 ecode4 = SWIG_AsVal_int(obj3, &val4);
23373 if (!SWIG_IsOK(ecode4)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23375 }
23376 arg4 = static_cast< int >(val4);
23377 ecode5 = SWIG_AsVal_int(obj4, &val5);
23378 if (!SWIG_IsOK(ecode5)) {
23379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23380 }
23381 arg5 = static_cast< int >(val5);
23382 if (obj5) {
23383 ecode6 = SWIG_AsVal_int(obj5, &val6);
23384 if (!SWIG_IsOK(ecode6)) {
23385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23386 }
23387 arg6 = static_cast< int >(val6);
23388 }
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_Py_Void();
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj = 0;
23404 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23405 int arg2 ;
23406 int arg3 ;
23407 void *argp1 = 0 ;
23408 int res1 = 0 ;
23409 int val2 ;
23410 int ecode2 = 0 ;
23411 int val3 ;
23412 int ecode3 = 0 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 PyObject * obj2 = 0 ;
23416 char * kwnames[] = {
23417 (char *) "self",(char *) "width",(char *) "height", NULL
23418 };
23419
23420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23422 if (!SWIG_IsOK(res1)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23424 }
23425 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23426 ecode2 = SWIG_AsVal_int(obj1, &val2);
23427 if (!SWIG_IsOK(ecode2)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23429 }
23430 arg2 = static_cast< int >(val2);
23431 ecode3 = SWIG_AsVal_int(obj2, &val3);
23432 if (!SWIG_IsOK(ecode3)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23434 }
23435 arg3 = static_cast< int >(val3);
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 (arg1)->DoSetClientSize(arg2,arg3);
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_Py_Void();
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj = 0;
23451 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23452 int arg2 ;
23453 int arg3 ;
23454 void *argp1 = 0 ;
23455 int res1 = 0 ;
23456 int val2 ;
23457 int ecode2 = 0 ;
23458 int val3 ;
23459 int ecode3 = 0 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 PyObject * obj2 = 0 ;
23463 char * kwnames[] = {
23464 (char *) "self",(char *) "x",(char *) "y", NULL
23465 };
23466
23467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23469 if (!SWIG_IsOK(res1)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23471 }
23472 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23473 ecode2 = SWIG_AsVal_int(obj1, &val2);
23474 if (!SWIG_IsOK(ecode2)) {
23475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23476 }
23477 arg2 = static_cast< int >(val2);
23478 ecode3 = SWIG_AsVal_int(obj2, &val3);
23479 if (!SWIG_IsOK(ecode3)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23481 }
23482 arg3 = static_cast< int >(val3);
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 (arg1)->DoSetVirtualSize(arg2,arg3);
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 resultobj = SWIG_Py_Void();
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23497 PyObject *resultobj = 0;
23498 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23499 int *arg2 = (int *) 0 ;
23500 int *arg3 = (int *) 0 ;
23501 void *argp1 = 0 ;
23502 int res1 = 0 ;
23503 int temp2 ;
23504 int res2 = SWIG_TMPOBJ ;
23505 int temp3 ;
23506 int res3 = SWIG_TMPOBJ ;
23507 PyObject *swig_obj[1] ;
23508
23509 arg2 = &temp2;
23510 arg3 = &temp3;
23511 if (!args) SWIG_fail;
23512 swig_obj[0] = args;
23513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23514 if (!SWIG_IsOK(res1)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23516 }
23517 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 resultobj = SWIG_Py_Void();
23525 if (SWIG_IsTmpObj(res2)) {
23526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23527 } else {
23528 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23530 }
23531 if (SWIG_IsTmpObj(res3)) {
23532 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23533 } else {
23534 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23535 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23536 }
23537 return resultobj;
23538 fail:
23539 return NULL;
23540 }
23541
23542
23543 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23544 PyObject *resultobj = 0;
23545 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23546 int *arg2 = (int *) 0 ;
23547 int *arg3 = (int *) 0 ;
23548 void *argp1 = 0 ;
23549 int res1 = 0 ;
23550 int temp2 ;
23551 int res2 = SWIG_TMPOBJ ;
23552 int temp3 ;
23553 int res3 = SWIG_TMPOBJ ;
23554 PyObject *swig_obj[1] ;
23555
23556 arg2 = &temp2;
23557 arg3 = &temp3;
23558 if (!args) SWIG_fail;
23559 swig_obj[0] = args;
23560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23561 if (!SWIG_IsOK(res1)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23563 }
23564 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = SWIG_Py_Void();
23572 if (SWIG_IsTmpObj(res2)) {
23573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23574 } else {
23575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23577 }
23578 if (SWIG_IsTmpObj(res3)) {
23579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23580 } else {
23581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23583 }
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23591 PyObject *resultobj = 0;
23592 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23593 int *arg2 = (int *) 0 ;
23594 int *arg3 = (int *) 0 ;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 int temp2 ;
23598 int res2 = SWIG_TMPOBJ ;
23599 int temp3 ;
23600 int res3 = SWIG_TMPOBJ ;
23601 PyObject *swig_obj[1] ;
23602
23603 arg2 = &temp2;
23604 arg3 = &temp3;
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_Py_Void();
23619 if (SWIG_IsTmpObj(res2)) {
23620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23621 } else {
23622 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23624 }
23625 if (SWIG_IsTmpObj(res3)) {
23626 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23627 } else {
23628 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23630 }
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23638 PyObject *resultobj = 0;
23639 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23640 wxSize result;
23641 void *argp1 = 0 ;
23642 int res1 = 0 ;
23643 PyObject *swig_obj[1] ;
23644
23645 if (!args) SWIG_fail;
23646 swig_obj[0] = args;
23647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23648 if (!SWIG_IsOK(res1)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23650 }
23651 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23666 PyObject *resultobj = 0;
23667 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23668 wxSize result;
23669 void *argp1 = 0 ;
23670 int res1 = 0 ;
23671 PyObject *swig_obj[1] ;
23672
23673 if (!args) SWIG_fail;
23674 swig_obj[0] = args;
23675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23676 if (!SWIG_IsOK(res1)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23678 }
23679 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23694 PyObject *resultobj = 0;
23695 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23696 SwigValueWrapper<wxVisualAttributes > result;
23697 void *argp1 = 0 ;
23698 int res1 = 0 ;
23699 PyObject *swig_obj[1] ;
23700
23701 if (!args) SWIG_fail;
23702 swig_obj[0] = args;
23703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (arg1)->GetDefaultAttributes();
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23722 PyObject *resultobj = 0;
23723 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 PyObject *swig_obj[1] ;
23727
23728 if (!args) SWIG_fail;
23729 swig_obj[0] = args;
23730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23731 if (!SWIG_IsOK(res1)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23733 }
23734 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->OnInternalIdle();
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 resultobj = SWIG_Py_Void();
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23749 PyObject *obj;
23750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23751 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23752 return SWIG_Py_Void();
23753 }
23754
23755 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23756 return SWIG_Python_InitShadowInstance(args);
23757 }
23758
23759 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23760 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23761 return 1;
23762 }
23763
23764
23765 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23766 PyObject *pyobj = 0;
23767
23768 {
23769 #if wxUSE_UNICODE
23770 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23771 #else
23772 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23773 #endif
23774 }
23775 return pyobj;
23776 }
23777
23778
23779 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23780 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23781 return 1;
23782 }
23783
23784
23785 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23786 PyObject *pyobj = 0;
23787
23788 {
23789 #if wxUSE_UNICODE
23790 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23791 #else
23792 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23793 #endif
23794 }
23795 return pyobj;
23796 }
23797
23798
23799 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23800 PyObject *resultobj = 0;
23801 wxPrintData *result = 0 ;
23802
23803 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (wxPrintData *)new wxPrintData();
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23811 return resultobj;
23812 fail:
23813 return NULL;
23814 }
23815
23816
23817 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23818 PyObject *resultobj = 0;
23819 wxPrintData *arg1 = 0 ;
23820 wxPrintData *result = 0 ;
23821 void *argp1 = 0 ;
23822 int res1 = 0 ;
23823
23824 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23826 if (!SWIG_IsOK(res1)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23828 }
23829 if (!argp1) {
23830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23831 }
23832 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23840 return resultobj;
23841 fail:
23842 return NULL;
23843 }
23844
23845
23846 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23847 int argc;
23848 PyObject *argv[2];
23849
23850 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23851 --argc;
23852 if (argc == 0) {
23853 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23854 }
23855 if (argc == 1) {
23856 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23857 }
23858
23859 fail:
23860 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23861 return NULL;
23862 }
23863
23864
23865 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxPrintData *arg1 = (wxPrintData *) 0 ;
23868 void *argp1 = 0 ;
23869 int res1 = 0 ;
23870 PyObject *swig_obj[1] ;
23871
23872 if (!args) SWIG_fail;
23873 swig_obj[0] = args;
23874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 delete arg1;
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_Py_Void();
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23894 PyObject *resultobj = 0;
23895 wxPrintData *arg1 = (wxPrintData *) 0 ;
23896 int result;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 PyObject *swig_obj[1] ;
23900
23901 if (!args) SWIG_fail;
23902 swig_obj[0] = args;
23903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23904 if (!SWIG_IsOK(res1)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23906 }
23907 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (int)(arg1)->GetNoCopies();
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_From_int(static_cast< int >(result));
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23922 PyObject *resultobj = 0;
23923 wxPrintData *arg1 = (wxPrintData *) 0 ;
23924 bool result;
23925 void *argp1 = 0 ;
23926 int res1 = 0 ;
23927 PyObject *swig_obj[1] ;
23928
23929 if (!args) SWIG_fail;
23930 swig_obj[0] = args;
23931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 }
23935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (bool)(arg1)->GetCollate();
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 {
23943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23944 }
23945 return resultobj;
23946 fail:
23947 return NULL;
23948 }
23949
23950
23951 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23952 PyObject *resultobj = 0;
23953 wxPrintData *arg1 = (wxPrintData *) 0 ;
23954 int result;
23955 void *argp1 = 0 ;
23956 int res1 = 0 ;
23957 PyObject *swig_obj[1] ;
23958
23959 if (!args) SWIG_fail;
23960 swig_obj[0] = args;
23961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23962 if (!SWIG_IsOK(res1)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23964 }
23965 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (int)(arg1)->GetOrientation();
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_From_int(static_cast< int >(result));
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23980 PyObject *resultobj = 0;
23981 wxPrintData *arg1 = (wxPrintData *) 0 ;
23982 bool result;
23983 void *argp1 = 0 ;
23984 int res1 = 0 ;
23985 PyObject *swig_obj[1] ;
23986
23987 if (!args) SWIG_fail;
23988 swig_obj[0] = args;
23989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23990 if (!SWIG_IsOK(res1)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23992 }
23993 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = (bool)(arg1)->Ok();
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 {
24001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24002 }
24003 return resultobj;
24004 fail:
24005 return NULL;
24006 }
24007
24008
24009 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24010 PyObject *resultobj = 0;
24011 wxPrintData *arg1 = (wxPrintData *) 0 ;
24012 wxString *result = 0 ;
24013 void *argp1 = 0 ;
24014 int res1 = 0 ;
24015 PyObject *swig_obj[1] ;
24016
24017 if (!args) SWIG_fail;
24018 swig_obj[0] = args;
24019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 }
24023 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 {
24027 wxString const &_result_ref = (arg1)->GetPrinterName();
24028 result = (wxString *) &_result_ref;
24029 }
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
24034 #if wxUSE_UNICODE
24035 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24036 #else
24037 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24038 #endif
24039 }
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24047 PyObject *resultobj = 0;
24048 wxPrintData *arg1 = (wxPrintData *) 0 ;
24049 bool result;
24050 void *argp1 = 0 ;
24051 int res1 = 0 ;
24052 PyObject *swig_obj[1] ;
24053
24054 if (!args) SWIG_fail;
24055 swig_obj[0] = args;
24056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24057 if (!SWIG_IsOK(res1)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24059 }
24060 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (bool)(arg1)->GetColour();
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24077 PyObject *resultobj = 0;
24078 wxPrintData *arg1 = (wxPrintData *) 0 ;
24079 wxDuplexMode result;
24080 void *argp1 = 0 ;
24081 int res1 = 0 ;
24082 PyObject *swig_obj[1] ;
24083
24084 if (!args) SWIG_fail;
24085 swig_obj[0] = args;
24086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24087 if (!SWIG_IsOK(res1)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24089 }
24090 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 result = (wxDuplexMode)(arg1)->GetDuplex();
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = SWIG_From_int(static_cast< int >(result));
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24105 PyObject *resultobj = 0;
24106 wxPrintData *arg1 = (wxPrintData *) 0 ;
24107 wxPaperSize result;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 PyObject *swig_obj[1] ;
24111
24112 if (!args) SWIG_fail;
24113 swig_obj[0] = args;
24114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24115 if (!SWIG_IsOK(res1)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24117 }
24118 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (wxPaperSize)(arg1)->GetPaperId();
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = SWIG_From_int(static_cast< int >(result));
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24133 PyObject *resultobj = 0;
24134 wxPrintData *arg1 = (wxPrintData *) 0 ;
24135 wxSize *result = 0 ;
24136 void *argp1 = 0 ;
24137 int res1 = 0 ;
24138 PyObject *swig_obj[1] ;
24139
24140 if (!args) SWIG_fail;
24141 swig_obj[0] = args;
24142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24143 if (!SWIG_IsOK(res1)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24145 }
24146 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 {
24150 wxSize const &_result_ref = (arg1)->GetPaperSize();
24151 result = (wxSize *) &_result_ref;
24152 }
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24157 return resultobj;
24158 fail:
24159 return NULL;
24160 }
24161
24162
24163 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24164 PyObject *resultobj = 0;
24165 wxPrintData *arg1 = (wxPrintData *) 0 ;
24166 int result;
24167 void *argp1 = 0 ;
24168 int res1 = 0 ;
24169 PyObject *swig_obj[1] ;
24170
24171 if (!args) SWIG_fail;
24172 swig_obj[0] = args;
24173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24174 if (!SWIG_IsOK(res1)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24176 }
24177 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (int)(arg1)->GetQuality();
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 resultobj = SWIG_From_int(static_cast< int >(result));
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24192 PyObject *resultobj = 0;
24193 wxPrintData *arg1 = (wxPrintData *) 0 ;
24194 wxPrintBin result;
24195 void *argp1 = 0 ;
24196 int res1 = 0 ;
24197 PyObject *swig_obj[1] ;
24198
24199 if (!args) SWIG_fail;
24200 swig_obj[0] = args;
24201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24202 if (!SWIG_IsOK(res1)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24204 }
24205 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (wxPrintBin)(arg1)->GetBin();
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 resultobj = SWIG_From_int(static_cast< int >(result));
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24220 PyObject *resultobj = 0;
24221 wxPrintData *arg1 = (wxPrintData *) 0 ;
24222 wxPrintMode result;
24223 void *argp1 = 0 ;
24224 int res1 = 0 ;
24225 PyObject *swig_obj[1] ;
24226
24227 if (!args) SWIG_fail;
24228 swig_obj[0] = args;
24229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24230 if (!SWIG_IsOK(res1)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24232 }
24233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 resultobj = SWIG_From_int(static_cast< int >(result));
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj = 0;
24249 wxPrintData *arg1 = (wxPrintData *) 0 ;
24250 int arg2 ;
24251 void *argp1 = 0 ;
24252 int res1 = 0 ;
24253 int val2 ;
24254 int ecode2 = 0 ;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char * kwnames[] = {
24258 (char *) "self",(char *) "v", NULL
24259 };
24260
24261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24263 if (!SWIG_IsOK(res1)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24265 }
24266 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24267 ecode2 = SWIG_AsVal_int(obj1, &val2);
24268 if (!SWIG_IsOK(ecode2)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24270 }
24271 arg2 = static_cast< int >(val2);
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 (arg1)->SetNoCopies(arg2);
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 resultobj = SWIG_Py_Void();
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj = 0;
24287 wxPrintData *arg1 = (wxPrintData *) 0 ;
24288 bool arg2 ;
24289 void *argp1 = 0 ;
24290 int res1 = 0 ;
24291 bool val2 ;
24292 int ecode2 = 0 ;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 char * kwnames[] = {
24296 (char *) "self",(char *) "flag", NULL
24297 };
24298
24299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24301 if (!SWIG_IsOK(res1)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 }
24304 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24306 if (!SWIG_IsOK(ecode2)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24308 }
24309 arg2 = static_cast< bool >(val2);
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 (arg1)->SetCollate(arg2);
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = SWIG_Py_Void();
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj = 0;
24325 wxPrintData *arg1 = (wxPrintData *) 0 ;
24326 int arg2 ;
24327 void *argp1 = 0 ;
24328 int res1 = 0 ;
24329 int val2 ;
24330 int ecode2 = 0 ;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 char * kwnames[] = {
24334 (char *) "self",(char *) "orient", NULL
24335 };
24336
24337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24341 }
24342 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24343 ecode2 = SWIG_AsVal_int(obj1, &val2);
24344 if (!SWIG_IsOK(ecode2)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24346 }
24347 arg2 = static_cast< int >(val2);
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetOrientation(arg2);
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_Py_Void();
24355 return resultobj;
24356 fail:
24357 return NULL;
24358 }
24359
24360
24361 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj = 0;
24363 wxPrintData *arg1 = (wxPrintData *) 0 ;
24364 wxString *arg2 = 0 ;
24365 void *argp1 = 0 ;
24366 int res1 = 0 ;
24367 bool temp2 = false ;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char * kwnames[] = {
24371 (char *) "self",(char *) "name", NULL
24372 };
24373
24374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24376 if (!SWIG_IsOK(res1)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24378 }
24379 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24380 {
24381 arg2 = wxString_in_helper(obj1);
24382 if (arg2 == NULL) SWIG_fail;
24383 temp2 = true;
24384 }
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 (arg1)->SetPrinterName((wxString const &)*arg2);
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = SWIG_Py_Void();
24392 {
24393 if (temp2)
24394 delete arg2;
24395 }
24396 return resultobj;
24397 fail:
24398 {
24399 if (temp2)
24400 delete arg2;
24401 }
24402 return NULL;
24403 }
24404
24405
24406 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj = 0;
24408 wxPrintData *arg1 = (wxPrintData *) 0 ;
24409 bool arg2 ;
24410 void *argp1 = 0 ;
24411 int res1 = 0 ;
24412 bool val2 ;
24413 int ecode2 = 0 ;
24414 PyObject * obj0 = 0 ;
24415 PyObject * obj1 = 0 ;
24416 char * kwnames[] = {
24417 (char *) "self",(char *) "colour", NULL
24418 };
24419
24420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24422 if (!SWIG_IsOK(res1)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24424 }
24425 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24427 if (!SWIG_IsOK(ecode2)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24429 }
24430 arg2 = static_cast< bool >(val2);
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 (arg1)->SetColour(arg2);
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 resultobj = SWIG_Py_Void();
24438 return resultobj;
24439 fail:
24440 return NULL;
24441 }
24442
24443
24444 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj = 0;
24446 wxPrintData *arg1 = (wxPrintData *) 0 ;
24447 wxDuplexMode 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 *) "duplex", NULL
24456 };
24457
24458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",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_SetDuplex" "', 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_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24467 }
24468 arg2 = static_cast< wxDuplexMode >(val2);
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 (arg1)->SetDuplex(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_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj = 0;
24484 wxPrintData *arg1 = (wxPrintData *) 0 ;
24485 wxPaperSize arg2 ;
24486 void *argp1 = 0 ;
24487 int res1 = 0 ;
24488 int val2 ;
24489 int ecode2 = 0 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "sizeId", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",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_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 }
24501 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24502 ecode2 = SWIG_AsVal_int(obj1, &val2);
24503 if (!SWIG_IsOK(ecode2)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24505 }
24506 arg2 = static_cast< wxPaperSize >(val2);
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 (arg1)->SetPaperId(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_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj = 0;
24522 wxPrintData *arg1 = (wxPrintData *) 0 ;
24523 wxSize *arg2 = 0 ;
24524 void *argp1 = 0 ;
24525 int res1 = 0 ;
24526 wxSize temp2 ;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 char * kwnames[] = {
24530 (char *) "self",(char *) "sz", NULL
24531 };
24532
24533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24535 if (!SWIG_IsOK(res1)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24537 }
24538 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24539 {
24540 arg2 = &temp2;
24541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 (arg1)->SetPaperSize((wxSize const &)*arg2);
24546 wxPyEndAllowThreads(__tstate);
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
24549 resultobj = SWIG_Py_Void();
24550 return resultobj;
24551 fail:
24552 return NULL;
24553 }
24554
24555
24556 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj = 0;
24558 wxPrintData *arg1 = (wxPrintData *) 0 ;
24559 int arg2 ;
24560 void *argp1 = 0 ;
24561 int res1 = 0 ;
24562 int val2 ;
24563 int ecode2 = 0 ;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char * kwnames[] = {
24567 (char *) "self",(char *) "quality", NULL
24568 };
24569
24570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24572 if (!SWIG_IsOK(res1)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24574 }
24575 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24576 ecode2 = SWIG_AsVal_int(obj1, &val2);
24577 if (!SWIG_IsOK(ecode2)) {
24578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24579 }
24580 arg2 = static_cast< int >(val2);
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 (arg1)->SetQuality(arg2);
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 resultobj = SWIG_Py_Void();
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj = 0;
24596 wxPrintData *arg1 = (wxPrintData *) 0 ;
24597 wxPrintBin arg2 ;
24598 void *argp1 = 0 ;
24599 int res1 = 0 ;
24600 int val2 ;
24601 int ecode2 = 0 ;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char * kwnames[] = {
24605 (char *) "self",(char *) "bin", NULL
24606 };
24607
24608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24610 if (!SWIG_IsOK(res1)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24612 }
24613 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24614 ecode2 = SWIG_AsVal_int(obj1, &val2);
24615 if (!SWIG_IsOK(ecode2)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24617 }
24618 arg2 = static_cast< wxPrintBin >(val2);
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 (arg1)->SetBin(arg2);
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 resultobj = SWIG_Py_Void();
24626 return resultobj;
24627 fail:
24628 return NULL;
24629 }
24630
24631
24632 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj = 0;
24634 wxPrintData *arg1 = (wxPrintData *) 0 ;
24635 wxPrintMode arg2 ;
24636 void *argp1 = 0 ;
24637 int res1 = 0 ;
24638 int val2 ;
24639 int ecode2 = 0 ;
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
24642 char * kwnames[] = {
24643 (char *) "self",(char *) "printMode", NULL
24644 };
24645
24646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24648 if (!SWIG_IsOK(res1)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24650 }
24651 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24652 ecode2 = SWIG_AsVal_int(obj1, &val2);
24653 if (!SWIG_IsOK(ecode2)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24655 }
24656 arg2 = static_cast< wxPrintMode >(val2);
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 (arg1)->SetPrintMode(arg2);
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 resultobj = SWIG_Py_Void();
24664 return resultobj;
24665 fail:
24666 return NULL;
24667 }
24668
24669
24670 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24671 PyObject *resultobj = 0;
24672 wxPrintData *arg1 = (wxPrintData *) 0 ;
24673 wxString result;
24674 void *argp1 = 0 ;
24675 int res1 = 0 ;
24676 PyObject *swig_obj[1] ;
24677
24678 if (!args) SWIG_fail;
24679 swig_obj[0] = args;
24680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24681 if (!SWIG_IsOK(res1)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24683 }
24684 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = ((wxPrintData const *)arg1)->GetFilename();
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 {
24692 #if wxUSE_UNICODE
24693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24694 #else
24695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24696 #endif
24697 }
24698 return resultobj;
24699 fail:
24700 return NULL;
24701 }
24702
24703
24704 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj = 0;
24706 wxPrintData *arg1 = (wxPrintData *) 0 ;
24707 wxString *arg2 = 0 ;
24708 void *argp1 = 0 ;
24709 int res1 = 0 ;
24710 bool temp2 = false ;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 char * kwnames[] = {
24714 (char *) "self",(char *) "filename", NULL
24715 };
24716
24717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24719 if (!SWIG_IsOK(res1)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24721 }
24722 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24723 {
24724 arg2 = wxString_in_helper(obj1);
24725 if (arg2 == NULL) SWIG_fail;
24726 temp2 = true;
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetFilename((wxString const &)*arg2);
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 resultobj = SWIG_Py_Void();
24735 {
24736 if (temp2)
24737 delete arg2;
24738 }
24739 return resultobj;
24740 fail:
24741 {
24742 if (temp2)
24743 delete arg2;
24744 }
24745 return NULL;
24746 }
24747
24748
24749 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24750 PyObject *resultobj = 0;
24751 wxPrintData *arg1 = (wxPrintData *) 0 ;
24752 PyObject *result = 0 ;
24753 void *argp1 = 0 ;
24754 int res1 = 0 ;
24755 PyObject *swig_obj[1] ;
24756
24757 if (!args) SWIG_fail;
24758 swig_obj[0] = args;
24759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24760 if (!SWIG_IsOK(res1)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24762 }
24763 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24767 wxPyEndAllowThreads(__tstate);
24768 if (PyErr_Occurred()) SWIG_fail;
24769 }
24770 resultobj = result;
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj = 0;
24779 wxPrintData *arg1 = (wxPrintData *) 0 ;
24780 PyObject *arg2 = (PyObject *) 0 ;
24781 void *argp1 = 0 ;
24782 int res1 = 0 ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 char * kwnames[] = {
24786 (char *) "self",(char *) "data", NULL
24787 };
24788
24789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24791 if (!SWIG_IsOK(res1)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24793 }
24794 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24795 arg2 = obj1;
24796 {
24797 PyThreadState* __tstate = wxPyBeginAllowThreads();
24798 wxPrintData_SetPrivData(arg1,arg2);
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 resultobj = SWIG_Py_Void();
24803 return resultobj;
24804 fail:
24805 return NULL;
24806 }
24807
24808
24809 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24810 PyObject *obj;
24811 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24812 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24813 return SWIG_Py_Void();
24814 }
24815
24816 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24817 return SWIG_Python_InitShadowInstance(args);
24818 }
24819
24820 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *result = 0 ;
24823
24824 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24832 return resultobj;
24833 fail:
24834 return NULL;
24835 }
24836
24837
24838 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24839 PyObject *resultobj = 0;
24840 wxPageSetupDialogData *arg1 = 0 ;
24841 wxPageSetupDialogData *result = 0 ;
24842 void *argp1 = 0 ;
24843 int res1 = 0 ;
24844
24845 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24847 if (!SWIG_IsOK(res1)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24849 }
24850 if (!argp1) {
24851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24852 }
24853 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24868 PyObject *resultobj = 0;
24869 wxPrintData *arg1 = 0 ;
24870 wxPageSetupDialogData *result = 0 ;
24871 void *argp1 = 0 ;
24872 int res1 = 0 ;
24873
24874 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24876 if (!SWIG_IsOK(res1)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24878 }
24879 if (!argp1) {
24880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24881 }
24882 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24890 return resultobj;
24891 fail:
24892 return NULL;
24893 }
24894
24895
24896 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24897 int argc;
24898 PyObject *argv[2];
24899
24900 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24901 --argc;
24902 if (argc == 0) {
24903 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24904 }
24905 if (argc == 1) {
24906 int _v = 0;
24907 {
24908 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24909 _v = SWIG_CheckState(res);
24910 }
24911 if (!_v) goto check_2;
24912 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24913 }
24914 check_2:
24915
24916 if (argc == 1) {
24917 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24918 }
24919
24920 fail:
24921 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24922 return NULL;
24923 }
24924
24925
24926 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24927 PyObject *resultobj = 0;
24928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 PyObject *swig_obj[1] ;
24932
24933 if (!args) SWIG_fail;
24934 swig_obj[0] = args;
24935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24936 if (!SWIG_IsOK(res1)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 }
24939 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 delete arg1;
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 resultobj = SWIG_Py_Void();
24948 return resultobj;
24949 fail:
24950 return NULL;
24951 }
24952
24953
24954 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj = 0;
24956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24957 bool arg2 ;
24958 void *argp1 = 0 ;
24959 int res1 = 0 ;
24960 bool val2 ;
24961 int ecode2 = 0 ;
24962 PyObject * obj0 = 0 ;
24963 PyObject * obj1 = 0 ;
24964 char * kwnames[] = {
24965 (char *) "self",(char *) "flag", NULL
24966 };
24967
24968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24970 if (!SWIG_IsOK(res1)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24972 }
24973 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24974 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24975 if (!SWIG_IsOK(ecode2)) {
24976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24977 }
24978 arg2 = static_cast< bool >(val2);
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 (arg1)->EnableHelp(arg2);
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 resultobj = SWIG_Py_Void();
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj = 0;
24994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24995 bool arg2 ;
24996 void *argp1 = 0 ;
24997 int res1 = 0 ;
24998 bool val2 ;
24999 int ecode2 = 0 ;
25000 PyObject * obj0 = 0 ;
25001 PyObject * obj1 = 0 ;
25002 char * kwnames[] = {
25003 (char *) "self",(char *) "flag", NULL
25004 };
25005
25006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 }
25011 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25013 if (!SWIG_IsOK(ecode2)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25015 }
25016 arg2 = static_cast< bool >(val2);
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 (arg1)->EnableMargins(arg2);
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 resultobj = SWIG_Py_Void();
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj = 0;
25032 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25033 bool arg2 ;
25034 void *argp1 = 0 ;
25035 int res1 = 0 ;
25036 bool val2 ;
25037 int ecode2 = 0 ;
25038 PyObject * obj0 = 0 ;
25039 PyObject * obj1 = 0 ;
25040 char * kwnames[] = {
25041 (char *) "self",(char *) "flag", NULL
25042 };
25043
25044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25046 if (!SWIG_IsOK(res1)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 }
25049 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25050 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25051 if (!SWIG_IsOK(ecode2)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25053 }
25054 arg2 = static_cast< bool >(val2);
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 (arg1)->EnableOrientation(arg2);
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 resultobj = SWIG_Py_Void();
25062 return resultobj;
25063 fail:
25064 return NULL;
25065 }
25066
25067
25068 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25069 PyObject *resultobj = 0;
25070 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25071 bool arg2 ;
25072 void *argp1 = 0 ;
25073 int res1 = 0 ;
25074 bool val2 ;
25075 int ecode2 = 0 ;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj1 = 0 ;
25078 char * kwnames[] = {
25079 (char *) "self",(char *) "flag", NULL
25080 };
25081
25082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25084 if (!SWIG_IsOK(res1)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 }
25087 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25089 if (!SWIG_IsOK(ecode2)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25091 }
25092 arg2 = static_cast< bool >(val2);
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 (arg1)->EnablePaper(arg2);
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 resultobj = SWIG_Py_Void();
25100 return resultobj;
25101 fail:
25102 return NULL;
25103 }
25104
25105
25106 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25107 PyObject *resultobj = 0;
25108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25109 bool arg2 ;
25110 void *argp1 = 0 ;
25111 int res1 = 0 ;
25112 bool val2 ;
25113 int ecode2 = 0 ;
25114 PyObject * obj0 = 0 ;
25115 PyObject * obj1 = 0 ;
25116 char * kwnames[] = {
25117 (char *) "self",(char *) "flag", NULL
25118 };
25119
25120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25122 if (!SWIG_IsOK(res1)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25124 }
25125 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25126 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25127 if (!SWIG_IsOK(ecode2)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25129 }
25130 arg2 = static_cast< bool >(val2);
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 (arg1)->EnablePrinter(arg2);
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 resultobj = SWIG_Py_Void();
25138 return resultobj;
25139 fail:
25140 return NULL;
25141 }
25142
25143
25144 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25145 PyObject *resultobj = 0;
25146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25147 bool result;
25148 void *argp1 = 0 ;
25149 int res1 = 0 ;
25150 PyObject *swig_obj[1] ;
25151
25152 if (!args) SWIG_fail;
25153 swig_obj[0] = args;
25154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25155 if (!SWIG_IsOK(res1)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 }
25158 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (bool)(arg1)->GetDefaultMinMargins();
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 {
25166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25167 }
25168 return resultobj;
25169 fail:
25170 return NULL;
25171 }
25172
25173
25174 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25175 PyObject *resultobj = 0;
25176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25177 bool result;
25178 void *argp1 = 0 ;
25179 int res1 = 0 ;
25180 PyObject *swig_obj[1] ;
25181
25182 if (!args) SWIG_fail;
25183 swig_obj[0] = args;
25184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25185 if (!SWIG_IsOK(res1)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 }
25188 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = (bool)(arg1)->GetEnableMargins();
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 {
25196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25197 }
25198 return resultobj;
25199 fail:
25200 return NULL;
25201 }
25202
25203
25204 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25205 PyObject *resultobj = 0;
25206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25207 bool result;
25208 void *argp1 = 0 ;
25209 int res1 = 0 ;
25210 PyObject *swig_obj[1] ;
25211
25212 if (!args) SWIG_fail;
25213 swig_obj[0] = args;
25214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25215 if (!SWIG_IsOK(res1)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25217 }
25218 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (bool)(arg1)->GetEnableOrientation();
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 {
25226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227 }
25228 return resultobj;
25229 fail:
25230 return NULL;
25231 }
25232
25233
25234 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25235 PyObject *resultobj = 0;
25236 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25237 bool result;
25238 void *argp1 = 0 ;
25239 int res1 = 0 ;
25240 PyObject *swig_obj[1] ;
25241
25242 if (!args) SWIG_fail;
25243 swig_obj[0] = args;
25244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 result = (bool)(arg1)->GetEnablePaper();
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 {
25256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25257 }
25258 return resultobj;
25259 fail:
25260 return NULL;
25261 }
25262
25263
25264 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25265 PyObject *resultobj = 0;
25266 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25267 bool result;
25268 void *argp1 = 0 ;
25269 int res1 = 0 ;
25270 PyObject *swig_obj[1] ;
25271
25272 if (!args) SWIG_fail;
25273 swig_obj[0] = args;
25274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25275 if (!SWIG_IsOK(res1)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25277 }
25278 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 result = (bool)(arg1)->GetEnablePrinter();
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
25286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25287 }
25288 return resultobj;
25289 fail:
25290 return NULL;
25291 }
25292
25293
25294 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25295 PyObject *resultobj = 0;
25296 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25297 bool result;
25298 void *argp1 = 0 ;
25299 int res1 = 0 ;
25300 PyObject *swig_obj[1] ;
25301
25302 if (!args) SWIG_fail;
25303 swig_obj[0] = args;
25304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25305 if (!SWIG_IsOK(res1)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25307 }
25308 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 result = (bool)(arg1)->GetEnableHelp();
25312 wxPyEndAllowThreads(__tstate);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 {
25316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25317 }
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25325 PyObject *resultobj = 0;
25326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25327 bool result;
25328 void *argp1 = 0 ;
25329 int res1 = 0 ;
25330 PyObject *swig_obj[1] ;
25331
25332 if (!args) SWIG_fail;
25333 swig_obj[0] = args;
25334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25335 if (!SWIG_IsOK(res1)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25337 }
25338 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (bool)(arg1)->GetDefaultInfo();
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 {
25346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25347 }
25348 return resultobj;
25349 fail:
25350 return NULL;
25351 }
25352
25353
25354 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 wxPoint result;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25367 }
25368 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (arg1)->GetMarginTopLeft();
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *resultobj = 0;
25384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25385 wxPoint result;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (arg1)->GetMarginBottomRight();
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25404 return resultobj;
25405 fail:
25406 return NULL;
25407 }
25408
25409
25410 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25411 PyObject *resultobj = 0;
25412 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25413 wxPoint result;
25414 void *argp1 = 0 ;
25415 int res1 = 0 ;
25416 PyObject *swig_obj[1] ;
25417
25418 if (!args) SWIG_fail;
25419 swig_obj[0] = args;
25420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25421 if (!SWIG_IsOK(res1)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25423 }
25424 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 result = (arg1)->GetMinMarginTopLeft();
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25439 PyObject *resultobj = 0;
25440 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25441 wxPoint result;
25442 void *argp1 = 0 ;
25443 int res1 = 0 ;
25444 PyObject *swig_obj[1] ;
25445
25446 if (!args) SWIG_fail;
25447 swig_obj[0] = args;
25448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25449 if (!SWIG_IsOK(res1)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25451 }
25452 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = (arg1)->GetMinMarginBottomRight();
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25460 return resultobj;
25461 fail:
25462 return NULL;
25463 }
25464
25465
25466 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25467 PyObject *resultobj = 0;
25468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25469 wxPaperSize result;
25470 void *argp1 = 0 ;
25471 int res1 = 0 ;
25472 PyObject *swig_obj[1] ;
25473
25474 if (!args) SWIG_fail;
25475 swig_obj[0] = args;
25476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25477 if (!SWIG_IsOK(res1)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 }
25480 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (wxPaperSize)(arg1)->GetPaperId();
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = SWIG_From_int(static_cast< int >(result));
25488 return resultobj;
25489 fail:
25490 return NULL;
25491 }
25492
25493
25494 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25495 PyObject *resultobj = 0;
25496 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25497 wxSize result;
25498 void *argp1 = 0 ;
25499 int res1 = 0 ;
25500 PyObject *swig_obj[1] ;
25501
25502 if (!args) SWIG_fail;
25503 swig_obj[0] = args;
25504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25505 if (!SWIG_IsOK(res1)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 }
25508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (arg1)->GetPaperSize();
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25523 PyObject *resultobj = 0;
25524 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25525 wxPrintData *result = 0 ;
25526 void *argp1 = 0 ;
25527 int res1 = 0 ;
25528 PyObject *swig_obj[1] ;
25529
25530 if (!args) SWIG_fail;
25531 swig_obj[0] = args;
25532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25533 if (!SWIG_IsOK(res1)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 }
25536 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 {
25540 wxPrintData &_result_ref = (arg1)->GetPrintData();
25541 result = (wxPrintData *) &_result_ref;
25542 }
25543 wxPyEndAllowThreads(__tstate);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25554 PyObject *resultobj = 0;
25555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25556 bool result;
25557 void *argp1 = 0 ;
25558 int res1 = 0 ;
25559 PyObject *swig_obj[1] ;
25560
25561 if (!args) SWIG_fail;
25562 swig_obj[0] = args;
25563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25564 if (!SWIG_IsOK(res1)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25566 }
25567 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (bool)(arg1)->Ok();
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 {
25575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25576 }
25577 return resultobj;
25578 fail:
25579 return NULL;
25580 }
25581
25582
25583 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25584 PyObject *resultobj = 0;
25585 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25586 bool arg2 ;
25587 void *argp1 = 0 ;
25588 int res1 = 0 ;
25589 bool val2 ;
25590 int ecode2 = 0 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 char * kwnames[] = {
25594 (char *) "self",(char *) "flag", NULL
25595 };
25596
25597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25599 if (!SWIG_IsOK(res1)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25601 }
25602 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25603 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25604 if (!SWIG_IsOK(ecode2)) {
25605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25606 }
25607 arg2 = static_cast< bool >(val2);
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->SetDefaultInfo(arg2);
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 resultobj = SWIG_Py_Void();
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj = 0;
25623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25624 bool arg2 ;
25625 void *argp1 = 0 ;
25626 int res1 = 0 ;
25627 bool val2 ;
25628 int ecode2 = 0 ;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char * kwnames[] = {
25632 (char *) "self",(char *) "flag", NULL
25633 };
25634
25635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25637 if (!SWIG_IsOK(res1)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25639 }
25640 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25641 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25642 if (!SWIG_IsOK(ecode2)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25644 }
25645 arg2 = static_cast< bool >(val2);
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 (arg1)->SetDefaultMinMargins(arg2);
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = SWIG_Py_Void();
25653 return resultobj;
25654 fail:
25655 return NULL;
25656 }
25657
25658
25659 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj = 0;
25661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25662 wxPoint *arg2 = 0 ;
25663 void *argp1 = 0 ;
25664 int res1 = 0 ;
25665 wxPoint temp2 ;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 char * kwnames[] = {
25669 (char *) "self",(char *) "pt", NULL
25670 };
25671
25672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25674 if (!SWIG_IsOK(res1)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25676 }
25677 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25678 {
25679 arg2 = &temp2;
25680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25681 }
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 resultobj = SWIG_Py_Void();
25689 return resultobj;
25690 fail:
25691 return NULL;
25692 }
25693
25694
25695 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj = 0;
25697 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25698 wxPoint *arg2 = 0 ;
25699 void *argp1 = 0 ;
25700 int res1 = 0 ;
25701 wxPoint temp2 ;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 char * kwnames[] = {
25705 (char *) "self",(char *) "pt", NULL
25706 };
25707
25708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25710 if (!SWIG_IsOK(res1)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25712 }
25713 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25714 {
25715 arg2 = &temp2;
25716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25717 }
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
25720 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 resultobj = SWIG_Py_Void();
25725 return resultobj;
25726 fail:
25727 return NULL;
25728 }
25729
25730
25731 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25732 PyObject *resultobj = 0;
25733 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25734 wxPoint *arg2 = 0 ;
25735 void *argp1 = 0 ;
25736 int res1 = 0 ;
25737 wxPoint temp2 ;
25738 PyObject * obj0 = 0 ;
25739 PyObject * obj1 = 0 ;
25740 char * kwnames[] = {
25741 (char *) "self",(char *) "pt", NULL
25742 };
25743
25744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25746 if (!SWIG_IsOK(res1)) {
25747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25748 }
25749 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25750 {
25751 arg2 = &temp2;
25752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25753 }
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 resultobj = SWIG_Py_Void();
25761 return resultobj;
25762 fail:
25763 return NULL;
25764 }
25765
25766
25767 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25768 PyObject *resultobj = 0;
25769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25770 wxPoint *arg2 = 0 ;
25771 void *argp1 = 0 ;
25772 int res1 = 0 ;
25773 wxPoint temp2 ;
25774 PyObject * obj0 = 0 ;
25775 PyObject * obj1 = 0 ;
25776 char * kwnames[] = {
25777 (char *) "self",(char *) "pt", NULL
25778 };
25779
25780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25784 }
25785 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25786 {
25787 arg2 = &temp2;
25788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25789 }
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 resultobj = SWIG_Py_Void();
25797 return resultobj;
25798 fail:
25799 return NULL;
25800 }
25801
25802
25803 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25804 PyObject *resultobj = 0;
25805 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25806 wxPaperSize arg2 ;
25807 void *argp1 = 0 ;
25808 int res1 = 0 ;
25809 int val2 ;
25810 int ecode2 = 0 ;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj1 = 0 ;
25813 char * kwnames[] = {
25814 (char *) "self",(char *) "id", NULL
25815 };
25816
25817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25819 if (!SWIG_IsOK(res1)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25821 }
25822 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25823 ecode2 = SWIG_AsVal_int(obj1, &val2);
25824 if (!SWIG_IsOK(ecode2)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25826 }
25827 arg2 = static_cast< wxPaperSize >(val2);
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 (arg1)->SetPaperId(arg2);
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = SWIG_Py_Void();
25835 return resultobj;
25836 fail:
25837 return NULL;
25838 }
25839
25840
25841 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25842 PyObject *resultobj = 0;
25843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25844 wxSize *arg2 = 0 ;
25845 void *argp1 = 0 ;
25846 int res1 = 0 ;
25847 wxSize temp2 ;
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 char * kwnames[] = {
25851 (char *) "self",(char *) "size", NULL
25852 };
25853
25854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25860 {
25861 arg2 = &temp2;
25862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25863 }
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 (arg1)->SetPaperSize((wxSize const &)*arg2);
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_Py_Void();
25871 return resultobj;
25872 fail:
25873 return NULL;
25874 }
25875
25876
25877 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25878 PyObject *resultobj = 0;
25879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25880 wxPrintData *arg2 = 0 ;
25881 void *argp1 = 0 ;
25882 int res1 = 0 ;
25883 void *argp2 = 0 ;
25884 int res2 = 0 ;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char * kwnames[] = {
25888 (char *) "self",(char *) "printData", NULL
25889 };
25890
25891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25895 }
25896 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25897 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25898 if (!SWIG_IsOK(res2)) {
25899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25900 }
25901 if (!argp2) {
25902 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25903 }
25904 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 resultobj = SWIG_Py_Void();
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25919 PyObject *resultobj = 0;
25920 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25921 void *argp1 = 0 ;
25922 int res1 = 0 ;
25923 PyObject *swig_obj[1] ;
25924
25925 if (!args) SWIG_fail;
25926 swig_obj[0] = args;
25927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25928 if (!SWIG_IsOK(res1)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25930 }
25931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->CalculateIdFromPaperSize();
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 resultobj = SWIG_Py_Void();
25939 return resultobj;
25940 fail:
25941 return NULL;
25942 }
25943
25944
25945 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25946 PyObject *resultobj = 0;
25947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 PyObject *swig_obj[1] ;
25951
25952 if (!args) SWIG_fail;
25953 swig_obj[0] = args;
25954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 (arg1)->CalculatePaperSizeFromId();
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 resultobj = SWIG_Py_Void();
25966 return resultobj;
25967 fail:
25968 return NULL;
25969 }
25970
25971
25972 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *obj;
25974 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25976 return SWIG_Py_Void();
25977 }
25978
25979 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25980 return SWIG_Python_InitShadowInstance(args);
25981 }
25982
25983 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj = 0;
25985 wxWindow *arg1 = (wxWindow *) 0 ;
25986 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25987 wxPageSetupDialog *result = 0 ;
25988 void *argp1 = 0 ;
25989 int res1 = 0 ;
25990 void *argp2 = 0 ;
25991 int res2 = 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 char * kwnames[] = {
25995 (char *) "parent",(char *) "data", NULL
25996 };
25997
25998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26000 if (!SWIG_IsOK(res1)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26002 }
26003 arg1 = reinterpret_cast< wxWindow * >(argp1);
26004 if (obj1) {
26005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26006 if (!SWIG_IsOK(res2)) {
26007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26008 }
26009 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26010 }
26011 {
26012 if (!wxPyCheckForApp()) SWIG_fail;
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26015 wxPyEndAllowThreads(__tstate);
26016 if (PyErr_Occurred()) SWIG_fail;
26017 }
26018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26019 return resultobj;
26020 fail:
26021 return NULL;
26022 }
26023
26024
26025 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26026 PyObject *resultobj = 0;
26027 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26028 void *argp1 = 0 ;
26029 int res1 = 0 ;
26030 PyObject *swig_obj[1] ;
26031
26032 if (!args) SWIG_fail;
26033 swig_obj[0] = args;
26034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26035 if (!SWIG_IsOK(res1)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26037 }
26038 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26039 {
26040 PyThreadState* __tstate = wxPyBeginAllowThreads();
26041 delete arg1;
26042
26043 wxPyEndAllowThreads(__tstate);
26044 if (PyErr_Occurred()) SWIG_fail;
26045 }
26046 resultobj = SWIG_Py_Void();
26047 return resultobj;
26048 fail:
26049 return NULL;
26050 }
26051
26052
26053 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26054 PyObject *resultobj = 0;
26055 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26056 wxPageSetupDialogData *result = 0 ;
26057 void *argp1 = 0 ;
26058 int res1 = 0 ;
26059 PyObject *swig_obj[1] ;
26060
26061 if (!args) SWIG_fail;
26062 swig_obj[0] = args;
26063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26064 if (!SWIG_IsOK(res1)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26066 }
26067 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 {
26071 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26072 result = (wxPageSetupDialogData *) &_result_ref;
26073 }
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26078 return resultobj;
26079 fail:
26080 return NULL;
26081 }
26082
26083
26084 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26085 PyObject *resultobj = 0;
26086 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26087 wxPageSetupDialogData *result = 0 ;
26088 void *argp1 = 0 ;
26089 int res1 = 0 ;
26090 PyObject *swig_obj[1] ;
26091
26092 if (!args) SWIG_fail;
26093 swig_obj[0] = args;
26094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26095 if (!SWIG_IsOK(res1)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26097 }
26098 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 {
26102 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26103 result = (wxPageSetupDialogData *) &_result_ref;
26104 }
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26109 return resultobj;
26110 fail:
26111 return NULL;
26112 }
26113
26114
26115 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26116 PyObject *resultobj = 0;
26117 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26118 int result;
26119 void *argp1 = 0 ;
26120 int res1 = 0 ;
26121 PyObject *swig_obj[1] ;
26122
26123 if (!args) SWIG_fail;
26124 swig_obj[0] = args;
26125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26126 if (!SWIG_IsOK(res1)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26128 }
26129 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (int)(arg1)->ShowModal();
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 resultobj = SWIG_From_int(static_cast< int >(result));
26137 return resultobj;
26138 fail:
26139 return NULL;
26140 }
26141
26142
26143 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26144 PyObject *obj;
26145 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26147 return SWIG_Py_Void();
26148 }
26149
26150 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26151 return SWIG_Python_InitShadowInstance(args);
26152 }
26153
26154 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26155 PyObject *resultobj = 0;
26156 wxPrintDialogData *result = 0 ;
26157
26158 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (wxPrintDialogData *)new wxPrintDialogData();
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26166 return resultobj;
26167 fail:
26168 return NULL;
26169 }
26170
26171
26172 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26173 PyObject *resultobj = 0;
26174 wxPrintData *arg1 = 0 ;
26175 wxPrintDialogData *result = 0 ;
26176 void *argp1 = 0 ;
26177 int res1 = 0 ;
26178
26179 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26181 if (!SWIG_IsOK(res1)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26183 }
26184 if (!argp1) {
26185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26186 }
26187 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26202 PyObject *resultobj = 0;
26203 wxPrintDialogData *arg1 = 0 ;
26204 wxPrintDialogData *result = 0 ;
26205 void *argp1 = 0 ;
26206 int res1 = 0 ;
26207
26208 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26210 if (!SWIG_IsOK(res1)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26212 }
26213 if (!argp1) {
26214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26215 }
26216 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26220 wxPyEndAllowThreads(__tstate);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26224 return resultobj;
26225 fail:
26226 return NULL;
26227 }
26228
26229
26230 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26231 int argc;
26232 PyObject *argv[2];
26233
26234 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26235 --argc;
26236 if (argc == 0) {
26237 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26238 }
26239 if (argc == 1) {
26240 int _v = 0;
26241 {
26242 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26243 _v = SWIG_CheckState(res);
26244 }
26245 if (!_v) goto check_2;
26246 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26247 }
26248 check_2:
26249
26250 if (argc == 1) {
26251 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26252 }
26253
26254 fail:
26255 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26256 return NULL;
26257 }
26258
26259
26260 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 void *argp1 = 0 ;
26264 int res1 = 0 ;
26265 PyObject *swig_obj[1] ;
26266
26267 if (!args) SWIG_fail;
26268 swig_obj[0] = args;
26269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26270 if (!SWIG_IsOK(res1)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26272 }
26273 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 delete arg1;
26277
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 resultobj = SWIG_Py_Void();
26282 return resultobj;
26283 fail:
26284 return NULL;
26285 }
26286
26287
26288 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26289 PyObject *resultobj = 0;
26290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26291 int result;
26292 void *argp1 = 0 ;
26293 int res1 = 0 ;
26294 PyObject *swig_obj[1] ;
26295
26296 if (!args) SWIG_fail;
26297 swig_obj[0] = args;
26298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26299 if (!SWIG_IsOK(res1)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26301 }
26302 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 resultobj = SWIG_From_int(static_cast< int >(result));
26310 return resultobj;
26311 fail:
26312 return NULL;
26313 }
26314
26315
26316 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26317 PyObject *resultobj = 0;
26318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26319 int result;
26320 void *argp1 = 0 ;
26321 int res1 = 0 ;
26322 PyObject *swig_obj[1] ;
26323
26324 if (!args) SWIG_fail;
26325 swig_obj[0] = args;
26326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26327 if (!SWIG_IsOK(res1)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26329 }
26330 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26331 {
26332 PyThreadState* __tstate = wxPyBeginAllowThreads();
26333 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
26337 resultobj = SWIG_From_int(static_cast< int >(result));
26338 return resultobj;
26339 fail:
26340 return NULL;
26341 }
26342
26343
26344 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26345 PyObject *resultobj = 0;
26346 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26347 int result;
26348 void *argp1 = 0 ;
26349 int res1 = 0 ;
26350 PyObject *swig_obj[1] ;
26351
26352 if (!args) SWIG_fail;
26353 swig_obj[0] = args;
26354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26355 if (!SWIG_IsOK(res1)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26357 }
26358 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 resultobj = SWIG_From_int(static_cast< int >(result));
26366 return resultobj;
26367 fail:
26368 return NULL;
26369 }
26370
26371
26372 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26373 PyObject *resultobj = 0;
26374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26375 int result;
26376 void *argp1 = 0 ;
26377 int res1 = 0 ;
26378 PyObject *swig_obj[1] ;
26379
26380 if (!args) SWIG_fail;
26381 swig_obj[0] = args;
26382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26383 if (!SWIG_IsOK(res1)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26385 }
26386 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 resultobj = SWIG_From_int(static_cast< int >(result));
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26403 int result;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 PyObject *swig_obj[1] ;
26407
26408 if (!args) SWIG_fail;
26409 swig_obj[0] = args;
26410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 resultobj = SWIG_From_int(static_cast< int >(result));
26422 return resultobj;
26423 fail:
26424 return NULL;
26425 }
26426
26427
26428 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26429 PyObject *resultobj = 0;
26430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26431 bool result;
26432 void *argp1 = 0 ;
26433 int res1 = 0 ;
26434 PyObject *swig_obj[1] ;
26435
26436 if (!args) SWIG_fail;
26437 swig_obj[0] = args;
26438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26439 if (!SWIG_IsOK(res1)) {
26440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26441 }
26442 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 {
26450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455 }
26456
26457
26458 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26459 PyObject *resultobj = 0;
26460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26461 bool result;
26462 void *argp1 = 0 ;
26463 int res1 = 0 ;
26464 PyObject *swig_obj[1] ;
26465
26466 if (!args) SWIG_fail;
26467 swig_obj[0] = args;
26468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26469 if (!SWIG_IsOK(res1)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26471 }
26472 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26476 wxPyEndAllowThreads(__tstate);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 {
26480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26481 }
26482 return resultobj;
26483 fail:
26484 return NULL;
26485 }
26486
26487
26488 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26491 bool result;
26492 void *argp1 = 0 ;
26493 int res1 = 0 ;
26494 PyObject *swig_obj[1] ;
26495
26496 if (!args) SWIG_fail;
26497 swig_obj[0] = args;
26498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
26510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26519 PyObject *resultobj = 0;
26520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26521 bool result;
26522 void *argp1 = 0 ;
26523 int res1 = 0 ;
26524 PyObject *swig_obj[1] ;
26525
26526 if (!args) SWIG_fail;
26527 swig_obj[0] = args;
26528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26529 if (!SWIG_IsOK(res1)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 }
26532 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 {
26540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26541 }
26542 return resultobj;
26543 fail:
26544 return NULL;
26545 }
26546
26547
26548 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj = 0;
26550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26551 int arg2 ;
26552 void *argp1 = 0 ;
26553 int res1 = 0 ;
26554 int val2 ;
26555 int ecode2 = 0 ;
26556 PyObject * obj0 = 0 ;
26557 PyObject * obj1 = 0 ;
26558 char * kwnames[] = {
26559 (char *) "self",(char *) "v", NULL
26560 };
26561
26562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26564 if (!SWIG_IsOK(res1)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26566 }
26567 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26568 ecode2 = SWIG_AsVal_int(obj1, &val2);
26569 if (!SWIG_IsOK(ecode2)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26571 }
26572 arg2 = static_cast< int >(val2);
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 (arg1)->SetFromPage(arg2);
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 resultobj = SWIG_Py_Void();
26580 return resultobj;
26581 fail:
26582 return NULL;
26583 }
26584
26585
26586 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj = 0;
26588 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26589 int arg2 ;
26590 void *argp1 = 0 ;
26591 int res1 = 0 ;
26592 int val2 ;
26593 int ecode2 = 0 ;
26594 PyObject * obj0 = 0 ;
26595 PyObject * obj1 = 0 ;
26596 char * kwnames[] = {
26597 (char *) "self",(char *) "v", NULL
26598 };
26599
26600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26602 if (!SWIG_IsOK(res1)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 }
26605 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26606 ecode2 = SWIG_AsVal_int(obj1, &val2);
26607 if (!SWIG_IsOK(ecode2)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26609 }
26610 arg2 = static_cast< int >(val2);
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 (arg1)->SetToPage(arg2);
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 resultobj = SWIG_Py_Void();
26618 return resultobj;
26619 fail:
26620 return NULL;
26621 }
26622
26623
26624 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26625 PyObject *resultobj = 0;
26626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26627 int arg2 ;
26628 void *argp1 = 0 ;
26629 int res1 = 0 ;
26630 int val2 ;
26631 int ecode2 = 0 ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char * kwnames[] = {
26635 (char *) "self",(char *) "v", NULL
26636 };
26637
26638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26640 if (!SWIG_IsOK(res1)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26642 }
26643 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26644 ecode2 = SWIG_AsVal_int(obj1, &val2);
26645 if (!SWIG_IsOK(ecode2)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26647 }
26648 arg2 = static_cast< int >(val2);
26649 {
26650 PyThreadState* __tstate = wxPyBeginAllowThreads();
26651 (arg1)->SetMinPage(arg2);
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 resultobj = SWIG_Py_Void();
26656 return resultobj;
26657 fail:
26658 return NULL;
26659 }
26660
26661
26662 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj = 0;
26664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26665 int arg2 ;
26666 void *argp1 = 0 ;
26667 int res1 = 0 ;
26668 int val2 ;
26669 int ecode2 = 0 ;
26670 PyObject * obj0 = 0 ;
26671 PyObject * obj1 = 0 ;
26672 char * kwnames[] = {
26673 (char *) "self",(char *) "v", NULL
26674 };
26675
26676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26678 if (!SWIG_IsOK(res1)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 }
26681 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26682 ecode2 = SWIG_AsVal_int(obj1, &val2);
26683 if (!SWIG_IsOK(ecode2)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26685 }
26686 arg2 = static_cast< int >(val2);
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 (arg1)->SetMaxPage(arg2);
26690 wxPyEndAllowThreads(__tstate);
26691 if (PyErr_Occurred()) SWIG_fail;
26692 }
26693 resultobj = SWIG_Py_Void();
26694 return resultobj;
26695 fail:
26696 return NULL;
26697 }
26698
26699
26700 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26701 PyObject *resultobj = 0;
26702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26703 int arg2 ;
26704 void *argp1 = 0 ;
26705 int res1 = 0 ;
26706 int val2 ;
26707 int ecode2 = 0 ;
26708 PyObject * obj0 = 0 ;
26709 PyObject * obj1 = 0 ;
26710 char * kwnames[] = {
26711 (char *) "self",(char *) "v", NULL
26712 };
26713
26714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26716 if (!SWIG_IsOK(res1)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26718 }
26719 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26720 ecode2 = SWIG_AsVal_int(obj1, &val2);
26721 if (!SWIG_IsOK(ecode2)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26723 }
26724 arg2 = static_cast< int >(val2);
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 (arg1)->SetNoCopies(arg2);
26728 wxPyEndAllowThreads(__tstate);
26729 if (PyErr_Occurred()) SWIG_fail;
26730 }
26731 resultobj = SWIG_Py_Void();
26732 return resultobj;
26733 fail:
26734 return NULL;
26735 }
26736
26737
26738 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj = 0;
26740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26741 bool arg2 ;
26742 void *argp1 = 0 ;
26743 int res1 = 0 ;
26744 bool val2 ;
26745 int ecode2 = 0 ;
26746 PyObject * obj0 = 0 ;
26747 PyObject * obj1 = 0 ;
26748 char * kwnames[] = {
26749 (char *) "self",(char *) "flag", NULL
26750 };
26751
26752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26754 if (!SWIG_IsOK(res1)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26756 }
26757 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26758 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26759 if (!SWIG_IsOK(ecode2)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26761 }
26762 arg2 = static_cast< bool >(val2);
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 (arg1)->SetAllPages(arg2);
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 resultobj = SWIG_Py_Void();
26770 return resultobj;
26771 fail:
26772 return NULL;
26773 }
26774
26775
26776 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26777 PyObject *resultobj = 0;
26778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26779 bool arg2 ;
26780 void *argp1 = 0 ;
26781 int res1 = 0 ;
26782 bool val2 ;
26783 int ecode2 = 0 ;
26784 PyObject * obj0 = 0 ;
26785 PyObject * obj1 = 0 ;
26786 char * kwnames[] = {
26787 (char *) "self",(char *) "flag", NULL
26788 };
26789
26790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26792 if (!SWIG_IsOK(res1)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26794 }
26795 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26796 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26797 if (!SWIG_IsOK(ecode2)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26799 }
26800 arg2 = static_cast< bool >(val2);
26801 {
26802 PyThreadState* __tstate = wxPyBeginAllowThreads();
26803 (arg1)->SetSelection(arg2);
26804 wxPyEndAllowThreads(__tstate);
26805 if (PyErr_Occurred()) SWIG_fail;
26806 }
26807 resultobj = SWIG_Py_Void();
26808 return resultobj;
26809 fail:
26810 return NULL;
26811 }
26812
26813
26814 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26815 PyObject *resultobj = 0;
26816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26817 bool arg2 ;
26818 void *argp1 = 0 ;
26819 int res1 = 0 ;
26820 bool val2 ;
26821 int ecode2 = 0 ;
26822 PyObject * obj0 = 0 ;
26823 PyObject * obj1 = 0 ;
26824 char * kwnames[] = {
26825 (char *) "self",(char *) "flag", NULL
26826 };
26827
26828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26830 if (!SWIG_IsOK(res1)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26832 }
26833 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26834 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26835 if (!SWIG_IsOK(ecode2)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26837 }
26838 arg2 = static_cast< bool >(val2);
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 (arg1)->SetCollate(arg2);
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 resultobj = SWIG_Py_Void();
26846 return resultobj;
26847 fail:
26848 return NULL;
26849 }
26850
26851
26852 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26853 PyObject *resultobj = 0;
26854 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26855 bool arg2 ;
26856 void *argp1 = 0 ;
26857 int res1 = 0 ;
26858 bool val2 ;
26859 int ecode2 = 0 ;
26860 PyObject * obj0 = 0 ;
26861 PyObject * obj1 = 0 ;
26862 char * kwnames[] = {
26863 (char *) "self",(char *) "flag", NULL
26864 };
26865
26866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26868 if (!SWIG_IsOK(res1)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26870 }
26871 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26872 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26873 if (!SWIG_IsOK(ecode2)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26875 }
26876 arg2 = static_cast< bool >(val2);
26877 {
26878 PyThreadState* __tstate = wxPyBeginAllowThreads();
26879 (arg1)->SetPrintToFile(arg2);
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 resultobj = SWIG_Py_Void();
26884 return resultobj;
26885 fail:
26886 return NULL;
26887 }
26888
26889
26890 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26891 PyObject *resultobj = 0;
26892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26893 bool arg2 ;
26894 void *argp1 = 0 ;
26895 int res1 = 0 ;
26896 bool val2 ;
26897 int ecode2 = 0 ;
26898 PyObject * obj0 = 0 ;
26899 PyObject * obj1 = 0 ;
26900 char * kwnames[] = {
26901 (char *) "self",(char *) "flag", NULL
26902 };
26903
26904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26906 if (!SWIG_IsOK(res1)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26908 }
26909 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26910 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26911 if (!SWIG_IsOK(ecode2)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26913 }
26914 arg2 = static_cast< bool >(val2);
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 (arg1)->EnablePrintToFile(arg2);
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 resultobj = SWIG_Py_Void();
26922 return resultobj;
26923 fail:
26924 return NULL;
26925 }
26926
26927
26928 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj = 0;
26930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26931 bool arg2 ;
26932 void *argp1 = 0 ;
26933 int res1 = 0 ;
26934 bool val2 ;
26935 int ecode2 = 0 ;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char * kwnames[] = {
26939 (char *) "self",(char *) "flag", NULL
26940 };
26941
26942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26944 if (!SWIG_IsOK(res1)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26946 }
26947 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26949 if (!SWIG_IsOK(ecode2)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26951 }
26952 arg2 = static_cast< bool >(val2);
26953 {
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 (arg1)->EnableSelection(arg2);
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 resultobj = SWIG_Py_Void();
26960 return resultobj;
26961 fail:
26962 return NULL;
26963 }
26964
26965
26966 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj = 0;
26968 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26969 bool arg2 ;
26970 void *argp1 = 0 ;
26971 int res1 = 0 ;
26972 bool val2 ;
26973 int ecode2 = 0 ;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char * kwnames[] = {
26977 (char *) "self",(char *) "flag", NULL
26978 };
26979
26980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26982 if (!SWIG_IsOK(res1)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26984 }
26985 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26986 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26987 if (!SWIG_IsOK(ecode2)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26989 }
26990 arg2 = static_cast< bool >(val2);
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->EnablePageNumbers(arg2);
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 resultobj = SWIG_Py_Void();
26998 return resultobj;
26999 fail:
27000 return NULL;
27001 }
27002
27003
27004 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj = 0;
27006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27007 bool arg2 ;
27008 void *argp1 = 0 ;
27009 int res1 = 0 ;
27010 bool val2 ;
27011 int ecode2 = 0 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 char * kwnames[] = {
27015 (char *) "self",(char *) "flag", NULL
27016 };
27017
27018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27022 }
27023 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27025 if (!SWIG_IsOK(ecode2)) {
27026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27027 }
27028 arg2 = static_cast< bool >(val2);
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 (arg1)->EnableHelp(arg2);
27032 wxPyEndAllowThreads(__tstate);
27033 if (PyErr_Occurred()) SWIG_fail;
27034 }
27035 resultobj = SWIG_Py_Void();
27036 return resultobj;
27037 fail:
27038 return NULL;
27039 }
27040
27041
27042 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27043 PyObject *resultobj = 0;
27044 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27045 bool result;
27046 void *argp1 = 0 ;
27047 int res1 = 0 ;
27048 PyObject *swig_obj[1] ;
27049
27050 if (!args) SWIG_fail;
27051 swig_obj[0] = args;
27052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27053 if (!SWIG_IsOK(res1)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27055 }
27056 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27060 wxPyEndAllowThreads(__tstate);
27061 if (PyErr_Occurred()) SWIG_fail;
27062 }
27063 {
27064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27065 }
27066 return resultobj;
27067 fail:
27068 return NULL;
27069 }
27070
27071
27072 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27073 PyObject *resultobj = 0;
27074 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27075 bool result;
27076 void *argp1 = 0 ;
27077 int res1 = 0 ;
27078 PyObject *swig_obj[1] ;
27079
27080 if (!args) SWIG_fail;
27081 swig_obj[0] = args;
27082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27083 if (!SWIG_IsOK(res1)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27085 }
27086 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 {
27094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27095 }
27096 return resultobj;
27097 fail:
27098 return NULL;
27099 }
27100
27101
27102 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27103 PyObject *resultobj = 0;
27104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27105 bool result;
27106 void *argp1 = 0 ;
27107 int res1 = 0 ;
27108 PyObject *swig_obj[1] ;
27109
27110 if (!args) SWIG_fail;
27111 swig_obj[0] = args;
27112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27113 if (!SWIG_IsOK(res1)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27115 }
27116 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 {
27124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27125 }
27126 return resultobj;
27127 fail:
27128 return NULL;
27129 }
27130
27131
27132 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27133 PyObject *resultobj = 0;
27134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27135 bool result;
27136 void *argp1 = 0 ;
27137 int res1 = 0 ;
27138 PyObject *swig_obj[1] ;
27139
27140 if (!args) SWIG_fail;
27141 swig_obj[0] = args;
27142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27143 if (!SWIG_IsOK(res1)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27145 }
27146 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27147 {
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
27149 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 {
27154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27155 }
27156 return resultobj;
27157 fail:
27158 return NULL;
27159 }
27160
27161
27162 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27163 PyObject *resultobj = 0;
27164 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27165 bool result;
27166 void *argp1 = 0 ;
27167 int res1 = 0 ;
27168 PyObject *swig_obj[1] ;
27169
27170 if (!args) SWIG_fail;
27171 swig_obj[0] = args;
27172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27173 if (!SWIG_IsOK(res1)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27175 }
27176 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27177 {
27178 PyThreadState* __tstate = wxPyBeginAllowThreads();
27179 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 {
27184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27185 }
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27193 PyObject *resultobj = 0;
27194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27195 wxPrintData *result = 0 ;
27196 void *argp1 = 0 ;
27197 int res1 = 0 ;
27198 PyObject *swig_obj[1] ;
27199
27200 if (!args) SWIG_fail;
27201 swig_obj[0] = args;
27202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27203 if (!SWIG_IsOK(res1)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27205 }
27206 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27207 {
27208 PyThreadState* __tstate = wxPyBeginAllowThreads();
27209 {
27210 wxPrintData &_result_ref = (arg1)->GetPrintData();
27211 result = (wxPrintData *) &_result_ref;
27212 }
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj = 0;
27225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27226 wxPrintData *arg2 = 0 ;
27227 void *argp1 = 0 ;
27228 int res1 = 0 ;
27229 void *argp2 = 0 ;
27230 int res2 = 0 ;
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 char * kwnames[] = {
27234 (char *) "self",(char *) "printData", NULL
27235 };
27236
27237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27239 if (!SWIG_IsOK(res1)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27241 }
27242 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27243 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27244 if (!SWIG_IsOK(res2)) {
27245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27246 }
27247 if (!argp2) {
27248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27249 }
27250 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 resultobj = SWIG_Py_Void();
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27265 PyObject *obj;
27266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27268 return SWIG_Py_Void();
27269 }
27270
27271 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27272 return SWIG_Python_InitShadowInstance(args);
27273 }
27274
27275 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj = 0;
27277 wxWindow *arg1 = (wxWindow *) 0 ;
27278 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27279 wxPrintDialog *result = 0 ;
27280 void *argp1 = 0 ;
27281 int res1 = 0 ;
27282 void *argp2 = 0 ;
27283 int res2 = 0 ;
27284 PyObject * obj0 = 0 ;
27285 PyObject * obj1 = 0 ;
27286 char * kwnames[] = {
27287 (char *) "parent",(char *) "data", NULL
27288 };
27289
27290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27292 if (!SWIG_IsOK(res1)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27294 }
27295 arg1 = reinterpret_cast< wxWindow * >(argp1);
27296 if (obj1) {
27297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27298 if (!SWIG_IsOK(res2)) {
27299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27300 }
27301 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27302 }
27303 {
27304 if (!wxPyCheckForApp()) SWIG_fail;
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27311 return resultobj;
27312 fail:
27313 return NULL;
27314 }
27315
27316
27317 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27318 PyObject *resultobj = 0;
27319 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27320 void *argp1 = 0 ;
27321 int res1 = 0 ;
27322 PyObject *swig_obj[1] ;
27323
27324 if (!args) SWIG_fail;
27325 swig_obj[0] = args;
27326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27327 if (!SWIG_IsOK(res1)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27329 }
27330 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27331 {
27332 PyThreadState* __tstate = wxPyBeginAllowThreads();
27333 delete arg1;
27334
27335 wxPyEndAllowThreads(__tstate);
27336 if (PyErr_Occurred()) SWIG_fail;
27337 }
27338 resultobj = SWIG_Py_Void();
27339 return resultobj;
27340 fail:
27341 return NULL;
27342 }
27343
27344
27345 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27346 PyObject *resultobj = 0;
27347 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27348 int 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_wxPrintDialog, 0 | 0 );
27356 if (!SWIG_IsOK(res1)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27358 }
27359 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (int)(arg1)->ShowModal();
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 resultobj = SWIG_From_int(static_cast< int >(result));
27367 return resultobj;
27368 fail:
27369 return NULL;
27370 }
27371
27372
27373 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27374 PyObject *resultobj = 0;
27375 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27376 wxPrintDialogData *result = 0 ;
27377 void *argp1 = 0 ;
27378 int res1 = 0 ;
27379 PyObject *swig_obj[1] ;
27380
27381 if (!args) SWIG_fail;
27382 swig_obj[0] = args;
27383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27384 if (!SWIG_IsOK(res1)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27386 }
27387 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27388 {
27389 PyThreadState* __tstate = wxPyBeginAllowThreads();
27390 {
27391 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27392 result = (wxPrintDialogData *) &_result_ref;
27393 }
27394 wxPyEndAllowThreads(__tstate);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 }
27397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27398 return resultobj;
27399 fail:
27400 return NULL;
27401 }
27402
27403
27404 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27405 PyObject *resultobj = 0;
27406 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27407 wxPrintData *result = 0 ;
27408 void *argp1 = 0 ;
27409 int res1 = 0 ;
27410 PyObject *swig_obj[1] ;
27411
27412 if (!args) SWIG_fail;
27413 swig_obj[0] = args;
27414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27415 if (!SWIG_IsOK(res1)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27417 }
27418 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
27421 {
27422 wxPrintData &_result_ref = (arg1)->GetPrintData();
27423 result = (wxPrintData *) &_result_ref;
27424 }
27425 wxPyEndAllowThreads(__tstate);
27426 if (PyErr_Occurred()) SWIG_fail;
27427 }
27428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27429 return resultobj;
27430 fail:
27431 return NULL;
27432 }
27433
27434
27435 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 PyObject *resultobj = 0;
27437 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27438 wxDC *result = 0 ;
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_wxPrintDialog, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (wxDC *)(arg1)->GetPrintDC();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27458 }
27459 return resultobj;
27460 fail:
27461 return NULL;
27462 }
27463
27464
27465 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *obj;
27467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27469 return SWIG_Py_Void();
27470 }
27471
27472 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27473 return SWIG_Python_InitShadowInstance(args);
27474 }
27475
27476 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj = 0;
27478 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27479 wxPrinter *result = 0 ;
27480 void *argp1 = 0 ;
27481 int res1 = 0 ;
27482 PyObject * obj0 = 0 ;
27483 char * kwnames[] = {
27484 (char *) "data", NULL
27485 };
27486
27487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27488 if (obj0) {
27489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27490 if (!SWIG_IsOK(res1)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27492 }
27493 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27494 }
27495 {
27496 if (!wxPyCheckForApp()) SWIG_fail;
27497 PyThreadState* __tstate = wxPyBeginAllowThreads();
27498 result = (wxPrinter *)new wxPrinter(arg1);
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27503 return resultobj;
27504 fail:
27505 return NULL;
27506 }
27507
27508
27509 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27510 PyObject *resultobj = 0;
27511 wxPrinter *arg1 = (wxPrinter *) 0 ;
27512 void *argp1 = 0 ;
27513 int res1 = 0 ;
27514 PyObject *swig_obj[1] ;
27515
27516 if (!args) SWIG_fail;
27517 swig_obj[0] = args;
27518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27519 if (!SWIG_IsOK(res1)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27521 }
27522 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 delete arg1;
27526
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 *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj = 0;
27539 wxPrinter *arg1 = (wxPrinter *) 0 ;
27540 wxWindow *arg2 = (wxWindow *) 0 ;
27541 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27542 wxWindow *result = 0 ;
27543 void *argp1 = 0 ;
27544 int res1 = 0 ;
27545 void *argp2 = 0 ;
27546 int res2 = 0 ;
27547 void *argp3 = 0 ;
27548 int res3 = 0 ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 PyObject * obj2 = 0 ;
27552 char * kwnames[] = {
27553 (char *) "self",(char *) "parent",(char *) "printout", NULL
27554 };
27555
27556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27558 if (!SWIG_IsOK(res1)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27560 }
27561 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27563 if (!SWIG_IsOK(res2)) {
27564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27565 }
27566 arg2 = reinterpret_cast< wxWindow * >(argp2);
27567 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27568 if (!SWIG_IsOK(res3)) {
27569 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27570 }
27571 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 {
27579 resultobj = wxPyMake_wxObject(result, 0);
27580 }
27581 return resultobj;
27582 fail:
27583 return NULL;
27584 }
27585
27586
27587 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27588 PyObject *resultobj = 0;
27589 wxPrinter *arg1 = (wxPrinter *) 0 ;
27590 wxWindow *arg2 = (wxWindow *) 0 ;
27591 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27592 wxString *arg4 = 0 ;
27593 void *argp1 = 0 ;
27594 int res1 = 0 ;
27595 void *argp2 = 0 ;
27596 int res2 = 0 ;
27597 void *argp3 = 0 ;
27598 int res3 = 0 ;
27599 bool temp4 = false ;
27600 PyObject * obj0 = 0 ;
27601 PyObject * obj1 = 0 ;
27602 PyObject * obj2 = 0 ;
27603 PyObject * obj3 = 0 ;
27604 char * kwnames[] = {
27605 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27606 };
27607
27608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27610 if (!SWIG_IsOK(res1)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27612 }
27613 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27615 if (!SWIG_IsOK(res2)) {
27616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27617 }
27618 arg2 = reinterpret_cast< wxWindow * >(argp2);
27619 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27620 if (!SWIG_IsOK(res3)) {
27621 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27622 }
27623 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27624 {
27625 arg4 = wxString_in_helper(obj3);
27626 if (arg4 == NULL) SWIG_fail;
27627 temp4 = true;
27628 }
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 resultobj = SWIG_Py_Void();
27636 {
27637 if (temp4)
27638 delete arg4;
27639 }
27640 return resultobj;
27641 fail:
27642 {
27643 if (temp4)
27644 delete arg4;
27645 }
27646 return NULL;
27647 }
27648
27649
27650 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27651 PyObject *resultobj = 0;
27652 wxPrinter *arg1 = (wxPrinter *) 0 ;
27653 wxWindow *arg2 = (wxWindow *) 0 ;
27654 bool result;
27655 void *argp1 = 0 ;
27656 int res1 = 0 ;
27657 void *argp2 = 0 ;
27658 int res2 = 0 ;
27659 PyObject * obj0 = 0 ;
27660 PyObject * obj1 = 0 ;
27661 char * kwnames[] = {
27662 (char *) "self",(char *) "parent", NULL
27663 };
27664
27665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27667 if (!SWIG_IsOK(res1)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27669 }
27670 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27672 if (!SWIG_IsOK(res2)) {
27673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27674 }
27675 arg2 = reinterpret_cast< wxWindow * >(argp2);
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 result = (bool)(arg1)->Setup(arg2);
27679 wxPyEndAllowThreads(__tstate);
27680 if (PyErr_Occurred()) SWIG_fail;
27681 }
27682 {
27683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27684 }
27685 return resultobj;
27686 fail:
27687 return NULL;
27688 }
27689
27690
27691 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj = 0;
27693 wxPrinter *arg1 = (wxPrinter *) 0 ;
27694 wxWindow *arg2 = (wxWindow *) 0 ;
27695 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27696 bool arg4 = (bool) true ;
27697 bool result;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 void *argp2 = 0 ;
27701 int res2 = 0 ;
27702 void *argp3 = 0 ;
27703 int res3 = 0 ;
27704 bool val4 ;
27705 int ecode4 = 0 ;
27706 PyObject * obj0 = 0 ;
27707 PyObject * obj1 = 0 ;
27708 PyObject * obj2 = 0 ;
27709 PyObject * obj3 = 0 ;
27710 char * kwnames[] = {
27711 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27712 };
27713
27714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27716 if (!SWIG_IsOK(res1)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27718 }
27719 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27721 if (!SWIG_IsOK(res2)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27723 }
27724 arg2 = reinterpret_cast< wxWindow * >(argp2);
27725 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27726 if (!SWIG_IsOK(res3)) {
27727 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27728 }
27729 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27730 if (obj3) {
27731 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27732 if (!SWIG_IsOK(ecode4)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27734 }
27735 arg4 = static_cast< bool >(val4);
27736 }
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27740 wxPyEndAllowThreads(__tstate);
27741 if (PyErr_Occurred()) SWIG_fail;
27742 }
27743 {
27744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27745 }
27746 return resultobj;
27747 fail:
27748 return NULL;
27749 }
27750
27751
27752 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj = 0;
27754 wxPrinter *arg1 = (wxPrinter *) 0 ;
27755 wxWindow *arg2 = (wxWindow *) 0 ;
27756 wxDC *result = 0 ;
27757 void *argp1 = 0 ;
27758 int res1 = 0 ;
27759 void *argp2 = 0 ;
27760 int res2 = 0 ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char * kwnames[] = {
27764 (char *) "self",(char *) "parent", NULL
27765 };
27766
27767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27769 if (!SWIG_IsOK(res1)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27771 }
27772 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27774 if (!SWIG_IsOK(res2)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27776 }
27777 arg2 = reinterpret_cast< wxWindow * >(argp2);
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 result = (wxDC *)(arg1)->PrintDialog(arg2);
27781 wxPyEndAllowThreads(__tstate);
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 {
27785 resultobj = wxPyMake_wxObject(result, (bool)0);
27786 }
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxPrinter *arg1 = (wxPrinter *) 0 ;
27796 wxPrintDialogData *result = 0 ;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 PyObject *swig_obj[1] ;
27800
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27806 }
27807 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 {
27811 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27812 result = (wxPrintDialogData *) &_result_ref;
27813 }
27814 wxPyEndAllowThreads(__tstate);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27818 return resultobj;
27819 fail:
27820 return NULL;
27821 }
27822
27823
27824 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27825 PyObject *resultobj = 0;
27826 wxPrinter *arg1 = (wxPrinter *) 0 ;
27827 bool result;
27828 void *argp1 = 0 ;
27829 int res1 = 0 ;
27830 PyObject *swig_obj[1] ;
27831
27832 if (!args) SWIG_fail;
27833 swig_obj[0] = args;
27834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27839 {
27840 PyThreadState* __tstate = wxPyBeginAllowThreads();
27841 result = (bool)(arg1)->GetAbort();
27842 wxPyEndAllowThreads(__tstate);
27843 if (PyErr_Occurred()) SWIG_fail;
27844 }
27845 {
27846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27847 }
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27855 PyObject *resultobj = 0;
27856 wxPrinterError result;
27857
27858 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = (wxPrinterError)wxPrinter::GetLastError();
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 resultobj = SWIG_From_int(static_cast< int >(result));
27866 return resultobj;
27867 fail:
27868 return NULL;
27869 }
27870
27871
27872 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27873 PyObject *obj;
27874 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27875 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27876 return SWIG_Py_Void();
27877 }
27878
27879 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27880 return SWIG_Python_InitShadowInstance(args);
27881 }
27882
27883 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27884 PyObject *resultobj = 0;
27885 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27886 wxString *arg1 = (wxString *) &arg1_defvalue ;
27887 wxPyPrintout *result = 0 ;
27888 bool temp1 = false ;
27889 PyObject * obj0 = 0 ;
27890 char * kwnames[] = {
27891 (char *) "title", NULL
27892 };
27893
27894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27895 if (obj0) {
27896 {
27897 arg1 = wxString_in_helper(obj0);
27898 if (arg1 == NULL) SWIG_fail;
27899 temp1 = true;
27900 }
27901 }
27902 {
27903 if (!wxPyCheckForApp()) SWIG_fail;
27904 PyThreadState* __tstate = wxPyBeginAllowThreads();
27905 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27910 {
27911 if (temp1)
27912 delete arg1;
27913 }
27914 return resultobj;
27915 fail:
27916 {
27917 if (temp1)
27918 delete arg1;
27919 }
27920 return NULL;
27921 }
27922
27923
27924 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27925 PyObject *resultobj = 0;
27926 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27927 void *argp1 = 0 ;
27928 int res1 = 0 ;
27929 PyObject *swig_obj[1] ;
27930
27931 if (!args) SWIG_fail;
27932 swig_obj[0] = args;
27933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27934 if (!SWIG_IsOK(res1)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27936 }
27937 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27938 {
27939 PyThreadState* __tstate = wxPyBeginAllowThreads();
27940 delete arg1;
27941
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 resultobj = SWIG_Py_Void();
27946 return resultobj;
27947 fail:
27948 return NULL;
27949 }
27950
27951
27952 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj = 0;
27954 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27955 PyObject *arg2 = (PyObject *) 0 ;
27956 PyObject *arg3 = (PyObject *) 0 ;
27957 void *argp1 = 0 ;
27958 int res1 = 0 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 PyObject * obj2 = 0 ;
27962 char * kwnames[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27964 };
27965
27966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27968 if (!SWIG_IsOK(res1)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27970 }
27971 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27972 arg2 = obj1;
27973 arg3 = obj2;
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->_setCallbackInfo(arg2,arg3);
27977 wxPyEndAllowThreads(__tstate);
27978 if (PyErr_Occurred()) SWIG_fail;
27979 }
27980 resultobj = SWIG_Py_Void();
27981 return resultobj;
27982 fail:
27983 return NULL;
27984 }
27985
27986
27987 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27988 PyObject *resultobj = 0;
27989 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27990 wxString result;
27991 void *argp1 = 0 ;
27992 int res1 = 0 ;
27993 PyObject *swig_obj[1] ;
27994
27995 if (!args) SWIG_fail;
27996 swig_obj[0] = args;
27997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27998 if (!SWIG_IsOK(res1)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28000 }
28001 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28002 {
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 result = ((wxPyPrintout const *)arg1)->GetTitle();
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 {
28009 #if wxUSE_UNICODE
28010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28011 #else
28012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28013 #endif
28014 }
28015 return resultobj;
28016 fail:
28017 return NULL;
28018 }
28019
28020
28021 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28022 PyObject *resultobj = 0;
28023 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28024 wxDC *result = 0 ;
28025 void *argp1 = 0 ;
28026 int res1 = 0 ;
28027 PyObject *swig_obj[1] ;
28028
28029 if (!args) SWIG_fail;
28030 swig_obj[0] = args;
28031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28032 if (!SWIG_IsOK(res1)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 }
28035 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 result = (wxDC *)(arg1)->GetDC();
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 {
28043 resultobj = wxPyMake_wxObject(result, (bool)0);
28044 }
28045 return resultobj;
28046 fail:
28047 return NULL;
28048 }
28049
28050
28051 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj = 0;
28053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28054 wxDC *arg2 = (wxDC *) 0 ;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 void *argp2 = 0 ;
28058 int res2 = 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 char * kwnames[] = {
28062 (char *) "self",(char *) "dc", NULL
28063 };
28064
28065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28067 if (!SWIG_IsOK(res1)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 }
28070 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28072 if (!SWIG_IsOK(res2)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28074 }
28075 arg2 = reinterpret_cast< wxDC * >(argp2);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 (arg1)->SetDC(arg2);
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 resultobj = SWIG_Py_Void();
28083 return resultobj;
28084 fail:
28085 return NULL;
28086 }
28087
28088
28089 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28090 PyObject *resultobj = 0;
28091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28092 int arg2 ;
28093 int arg3 ;
28094 void *argp1 = 0 ;
28095 int res1 = 0 ;
28096 int val2 ;
28097 int ecode2 = 0 ;
28098 int val3 ;
28099 int ecode3 = 0 ;
28100 PyObject * obj0 = 0 ;
28101 PyObject * obj1 = 0 ;
28102 PyObject * obj2 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "w",(char *) "h", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 ecode2 = SWIG_AsVal_int(obj1, &val2);
28114 if (!SWIG_IsOK(ecode2)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28116 }
28117 arg2 = static_cast< int >(val2);
28118 ecode3 = SWIG_AsVal_int(obj2, &val3);
28119 if (!SWIG_IsOK(ecode3)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28121 }
28122 arg3 = static_cast< int >(val3);
28123 {
28124 PyThreadState* __tstate = wxPyBeginAllowThreads();
28125 (arg1)->SetPageSizePixels(arg2,arg3);
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 resultobj = SWIG_Py_Void();
28130 return resultobj;
28131 fail:
28132 return NULL;
28133 }
28134
28135
28136 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28137 PyObject *resultobj = 0;
28138 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28139 int *arg2 = (int *) 0 ;
28140 int *arg3 = (int *) 0 ;
28141 void *argp1 = 0 ;
28142 int res1 = 0 ;
28143 int temp2 ;
28144 int res2 = SWIG_TMPOBJ ;
28145 int temp3 ;
28146 int res3 = SWIG_TMPOBJ ;
28147 PyObject *swig_obj[1] ;
28148
28149 arg2 = &temp2;
28150 arg3 = &temp3;
28151 if (!args) SWIG_fail;
28152 swig_obj[0] = args;
28153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28154 if (!SWIG_IsOK(res1)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28156 }
28157 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 (arg1)->GetPageSizePixels(arg2,arg3);
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 resultobj = SWIG_Py_Void();
28165 if (SWIG_IsTmpObj(res2)) {
28166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28167 } else {
28168 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28170 }
28171 if (SWIG_IsTmpObj(res3)) {
28172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28173 } else {
28174 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28176 }
28177 return resultobj;
28178 fail:
28179 return NULL;
28180 }
28181
28182
28183 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj = 0;
28185 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28186 int arg2 ;
28187 int arg3 ;
28188 void *argp1 = 0 ;
28189 int res1 = 0 ;
28190 int val2 ;
28191 int ecode2 = 0 ;
28192 int val3 ;
28193 int ecode3 = 0 ;
28194 PyObject * obj0 = 0 ;
28195 PyObject * obj1 = 0 ;
28196 PyObject * obj2 = 0 ;
28197 char * kwnames[] = {
28198 (char *) "self",(char *) "w",(char *) "h", NULL
28199 };
28200
28201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28203 if (!SWIG_IsOK(res1)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28205 }
28206 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28207 ecode2 = SWIG_AsVal_int(obj1, &val2);
28208 if (!SWIG_IsOK(ecode2)) {
28209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28210 }
28211 arg2 = static_cast< int >(val2);
28212 ecode3 = SWIG_AsVal_int(obj2, &val3);
28213 if (!SWIG_IsOK(ecode3)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28215 }
28216 arg3 = static_cast< int >(val3);
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 (arg1)->SetPageSizeMM(arg2,arg3);
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 resultobj = SWIG_Py_Void();
28224 return resultobj;
28225 fail:
28226 return NULL;
28227 }
28228
28229
28230 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28231 PyObject *resultobj = 0;
28232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28233 int *arg2 = (int *) 0 ;
28234 int *arg3 = (int *) 0 ;
28235 void *argp1 = 0 ;
28236 int res1 = 0 ;
28237 int temp2 ;
28238 int res2 = SWIG_TMPOBJ ;
28239 int temp3 ;
28240 int res3 = SWIG_TMPOBJ ;
28241 PyObject *swig_obj[1] ;
28242
28243 arg2 = &temp2;
28244 arg3 = &temp3;
28245 if (!args) SWIG_fail;
28246 swig_obj[0] = args;
28247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28248 if (!SWIG_IsOK(res1)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28250 }
28251 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->GetPageSizeMM(arg2,arg3);
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 resultobj = SWIG_Py_Void();
28259 if (SWIG_IsTmpObj(res2)) {
28260 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28261 } else {
28262 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28264 }
28265 if (SWIG_IsTmpObj(res3)) {
28266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28267 } else {
28268 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28269 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28270 }
28271 return resultobj;
28272 fail:
28273 return NULL;
28274 }
28275
28276
28277 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj = 0;
28279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28280 int arg2 ;
28281 int arg3 ;
28282 void *argp1 = 0 ;
28283 int res1 = 0 ;
28284 int val2 ;
28285 int ecode2 = 0 ;
28286 int val3 ;
28287 int ecode3 = 0 ;
28288 PyObject * obj0 = 0 ;
28289 PyObject * obj1 = 0 ;
28290 PyObject * obj2 = 0 ;
28291 char * kwnames[] = {
28292 (char *) "self",(char *) "x",(char *) "y", NULL
28293 };
28294
28295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28297 if (!SWIG_IsOK(res1)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28299 }
28300 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28301 ecode2 = SWIG_AsVal_int(obj1, &val2);
28302 if (!SWIG_IsOK(ecode2)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28304 }
28305 arg2 = static_cast< int >(val2);
28306 ecode3 = SWIG_AsVal_int(obj2, &val3);
28307 if (!SWIG_IsOK(ecode3)) {
28308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28309 }
28310 arg3 = static_cast< int >(val3);
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 (arg1)->SetPPIScreen(arg2,arg3);
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_Py_Void();
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28325 PyObject *resultobj = 0;
28326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28327 int *arg2 = (int *) 0 ;
28328 int *arg3 = (int *) 0 ;
28329 void *argp1 = 0 ;
28330 int res1 = 0 ;
28331 int temp2 ;
28332 int res2 = SWIG_TMPOBJ ;
28333 int temp3 ;
28334 int res3 = SWIG_TMPOBJ ;
28335 PyObject *swig_obj[1] ;
28336
28337 arg2 = &temp2;
28338 arg3 = &temp3;
28339 if (!args) SWIG_fail;
28340 swig_obj[0] = args;
28341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28342 if (!SWIG_IsOK(res1)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 }
28345 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 (arg1)->GetPPIScreen(arg2,arg3);
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
28352 resultobj = SWIG_Py_Void();
28353 if (SWIG_IsTmpObj(res2)) {
28354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28355 } else {
28356 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28358 }
28359 if (SWIG_IsTmpObj(res3)) {
28360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28361 } else {
28362 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28364 }
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj = 0;
28373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28374 int arg2 ;
28375 int arg3 ;
28376 void *argp1 = 0 ;
28377 int res1 = 0 ;
28378 int val2 ;
28379 int ecode2 = 0 ;
28380 int val3 ;
28381 int ecode3 = 0 ;
28382 PyObject * obj0 = 0 ;
28383 PyObject * obj1 = 0 ;
28384 PyObject * obj2 = 0 ;
28385 char * kwnames[] = {
28386 (char *) "self",(char *) "x",(char *) "y", NULL
28387 };
28388
28389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28391 if (!SWIG_IsOK(res1)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28393 }
28394 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28395 ecode2 = SWIG_AsVal_int(obj1, &val2);
28396 if (!SWIG_IsOK(ecode2)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28398 }
28399 arg2 = static_cast< int >(val2);
28400 ecode3 = SWIG_AsVal_int(obj2, &val3);
28401 if (!SWIG_IsOK(ecode3)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28403 }
28404 arg3 = static_cast< int >(val3);
28405 {
28406 PyThreadState* __tstate = wxPyBeginAllowThreads();
28407 (arg1)->SetPPIPrinter(arg2,arg3);
28408 wxPyEndAllowThreads(__tstate);
28409 if (PyErr_Occurred()) SWIG_fail;
28410 }
28411 resultobj = SWIG_Py_Void();
28412 return resultobj;
28413 fail:
28414 return NULL;
28415 }
28416
28417
28418 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28419 PyObject *resultobj = 0;
28420 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28421 int *arg2 = (int *) 0 ;
28422 int *arg3 = (int *) 0 ;
28423 void *argp1 = 0 ;
28424 int res1 = 0 ;
28425 int temp2 ;
28426 int res2 = SWIG_TMPOBJ ;
28427 int temp3 ;
28428 int res3 = SWIG_TMPOBJ ;
28429 PyObject *swig_obj[1] ;
28430
28431 arg2 = &temp2;
28432 arg3 = &temp3;
28433 if (!args) SWIG_fail;
28434 swig_obj[0] = args;
28435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 }
28439 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28440 {
28441 PyThreadState* __tstate = wxPyBeginAllowThreads();
28442 (arg1)->GetPPIPrinter(arg2,arg3);
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 resultobj = SWIG_Py_Void();
28447 if (SWIG_IsTmpObj(res2)) {
28448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28449 } else {
28450 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28452 }
28453 if (SWIG_IsTmpObj(res3)) {
28454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28455 } else {
28456 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28458 }
28459 return resultobj;
28460 fail:
28461 return NULL;
28462 }
28463
28464
28465 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28466 PyObject *resultobj = 0;
28467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28468 bool result;
28469 void *argp1 = 0 ;
28470 int res1 = 0 ;
28471 PyObject *swig_obj[1] ;
28472
28473 if (!args) SWIG_fail;
28474 swig_obj[0] = args;
28475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28476 if (!SWIG_IsOK(res1)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28478 }
28479 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (bool)(arg1)->IsPreview();
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 {
28487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28488 }
28489 return resultobj;
28490 fail:
28491 return NULL;
28492 }
28493
28494
28495 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj = 0;
28497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28498 bool arg2 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 bool val2 ;
28502 int ecode2 = 0 ;
28503 PyObject * obj0 = 0 ;
28504 PyObject * obj1 = 0 ;
28505 char * kwnames[] = {
28506 (char *) "self",(char *) "p", NULL
28507 };
28508
28509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28511 if (!SWIG_IsOK(res1)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28513 }
28514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28515 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28516 if (!SWIG_IsOK(ecode2)) {
28517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28518 }
28519 arg2 = static_cast< bool >(val2);
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 (arg1)->SetIsPreview(arg2);
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 resultobj = SWIG_Py_Void();
28527 return resultobj;
28528 fail:
28529 return NULL;
28530 }
28531
28532
28533 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28534 PyObject *resultobj = 0;
28535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28536 int arg2 ;
28537 int arg3 ;
28538 bool result;
28539 void *argp1 = 0 ;
28540 int res1 = 0 ;
28541 int val2 ;
28542 int ecode2 = 0 ;
28543 int val3 ;
28544 int ecode3 = 0 ;
28545 PyObject * obj0 = 0 ;
28546 PyObject * obj1 = 0 ;
28547 PyObject * obj2 = 0 ;
28548 char * kwnames[] = {
28549 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28550 };
28551
28552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28554 if (!SWIG_IsOK(res1)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28556 }
28557 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28558 ecode2 = SWIG_AsVal_int(obj1, &val2);
28559 if (!SWIG_IsOK(ecode2)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28561 }
28562 arg2 = static_cast< int >(val2);
28563 ecode3 = SWIG_AsVal_int(obj2, &val3);
28564 if (!SWIG_IsOK(ecode3)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28566 }
28567 arg3 = static_cast< int >(val3);
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28571 wxPyEndAllowThreads(__tstate);
28572 if (PyErr_Occurred()) SWIG_fail;
28573 }
28574 {
28575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28576 }
28577 return resultobj;
28578 fail:
28579 return NULL;
28580 }
28581
28582
28583 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28584 PyObject *resultobj = 0;
28585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28586 void *argp1 = 0 ;
28587 int res1 = 0 ;
28588 PyObject *swig_obj[1] ;
28589
28590 if (!args) SWIG_fail;
28591 swig_obj[0] = args;
28592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28593 if (!SWIG_IsOK(res1)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28595 }
28596 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 (arg1)->OnEndDocument();
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 resultobj = SWIG_Py_Void();
28604 return resultobj;
28605 fail:
28606 return NULL;
28607 }
28608
28609
28610 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28611 PyObject *resultobj = 0;
28612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28613 void *argp1 = 0 ;
28614 int res1 = 0 ;
28615 PyObject *swig_obj[1] ;
28616
28617 if (!args) SWIG_fail;
28618 swig_obj[0] = args;
28619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28620 if (!SWIG_IsOK(res1)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28622 }
28623 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->OnBeginPrinting();
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 resultobj = SWIG_Py_Void();
28631 return resultobj;
28632 fail:
28633 return NULL;
28634 }
28635
28636
28637 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 PyObject *resultobj = 0;
28639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28640 void *argp1 = 0 ;
28641 int res1 = 0 ;
28642 PyObject *swig_obj[1] ;
28643
28644 if (!args) SWIG_fail;
28645 swig_obj[0] = args;
28646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28647 if (!SWIG_IsOK(res1)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28649 }
28650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->OnEndPrinting();
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_Py_Void();
28658 return resultobj;
28659 fail:
28660 return NULL;
28661 }
28662
28663
28664 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28665 PyObject *resultobj = 0;
28666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28667 void *argp1 = 0 ;
28668 int res1 = 0 ;
28669 PyObject *swig_obj[1] ;
28670
28671 if (!args) SWIG_fail;
28672 swig_obj[0] = args;
28673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28674 if (!SWIG_IsOK(res1)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28676 }
28677 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 (arg1)->OnPreparePrinting();
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 resultobj = SWIG_Py_Void();
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj = 0;
28693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28694 int arg2 ;
28695 bool result;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 int val2 ;
28699 int ecode2 = 0 ;
28700 PyObject * obj0 = 0 ;
28701 PyObject * obj1 = 0 ;
28702 char * kwnames[] = {
28703 (char *) "self",(char *) "page", NULL
28704 };
28705
28706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28708 if (!SWIG_IsOK(res1)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28710 }
28711 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28712 ecode2 = SWIG_AsVal_int(obj1, &val2);
28713 if (!SWIG_IsOK(ecode2)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28715 }
28716 arg2 = static_cast< int >(val2);
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 result = (bool)(arg1)->HasPage(arg2);
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 {
28724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28725 }
28726 return resultobj;
28727 fail:
28728 return NULL;
28729 }
28730
28731
28732 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28733 PyObject *resultobj = 0;
28734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28735 int *arg2 = (int *) 0 ;
28736 int *arg3 = (int *) 0 ;
28737 int *arg4 = (int *) 0 ;
28738 int *arg5 = (int *) 0 ;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 int temp2 ;
28742 int res2 = SWIG_TMPOBJ ;
28743 int temp3 ;
28744 int res3 = SWIG_TMPOBJ ;
28745 int temp4 ;
28746 int res4 = SWIG_TMPOBJ ;
28747 int temp5 ;
28748 int res5 = SWIG_TMPOBJ ;
28749 PyObject *swig_obj[1] ;
28750
28751 arg2 = &temp2;
28752 arg3 = &temp3;
28753 arg4 = &temp4;
28754 arg5 = &temp5;
28755 if (!args) SWIG_fail;
28756 swig_obj[0] = args;
28757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28758 if (!SWIG_IsOK(res1)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28760 }
28761 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 resultobj = SWIG_Py_Void();
28769 if (SWIG_IsTmpObj(res2)) {
28770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28771 } else {
28772 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28774 }
28775 if (SWIG_IsTmpObj(res3)) {
28776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28777 } else {
28778 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28780 }
28781 if (SWIG_IsTmpObj(res4)) {
28782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28783 } else {
28784 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28786 }
28787 if (SWIG_IsTmpObj(res5)) {
28788 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28789 } else {
28790 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28791 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28792 }
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28800 PyObject *obj;
28801 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28803 return SWIG_Py_Void();
28804 }
28805
28806 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28807 return SWIG_Python_InitShadowInstance(args);
28808 }
28809
28810 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj = 0;
28812 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28813 wxWindow *arg2 = (wxWindow *) 0 ;
28814 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28815 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28816 wxSize const &arg4_defvalue = wxDefaultSize ;
28817 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28818 long arg5 = (long) 0 ;
28819 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28820 wxString *arg6 = (wxString *) &arg6_defvalue ;
28821 wxPreviewCanvas *result = 0 ;
28822 void *argp1 = 0 ;
28823 int res1 = 0 ;
28824 void *argp2 = 0 ;
28825 int res2 = 0 ;
28826 wxPoint temp3 ;
28827 wxSize temp4 ;
28828 long val5 ;
28829 int ecode5 = 0 ;
28830 bool temp6 = false ;
28831 PyObject * obj0 = 0 ;
28832 PyObject * obj1 = 0 ;
28833 PyObject * obj2 = 0 ;
28834 PyObject * obj3 = 0 ;
28835 PyObject * obj4 = 0 ;
28836 PyObject * obj5 = 0 ;
28837 char * kwnames[] = {
28838 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28839 };
28840
28841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28843 if (!SWIG_IsOK(res1)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28845 }
28846 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28848 if (!SWIG_IsOK(res2)) {
28849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28850 }
28851 arg2 = reinterpret_cast< wxWindow * >(argp2);
28852 if (obj2) {
28853 {
28854 arg3 = &temp3;
28855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28856 }
28857 }
28858 if (obj3) {
28859 {
28860 arg4 = &temp4;
28861 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28862 }
28863 }
28864 if (obj4) {
28865 ecode5 = SWIG_AsVal_long(obj4, &val5);
28866 if (!SWIG_IsOK(ecode5)) {
28867 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28868 }
28869 arg5 = static_cast< long >(val5);
28870 }
28871 if (obj5) {
28872 {
28873 arg6 = wxString_in_helper(obj5);
28874 if (arg6 == NULL) SWIG_fail;
28875 temp6 = true;
28876 }
28877 }
28878 {
28879 if (!wxPyCheckForApp()) SWIG_fail;
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28886 {
28887 if (temp6)
28888 delete arg6;
28889 }
28890 return resultobj;
28891 fail:
28892 {
28893 if (temp6)
28894 delete arg6;
28895 }
28896 return NULL;
28897 }
28898
28899
28900 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28901 PyObject *obj;
28902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28904 return SWIG_Py_Void();
28905 }
28906
28907 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28908 return SWIG_Python_InitShadowInstance(args);
28909 }
28910
28911 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj = 0;
28913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28914 wxFrame *arg2 = (wxFrame *) 0 ;
28915 wxString *arg3 = 0 ;
28916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28918 wxSize const &arg5_defvalue = wxDefaultSize ;
28919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28920 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28921 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28922 wxString *arg7 = (wxString *) &arg7_defvalue ;
28923 wxPreviewFrame *result = 0 ;
28924 int res1 = 0 ;
28925 void *argp2 = 0 ;
28926 int res2 = 0 ;
28927 bool temp3 = false ;
28928 wxPoint temp4 ;
28929 wxSize temp5 ;
28930 long val6 ;
28931 int ecode6 = 0 ;
28932 bool temp7 = false ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 PyObject * obj2 = 0 ;
28936 PyObject * obj3 = 0 ;
28937 PyObject * obj4 = 0 ;
28938 PyObject * obj5 = 0 ;
28939 PyObject * obj6 = 0 ;
28940 char * kwnames[] = {
28941 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28942 };
28943
28944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28945 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28946 if (!SWIG_IsOK(res1)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28948 }
28949 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28950 if (!SWIG_IsOK(res2)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28952 }
28953 arg2 = reinterpret_cast< wxFrame * >(argp2);
28954 {
28955 arg3 = wxString_in_helper(obj2);
28956 if (arg3 == NULL) SWIG_fail;
28957 temp3 = true;
28958 }
28959 if (obj3) {
28960 {
28961 arg4 = &temp4;
28962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28963 }
28964 }
28965 if (obj4) {
28966 {
28967 arg5 = &temp5;
28968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28969 }
28970 }
28971 if (obj5) {
28972 ecode6 = SWIG_AsVal_long(obj5, &val6);
28973 if (!SWIG_IsOK(ecode6)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28975 }
28976 arg6 = static_cast< long >(val6);
28977 }
28978 if (obj6) {
28979 {
28980 arg7 = wxString_in_helper(obj6);
28981 if (arg7 == NULL) SWIG_fail;
28982 temp7 = true;
28983 }
28984 }
28985 {
28986 if (!wxPyCheckForApp()) SWIG_fail;
28987 PyThreadState* __tstate = wxPyBeginAllowThreads();
28988 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28989 wxPyEndAllowThreads(__tstate);
28990 if (PyErr_Occurred()) SWIG_fail;
28991 }
28992 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28993 {
28994 if (temp3)
28995 delete arg3;
28996 }
28997 {
28998 if (temp7)
28999 delete arg7;
29000 }
29001 return resultobj;
29002 fail:
29003 {
29004 if (temp3)
29005 delete arg3;
29006 }
29007 {
29008 if (temp7)
29009 delete arg7;
29010 }
29011 return NULL;
29012 }
29013
29014
29015 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29016 PyObject *resultobj = 0;
29017 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29018 void *argp1 = 0 ;
29019 int res1 = 0 ;
29020 PyObject *swig_obj[1] ;
29021
29022 if (!args) SWIG_fail;
29023 swig_obj[0] = args;
29024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29025 if (!SWIG_IsOK(res1)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29027 }
29028 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 (arg1)->Initialize();
29032 wxPyEndAllowThreads(__tstate);
29033 if (PyErr_Occurred()) SWIG_fail;
29034 }
29035 resultobj = SWIG_Py_Void();
29036 return resultobj;
29037 fail:
29038 return NULL;
29039 }
29040
29041
29042 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29043 PyObject *resultobj = 0;
29044 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29045 void *argp1 = 0 ;
29046 int res1 = 0 ;
29047 PyObject *swig_obj[1] ;
29048
29049 if (!args) SWIG_fail;
29050 swig_obj[0] = args;
29051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29052 if (!SWIG_IsOK(res1)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29054 }
29055 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 (arg1)->CreateControlBar();
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = SWIG_Py_Void();
29063 return resultobj;
29064 fail:
29065 return NULL;
29066 }
29067
29068
29069 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29070 PyObject *resultobj = 0;
29071 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29072 void *argp1 = 0 ;
29073 int res1 = 0 ;
29074 PyObject *swig_obj[1] ;
29075
29076 if (!args) SWIG_fail;
29077 swig_obj[0] = args;
29078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29079 if (!SWIG_IsOK(res1)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29081 }
29082 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->CreateCanvas();
29086 wxPyEndAllowThreads(__tstate);
29087 if (PyErr_Occurred()) SWIG_fail;
29088 }
29089 resultobj = SWIG_Py_Void();
29090 return resultobj;
29091 fail:
29092 return NULL;
29093 }
29094
29095
29096 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29097 PyObject *resultobj = 0;
29098 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29099 wxPreviewControlBar *result = 0 ;
29100 void *argp1 = 0 ;
29101 int res1 = 0 ;
29102 PyObject *swig_obj[1] ;
29103
29104 if (!args) SWIG_fail;
29105 swig_obj[0] = args;
29106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29107 if (!SWIG_IsOK(res1)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29109 }
29110 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29111 {
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29118 return resultobj;
29119 fail:
29120 return NULL;
29121 }
29122
29123
29124 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29125 PyObject *obj;
29126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29128 return SWIG_Py_Void();
29129 }
29130
29131 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29132 return SWIG_Python_InitShadowInstance(args);
29133 }
29134
29135 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29136 PyObject *resultobj = 0;
29137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29138 long arg2 ;
29139 wxWindow *arg3 = (wxWindow *) 0 ;
29140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29142 wxSize const &arg5_defvalue = wxDefaultSize ;
29143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29144 long arg6 = (long) wxTAB_TRAVERSAL ;
29145 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29146 wxString *arg7 = (wxString *) &arg7_defvalue ;
29147 wxPreviewControlBar *result = 0 ;
29148 void *argp1 = 0 ;
29149 int res1 = 0 ;
29150 long val2 ;
29151 int ecode2 = 0 ;
29152 void *argp3 = 0 ;
29153 int res3 = 0 ;
29154 wxPoint temp4 ;
29155 wxSize temp5 ;
29156 long val6 ;
29157 int ecode6 = 0 ;
29158 bool temp7 = false ;
29159 PyObject * obj0 = 0 ;
29160 PyObject * obj1 = 0 ;
29161 PyObject * obj2 = 0 ;
29162 PyObject * obj3 = 0 ;
29163 PyObject * obj4 = 0 ;
29164 PyObject * obj5 = 0 ;
29165 PyObject * obj6 = 0 ;
29166 char * kwnames[] = {
29167 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29168 };
29169
29170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29176 ecode2 = SWIG_AsVal_long(obj1, &val2);
29177 if (!SWIG_IsOK(ecode2)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29179 }
29180 arg2 = static_cast< long >(val2);
29181 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29182 if (!SWIG_IsOK(res3)) {
29183 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29184 }
29185 arg3 = reinterpret_cast< wxWindow * >(argp3);
29186 if (obj3) {
29187 {
29188 arg4 = &temp4;
29189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29190 }
29191 }
29192 if (obj4) {
29193 {
29194 arg5 = &temp5;
29195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29196 }
29197 }
29198 if (obj5) {
29199 ecode6 = SWIG_AsVal_long(obj5, &val6);
29200 if (!SWIG_IsOK(ecode6)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29202 }
29203 arg6 = static_cast< long >(val6);
29204 }
29205 if (obj6) {
29206 {
29207 arg7 = wxString_in_helper(obj6);
29208 if (arg7 == NULL) SWIG_fail;
29209 temp7 = true;
29210 }
29211 }
29212 {
29213 if (!wxPyCheckForApp()) SWIG_fail;
29214 PyThreadState* __tstate = wxPyBeginAllowThreads();
29215 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29220 {
29221 if (temp7)
29222 delete arg7;
29223 }
29224 return resultobj;
29225 fail:
29226 {
29227 if (temp7)
29228 delete arg7;
29229 }
29230 return NULL;
29231 }
29232
29233
29234 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29235 PyObject *resultobj = 0;
29236 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29237 int result;
29238 void *argp1 = 0 ;
29239 int res1 = 0 ;
29240 PyObject *swig_obj[1] ;
29241
29242 if (!args) SWIG_fail;
29243 swig_obj[0] = args;
29244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29245 if (!SWIG_IsOK(res1)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29247 }
29248 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 result = (int)(arg1)->GetZoomControl();
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 resultobj = SWIG_From_int(static_cast< int >(result));
29256 return resultobj;
29257 fail:
29258 return NULL;
29259 }
29260
29261
29262 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj = 0;
29264 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29265 int arg2 ;
29266 void *argp1 = 0 ;
29267 int res1 = 0 ;
29268 int val2 ;
29269 int ecode2 = 0 ;
29270 PyObject * obj0 = 0 ;
29271 PyObject * obj1 = 0 ;
29272 char * kwnames[] = {
29273 (char *) "self",(char *) "zoom", NULL
29274 };
29275
29276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29278 if (!SWIG_IsOK(res1)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29280 }
29281 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29282 ecode2 = SWIG_AsVal_int(obj1, &val2);
29283 if (!SWIG_IsOK(ecode2)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29285 }
29286 arg2 = static_cast< int >(val2);
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 (arg1)->SetZoomControl(arg2);
29290 wxPyEndAllowThreads(__tstate);
29291 if (PyErr_Occurred()) SWIG_fail;
29292 }
29293 resultobj = SWIG_Py_Void();
29294 return resultobj;
29295 fail:
29296 return NULL;
29297 }
29298
29299
29300 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29301 PyObject *resultobj = 0;
29302 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29303 wxPrintPreview *result = 0 ;
29304 void *argp1 = 0 ;
29305 int res1 = 0 ;
29306 PyObject *swig_obj[1] ;
29307
29308 if (!args) SWIG_fail;
29309 swig_obj[0] = args;
29310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29311 if (!SWIG_IsOK(res1)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29313 }
29314 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29318 wxPyEndAllowThreads(__tstate);
29319 if (PyErr_Occurred()) SWIG_fail;
29320 }
29321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29322 return resultobj;
29323 fail:
29324 return NULL;
29325 }
29326
29327
29328 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29329 PyObject *resultobj = 0;
29330 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29331 void *argp1 = 0 ;
29332 int res1 = 0 ;
29333 PyObject *swig_obj[1] ;
29334
29335 if (!args) SWIG_fail;
29336 swig_obj[0] = args;
29337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29338 if (!SWIG_IsOK(res1)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29340 }
29341 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 (arg1)->OnNext();
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 resultobj = SWIG_Py_Void();
29349 return resultobj;
29350 fail:
29351 return NULL;
29352 }
29353
29354
29355 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29356 PyObject *resultobj = 0;
29357 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29358 void *argp1 = 0 ;
29359 int res1 = 0 ;
29360 PyObject *swig_obj[1] ;
29361
29362 if (!args) SWIG_fail;
29363 swig_obj[0] = args;
29364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29365 if (!SWIG_IsOK(res1)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29367 }
29368 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29369 {
29370 PyThreadState* __tstate = wxPyBeginAllowThreads();
29371 (arg1)->OnPrevious();
29372 wxPyEndAllowThreads(__tstate);
29373 if (PyErr_Occurred()) SWIG_fail;
29374 }
29375 resultobj = SWIG_Py_Void();
29376 return resultobj;
29377 fail:
29378 return NULL;
29379 }
29380
29381
29382 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29383 PyObject *resultobj = 0;
29384 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29385 void *argp1 = 0 ;
29386 int res1 = 0 ;
29387 PyObject *swig_obj[1] ;
29388
29389 if (!args) SWIG_fail;
29390 swig_obj[0] = args;
29391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29392 if (!SWIG_IsOK(res1)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29394 }
29395 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29396 {
29397 PyThreadState* __tstate = wxPyBeginAllowThreads();
29398 (arg1)->OnFirst();
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 resultobj = SWIG_Py_Void();
29403 return resultobj;
29404 fail:
29405 return NULL;
29406 }
29407
29408
29409 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29410 PyObject *resultobj = 0;
29411 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29412 void *argp1 = 0 ;
29413 int res1 = 0 ;
29414 PyObject *swig_obj[1] ;
29415
29416 if (!args) SWIG_fail;
29417 swig_obj[0] = args;
29418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29419 if (!SWIG_IsOK(res1)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29421 }
29422 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29423 {
29424 PyThreadState* __tstate = wxPyBeginAllowThreads();
29425 (arg1)->OnLast();
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 resultobj = SWIG_Py_Void();
29430 return resultobj;
29431 fail:
29432 return NULL;
29433 }
29434
29435
29436 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29437 PyObject *resultobj = 0;
29438 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29439 void *argp1 = 0 ;
29440 int res1 = 0 ;
29441 PyObject *swig_obj[1] ;
29442
29443 if (!args) SWIG_fail;
29444 swig_obj[0] = args;
29445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29446 if (!SWIG_IsOK(res1)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29448 }
29449 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 (arg1)->OnGoto();
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 resultobj = SWIG_Py_Void();
29457 return resultobj;
29458 fail:
29459 return NULL;
29460 }
29461
29462
29463 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29464 PyObject *obj;
29465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29467 return SWIG_Py_Void();
29468 }
29469
29470 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29471 return SWIG_Python_InitShadowInstance(args);
29472 }
29473
29474 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29475 PyObject *resultobj = 0;
29476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29477 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29478 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29479 wxPrintPreview *result = 0 ;
29480 int res1 = 0 ;
29481 int res2 = 0 ;
29482 void *argp3 = 0 ;
29483 int res3 = 0 ;
29484
29485 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29486 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29487 if (!SWIG_IsOK(res1)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29489 }
29490 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29491 if (!SWIG_IsOK(res2)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29493 }
29494 if (swig_obj[2]) {
29495 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29496 if (!SWIG_IsOK(res3)) {
29497 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29498 }
29499 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29500 }
29501 {
29502 if (!wxPyCheckForApp()) SWIG_fail;
29503 PyThreadState* __tstate = wxPyBeginAllowThreads();
29504 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29505 wxPyEndAllowThreads(__tstate);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29509 return resultobj;
29510 fail:
29511 return NULL;
29512 }
29513
29514
29515 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29516 PyObject *resultobj = 0;
29517 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29518 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29519 wxPrintData *arg3 = (wxPrintData *) 0 ;
29520 wxPrintPreview *result = 0 ;
29521 int res1 = 0 ;
29522 int res2 = 0 ;
29523 void *argp3 = 0 ;
29524 int res3 = 0 ;
29525
29526 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29527 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29528 if (!SWIG_IsOK(res1)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29530 }
29531 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29532 if (!SWIG_IsOK(res2)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29534 }
29535 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29536 if (!SWIG_IsOK(res3)) {
29537 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29538 }
29539 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29540 {
29541 if (!wxPyCheckForApp()) SWIG_fail;
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29555 int argc;
29556 PyObject *argv[4];
29557
29558 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29559 --argc;
29560 if ((argc >= 2) && (argc <= 3)) {
29561 int _v = 0;
29562 if (argc > 2) {
29563 {
29564 void *vptr = 0;
29565 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29566 _v = SWIG_CheckState(res);
29567 }
29568 if (!_v) goto check_1;
29569 }
29570 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29571 }
29572 check_1:
29573
29574 if (argc == 3) {
29575 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29576 }
29577
29578 fail:
29579 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29580 return NULL;
29581 }
29582
29583
29584 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29585 PyObject *resultobj = 0;
29586 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29587 void *argp1 = 0 ;
29588 int res1 = 0 ;
29589 PyObject *swig_obj[1] ;
29590
29591 if (!args) SWIG_fail;
29592 swig_obj[0] = args;
29593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29594 if (!SWIG_IsOK(res1)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 }
29597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 delete arg1;
29601
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 resultobj = SWIG_Py_Void();
29606 return resultobj;
29607 fail:
29608 return NULL;
29609 }
29610
29611
29612 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj = 0;
29614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29615 int arg2 ;
29616 bool result;
29617 void *argp1 = 0 ;
29618 int res1 = 0 ;
29619 int val2 ;
29620 int ecode2 = 0 ;
29621 PyObject * obj0 = 0 ;
29622 PyObject * obj1 = 0 ;
29623 char * kwnames[] = {
29624 (char *) "self",(char *) "pageNum", NULL
29625 };
29626
29627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29629 if (!SWIG_IsOK(res1)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29631 }
29632 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29633 ecode2 = SWIG_AsVal_int(obj1, &val2);
29634 if (!SWIG_IsOK(ecode2)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29636 }
29637 arg2 = static_cast< int >(val2);
29638 {
29639 PyThreadState* __tstate = wxPyBeginAllowThreads();
29640 result = (bool)(arg1)->SetCurrentPage(arg2);
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29646 }
29647 return resultobj;
29648 fail:
29649 return NULL;
29650 }
29651
29652
29653 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29654 PyObject *resultobj = 0;
29655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29656 int result;
29657 void *argp1 = 0 ;
29658 int res1 = 0 ;
29659 PyObject *swig_obj[1] ;
29660
29661 if (!args) SWIG_fail;
29662 swig_obj[0] = args;
29663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29664 if (!SWIG_IsOK(res1)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29666 }
29667 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 result = (int)(arg1)->GetCurrentPage();
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 resultobj = SWIG_From_int(static_cast< int >(result));
29675 return resultobj;
29676 fail:
29677 return NULL;
29678 }
29679
29680
29681 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj = 0;
29683 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29684 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29685 void *argp1 = 0 ;
29686 int res1 = 0 ;
29687 int res2 = 0 ;
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 char * kwnames[] = {
29691 (char *) "self",(char *) "printout", NULL
29692 };
29693
29694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29696 if (!SWIG_IsOK(res1)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29698 }
29699 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29700 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29701 if (!SWIG_IsOK(res2)) {
29702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29703 }
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 (arg1)->SetPrintout(arg2);
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 resultobj = SWIG_Py_Void();
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29718 PyObject *resultobj = 0;
29719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29720 wxPyPrintout *result = 0 ;
29721 void *argp1 = 0 ;
29722 int res1 = 0 ;
29723 PyObject *swig_obj[1] ;
29724
29725 if (!args) SWIG_fail;
29726 swig_obj[0] = args;
29727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29728 if (!SWIG_IsOK(res1)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29730 }
29731 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = (wxPyPrintout *)(arg1)->GetPrintout();
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = wxPyMake_wxObject(result, 0);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29748 PyObject *resultobj = 0;
29749 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29750 wxPyPrintout *result = 0 ;
29751 void *argp1 = 0 ;
29752 int res1 = 0 ;
29753 PyObject *swig_obj[1] ;
29754
29755 if (!args) SWIG_fail;
29756 swig_obj[0] = args;
29757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29758 if (!SWIG_IsOK(res1)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29760 }
29761 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29762 {
29763 PyThreadState* __tstate = wxPyBeginAllowThreads();
29764 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29765 wxPyEndAllowThreads(__tstate);
29766 if (PyErr_Occurred()) SWIG_fail;
29767 }
29768 {
29769 resultobj = wxPyMake_wxObject(result, 0);
29770 }
29771 return resultobj;
29772 fail:
29773 return NULL;
29774 }
29775
29776
29777 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29778 PyObject *resultobj = 0;
29779 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29780 wxFrame *arg2 = (wxFrame *) 0 ;
29781 void *argp1 = 0 ;
29782 int res1 = 0 ;
29783 void *argp2 = 0 ;
29784 int res2 = 0 ;
29785 PyObject * obj0 = 0 ;
29786 PyObject * obj1 = 0 ;
29787 char * kwnames[] = {
29788 (char *) "self",(char *) "frame", NULL
29789 };
29790
29791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29793 if (!SWIG_IsOK(res1)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29795 }
29796 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29798 if (!SWIG_IsOK(res2)) {
29799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29800 }
29801 arg2 = reinterpret_cast< wxFrame * >(argp2);
29802 {
29803 PyThreadState* __tstate = wxPyBeginAllowThreads();
29804 (arg1)->SetFrame(arg2);
29805 wxPyEndAllowThreads(__tstate);
29806 if (PyErr_Occurred()) SWIG_fail;
29807 }
29808 resultobj = SWIG_Py_Void();
29809 return resultobj;
29810 fail:
29811 return NULL;
29812 }
29813
29814
29815 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29816 PyObject *resultobj = 0;
29817 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29818 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29819 void *argp1 = 0 ;
29820 int res1 = 0 ;
29821 void *argp2 = 0 ;
29822 int res2 = 0 ;
29823 PyObject * obj0 = 0 ;
29824 PyObject * obj1 = 0 ;
29825 char * kwnames[] = {
29826 (char *) "self",(char *) "canvas", NULL
29827 };
29828
29829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29831 if (!SWIG_IsOK(res1)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 }
29834 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29836 if (!SWIG_IsOK(res2)) {
29837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29838 }
29839 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 (arg1)->SetCanvas(arg2);
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = SWIG_Py_Void();
29847 return resultobj;
29848 fail:
29849 return NULL;
29850 }
29851
29852
29853 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29854 PyObject *resultobj = 0;
29855 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29856 wxFrame *result = 0 ;
29857 void *argp1 = 0 ;
29858 int res1 = 0 ;
29859 PyObject *swig_obj[1] ;
29860
29861 if (!args) SWIG_fail;
29862 swig_obj[0] = args;
29863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29864 if (!SWIG_IsOK(res1)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29866 }
29867 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (wxFrame *)(arg1)->GetFrame();
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 {
29875 resultobj = wxPyMake_wxObject(result, 0);
29876 }
29877 return resultobj;
29878 fail:
29879 return NULL;
29880 }
29881
29882
29883 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29884 PyObject *resultobj = 0;
29885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29886 wxPreviewCanvas *result = 0 ;
29887 void *argp1 = 0 ;
29888 int res1 = 0 ;
29889 PyObject *swig_obj[1] ;
29890
29891 if (!args) SWIG_fail;
29892 swig_obj[0] = args;
29893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29894 if (!SWIG_IsOK(res1)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 }
29897 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29898 {
29899 PyThreadState* __tstate = wxPyBeginAllowThreads();
29900 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29905 return resultobj;
29906 fail:
29907 return NULL;
29908 }
29909
29910
29911 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj = 0;
29913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29914 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29915 wxDC *arg3 = 0 ;
29916 bool result;
29917 void *argp1 = 0 ;
29918 int res1 = 0 ;
29919 void *argp2 = 0 ;
29920 int res2 = 0 ;
29921 void *argp3 = 0 ;
29922 int res3 = 0 ;
29923 PyObject * obj0 = 0 ;
29924 PyObject * obj1 = 0 ;
29925 PyObject * obj2 = 0 ;
29926 char * kwnames[] = {
29927 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29928 };
29929
29930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29932 if (!SWIG_IsOK(res1)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29934 }
29935 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29937 if (!SWIG_IsOK(res2)) {
29938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29939 }
29940 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29941 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29942 if (!SWIG_IsOK(res3)) {
29943 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29944 }
29945 if (!argp3) {
29946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29947 }
29948 arg3 = reinterpret_cast< wxDC * >(argp3);
29949 {
29950 PyThreadState* __tstate = wxPyBeginAllowThreads();
29951 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 {
29956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29957 }
29958 return resultobj;
29959 fail:
29960 return NULL;
29961 }
29962
29963
29964 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj = 0;
29966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29967 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29968 wxDC *arg3 = 0 ;
29969 bool result;
29970 void *argp1 = 0 ;
29971 int res1 = 0 ;
29972 void *argp2 = 0 ;
29973 int res2 = 0 ;
29974 void *argp3 = 0 ;
29975 int res3 = 0 ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 PyObject * obj2 = 0 ;
29979 char * kwnames[] = {
29980 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29981 };
29982
29983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29985 if (!SWIG_IsOK(res1)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29987 }
29988 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29990 if (!SWIG_IsOK(res2)) {
29991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29992 }
29993 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29994 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29995 if (!SWIG_IsOK(res3)) {
29996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29997 }
29998 if (!argp3) {
29999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30000 }
30001 arg3 = reinterpret_cast< wxDC * >(argp3);
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30005 wxPyEndAllowThreads(__tstate);
30006 if (PyErr_Occurred()) SWIG_fail;
30007 }
30008 {
30009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30010 }
30011 return resultobj;
30012 fail:
30013 return NULL;
30014 }
30015
30016
30017 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30018 PyObject *resultobj = 0;
30019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30020 int arg2 ;
30021 bool result;
30022 void *argp1 = 0 ;
30023 int res1 = 0 ;
30024 int val2 ;
30025 int ecode2 = 0 ;
30026 PyObject * obj0 = 0 ;
30027 PyObject * obj1 = 0 ;
30028 char * kwnames[] = {
30029 (char *) "self",(char *) "pageNum", NULL
30030 };
30031
30032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30034 if (!SWIG_IsOK(res1)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30036 }
30037 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30038 ecode2 = SWIG_AsVal_int(obj1, &val2);
30039 if (!SWIG_IsOK(ecode2)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30041 }
30042 arg2 = static_cast< int >(val2);
30043 {
30044 PyThreadState* __tstate = wxPyBeginAllowThreads();
30045 result = (bool)(arg1)->RenderPage(arg2);
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 {
30050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30051 }
30052 return resultobj;
30053 fail:
30054 return NULL;
30055 }
30056
30057
30058 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj = 0;
30060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30061 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30062 void *argp1 = 0 ;
30063 int res1 = 0 ;
30064 void *argp2 = 0 ;
30065 int res2 = 0 ;
30066 PyObject * obj0 = 0 ;
30067 PyObject * obj1 = 0 ;
30068 char * kwnames[] = {
30069 (char *) "self",(char *) "canvas", NULL
30070 };
30071
30072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30074 if (!SWIG_IsOK(res1)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30076 }
30077 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30079 if (!SWIG_IsOK(res2)) {
30080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30081 }
30082 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 (arg1)->AdjustScrollbars(arg2);
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 resultobj = SWIG_Py_Void();
30090 return resultobj;
30091 fail:
30092 return NULL;
30093 }
30094
30095
30096 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30097 PyObject *resultobj = 0;
30098 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30099 wxPrintDialogData *result = 0 ;
30100 void *argp1 = 0 ;
30101 int res1 = 0 ;
30102 PyObject *swig_obj[1] ;
30103
30104 if (!args) SWIG_fail;
30105 swig_obj[0] = args;
30106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30107 if (!SWIG_IsOK(res1)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30109 }
30110 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30111 {
30112 PyThreadState* __tstate = wxPyBeginAllowThreads();
30113 {
30114 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30115 result = (wxPrintDialogData *) &_result_ref;
30116 }
30117 wxPyEndAllowThreads(__tstate);
30118 if (PyErr_Occurred()) SWIG_fail;
30119 }
30120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30121 return resultobj;
30122 fail:
30123 return NULL;
30124 }
30125
30126
30127 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30128 PyObject *resultobj = 0;
30129 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30130 int arg2 ;
30131 void *argp1 = 0 ;
30132 int res1 = 0 ;
30133 int val2 ;
30134 int ecode2 = 0 ;
30135 PyObject * obj0 = 0 ;
30136 PyObject * obj1 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "self",(char *) "percent", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30147 ecode2 = SWIG_AsVal_int(obj1, &val2);
30148 if (!SWIG_IsOK(ecode2)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30150 }
30151 arg2 = static_cast< int >(val2);
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 (arg1)->SetZoom(arg2);
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 resultobj = SWIG_Py_Void();
30159 return resultobj;
30160 fail:
30161 return NULL;
30162 }
30163
30164
30165 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30166 PyObject *resultobj = 0;
30167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30168 int result;
30169 void *argp1 = 0 ;
30170 int res1 = 0 ;
30171 PyObject *swig_obj[1] ;
30172
30173 if (!args) SWIG_fail;
30174 swig_obj[0] = args;
30175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30176 if (!SWIG_IsOK(res1)) {
30177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30178 }
30179 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (int)(arg1)->GetZoom();
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 resultobj = SWIG_From_int(static_cast< int >(result));
30187 return resultobj;
30188 fail:
30189 return NULL;
30190 }
30191
30192
30193 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30194 PyObject *resultobj = 0;
30195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30196 int result;
30197 void *argp1 = 0 ;
30198 int res1 = 0 ;
30199 PyObject *swig_obj[1] ;
30200
30201 if (!args) SWIG_fail;
30202 swig_obj[0] = args;
30203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30204 if (!SWIG_IsOK(res1)) {
30205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30206 }
30207 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30208 {
30209 PyThreadState* __tstate = wxPyBeginAllowThreads();
30210 result = (int)(arg1)->GetMaxPage();
30211 wxPyEndAllowThreads(__tstate);
30212 if (PyErr_Occurred()) SWIG_fail;
30213 }
30214 resultobj = SWIG_From_int(static_cast< int >(result));
30215 return resultobj;
30216 fail:
30217 return NULL;
30218 }
30219
30220
30221 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30222 PyObject *resultobj = 0;
30223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30224 int result;
30225 void *argp1 = 0 ;
30226 int res1 = 0 ;
30227 PyObject *swig_obj[1] ;
30228
30229 if (!args) SWIG_fail;
30230 swig_obj[0] = args;
30231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30232 if (!SWIG_IsOK(res1)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30234 }
30235 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 result = (int)(arg1)->GetMinPage();
30239 wxPyEndAllowThreads(__tstate);
30240 if (PyErr_Occurred()) SWIG_fail;
30241 }
30242 resultobj = SWIG_From_int(static_cast< int >(result));
30243 return resultobj;
30244 fail:
30245 return NULL;
30246 }
30247
30248
30249 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30250 PyObject *resultobj = 0;
30251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30252 bool result;
30253 void *argp1 = 0 ;
30254 int res1 = 0 ;
30255 PyObject *swig_obj[1] ;
30256
30257 if (!args) SWIG_fail;
30258 swig_obj[0] = args;
30259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30260 if (!SWIG_IsOK(res1)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30262 }
30263 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 result = (bool)(arg1)->Ok();
30267 wxPyEndAllowThreads(__tstate);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 }
30270 {
30271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30272 }
30273 return resultobj;
30274 fail:
30275 return NULL;
30276 }
30277
30278
30279 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj = 0;
30281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30282 bool arg2 ;
30283 void *argp1 = 0 ;
30284 int res1 = 0 ;
30285 bool val2 ;
30286 int ecode2 = 0 ;
30287 PyObject * obj0 = 0 ;
30288 PyObject * obj1 = 0 ;
30289 char * kwnames[] = {
30290 (char *) "self",(char *) "ok", NULL
30291 };
30292
30293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30295 if (!SWIG_IsOK(res1)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30297 }
30298 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30299 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30300 if (!SWIG_IsOK(ecode2)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30302 }
30303 arg2 = static_cast< bool >(val2);
30304 {
30305 PyThreadState* __tstate = wxPyBeginAllowThreads();
30306 (arg1)->SetOk(arg2);
30307 wxPyEndAllowThreads(__tstate);
30308 if (PyErr_Occurred()) SWIG_fail;
30309 }
30310 resultobj = SWIG_Py_Void();
30311 return resultobj;
30312 fail:
30313 return NULL;
30314 }
30315
30316
30317 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30318 PyObject *resultobj = 0;
30319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30320 bool arg2 ;
30321 bool result;
30322 void *argp1 = 0 ;
30323 int res1 = 0 ;
30324 bool val2 ;
30325 int ecode2 = 0 ;
30326 PyObject * obj0 = 0 ;
30327 PyObject * obj1 = 0 ;
30328 char * kwnames[] = {
30329 (char *) "self",(char *) "interactive", NULL
30330 };
30331
30332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30334 if (!SWIG_IsOK(res1)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30336 }
30337 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30338 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30339 if (!SWIG_IsOK(ecode2)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30341 }
30342 arg2 = static_cast< bool >(val2);
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 result = (bool)(arg1)->Print(arg2);
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 {
30350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30351 }
30352 return resultobj;
30353 fail:
30354 return NULL;
30355 }
30356
30357
30358 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30359 PyObject *resultobj = 0;
30360 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30361 void *argp1 = 0 ;
30362 int res1 = 0 ;
30363 PyObject *swig_obj[1] ;
30364
30365 if (!args) SWIG_fail;
30366 swig_obj[0] = args;
30367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30368 if (!SWIG_IsOK(res1)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30370 }
30371 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30372 {
30373 PyThreadState* __tstate = wxPyBeginAllowThreads();
30374 (arg1)->DetermineScaling();
30375 wxPyEndAllowThreads(__tstate);
30376 if (PyErr_Occurred()) SWIG_fail;
30377 }
30378 resultobj = SWIG_Py_Void();
30379 return resultobj;
30380 fail:
30381 return NULL;
30382 }
30383
30384
30385 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30386 PyObject *obj;
30387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30389 return SWIG_Py_Void();
30390 }
30391
30392 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30393 return SWIG_Python_InitShadowInstance(args);
30394 }
30395
30396 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30397 PyObject *resultobj = 0;
30398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30399 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30400 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30401 wxPyPrintPreview *result = 0 ;
30402 int res1 = 0 ;
30403 int res2 = 0 ;
30404 void *argp3 = 0 ;
30405 int res3 = 0 ;
30406
30407 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30408 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30409 if (!SWIG_IsOK(res1)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30411 }
30412 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30413 if (!SWIG_IsOK(res2)) {
30414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30415 }
30416 if (swig_obj[2]) {
30417 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30418 if (!SWIG_IsOK(res3)) {
30419 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30420 }
30421 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30422 }
30423 {
30424 if (!wxPyCheckForApp()) SWIG_fail;
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30427 wxPyEndAllowThreads(__tstate);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30431 return resultobj;
30432 fail:
30433 return NULL;
30434 }
30435
30436
30437 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30438 PyObject *resultobj = 0;
30439 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30440 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30441 wxPrintData *arg3 = (wxPrintData *) 0 ;
30442 wxPyPrintPreview *result = 0 ;
30443 int res1 = 0 ;
30444 int res2 = 0 ;
30445 void *argp3 = 0 ;
30446 int res3 = 0 ;
30447
30448 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30449 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30450 if (!SWIG_IsOK(res1)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30452 }
30453 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30454 if (!SWIG_IsOK(res2)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30456 }
30457 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30458 if (!SWIG_IsOK(res3)) {
30459 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30460 }
30461 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30462 {
30463 if (!wxPyCheckForApp()) SWIG_fail;
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30477 int argc;
30478 PyObject *argv[4];
30479
30480 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30481 --argc;
30482 if ((argc >= 2) && (argc <= 3)) {
30483 int _v = 0;
30484 if (argc > 2) {
30485 {
30486 void *vptr = 0;
30487 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30488 _v = SWIG_CheckState(res);
30489 }
30490 if (!_v) goto check_1;
30491 }
30492 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30493 }
30494 check_1:
30495
30496 if (argc == 3) {
30497 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30498 }
30499
30500 fail:
30501 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30502 return NULL;
30503 }
30504
30505
30506 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30507 PyObject *resultobj = 0;
30508 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30509 PyObject *arg2 = (PyObject *) 0 ;
30510 PyObject *arg3 = (PyObject *) 0 ;
30511 void *argp1 = 0 ;
30512 int res1 = 0 ;
30513 PyObject * obj0 = 0 ;
30514 PyObject * obj1 = 0 ;
30515 PyObject * obj2 = 0 ;
30516 char * kwnames[] = {
30517 (char *) "self",(char *) "self",(char *) "_class", NULL
30518 };
30519
30520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30526 arg2 = obj1;
30527 arg3 = obj2;
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 (arg1)->_setCallbackInfo(arg2,arg3);
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 resultobj = SWIG_Py_Void();
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30542 PyObject *obj;
30543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30545 return SWIG_Py_Void();
30546 }
30547
30548 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30549 return SWIG_Python_InitShadowInstance(args);
30550 }
30551
30552 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj = 0;
30554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30555 wxFrame *arg2 = (wxFrame *) 0 ;
30556 wxString *arg3 = 0 ;
30557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30559 wxSize const &arg5_defvalue = wxDefaultSize ;
30560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30561 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30562 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30563 wxString *arg7 = (wxString *) &arg7_defvalue ;
30564 wxPyPreviewFrame *result = 0 ;
30565 void *argp1 = 0 ;
30566 int res1 = 0 ;
30567 void *argp2 = 0 ;
30568 int res2 = 0 ;
30569 bool temp3 = false ;
30570 wxPoint temp4 ;
30571 wxSize temp5 ;
30572 long val6 ;
30573 int ecode6 = 0 ;
30574 bool temp7 = false ;
30575 PyObject * obj0 = 0 ;
30576 PyObject * obj1 = 0 ;
30577 PyObject * obj2 = 0 ;
30578 PyObject * obj3 = 0 ;
30579 PyObject * obj4 = 0 ;
30580 PyObject * obj5 = 0 ;
30581 PyObject * obj6 = 0 ;
30582 char * kwnames[] = {
30583 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30584 };
30585
30586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30588 if (!SWIG_IsOK(res1)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30590 }
30591 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30593 if (!SWIG_IsOK(res2)) {
30594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30595 }
30596 arg2 = reinterpret_cast< wxFrame * >(argp2);
30597 {
30598 arg3 = wxString_in_helper(obj2);
30599 if (arg3 == NULL) SWIG_fail;
30600 temp3 = true;
30601 }
30602 if (obj3) {
30603 {
30604 arg4 = &temp4;
30605 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30606 }
30607 }
30608 if (obj4) {
30609 {
30610 arg5 = &temp5;
30611 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30612 }
30613 }
30614 if (obj5) {
30615 ecode6 = SWIG_AsVal_long(obj5, &val6);
30616 if (!SWIG_IsOK(ecode6)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30618 }
30619 arg6 = static_cast< long >(val6);
30620 }
30621 if (obj6) {
30622 {
30623 arg7 = wxString_in_helper(obj6);
30624 if (arg7 == NULL) SWIG_fail;
30625 temp7 = true;
30626 }
30627 }
30628 {
30629 if (!wxPyCheckForApp()) SWIG_fail;
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30636 {
30637 if (temp3)
30638 delete arg3;
30639 }
30640 {
30641 if (temp7)
30642 delete arg7;
30643 }
30644 return resultobj;
30645 fail:
30646 {
30647 if (temp3)
30648 delete arg3;
30649 }
30650 {
30651 if (temp7)
30652 delete arg7;
30653 }
30654 return NULL;
30655 }
30656
30657
30658 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30659 PyObject *resultobj = 0;
30660 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30661 PyObject *arg2 = (PyObject *) 0 ;
30662 PyObject *arg3 = (PyObject *) 0 ;
30663 void *argp1 = 0 ;
30664 int res1 = 0 ;
30665 PyObject * obj0 = 0 ;
30666 PyObject * obj1 = 0 ;
30667 PyObject * obj2 = 0 ;
30668 char * kwnames[] = {
30669 (char *) "self",(char *) "self",(char *) "_class", NULL
30670 };
30671
30672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30678 arg2 = obj1;
30679 arg3 = obj2;
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 (arg1)->_setCallbackInfo(arg2,arg3);
30683 wxPyEndAllowThreads(__tstate);
30684 if (PyErr_Occurred()) SWIG_fail;
30685 }
30686 resultobj = SWIG_Py_Void();
30687 return resultobj;
30688 fail:
30689 return NULL;
30690 }
30691
30692
30693 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30694 PyObject *resultobj = 0;
30695 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30696 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30697 void *argp1 = 0 ;
30698 int res1 = 0 ;
30699 void *argp2 = 0 ;
30700 int res2 = 0 ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 char * kwnames[] = {
30704 (char *) "self",(char *) "canvas", NULL
30705 };
30706
30707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30709 if (!SWIG_IsOK(res1)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30711 }
30712 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30714 if (!SWIG_IsOK(res2)) {
30715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30716 }
30717 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 (arg1)->SetPreviewCanvas(arg2);
30721 wxPyEndAllowThreads(__tstate);
30722 if (PyErr_Occurred()) SWIG_fail;
30723 }
30724 resultobj = SWIG_Py_Void();
30725 return resultobj;
30726 fail:
30727 return NULL;
30728 }
30729
30730
30731 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30732 PyObject *resultobj = 0;
30733 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30734 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30735 void *argp1 = 0 ;
30736 int res1 = 0 ;
30737 void *argp2 = 0 ;
30738 int res2 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 char * kwnames[] = {
30742 (char *) "self",(char *) "bar", NULL
30743 };
30744
30745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30747 if (!SWIG_IsOK(res1)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30749 }
30750 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30752 if (!SWIG_IsOK(res2)) {
30753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30754 }
30755 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 (arg1)->SetControlBar(arg2);
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
30762 resultobj = SWIG_Py_Void();
30763 return resultobj;
30764 fail:
30765 return NULL;
30766 }
30767
30768
30769 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30770 PyObject *resultobj = 0;
30771 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30772 void *argp1 = 0 ;
30773 int res1 = 0 ;
30774 PyObject *swig_obj[1] ;
30775
30776 if (!args) SWIG_fail;
30777 swig_obj[0] = args;
30778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30779 if (!SWIG_IsOK(res1)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30781 }
30782 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30783 {
30784 PyThreadState* __tstate = wxPyBeginAllowThreads();
30785 (arg1)->Initialize();
30786 wxPyEndAllowThreads(__tstate);
30787 if (PyErr_Occurred()) SWIG_fail;
30788 }
30789 resultobj = SWIG_Py_Void();
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30797 PyObject *resultobj = 0;
30798 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30799 void *argp1 = 0 ;
30800 int res1 = 0 ;
30801 PyObject *swig_obj[1] ;
30802
30803 if (!args) SWIG_fail;
30804 swig_obj[0] = args;
30805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30806 if (!SWIG_IsOK(res1)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30808 }
30809 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 (arg1)->CreateCanvas();
30813 wxPyEndAllowThreads(__tstate);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 }
30816 resultobj = SWIG_Py_Void();
30817 return resultobj;
30818 fail:
30819 return NULL;
30820 }
30821
30822
30823 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30824 PyObject *resultobj = 0;
30825 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30826 void *argp1 = 0 ;
30827 int res1 = 0 ;
30828 PyObject *swig_obj[1] ;
30829
30830 if (!args) SWIG_fail;
30831 swig_obj[0] = args;
30832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30833 if (!SWIG_IsOK(res1)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30835 }
30836 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30837 {
30838 PyThreadState* __tstate = wxPyBeginAllowThreads();
30839 (arg1)->CreateControlBar();
30840 wxPyEndAllowThreads(__tstate);
30841 if (PyErr_Occurred()) SWIG_fail;
30842 }
30843 resultobj = SWIG_Py_Void();
30844 return resultobj;
30845 fail:
30846 return NULL;
30847 }
30848
30849
30850 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30851 PyObject *obj;
30852 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30854 return SWIG_Py_Void();
30855 }
30856
30857 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30858 return SWIG_Python_InitShadowInstance(args);
30859 }
30860
30861 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30862 PyObject *resultobj = 0;
30863 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30864 long arg2 ;
30865 wxWindow *arg3 = (wxWindow *) 0 ;
30866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30868 wxSize const &arg5_defvalue = wxDefaultSize ;
30869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30870 long arg6 = (long) 0 ;
30871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30872 wxString *arg7 = (wxString *) &arg7_defvalue ;
30873 wxPyPreviewControlBar *result = 0 ;
30874 void *argp1 = 0 ;
30875 int res1 = 0 ;
30876 long val2 ;
30877 int ecode2 = 0 ;
30878 void *argp3 = 0 ;
30879 int res3 = 0 ;
30880 wxPoint temp4 ;
30881 wxSize temp5 ;
30882 long val6 ;
30883 int ecode6 = 0 ;
30884 bool temp7 = false ;
30885 PyObject * obj0 = 0 ;
30886 PyObject * obj1 = 0 ;
30887 PyObject * obj2 = 0 ;
30888 PyObject * obj3 = 0 ;
30889 PyObject * obj4 = 0 ;
30890 PyObject * obj5 = 0 ;
30891 PyObject * obj6 = 0 ;
30892 char * kwnames[] = {
30893 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30894 };
30895
30896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30898 if (!SWIG_IsOK(res1)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30900 }
30901 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30902 ecode2 = SWIG_AsVal_long(obj1, &val2);
30903 if (!SWIG_IsOK(ecode2)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30905 }
30906 arg2 = static_cast< long >(val2);
30907 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30908 if (!SWIG_IsOK(res3)) {
30909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30910 }
30911 arg3 = reinterpret_cast< wxWindow * >(argp3);
30912 if (obj3) {
30913 {
30914 arg4 = &temp4;
30915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30916 }
30917 }
30918 if (obj4) {
30919 {
30920 arg5 = &temp5;
30921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30922 }
30923 }
30924 if (obj5) {
30925 ecode6 = SWIG_AsVal_long(obj5, &val6);
30926 if (!SWIG_IsOK(ecode6)) {
30927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30928 }
30929 arg6 = static_cast< long >(val6);
30930 }
30931 if (obj6) {
30932 {
30933 arg7 = wxString_in_helper(obj6);
30934 if (arg7 == NULL) SWIG_fail;
30935 temp7 = true;
30936 }
30937 }
30938 {
30939 if (!wxPyCheckForApp()) SWIG_fail;
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30942 wxPyEndAllowThreads(__tstate);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
30945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30946 {
30947 if (temp7)
30948 delete arg7;
30949 }
30950 return resultobj;
30951 fail:
30952 {
30953 if (temp7)
30954 delete arg7;
30955 }
30956 return NULL;
30957 }
30958
30959
30960 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30961 PyObject *resultobj = 0;
30962 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30963 PyObject *arg2 = (PyObject *) 0 ;
30964 PyObject *arg3 = (PyObject *) 0 ;
30965 void *argp1 = 0 ;
30966 int res1 = 0 ;
30967 PyObject * obj0 = 0 ;
30968 PyObject * obj1 = 0 ;
30969 PyObject * obj2 = 0 ;
30970 char * kwnames[] = {
30971 (char *) "self",(char *) "self",(char *) "_class", NULL
30972 };
30973
30974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30976 if (!SWIG_IsOK(res1)) {
30977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30978 }
30979 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30980 arg2 = obj1;
30981 arg3 = obj2;
30982 {
30983 PyThreadState* __tstate = wxPyBeginAllowThreads();
30984 (arg1)->_setCallbackInfo(arg2,arg3);
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
30988 resultobj = SWIG_Py_Void();
30989 return resultobj;
30990 fail:
30991 return NULL;
30992 }
30993
30994
30995 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30996 PyObject *resultobj = 0;
30997 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30998 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30999 void *argp1 = 0 ;
31000 int res1 = 0 ;
31001 void *argp2 = 0 ;
31002 int res2 = 0 ;
31003 PyObject * obj0 = 0 ;
31004 PyObject * obj1 = 0 ;
31005 char * kwnames[] = {
31006 (char *) "self",(char *) "preview", NULL
31007 };
31008
31009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31011 if (!SWIG_IsOK(res1)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31013 }
31014 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31016 if (!SWIG_IsOK(res2)) {
31017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31018 }
31019 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31020 {
31021 PyThreadState* __tstate = wxPyBeginAllowThreads();
31022 (arg1)->SetPrintPreview(arg2);
31023 wxPyEndAllowThreads(__tstate);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 }
31026 resultobj = SWIG_Py_Void();
31027 return resultobj;
31028 fail:
31029 return NULL;
31030 }
31031
31032
31033 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31034 PyObject *resultobj = 0;
31035 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31036 void *argp1 = 0 ;
31037 int res1 = 0 ;
31038 PyObject *swig_obj[1] ;
31039
31040 if (!args) SWIG_fail;
31041 swig_obj[0] = args;
31042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31043 if (!SWIG_IsOK(res1)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31045 }
31046 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31047 {
31048 PyThreadState* __tstate = wxPyBeginAllowThreads();
31049 (arg1)->CreateButtons();
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 resultobj = SWIG_Py_Void();
31054 return resultobj;
31055 fail:
31056 return NULL;
31057 }
31058
31059
31060 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31061 PyObject *resultobj = 0;
31062 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31063 int arg2 ;
31064 void *argp1 = 0 ;
31065 int res1 = 0 ;
31066 int val2 ;
31067 int ecode2 = 0 ;
31068 PyObject * obj0 = 0 ;
31069 PyObject * obj1 = 0 ;
31070 char * kwnames[] = {
31071 (char *) "self",(char *) "zoom", NULL
31072 };
31073
31074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31076 if (!SWIG_IsOK(res1)) {
31077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31078 }
31079 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31080 ecode2 = SWIG_AsVal_int(obj1, &val2);
31081 if (!SWIG_IsOK(ecode2)) {
31082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31083 }
31084 arg2 = static_cast< int >(val2);
31085 {
31086 PyThreadState* __tstate = wxPyBeginAllowThreads();
31087 (arg1)->SetZoomControl(arg2);
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 resultobj = SWIG_Py_Void();
31092 return resultobj;
31093 fail:
31094 return NULL;
31095 }
31096
31097
31098 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31099 PyObject *obj;
31100 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31101 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31102 return SWIG_Py_Void();
31103 }
31104
31105 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31106 return SWIG_Python_InitShadowInstance(args);
31107 }
31108
31109 static PyMethodDef SwigMethods[] = {
31110 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31112 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31114 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31116 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31117 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31119 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31126 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31128 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31130 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31131 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31132 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31133 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31134 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31137 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31139 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31142 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31143 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31145 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31147 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31148 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31149 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31150 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31154 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31156 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31159 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31161 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
31165 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31166 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31169 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31170 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31172 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31174 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31176 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31179 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31186 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31188 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31193 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31194 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31196 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31199 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31201 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31203 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31207 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31208 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31211 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31212 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31214 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31216 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31217 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31220 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31221 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31222 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31224 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31225 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31226 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31227 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31228 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31230 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31233 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31242 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31243 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31245 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31246 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31248 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31250 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31251 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31253 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31259 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31260 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31263 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31264 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31266 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31268 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31270 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31272 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31274 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31276 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31277 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31280 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31281 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31282 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31283 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31284 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31287 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31295 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31297 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31300 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31301 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31304 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31305 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31307 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31308 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31309 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31312 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31314 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31316 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31317 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31318 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31321 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31323 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31325 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31327 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31329 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31330 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31331 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31334 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31336 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31337 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31338 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31340 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31342 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31343 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31346 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31347 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31348 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31349 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31350 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31354 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31355 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31357 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31360 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31361 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31363 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31366 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31367 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31368 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31371 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31372 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31373 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31375 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31383 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31384 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31385 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31386 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31387 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31389 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31390 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31393 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31394 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31396 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31399 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31400 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31401 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31404 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31405 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31407 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31408 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31410 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31415 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31416 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31422 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31423 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31425 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31429 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31431 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31432 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31433 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31434 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31436 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31437 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31438 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31440 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31442 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31443 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31445 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31446 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31447 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31448 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31449 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31450 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31455 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31456 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31458 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31459 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31460 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31463 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31464 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31467 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31468 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31476 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31477 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31478 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31479 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31480 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31481 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31482 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31483 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31484 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31485 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31488 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31489 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31490 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31492 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31493 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31495 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31496 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31498 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31500 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31501 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31503 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31504 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31506 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31507 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31508 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31509 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31510 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31512 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31513 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31514 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31515 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31516 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31517 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31524 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31525 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31527 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31528 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31529 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31532 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31533 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31536 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31537 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31538 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31540 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31541 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31542 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31543 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31547 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31548 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31550 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31551 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31552 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31553 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31557 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31558 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31560 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31562 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31564 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31565 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31567 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31569 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31570 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31571 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31572 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31573 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31574 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31575 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31576 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31579 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31580 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31582 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31584 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31585 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31586 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31588 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31590 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31591 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31593 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31601 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31602 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31603 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31604 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31605 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31606 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31607 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31608 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31609 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31611 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31619 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31620 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31621 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31622 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31623 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31624 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31625 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31626 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31627 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31629 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31637 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31638 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31639 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31640 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31641 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31642 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31643 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31644 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31645 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31646 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31647 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31648 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31649 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31650 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31651 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31652 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31653 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31654 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31655 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31656 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31657 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31658 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31659 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31671 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31673 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31675 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31676 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31677 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31678 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31684 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31685 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31686 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31687 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31688 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31689 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31690 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31691 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31692 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31693 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31694 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31695 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31696 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31697 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31698 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31708 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31709 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31710 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31711 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31713 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31714 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31715 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31716 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31717 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31718 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31719 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31720 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31721 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31722 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31723 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31724 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31725 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31726 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31727 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31728 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31729 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31743 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31744 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31745 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31746 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31747 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31748 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31750 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31751 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31753 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31754 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31755 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31756 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31757 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31758 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31759 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31761 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31767 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31768 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31769 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31770 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31771 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31773 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31775 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31776 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31779 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31781 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31783 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31785 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31786 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31789 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31790 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31791 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31792 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31794 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31795 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31796 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31798 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31799 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31801 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31802 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31803 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31804 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31805 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31806 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31808 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31810 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31811 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31812 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31813 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31814 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31815 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31816 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31817 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31818 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31819 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31821 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31823 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31824 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31827 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31828 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31833 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31835 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31836 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31837 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31838 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31841 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31842 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31843 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31844 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31846 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31847 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31852 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31853 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31854 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31855 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31856 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31860 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31862 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31863 { NULL, NULL, 0, NULL }
31864 };
31865
31866
31867 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31868
31869 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31870 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31871 }
31872 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31874 }
31875 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31876 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31877 }
31878 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31879 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31880 }
31881 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31882 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31883 }
31884 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31885 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31886 }
31887 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31888 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31889 }
31890 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31891 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31892 }
31893 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31894 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31895 }
31896 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31898 }
31899 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31901 }
31902 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31903 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31904 }
31905 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31906 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31907 }
31908 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31909 return (void *)((wxEvent *) ((wxPyEvent *) x));
31910 }
31911 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31912 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31913 }
31914 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31915 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31916 }
31917 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31919 }
31920 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31921 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31922 }
31923 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31924 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31925 }
31926 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31927 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31928 }
31929 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31930 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31931 }
31932 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31933 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31934 }
31935 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31936 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31937 }
31938 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31940 }
31941 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31942 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31943 }
31944 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31945 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31946 }
31947 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31948 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31949 }
31950 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31952 }
31953 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31954 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31955 }
31956 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31957 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31958 }
31959 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31960 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31961 }
31962 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31963 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31964 }
31965 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31966 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31967 }
31968 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31969 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31970 }
31971 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31973 }
31974 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31976 }
31977 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31978 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31979 }
31980 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31981 return (void *)((wxEvent *) ((wxShowEvent *) x));
31982 }
31983 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31984 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31985 }
31986 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31988 }
31989 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31991 }
31992 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31993 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31994 }
31995 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31996 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31997 }
31998 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31999 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32000 }
32001 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32002 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32003 }
32004 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32005 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32006 }
32007 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32008 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32009 }
32010 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32012 }
32013 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32015 }
32016 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32017 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32018 }
32019 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32020 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32021 }
32022 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32023 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32024 }
32025 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32026 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32027 }
32028 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32029 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32030 }
32031 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32033 }
32034 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32036 }
32037 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32039 }
32040 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32042 }
32043 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32045 }
32046 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32048 }
32049 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32051 }
32052 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32054 }
32055 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32057 }
32058 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32059 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32060 }
32061 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32062 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32063 }
32064 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32065 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32066 }
32067 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32068 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32069 }
32070 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32071 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32072 }
32073 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32075 }
32076 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32077 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32078 }
32079 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32080 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32081 }
32082 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32084 }
32085 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32087 }
32088 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32089 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32090 }
32091 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32092 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32093 }
32094 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32096 }
32097 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32099 }
32100 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32101 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32102 }
32103 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32104 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32105 }
32106 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32108 }
32109 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32111 }
32112 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32113 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32114 }
32115 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32116 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32117 }
32118 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32120 }
32121 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32123 }
32124 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32126 }
32127 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32129 }
32130 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32131 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32132 }
32133 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32134 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32135 }
32136 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32137 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32138 }
32139 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32140 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32141 }
32142 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32144 }
32145 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32147 }
32148 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32150 }
32151 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32153 }
32154 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32156 }
32157 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32159 }
32160 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32161 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32162 }
32163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32164 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32165 }
32166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32167 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32168 }
32169 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32170 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32171 }
32172 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32173 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32174 }
32175 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32176 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32177 }
32178 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32179 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32180 }
32181 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32182 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32183 }
32184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32186 }
32187 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32189 }
32190 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32192 }
32193 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32195 }
32196 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) ((wxSizerItem *) x));
32198 }
32199 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32201 }
32202 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32204 }
32205 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32207 }
32208 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32210 }
32211 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32213 }
32214 static void *_p_wxSizerTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) ((wxSizer *) x));
32216 }
32217 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32219 }
32220 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32222 }
32223 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32225 }
32226 static void *_p_wxEventTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) ((wxEvent *) x));
32228 }
32229 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) ((wxFontData *) x));
32231 }
32232 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) ((wxPrintData *) x));
32234 }
32235 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32237 }
32238 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32240 }
32241 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32242 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32243 }
32244 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32245 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32246 }
32247 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32248 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32249 }
32250 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32252 }
32253 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32255 }
32256 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32257 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32258 }
32259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32260 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32261 }
32262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32263 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32264 }
32265 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32266 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32267 }
32268 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32269 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32270 }
32271 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32272 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32273 }
32274 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32276 }
32277 static void *_p_wxControlTo_p_wxObject(void *x) {
32278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32279 }
32280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32281 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32282 }
32283 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32285 }
32286 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32287 return (void *)((wxObject *) ((wxFSFile *) x));
32288 }
32289 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32290 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32291 }
32292 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32293 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32294 }
32295 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32297 }
32298 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32299 return (void *)((wxObject *) ((wxColourData *) x));
32300 }
32301 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32302 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32303 }
32304 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32306 }
32307 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32309 }
32310 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32312 }
32313 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32315 }
32316 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32318 }
32319 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32321 }
32322 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32324 }
32325 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32327 }
32328 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32330 }
32331 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32333 }
32334 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32336 }
32337 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32339 }
32340 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32342 }
32343 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) ((wxPrinter *) x));
32345 }
32346 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) ((wxMenuItem *) x));
32348 }
32349 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32351 }
32352 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32354 }
32355 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32357 }
32358 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32360 }
32361 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32363 }
32364 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32366 }
32367 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32369 }
32370 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32372 }
32373 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32375 }
32376 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32378 }
32379 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32381 }
32382 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32384 }
32385 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32387 }
32388 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32390 }
32391 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32393 }
32394 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32396 }
32397 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32399 }
32400 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32402 }
32403 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32405 }
32406 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) ((wxImageHandler *) x));
32408 }
32409 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32411 }
32412 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32414 }
32415 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) ((wxEvtHandler *) x));
32417 }
32418 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32420 }
32421 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32423 }
32424 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32426 }
32427 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32429 }
32430 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32432 }
32433 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32435 }
32436 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32438 }
32439 static void *_p_wxImageTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) ((wxImage *) x));
32441 }
32442 static void *_p_wxFrameTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32444 }
32445 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) ((wxPyPrintout *) x));
32447 }
32448 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32450 }
32451 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32452 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32453 }
32454 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32456 }
32457 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32459 }
32460 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32462 }
32463 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32464 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32465 }
32466 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32467 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32468 }
32469 static void *_p_wxWindowTo_p_wxObject(void *x) {
32470 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32471 }
32472 static void *_p_wxMenuTo_p_wxObject(void *x) {
32473 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32474 }
32475 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32477 }
32478 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32480 }
32481 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32483 }
32484 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32486 }
32487 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32489 }
32490 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32492 }
32493 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32495 }
32496 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32498 }
32499 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32501 }
32502 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32504 }
32505 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32507 }
32508 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32510 }
32511 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32513 }
32514 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32516 }
32517 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) ((wxPrintPreview *) x));
32519 }
32520 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32522 }
32523 static void *_p_wxPanelTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32525 }
32526 static void *_p_wxDialogTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32528 }
32529 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32531 }
32532 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32534 }
32535 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32537 }
32538 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32540 }
32541 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) ((wxPrintDialog *) x));
32543 }
32544 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) ((wxFileSystem *) x));
32546 }
32547 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32549 }
32550 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32552 }
32553 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32555 }
32556 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32558 }
32559 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32561 }
32562 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32564 }
32565 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32567 }
32568 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32570 }
32571 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32573 }
32574 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32576 }
32577 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32579 }
32580 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32582 }
32583 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32585 }
32586 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32588 }
32589 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32591 }
32592 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32594 }
32595 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32597 }
32598 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32600 }
32601 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32602 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32603 }
32604 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32605 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32606 }
32607 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32608 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32609 }
32610 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32611 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32612 }
32613 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32614 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32615 }
32616 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32617 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32618 }
32619 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32620 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32621 }
32622 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32623 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32624 }
32625 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32626 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32627 }
32628 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32629 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32630 }
32631 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32632 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32633 }
32634 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32635 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32636 }
32637 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32638 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32639 }
32640 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32641 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32642 }
32643 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32644 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32645 }
32646 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32647 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32648 }
32649 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32650 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32651 }
32652 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32653 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32654 }
32655 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32656 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32657 }
32658 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32659 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32660 }
32661 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32662 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32663 }
32664 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32666 }
32667 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32668 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32669 }
32670 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32671 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32672 }
32673 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32674 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32675 }
32676 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32677 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32678 }
32679 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32680 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32681 }
32682 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32683 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32684 }
32685 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32686 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32687 }
32688 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32689 return (void *)((wxWindow *) ((wxMenuBar *) x));
32690 }
32691 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32692 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32693 }
32694 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32695 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32696 }
32697 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32698 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32699 }
32700 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32701 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32702 }
32703 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32705 }
32706 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32707 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32708 }
32709 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32710 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32711 }
32712 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32713 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32714 }
32715 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32716 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32717 }
32718 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32719 return (void *)((wxWindow *) ((wxPanel *) x));
32720 }
32721 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32722 return (void *)((wxWindow *) ((wxStatusBar *) x));
32723 }
32724 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32725 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32726 }
32727 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32728 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32729 }
32730 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32731 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32732 }
32733 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32734 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32735 }
32736 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32737 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32738 }
32739 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32740 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32741 }
32742 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32743 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32744 }
32745 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32746 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32747 }
32748 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32749 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32750 }
32751 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32752 return (void *)((wxWindow *) ((wxSashWindow *) x));
32753 }
32754 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32755 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32756 }
32757 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32758 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32759 }
32760 static void *_p_wxControlTo_p_wxWindow(void *x) {
32761 return (void *)((wxWindow *) ((wxControl *) x));
32762 }
32763 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32765 }
32766 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32768 }
32769 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32771 }
32772 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32773 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32774 }
32775 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32776 return (void *)((wxWindow *) ((wxPyWindow *) x));
32777 }
32778 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32779 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32780 }
32781 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32782 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32783 }
32784 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32785 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32786 }
32787 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32788 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32789 }
32790 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32791 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32792 }
32793 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32794 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32795 }
32796 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32798 }
32799 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32801 }
32802 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32803 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32804 }
32805 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32806 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32807 }
32808 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32809 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32810 }
32811 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32812 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32813 }
32814 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32815 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32816 }
32817 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32818 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32819 }
32820 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32821 return (void *)((wxDialog *) ((wxColourDialog *) x));
32822 }
32823 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32824 return (void *)((wxDialog *) ((wxDirDialog *) x));
32825 }
32826 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32827 return (void *)((wxDialog *) ((wxFontDialog *) x));
32828 }
32829 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32830 return (void *)((wxDialog *) ((wxFileDialog *) x));
32831 }
32832 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32833 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32834 }
32835 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32836 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32837 }
32838 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32839 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32840 }
32841 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32842 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32843 }
32844 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32845 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32846 }
32847 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32848 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32849 }
32850 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32851 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32852 }
32853 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32854 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32855 }
32856 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32857 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32858 }
32859 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32860 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32861 }
32862 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32863 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32864 }
32865 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32866 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32867 }
32868 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32869 return (void *)((wxPanel *) ((wxPyPanel *) x));
32870 }
32871 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32872 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32873 }
32874 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32875 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32876 }
32877 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32878 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32879 }
32880 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32881 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32882 }
32883 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32884 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32885 }
32886 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32887 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32888 }
32889 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32890 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32891 }
32892 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32893 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32894 }
32895 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32896 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32897 }
32898 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32899 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32900 }
32901 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32902 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32903 }
32904 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32905 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32906 }
32907 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32908 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32909 }
32910 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32911 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32912 }
32913 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32914 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32915 }
32916 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32917 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32918 }
32919 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32920 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32921 }
32922 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32924 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};
32925 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32936 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32939 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32940 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32941 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32942 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32943 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32945 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32946 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32947 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32948 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32949 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32950 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32951 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32952 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32953 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32954 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32955 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32956 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32957 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32958 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32959 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32960 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32961 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32962 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32963 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32964 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32965 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32966 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32967 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32968 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32969 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32970 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32971 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32972 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32973 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32974 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32975 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32976 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32977 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32978 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32979 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32980 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32981 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32982 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32983 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32984 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32985 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32986 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32987 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32988 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32989 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32990 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32991 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32992 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32993 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32994 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32995 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32996 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32997 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32998 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32999 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33000 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33001 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33002 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33003 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33004 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33005 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33006 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33007 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33008 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33009 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33010 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33011 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33012 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33013 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33014 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33015 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33016 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33017 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33018 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33019 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33020 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33021 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33022 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33023 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33024 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33025 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33026 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33027 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33028 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33029 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33030 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33031 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33032 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33033 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33034 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33049 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33050 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33051 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33052 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33053 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33054 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33055 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33056 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33057 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33058 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33059 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33060 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33061 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33062 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33063 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33064 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33065 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33066 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33067 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33068 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33069 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33070 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33071 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33072 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33073 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33074 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33075 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33076 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33077 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33079 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33080 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33081 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33082 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33083 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33084 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33085 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33086 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33087
33088 static swig_type_info *swig_type_initial[] = {
33089 &_swigt__p_bool,
33090 &_swigt__p_char,
33091 &_swigt__p_form_ops_t,
33092 &_swigt__p_int,
33093 &_swigt__p_unsigned_char,
33094 &_swigt__p_unsigned_int,
33095 &_swigt__p_unsigned_long,
33096 &_swigt__p_wxANIHandler,
33097 &_swigt__p_wxAcceleratorTable,
33098 &_swigt__p_wxActivateEvent,
33099 &_swigt__p_wxArrayInt,
33100 &_swigt__p_wxBMPHandler,
33101 &_swigt__p_wxBitmap,
33102 &_swigt__p_wxBoxSizer,
33103 &_swigt__p_wxCURHandler,
33104 &_swigt__p_wxCalculateLayoutEvent,
33105 &_swigt__p_wxChildFocusEvent,
33106 &_swigt__p_wxClipboardTextEvent,
33107 &_swigt__p_wxCloseEvent,
33108 &_swigt__p_wxColour,
33109 &_swigt__p_wxColourData,
33110 &_swigt__p_wxColourDialog,
33111 &_swigt__p_wxCommandEvent,
33112 &_swigt__p_wxContextMenuEvent,
33113 &_swigt__p_wxControl,
33114 &_swigt__p_wxControlWithItems,
33115 &_swigt__p_wxDC,
33116 &_swigt__p_wxDateEvent,
33117 &_swigt__p_wxDialog,
33118 &_swigt__p_wxDirDialog,
33119 &_swigt__p_wxDisplayChangedEvent,
33120 &_swigt__p_wxDropFilesEvent,
33121 &_swigt__p_wxDuplexMode,
33122 &_swigt__p_wxEraseEvent,
33123 &_swigt__p_wxEvent,
33124 &_swigt__p_wxEvtHandler,
33125 &_swigt__p_wxFSFile,
33126 &_swigt__p_wxFileDialog,
33127 &_swigt__p_wxFileSystem,
33128 &_swigt__p_wxFindDialogEvent,
33129 &_swigt__p_wxFindReplaceData,
33130 &_swigt__p_wxFindReplaceDialog,
33131 &_swigt__p_wxFlexGridSizer,
33132 &_swigt__p_wxFocusEvent,
33133 &_swigt__p_wxFont,
33134 &_swigt__p_wxFontData,
33135 &_swigt__p_wxFontDialog,
33136 &_swigt__p_wxFrame,
33137 &_swigt__p_wxGBSizerItem,
33138 &_swigt__p_wxGIFHandler,
33139 &_swigt__p_wxGridBagSizer,
33140 &_swigt__p_wxGridSizer,
33141 &_swigt__p_wxHtmlLinkInfo,
33142 &_swigt__p_wxICOHandler,
33143 &_swigt__p_wxIcon,
33144 &_swigt__p_wxIconBundle,
33145 &_swigt__p_wxIconizeEvent,
33146 &_swigt__p_wxIdleEvent,
33147 &_swigt__p_wxImage,
33148 &_swigt__p_wxImageHandler,
33149 &_swigt__p_wxIndividualLayoutConstraint,
33150 &_swigt__p_wxInitDialogEvent,
33151 &_swigt__p_wxJPEGHandler,
33152 &_swigt__p_wxKeyEvent,
33153 &_swigt__p_wxLayoutAlgorithm,
33154 &_swigt__p_wxLayoutConstraints,
33155 &_swigt__p_wxMDIChildFrame,
33156 &_swigt__p_wxMDIClientWindow,
33157 &_swigt__p_wxMDIParentFrame,
33158 &_swigt__p_wxMaximizeEvent,
33159 &_swigt__p_wxMenu,
33160 &_swigt__p_wxMenuBar,
33161 &_swigt__p_wxMenuEvent,
33162 &_swigt__p_wxMenuItem,
33163 &_swigt__p_wxMessageDialog,
33164 &_swigt__p_wxMiniFrame,
33165 &_swigt__p_wxMouseCaptureChangedEvent,
33166 &_swigt__p_wxMouseCaptureLostEvent,
33167 &_swigt__p_wxMouseEvent,
33168 &_swigt__p_wxMoveEvent,
33169 &_swigt__p_wxMultiChoiceDialog,
33170 &_swigt__p_wxNavigationKeyEvent,
33171 &_swigt__p_wxNcPaintEvent,
33172 &_swigt__p_wxNotifyEvent,
33173 &_swigt__p_wxNumberEntryDialog,
33174 &_swigt__p_wxObject,
33175 &_swigt__p_wxPCXHandler,
33176 &_swigt__p_wxPNGHandler,
33177 &_swigt__p_wxPNMHandler,
33178 &_swigt__p_wxPageSetupDialog,
33179 &_swigt__p_wxPageSetupDialogData,
33180 &_swigt__p_wxPaintEvent,
33181 &_swigt__p_wxPaletteChangedEvent,
33182 &_swigt__p_wxPanel,
33183 &_swigt__p_wxPaperSize,
33184 &_swigt__p_wxPasswordEntryDialog,
33185 &_swigt__p_wxPoint,
33186 &_swigt__p_wxPopupWindow,
33187 &_swigt__p_wxPreviewCanvas,
33188 &_swigt__p_wxPreviewControlBar,
33189 &_swigt__p_wxPreviewFrame,
33190 &_swigt__p_wxPrintData,
33191 &_swigt__p_wxPrintDialog,
33192 &_swigt__p_wxPrintDialogData,
33193 &_swigt__p_wxPrintPreview,
33194 &_swigt__p_wxPrinter,
33195 &_swigt__p_wxProgressDialog,
33196 &_swigt__p_wxPyApp,
33197 &_swigt__p_wxPyCommandEvent,
33198 &_swigt__p_wxPyEvent,
33199 &_swigt__p_wxPyHtmlListBox,
33200 &_swigt__p_wxPyImageHandler,
33201 &_swigt__p_wxPyPanel,
33202 &_swigt__p_wxPyPopupTransientWindow,
33203 &_swigt__p_wxPyPreviewControlBar,
33204 &_swigt__p_wxPyPreviewFrame,
33205 &_swigt__p_wxPyPrintPreview,
33206 &_swigt__p_wxPyPrintout,
33207 &_swigt__p_wxPyScrolledWindow,
33208 &_swigt__p_wxPySizer,
33209 &_swigt__p_wxPyTaskBarIcon,
33210 &_swigt__p_wxPyVListBox,
33211 &_swigt__p_wxPyVScrolledWindow,
33212 &_swigt__p_wxPyValidator,
33213 &_swigt__p_wxPyWindow,
33214 &_swigt__p_wxQueryLayoutInfoEvent,
33215 &_swigt__p_wxQueryNewPaletteEvent,
33216 &_swigt__p_wxRect,
33217 &_swigt__p_wxRegion,
33218 &_swigt__p_wxSashEvent,
33219 &_swigt__p_wxSashLayoutWindow,
33220 &_swigt__p_wxSashWindow,
33221 &_swigt__p_wxScrollEvent,
33222 &_swigt__p_wxScrollWinEvent,
33223 &_swigt__p_wxScrolledWindow,
33224 &_swigt__p_wxSetCursorEvent,
33225 &_swigt__p_wxShowEvent,
33226 &_swigt__p_wxSingleChoiceDialog,
33227 &_swigt__p_wxSize,
33228 &_swigt__p_wxSizeEvent,
33229 &_swigt__p_wxSizer,
33230 &_swigt__p_wxSizerItem,
33231 &_swigt__p_wxSplashScreen,
33232 &_swigt__p_wxSplashScreenWindow,
33233 &_swigt__p_wxSplitterEvent,
33234 &_swigt__p_wxSplitterWindow,
33235 &_swigt__p_wxStaticBoxSizer,
33236 &_swigt__p_wxStatusBar,
33237 &_swigt__p_wxStdDialogButtonSizer,
33238 &_swigt__p_wxString,
33239 &_swigt__p_wxSysColourChangedEvent,
33240 &_swigt__p_wxTIFFHandler,
33241 &_swigt__p_wxTaskBarIcon,
33242 &_swigt__p_wxTaskBarIconEvent,
33243 &_swigt__p_wxTextEntryDialog,
33244 &_swigt__p_wxTipWindow,
33245 &_swigt__p_wxToolBar,
33246 &_swigt__p_wxTopLevelWindow,
33247 &_swigt__p_wxUpdateUIEvent,
33248 &_swigt__p_wxValidator,
33249 &_swigt__p_wxVisualAttributes,
33250 &_swigt__p_wxWindow,
33251 &_swigt__p_wxWindowCreateEvent,
33252 &_swigt__p_wxWindowDestroyEvent,
33253 &_swigt__p_wxXPMHandler,
33254 };
33255
33256 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33270 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33271 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33278 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}};
33279 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33280 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}};
33281 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33286 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33287 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33297 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33298 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33299 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33300 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33305 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33306 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33309 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}};
33310 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33311 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33314 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33315 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
33316 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33324 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}};
33325 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33327 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33328 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33330 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33336 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33337 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}};
33338 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33339 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33340 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33343 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33344 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33347 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33348 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33349 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33350 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33351 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33354 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33355 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33359 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33360 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33361 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33363 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33364 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33365 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33366 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33367 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
33368 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33370 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
33371 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33372 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33374 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}};
33375 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33376 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}};
33377 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}};
33378 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33380 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33381 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}};
33382 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33383 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33384 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33385 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33386 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}};
33387 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33388 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33389 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33390 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33391 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33392 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33393 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
33394 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
33395 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33396 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33397 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33398 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33399 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33400 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33401 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}};
33402 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33403 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}};
33404 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33405 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33406 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33407 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33408 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33409 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33410 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33411 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33412 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33413 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33414 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33415 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}};
33416 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33417 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33418 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}};
33419 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33420 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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33421
33422 static swig_cast_info *swig_cast_initial[] = {
33423 _swigc__p_bool,
33424 _swigc__p_char,
33425 _swigc__p_form_ops_t,
33426 _swigc__p_int,
33427 _swigc__p_unsigned_char,
33428 _swigc__p_unsigned_int,
33429 _swigc__p_unsigned_long,
33430 _swigc__p_wxANIHandler,
33431 _swigc__p_wxAcceleratorTable,
33432 _swigc__p_wxActivateEvent,
33433 _swigc__p_wxArrayInt,
33434 _swigc__p_wxBMPHandler,
33435 _swigc__p_wxBitmap,
33436 _swigc__p_wxBoxSizer,
33437 _swigc__p_wxCURHandler,
33438 _swigc__p_wxCalculateLayoutEvent,
33439 _swigc__p_wxChildFocusEvent,
33440 _swigc__p_wxClipboardTextEvent,
33441 _swigc__p_wxCloseEvent,
33442 _swigc__p_wxColour,
33443 _swigc__p_wxColourData,
33444 _swigc__p_wxColourDialog,
33445 _swigc__p_wxCommandEvent,
33446 _swigc__p_wxContextMenuEvent,
33447 _swigc__p_wxControl,
33448 _swigc__p_wxControlWithItems,
33449 _swigc__p_wxDC,
33450 _swigc__p_wxDateEvent,
33451 _swigc__p_wxDialog,
33452 _swigc__p_wxDirDialog,
33453 _swigc__p_wxDisplayChangedEvent,
33454 _swigc__p_wxDropFilesEvent,
33455 _swigc__p_wxDuplexMode,
33456 _swigc__p_wxEraseEvent,
33457 _swigc__p_wxEvent,
33458 _swigc__p_wxEvtHandler,
33459 _swigc__p_wxFSFile,
33460 _swigc__p_wxFileDialog,
33461 _swigc__p_wxFileSystem,
33462 _swigc__p_wxFindDialogEvent,
33463 _swigc__p_wxFindReplaceData,
33464 _swigc__p_wxFindReplaceDialog,
33465 _swigc__p_wxFlexGridSizer,
33466 _swigc__p_wxFocusEvent,
33467 _swigc__p_wxFont,
33468 _swigc__p_wxFontData,
33469 _swigc__p_wxFontDialog,
33470 _swigc__p_wxFrame,
33471 _swigc__p_wxGBSizerItem,
33472 _swigc__p_wxGIFHandler,
33473 _swigc__p_wxGridBagSizer,
33474 _swigc__p_wxGridSizer,
33475 _swigc__p_wxHtmlLinkInfo,
33476 _swigc__p_wxICOHandler,
33477 _swigc__p_wxIcon,
33478 _swigc__p_wxIconBundle,
33479 _swigc__p_wxIconizeEvent,
33480 _swigc__p_wxIdleEvent,
33481 _swigc__p_wxImage,
33482 _swigc__p_wxImageHandler,
33483 _swigc__p_wxIndividualLayoutConstraint,
33484 _swigc__p_wxInitDialogEvent,
33485 _swigc__p_wxJPEGHandler,
33486 _swigc__p_wxKeyEvent,
33487 _swigc__p_wxLayoutAlgorithm,
33488 _swigc__p_wxLayoutConstraints,
33489 _swigc__p_wxMDIChildFrame,
33490 _swigc__p_wxMDIClientWindow,
33491 _swigc__p_wxMDIParentFrame,
33492 _swigc__p_wxMaximizeEvent,
33493 _swigc__p_wxMenu,
33494 _swigc__p_wxMenuBar,
33495 _swigc__p_wxMenuEvent,
33496 _swigc__p_wxMenuItem,
33497 _swigc__p_wxMessageDialog,
33498 _swigc__p_wxMiniFrame,
33499 _swigc__p_wxMouseCaptureChangedEvent,
33500 _swigc__p_wxMouseCaptureLostEvent,
33501 _swigc__p_wxMouseEvent,
33502 _swigc__p_wxMoveEvent,
33503 _swigc__p_wxMultiChoiceDialog,
33504 _swigc__p_wxNavigationKeyEvent,
33505 _swigc__p_wxNcPaintEvent,
33506 _swigc__p_wxNotifyEvent,
33507 _swigc__p_wxNumberEntryDialog,
33508 _swigc__p_wxObject,
33509 _swigc__p_wxPCXHandler,
33510 _swigc__p_wxPNGHandler,
33511 _swigc__p_wxPNMHandler,
33512 _swigc__p_wxPageSetupDialog,
33513 _swigc__p_wxPageSetupDialogData,
33514 _swigc__p_wxPaintEvent,
33515 _swigc__p_wxPaletteChangedEvent,
33516 _swigc__p_wxPanel,
33517 _swigc__p_wxPaperSize,
33518 _swigc__p_wxPasswordEntryDialog,
33519 _swigc__p_wxPoint,
33520 _swigc__p_wxPopupWindow,
33521 _swigc__p_wxPreviewCanvas,
33522 _swigc__p_wxPreviewControlBar,
33523 _swigc__p_wxPreviewFrame,
33524 _swigc__p_wxPrintData,
33525 _swigc__p_wxPrintDialog,
33526 _swigc__p_wxPrintDialogData,
33527 _swigc__p_wxPrintPreview,
33528 _swigc__p_wxPrinter,
33529 _swigc__p_wxProgressDialog,
33530 _swigc__p_wxPyApp,
33531 _swigc__p_wxPyCommandEvent,
33532 _swigc__p_wxPyEvent,
33533 _swigc__p_wxPyHtmlListBox,
33534 _swigc__p_wxPyImageHandler,
33535 _swigc__p_wxPyPanel,
33536 _swigc__p_wxPyPopupTransientWindow,
33537 _swigc__p_wxPyPreviewControlBar,
33538 _swigc__p_wxPyPreviewFrame,
33539 _swigc__p_wxPyPrintPreview,
33540 _swigc__p_wxPyPrintout,
33541 _swigc__p_wxPyScrolledWindow,
33542 _swigc__p_wxPySizer,
33543 _swigc__p_wxPyTaskBarIcon,
33544 _swigc__p_wxPyVListBox,
33545 _swigc__p_wxPyVScrolledWindow,
33546 _swigc__p_wxPyValidator,
33547 _swigc__p_wxPyWindow,
33548 _swigc__p_wxQueryLayoutInfoEvent,
33549 _swigc__p_wxQueryNewPaletteEvent,
33550 _swigc__p_wxRect,
33551 _swigc__p_wxRegion,
33552 _swigc__p_wxSashEvent,
33553 _swigc__p_wxSashLayoutWindow,
33554 _swigc__p_wxSashWindow,
33555 _swigc__p_wxScrollEvent,
33556 _swigc__p_wxScrollWinEvent,
33557 _swigc__p_wxScrolledWindow,
33558 _swigc__p_wxSetCursorEvent,
33559 _swigc__p_wxShowEvent,
33560 _swigc__p_wxSingleChoiceDialog,
33561 _swigc__p_wxSize,
33562 _swigc__p_wxSizeEvent,
33563 _swigc__p_wxSizer,
33564 _swigc__p_wxSizerItem,
33565 _swigc__p_wxSplashScreen,
33566 _swigc__p_wxSplashScreenWindow,
33567 _swigc__p_wxSplitterEvent,
33568 _swigc__p_wxSplitterWindow,
33569 _swigc__p_wxStaticBoxSizer,
33570 _swigc__p_wxStatusBar,
33571 _swigc__p_wxStdDialogButtonSizer,
33572 _swigc__p_wxString,
33573 _swigc__p_wxSysColourChangedEvent,
33574 _swigc__p_wxTIFFHandler,
33575 _swigc__p_wxTaskBarIcon,
33576 _swigc__p_wxTaskBarIconEvent,
33577 _swigc__p_wxTextEntryDialog,
33578 _swigc__p_wxTipWindow,
33579 _swigc__p_wxToolBar,
33580 _swigc__p_wxTopLevelWindow,
33581 _swigc__p_wxUpdateUIEvent,
33582 _swigc__p_wxValidator,
33583 _swigc__p_wxVisualAttributes,
33584 _swigc__p_wxWindow,
33585 _swigc__p_wxWindowCreateEvent,
33586 _swigc__p_wxWindowDestroyEvent,
33587 _swigc__p_wxXPMHandler,
33588 };
33589
33590
33591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33592
33593 static swig_const_info swig_const_table[] = {
33594 {0, 0, 0, 0.0, 0, 0}};
33595
33596 #ifdef __cplusplus
33597 }
33598 #endif
33599 /* -----------------------------------------------------------------------------
33600 * Type initialization:
33601 * This problem is tough by the requirement that no dynamic
33602 * memory is used. Also, since swig_type_info structures store pointers to
33603 * swig_cast_info structures and swig_cast_info structures store pointers back
33604 * to swig_type_info structures, we need some lookup code at initialization.
33605 * The idea is that swig generates all the structures that are needed.
33606 * The runtime then collects these partially filled structures.
33607 * The SWIG_InitializeModule function takes these initial arrays out of
33608 * swig_module, and does all the lookup, filling in the swig_module.types
33609 * array with the correct data and linking the correct swig_cast_info
33610 * structures together.
33611 *
33612 * The generated swig_type_info structures are assigned staticly to an initial
33613 * array. We just loop though that array, and handle each type individually.
33614 * First we lookup if this type has been already loaded, and if so, use the
33615 * loaded structure instead of the generated one. Then we have to fill in the
33616 * cast linked list. The cast data is initially stored in something like a
33617 * two-dimensional array. Each row corresponds to a type (there are the same
33618 * number of rows as there are in the swig_type_initial array). Each entry in
33619 * a column is one of the swig_cast_info structures for that type.
33620 * The cast_initial array is actually an array of arrays, because each row has
33621 * a variable number of columns. So to actually build the cast linked list,
33622 * we find the array of casts associated with the type, and loop through it
33623 * adding the casts to the list. The one last trick we need to do is making
33624 * sure the type pointer in the swig_cast_info struct is correct.
33625 *
33626 * First off, we lookup the cast->type name to see if it is already loaded.
33627 * There are three cases to handle:
33628 * 1) If the cast->type has already been loaded AND the type we are adding
33629 * casting info to has not been loaded (it is in this module), THEN we
33630 * replace the cast->type pointer with the type pointer that has already
33631 * been loaded.
33632 * 2) If BOTH types (the one we are adding casting info to, and the
33633 * cast->type) are loaded, THEN the cast info has already been loaded by
33634 * the previous module so we just ignore it.
33635 * 3) Finally, if cast->type has not already been loaded, then we add that
33636 * swig_cast_info to the linked list (because the cast->type) pointer will
33637 * be correct.
33638 * ----------------------------------------------------------------------------- */
33639
33640 #ifdef __cplusplus
33641 extern "C" {
33642 #if 0
33643 } /* c-mode */
33644 #endif
33645 #endif
33646
33647 #if 0
33648 #define SWIGRUNTIME_DEBUG
33649 #endif
33650
33651 SWIGRUNTIME void
33652 SWIG_InitializeModule(void *clientdata) {
33653 size_t i;
33654 swig_module_info *module_head;
33655 static int init_run = 0;
33656
33657 clientdata = clientdata;
33658
33659 if (init_run) return;
33660 init_run = 1;
33661
33662 /* Initialize the swig_module */
33663 swig_module.type_initial = swig_type_initial;
33664 swig_module.cast_initial = swig_cast_initial;
33665
33666 /* Try and load any already created modules */
33667 module_head = SWIG_GetModule(clientdata);
33668 if (module_head) {
33669 swig_module.next = module_head->next;
33670 module_head->next = &swig_module;
33671 } else {
33672 /* This is the first module loaded */
33673 swig_module.next = &swig_module;
33674 SWIG_SetModule(clientdata, &swig_module);
33675 }
33676
33677 /* Now work on filling in swig_module.types */
33678 #ifdef SWIGRUNTIME_DEBUG
33679 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33680 #endif
33681 for (i = 0; i < swig_module.size; ++i) {
33682 swig_type_info *type = 0;
33683 swig_type_info *ret;
33684 swig_cast_info *cast;
33685
33686 #ifdef SWIGRUNTIME_DEBUG
33687 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33688 #endif
33689
33690 /* if there is another module already loaded */
33691 if (swig_module.next != &swig_module) {
33692 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33693 }
33694 if (type) {
33695 /* Overwrite clientdata field */
33696 #ifdef SWIGRUNTIME_DEBUG
33697 printf("SWIG_InitializeModule: found type %s\n", type->name);
33698 #endif
33699 if (swig_module.type_initial[i]->clientdata) {
33700 type->clientdata = swig_module.type_initial[i]->clientdata;
33701 #ifdef SWIGRUNTIME_DEBUG
33702 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33703 #endif
33704 }
33705 } else {
33706 type = swig_module.type_initial[i];
33707 }
33708
33709 /* Insert casting types */
33710 cast = swig_module.cast_initial[i];
33711 while (cast->type) {
33712 /* Don't need to add information already in the list */
33713 ret = 0;
33714 #ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33716 #endif
33717 if (swig_module.next != &swig_module) {
33718 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33719 #ifdef SWIGRUNTIME_DEBUG
33720 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33721 #endif
33722 }
33723 if (ret) {
33724 if (type == swig_module.type_initial[i]) {
33725 #ifdef SWIGRUNTIME_DEBUG
33726 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33727 #endif
33728 cast->type = ret;
33729 ret = 0;
33730 } else {
33731 /* Check for casting already in the list */
33732 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33733 #ifdef SWIGRUNTIME_DEBUG
33734 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33735 #endif
33736 if (!ocast) ret = 0;
33737 }
33738 }
33739
33740 if (!ret) {
33741 #ifdef SWIGRUNTIME_DEBUG
33742 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33743 #endif
33744 if (type->cast) {
33745 type->cast->prev = cast;
33746 cast->next = type->cast;
33747 }
33748 type->cast = cast;
33749 }
33750 cast++;
33751 }
33752 /* Set entry in modules->types array equal to the type */
33753 swig_module.types[i] = type;
33754 }
33755 swig_module.types[i] = 0;
33756
33757 #ifdef SWIGRUNTIME_DEBUG
33758 printf("**** SWIG_InitializeModule: Cast List ******\n");
33759 for (i = 0; i < swig_module.size; ++i) {
33760 int j = 0;
33761 swig_cast_info *cast = swig_module.cast_initial[i];
33762 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33763 while (cast->type) {
33764 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33765 cast++;
33766 ++j;
33767 }
33768 printf("---- Total casts: %d\n",j);
33769 }
33770 printf("**** SWIG_InitializeModule: Cast List ******\n");
33771 #endif
33772 }
33773
33774 /* This function will propagate the clientdata field of type to
33775 * any new swig_type_info structures that have been added into the list
33776 * of equivalent types. It is like calling
33777 * SWIG_TypeClientData(type, clientdata) a second time.
33778 */
33779 SWIGRUNTIME void
33780 SWIG_PropagateClientData(void) {
33781 size_t i;
33782 swig_cast_info *equiv;
33783 static int init_run = 0;
33784
33785 if (init_run) return;
33786 init_run = 1;
33787
33788 for (i = 0; i < swig_module.size; i++) {
33789 if (swig_module.types[i]->clientdata) {
33790 equiv = swig_module.types[i]->cast;
33791 while (equiv) {
33792 if (!equiv->converter) {
33793 if (equiv->type && !equiv->type->clientdata)
33794 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33795 }
33796 equiv = equiv->next;
33797 }
33798 }
33799 }
33800 }
33801
33802 #ifdef __cplusplus
33803 #if 0
33804 {
33805 /* c-mode */
33806 #endif
33807 }
33808 #endif
33809
33810
33811
33812 #ifdef __cplusplus
33813 extern "C" {
33814 #endif
33815
33816 /* Python-specific SWIG API */
33817 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33818 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33819 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33820
33821 /* -----------------------------------------------------------------------------
33822 * global variable support code.
33823 * ----------------------------------------------------------------------------- */
33824
33825 typedef struct swig_globalvar {
33826 char *name; /* Name of global variable */
33827 PyObject *(*get_attr)(void); /* Return the current value */
33828 int (*set_attr)(PyObject *); /* Set the value */
33829 struct swig_globalvar *next;
33830 } swig_globalvar;
33831
33832 typedef struct swig_varlinkobject {
33833 PyObject_HEAD
33834 swig_globalvar *vars;
33835 } swig_varlinkobject;
33836
33837 SWIGINTERN PyObject *
33838 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33839 return PyString_FromString("<Swig global variables>");
33840 }
33841
33842 SWIGINTERN PyObject *
33843 swig_varlink_str(swig_varlinkobject *v) {
33844 PyObject *str = PyString_FromString("(");
33845 swig_globalvar *var;
33846 for (var = v->vars; var; var=var->next) {
33847 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33848 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33849 }
33850 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33851 return str;
33852 }
33853
33854 SWIGINTERN int
33855 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33856 PyObject *str = swig_varlink_str(v);
33857 fprintf(fp,"Swig global variables ");
33858 fprintf(fp,"%s\n", PyString_AsString(str));
33859 Py_DECREF(str);
33860 return 0;
33861 }
33862
33863 SWIGINTERN void
33864 swig_varlink_dealloc(swig_varlinkobject *v) {
33865 swig_globalvar *var = v->vars;
33866 while (var) {
33867 swig_globalvar *n = var->next;
33868 free(var->name);
33869 free(var);
33870 var = n;
33871 }
33872 }
33873
33874 SWIGINTERN PyObject *
33875 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33876 PyObject *res = NULL;
33877 swig_globalvar *var = v->vars;
33878 while (var) {
33879 if (strcmp(var->name,n) == 0) {
33880 res = (*var->get_attr)();
33881 break;
33882 }
33883 var = var->next;
33884 }
33885 if (res == NULL && !PyErr_Occurred()) {
33886 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33887 }
33888 return res;
33889 }
33890
33891 SWIGINTERN int
33892 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33893 int res = 1;
33894 swig_globalvar *var = v->vars;
33895 while (var) {
33896 if (strcmp(var->name,n) == 0) {
33897 res = (*var->set_attr)(p);
33898 break;
33899 }
33900 var = var->next;
33901 }
33902 if (res == 1 && !PyErr_Occurred()) {
33903 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33904 }
33905 return res;
33906 }
33907
33908 SWIGINTERN PyTypeObject*
33909 swig_varlink_type(void) {
33910 static char varlink__doc__[] = "Swig var link object";
33911 static PyTypeObject varlink_type;
33912 static int type_init = 0;
33913 if (!type_init) {
33914 const PyTypeObject tmp
33915 = {
33916 PyObject_HEAD_INIT(NULL)
33917 0, /* Number of items in variable part (ob_size) */
33918 (char *)"swigvarlink", /* Type name (tp_name) */
33919 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33920 0, /* Itemsize (tp_itemsize) */
33921 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33922 (printfunc) swig_varlink_print, /* Print (tp_print) */
33923 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33924 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33925 0, /* tp_compare */
33926 (reprfunc) swig_varlink_repr, /* tp_repr */
33927 0, /* tp_as_number */
33928 0, /* tp_as_sequence */
33929 0, /* tp_as_mapping */
33930 0, /* tp_hash */
33931 0, /* tp_call */
33932 (reprfunc)swig_varlink_str, /* tp_str */
33933 0, /* tp_getattro */
33934 0, /* tp_setattro */
33935 0, /* tp_as_buffer */
33936 0, /* tp_flags */
33937 varlink__doc__, /* tp_doc */
33938 0, /* tp_traverse */
33939 0, /* tp_clear */
33940 0, /* tp_richcompare */
33941 0, /* tp_weaklistoffset */
33942 #if PY_VERSION_HEX >= 0x02020000
33943 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33944 #endif
33945 #if PY_VERSION_HEX >= 0x02030000
33946 0, /* tp_del */
33947 #endif
33948 #ifdef COUNT_ALLOCS
33949 0,0,0,0 /* tp_alloc -> tp_next */
33950 #endif
33951 };
33952 varlink_type = tmp;
33953 varlink_type.ob_type = &PyType_Type;
33954 type_init = 1;
33955 }
33956 return &varlink_type;
33957 }
33958
33959 /* Create a variable linking object for use later */
33960 SWIGINTERN PyObject *
33961 SWIG_Python_newvarlink(void) {
33962 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33963 if (result) {
33964 result->vars = 0;
33965 }
33966 return ((PyObject*) result);
33967 }
33968
33969 SWIGINTERN void
33970 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33971 swig_varlinkobject *v = (swig_varlinkobject *) p;
33972 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33973 if (gv) {
33974 size_t size = strlen(name)+1;
33975 gv->name = (char *)malloc(size);
33976 if (gv->name) {
33977 strncpy(gv->name,name,size);
33978 gv->get_attr = get_attr;
33979 gv->set_attr = set_attr;
33980 gv->next = v->vars;
33981 }
33982 }
33983 v->vars = gv;
33984 }
33985
33986 SWIGINTERN PyObject *
33987 SWIG_globals() {
33988 static PyObject *_SWIG_globals = 0;
33989 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33990 return _SWIG_globals;
33991 }
33992
33993 /* -----------------------------------------------------------------------------
33994 * constants/methods manipulation
33995 * ----------------------------------------------------------------------------- */
33996
33997 /* Install Constants */
33998 SWIGINTERN void
33999 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34000 PyObject *obj = 0;
34001 size_t i;
34002 for (i = 0; constants[i].type; ++i) {
34003 switch(constants[i].type) {
34004 case SWIG_PY_POINTER:
34005 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34006 break;
34007 case SWIG_PY_BINARY:
34008 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34009 break;
34010 default:
34011 obj = 0;
34012 break;
34013 }
34014 if (obj) {
34015 PyDict_SetItemString(d, constants[i].name, obj);
34016 Py_DECREF(obj);
34017 }
34018 }
34019 }
34020
34021 /* -----------------------------------------------------------------------------*/
34022 /* Fix SwigMethods to carry the callback ptrs when needed */
34023 /* -----------------------------------------------------------------------------*/
34024
34025 SWIGINTERN void
34026 SWIG_Python_FixMethods(PyMethodDef *methods,
34027 swig_const_info *const_table,
34028 swig_type_info **types,
34029 swig_type_info **types_initial) {
34030 size_t i;
34031 for (i = 0; methods[i].ml_name; ++i) {
34032 const char *c = methods[i].ml_doc;
34033 if (c && (c = strstr(c, "swig_ptr: "))) {
34034 int j;
34035 swig_const_info *ci = 0;
34036 const char *name = c + 10;
34037 for (j = 0; const_table[j].type; ++j) {
34038 if (strncmp(const_table[j].name, name,
34039 strlen(const_table[j].name)) == 0) {
34040 ci = &(const_table[j]);
34041 break;
34042 }
34043 }
34044 if (ci) {
34045 size_t shift = (ci->ptype) - types;
34046 swig_type_info *ty = types_initial[shift];
34047 size_t ldoc = (c - methods[i].ml_doc);
34048 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34049 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34050 if (ndoc) {
34051 char *buff = ndoc;
34052 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34053 if (ptr) {
34054 strncpy(buff, methods[i].ml_doc, ldoc);
34055 buff += ldoc;
34056 strncpy(buff, "swig_ptr: ", 10);
34057 buff += 10;
34058 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34059 methods[i].ml_doc = ndoc;
34060 }
34061 }
34062 }
34063 }
34064 }
34065 }
34066
34067 #ifdef __cplusplus
34068 }
34069 #endif
34070
34071 /* -----------------------------------------------------------------------------*
34072 * Partial Init method
34073 * -----------------------------------------------------------------------------*/
34074
34075 #ifdef __cplusplus
34076 extern "C"
34077 #endif
34078 SWIGEXPORT void SWIG_init(void) {
34079 PyObject *m, *d;
34080
34081 /* Fix SwigMethods to carry the callback ptrs when needed */
34082 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34083
34084 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34085 d = PyModule_GetDict(m);
34086
34087 SWIG_InitializeModule(0);
34088 SWIG_InstallConstants(d,swig_const_table);
34089
34090
34091 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34092 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34093 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34094 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34095 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34096 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34097 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34098 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34099 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34100 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34101 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34102 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34103 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34104 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34105 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34106 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34107 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34108 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34109 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34110 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34111 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34112 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34113 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34114 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34115 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34116 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34117 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34118 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34119 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34120 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34121 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34122 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34123 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34124 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34125 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34126 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34127 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34128 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34129 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34130 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34131 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34132 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34133 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34134 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34135 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34136 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34137 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34138 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34139 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34140 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34141 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34142 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34143 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34144 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34145 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34146 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34147 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34148 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34149 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34150 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34151 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34152 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34153 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34154 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34155 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34156 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34157 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34158 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34159 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34160 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34161 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34162 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34163 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34164 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34165 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34166 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34167 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34168 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34169 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34170 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34171 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34172 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34173 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34174 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34175 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34176 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34177 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34178 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34179 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34180 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34181 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34182 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34183 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34184 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34185 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34186 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34187 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34188 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34189 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34190 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34191 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34192 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34193
34194 // Map renamed classes back to their common name for OOR
34195 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34196 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34197 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34198
34199 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34200 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34201 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34202 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34203 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34204 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34205 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34206 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34207 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34208 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34209 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34210 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34211 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34212 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34213 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34214 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34215 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34216 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34217 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34218 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34219 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34220 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34221 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34222 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34223 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34224 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34225 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34226 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34227 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34228 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34229 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34230 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34231 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34232 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34233 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34234 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34235 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34236 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34237 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34238 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34239 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34240 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34241 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34242 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34243 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34244 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34245 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34246 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34247 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34248 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34249 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34250 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34251 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34252 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34253 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34254 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34255 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34256 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34257 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34258 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34259 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34260 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34261 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34262 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34263 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34264 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34265 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34266 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34267 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34268 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34269 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34270 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34271 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34272 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34273 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34274 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34275 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34276 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34277 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34278 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34279 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34280 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34281 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34282 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34283 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34284 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34285 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34286 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34287 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34288 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34289 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34290 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34291 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34292 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34293 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34294 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34295
34296 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34297
34298 }
34299