]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
38ca5914cd2cffba5af10fe9d48263751ba79309
[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_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2824
2825 SWIGINTERN int
2826 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2827 {
2828 long v = 0;
2829 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2830 return SWIG_TypeError;
2831 }
2832 else if (val)
2833 *val = (unsigned long)v;
2834 return SWIG_OK;
2835 }
2836
2837
2838 SWIGINTERN int
2839 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2840 {
2841 unsigned long v;
2842 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2843 if (SWIG_IsOK(res)) {
2844 if ((v > UCHAR_MAX)) {
2845 return SWIG_OverflowError;
2846 } else {
2847 if (val) *val = static_cast< unsigned char >(v);
2848 }
2849 }
2850 return res;
2851 }
2852
2853
2854
2855 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2856 wxRect r;
2857 self->GetFieldRect(i, r);
2858 return r;
2859 }
2860 static const wxString wxPySplitterNameStr(wxT("splitter"));
2861 static const wxString wxPySashNameStr(wxT("sashWindow"));
2862 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2863
2864 #include <wx/popupwin.h>
2865
2866
2867 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2868 {
2869 public:
2870 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2871 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2872 : wxPopupTransientWindow(parent, style) {}
2873
2874 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2875 DEC_PYCALLBACK__(OnDismiss);
2876 DEC_PYCALLBACK_BOOL_(CanDismiss);
2877 PYPRIVATE;
2878 };
2879
2880
2881 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2882 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2883 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2884
2885
2886 #include <wx/tipwin.h>
2887
2888 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2889 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2890 }
2891
2892 #include <wx/tipwin.h>
2893
2894
2895 #include <wx/vscroll.h>
2896
2897
2898 class wxPyVScrolledWindow : public wxVScrolledWindow
2899 {
2900 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2901 public:
2902 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2903
2904 wxPyVScrolledWindow(wxWindow *parent,
2905 wxWindowID id = wxID_ANY,
2906 const wxPoint& pos = wxDefaultPosition,
2907 const wxSize& size = wxDefaultSize,
2908 long style = 0,
2909 const wxString& name = wxPyPanelNameStr)
2910 : wxVScrolledWindow(parent, id, pos, size, style, name)
2911 {}
2912
2913 // Overridable virtuals
2914
2915 // this function must be overridden in the derived class and it should
2916 // return the height of the given line in pixels
2917 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2918
2919
2920 // this function doesn't have to be overridden but it may be useful to do
2921 // it if calculating the lines heights is a relatively expensive operation
2922 // as it gives the user code a possibility to calculate several of them at
2923 // once
2924 //
2925 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2926 // shouldn't rely on the latter being called for all lines in the interval
2927 // specified here. It is also possible that OnGetLineHeight() will be
2928 // called for the lines outside of this interval, so this is really just a
2929 // hint, not a promise.
2930 //
2931 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2932 // usual
2933 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2934
2935
2936 // when the number of lines changes, we try to estimate the total height
2937 // of all lines which is a rather expensive operation in terms of lines
2938 // access, so if the user code may estimate the average height
2939 // better/faster than we do, it should override this function to implement
2940 // its own logic
2941 //
2942 // this function should return the best guess for the total height it may
2943 // make
2944 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2945
2946
2947 // Also expose some other interesting protected methods
2948
2949
2950 // find the index of the line we need to show at the top of the window such
2951 // that the last (fully or partially) visible line is the given one
2952 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2953 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2954
2955 // get the total height of the lines between lineMin (inclusive) and
2956 // lineMax (exclusive)
2957 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2958 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2959
2960 // update the thumb size shown by the scrollbar
2961 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2962
2963 // remove the scrollbar completely because we don't need it
2964 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2965
2966 PYPRIVATE;
2967 };
2968
2969 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2970
2971 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2972 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2973 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2974
2975
2976 SWIGINTERNINLINE int
2977 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2978 {
2979 unsigned long v;
2980 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2981 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2982 return res;
2983 }
2984
2985
2986 SWIGINTERNINLINE PyObject*
2987 SWIG_From_unsigned_SS_long (unsigned long value)
2988 {
2989 return (value > LONG_MAX) ?
2990 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2991 }
2992
2993
2994 SWIGINTERNINLINE PyObject *
2995 SWIG_From_size_t (size_t value)
2996 {
2997 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2998 }
2999
3000
3001 #include <wx/vlbox.h>
3002
3003 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3004
3005 class wxPyVListBox : public wxVListBox
3006 {
3007 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3008 public:
3009 wxPyVListBox() : wxVListBox() {}
3010
3011 wxPyVListBox(wxWindow *parent,
3012 wxWindowID id = wxID_ANY,
3013 const wxPoint& pos = wxDefaultPosition,
3014 const wxSize& size = wxDefaultSize,
3015 long style = 0,
3016 const wxString& name = wxPyVListBoxNameStr)
3017 : wxVListBox(parent, id, pos, size, style, name)
3018 {}
3019
3020 // Overridable virtuals
3021
3022 // the derived class must implement this function to actually draw the item
3023 // with the given index on the provided DC
3024 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3025 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3026
3027
3028 // the derived class must implement this method to return the height of the
3029 // specified item
3030 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3031 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3032
3033
3034 // this method may be used to draw separators between the lines; note that
3035 // the rectangle may be modified, typically to deflate it a bit before
3036 // passing to OnDrawItem()
3037 //
3038 // the base class version doesn't do anything
3039 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3041
3042
3043 // this method is used to draw the items background and, maybe, a border
3044 // around it
3045 //
3046 // the base class version implements a reasonable default behaviour which
3047 // consists in drawing the selected item with the standard background
3048 // colour and drawing a border around the item if it is either selected or
3049 // current
3050 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3051 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3052
3053
3054 PYPRIVATE;
3055 };
3056
3057 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3058
3059 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3060 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3061 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3062 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3063
3064
3065 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3066 unsigned long cookie = 0;
3067 int selected = self->GetFirstSelected(cookie);
3068 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3069 PyObject* tup = PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3071 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3072 wxPyEndBlockThreads(blocked);
3073 return tup;
3074 }
3075 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3076 int selected = self->GetNextSelected(cookie);
3077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3078 PyObject* tup = PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3080 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3081 wxPyEndBlockThreads(blocked);
3082 return tup;
3083 }
3084
3085 #include <wx/htmllbox.h>
3086
3087
3088 class wxPyHtmlListBox : public wxHtmlListBox
3089 {
3090 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3091 public:
3092 wxPyHtmlListBox() : wxHtmlListBox() {}
3093
3094 wxPyHtmlListBox(wxWindow *parent,
3095 wxWindowID id = wxID_ANY,
3096 const wxPoint& pos = wxDefaultPosition,
3097 const wxSize& size = wxDefaultSize,
3098 long style = 0,
3099 const wxString& name = wxPyVListBoxNameStr)
3100 : wxHtmlListBox(parent, id, pos, size, style, name)
3101 {}
3102
3103 // Overridable virtuals
3104
3105 // this method must be implemented in the derived class and should return
3106 // the body (i.e. without <html>) of the HTML for the given item
3107 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3108
3109 // this function may be overridden to decorate HTML returned by OnGetItem()
3110 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3111
3112 // These are from wxVListBox
3113 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3114 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3115
3116 // TODO:
3117 // // this method allows to customize the selection appearance: it may be used
3118 // // to specify the colour of the text which normally has the given colour
3119 // // colFg when it is inside the selection
3120 // //
3121 // // by default, the original colour is not used at all and all text has the
3122 // // same (default for this system) colour inside selection
3123 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3124
3125 // // this is the same as GetSelectedTextColour() but allows to customize the
3126 // // background colour -- this is even more rarely used as you can change it
3127 // // globally using SetSelectionBackground()
3128 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3129
3130
3131 // This method may be overriden to handle clicking on a link in
3132 // the listbox. By default, clicking links is ignored.
3133 virtual void OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link);
3135
3136 PYPRIVATE;
3137 };
3138
3139
3140 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3141
3142 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3143 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3144 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3145 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3146
3147
3148 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3149 const wxHtmlLinkInfo& link) {
3150 bool found;
3151 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3152 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3153 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3154 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3155 Py_DECREF(obj);
3156 }
3157 wxPyEndBlockThreads(blocked);
3158 if (! found)
3159 wxPyHtmlListBox::OnLinkClicked(n, link);
3160 }
3161
3162
3163
3164
3165
3166 #ifndef wxHAS_TASK_BAR_ICON
3167 // implement dummy classes for platforms that don't have it
3168
3169 class wxTaskBarIcon : public wxEvtHandler
3170 {
3171 public:
3172 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3173 };
3174
3175
3176 class wxTaskBarIconEvent : public wxEvent
3177 {
3178 public:
3179 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3180 { wxPyRaiseNotImplemented(); }
3181 virtual wxEvent* Clone() const { return NULL; }
3182 bool IsOk() const { return false; }
3183 bool IsIconInstalled() const { return false; }
3184 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3185 bool RemoveIcon() { return false; }
3186 bool PopupMenu(wxMenu *menu) { return false; }
3187 };
3188
3189 enum {
3190 wxEVT_TASKBAR_MOVE = 0,
3191 wxEVT_TASKBAR_LEFT_DOWN = 0,
3192 wxEVT_TASKBAR_LEFT_UP = 0,
3193 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3194 wxEVT_TASKBAR_RIGHT_UP = 0,
3195 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3196 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3197 };
3198
3199
3200 #else
3201 // Otherwise make a class that can virtualize CreatePopupMenu
3202 class wxPyTaskBarIcon : public wxTaskBarIcon
3203 {
3204 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3205 public:
3206 wxPyTaskBarIcon() : wxTaskBarIcon()
3207 {}
3208
3209 wxMenu* CreatePopupMenu() {
3210 wxMenu *rval = NULL;
3211 bool found;
3212 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3213 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3214 PyObject* ro;
3215 wxMenu* ptr;
3216 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3217 if (ro) {
3218 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3219 rval = ptr;
3220 Py_DECREF(ro);
3221 }
3222 }
3223 wxPyEndBlockThreads(blocked);
3224 if (! found)
3225 rval = wxTaskBarIcon::CreatePopupMenu();
3226 return rval;
3227 }
3228
3229 PYPRIVATE;
3230 };
3231
3232 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3233
3234 #endif
3235
3236 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3237 self->RemoveIcon();
3238 delete self;
3239 }
3240 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3241 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3242 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3243 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3244 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3245 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3246
3247 // for compatibility only
3248 #define wxHIDE_READONLY 0
3249
3250 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3251 wxArrayString arr;
3252 self->GetFilenames(arr);
3253 return wxArrayString2PyList_helper(arr);
3254 }
3255 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3256 wxArrayString arr;
3257 self->GetPaths(arr);
3258 return wxArrayString2PyList_helper(arr);
3259 }
3260 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3261 return wxArrayInt2PyList_helper(self->GetSelections());
3262 }
3263 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){
3264 return new wxSingleChoiceDialog(parent, message, caption,
3265 choices, choices_array, NULL, style, pos);
3266 }
3267 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3268
3269 SWIGINTERNINLINE PyObject*
3270 SWIG_From_bool (bool value)
3271 {
3272 return PyBool_FromLong(value ? 1 : 0);
3273 }
3274
3275
3276 #include <wx/mdi.h>
3277
3278 // C++ version of Python aware wxWindow
3279 class wxPyWindow : public wxWindow
3280 {
3281 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3282 public:
3283 wxPyWindow() : wxWindow() {}
3284 wxPyWindow(wxWindow* parent, const wxWindowID id,
3285 const wxPoint& pos = wxDefaultPosition,
3286 const wxSize& size = wxDefaultSize,
3287 long style = 0,
3288 const wxString& name = wxPyPanelNameStr)
3289 : wxWindow(parent, id, pos, size, style, name) {}
3290
3291 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3292
3293 bool DoEraseBackground(wxDC* dc) {
3294 #ifdef __WXMSW__
3295 return wxWindow::DoEraseBackground(dc->GetHDC());
3296 #else
3297 dc->SetBackground(wxBrush(GetBackgroundColour()));
3298 dc->Clear();
3299 return true;
3300 #endif
3301 }
3302
3303 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3304 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3305 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3307
3308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3311
3312 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3313 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3314
3315 DEC_PYCALLBACK__(InitDialog);
3316 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3317 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3318 DEC_PYCALLBACK_BOOL_(Validate);
3319
3320 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3322 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3323
3324 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3326
3327 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3328 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3329
3330 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3331
3332 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3333
3334 PYPRIVATE;
3335 };
3336
3337 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3338
3339 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3340 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3341 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3343
3344 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3347
3348 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3350
3351 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3355
3356 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3358 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3359
3360 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3362
3363 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3364 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3365
3366 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3367
3368 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3369
3370 // C++ version of Python aware wxPanel
3371 class wxPyPanel : public wxPanel
3372 {
3373 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3374 public:
3375 wxPyPanel() : wxPanel() {}
3376 wxPyPanel(wxWindow* parent, const wxWindowID id,
3377 const wxPoint& pos = wxDefaultPosition,
3378 const wxSize& size = wxDefaultSize,
3379 long style = 0,
3380 const wxString& name = wxPyPanelNameStr)
3381 : wxPanel(parent, id, pos, size, style, name) {}
3382
3383 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3384 bool DoEraseBackground(wxDC* dc) {
3385 #ifdef __WXMSW__
3386 return wxWindow::DoEraseBackground(dc->GetHDC());
3387 #else
3388 dc->SetBackground(wxBrush(GetBackgroundColour()));
3389 dc->Clear();
3390 return true;
3391 #endif
3392 }
3393
3394
3395 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3396 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3397 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3399
3400 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3403
3404 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3405 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3406
3407 DEC_PYCALLBACK__(InitDialog);
3408 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3409 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3410 DEC_PYCALLBACK_BOOL_(Validate);
3411
3412 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3414 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3415
3416 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3418
3419 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3420 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3421
3422 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3423
3424 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3425
3426 PYPRIVATE;
3427 };
3428
3429 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3430
3431 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3432 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3433 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3435
3436 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3439
3440 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3442
3443 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3447
3448 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3450 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3451
3452 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3454
3455 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3456 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3457
3458 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3459
3460 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3461
3462 // C++ version of Python aware wxScrolledWindow
3463 class wxPyScrolledWindow : public wxScrolledWindow
3464 {
3465 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3466 public:
3467 wxPyScrolledWindow() : wxScrolledWindow() {}
3468 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3469 const wxPoint& pos = wxDefaultPosition,
3470 const wxSize& size = wxDefaultSize,
3471 long style = 0,
3472 const wxString& name = wxPyPanelNameStr)
3473 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3474
3475 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3476 bool DoEraseBackground(wxDC* dc) {
3477 #ifdef __WXMSW__
3478 return wxWindow::DoEraseBackground(dc->GetHDC());
3479 #else
3480 dc->SetBackground(wxBrush(GetBackgroundColour()));
3481 dc->Clear();
3482 return true;
3483 #endif
3484 }
3485
3486 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3487 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3488 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3490
3491 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3494
3495 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3496 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3497
3498 DEC_PYCALLBACK__(InitDialog);
3499 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3500 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3501 DEC_PYCALLBACK_BOOL_(Validate);
3502
3503 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3505 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3506
3507 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3509
3510 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3511 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3512
3513 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3514
3515 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3516
3517 PYPRIVATE;
3518 };
3519
3520 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3521
3522 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3523 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3524 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3526
3527 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3530
3531 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3533
3534 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3538
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3541 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3542
3543 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3545
3546 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3547 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3548
3549 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3550
3551 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3552
3553
3554 #include "wx/wxPython/printfw.h"
3555
3556
3557 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3558 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3559 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3560 PyObject* data;
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 data = PyString_FromStringAndSize(self->GetPrivData(),
3563 self->GetPrivDataLen());
3564 wxPyEndBlockThreads(blocked);
3565 return data;
3566 }
3567 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3568 if (! PyString_Check(data)) {
3569 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3570 "Expected string object"));
3571 return /* NULL */ ;
3572 }
3573
3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3575 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3576 wxPyEndBlockThreads(blocked);
3577 }
3578
3579
3580 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3581
3582 // Since this one would be tough and ugly to do with the Macros...
3583 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3584 bool hadErr = false;
3585 bool found;
3586
3587 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3588 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3589 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3590 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3591 PyObject* val;
3592
3593 val = PyTuple_GetItem(result, 0);
3594 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3595 else hadErr = true;
3596
3597 val = PyTuple_GetItem(result, 1);
3598 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3599 else hadErr = true;
3600
3601 val = PyTuple_GetItem(result, 2);
3602 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3603 else hadErr = true;
3604
3605 val = PyTuple_GetItem(result, 3);
3606 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3607 else hadErr = true;
3608 }
3609 else
3610 hadErr = true;
3611
3612 if (hadErr) {
3613 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3614 PyErr_Print();
3615 }
3616 Py_DECREF(result);
3617 }
3618 wxPyEndBlockThreads(blocked);
3619 if (! found)
3620 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3621 }
3622
3623
3624
3625 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3626 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3627 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3630 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3631 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3632
3633
3634
3635
3636
3637 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3638 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3639
3640
3641 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3642 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3643 bool rval=false; \
3644 bool found; \
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3646 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3647 PyObject* win = wxPyMake_wxObject(a,false); \
3648 PyObject* dc = wxPyMake_wxObject(&b,false); \
3649 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3650 Py_DECREF(win); \
3651 Py_DECREF(dc); \
3652 } \
3653 wxPyEndBlockThreads(blocked); \
3654 if (! found) \
3655 rval = PCLASS::CBNAME(a, b); \
3656 return rval; \
3657 }
3658
3659
3660
3661
3662 class wxPyPrintPreview : public wxPrintPreview
3663 {
3664 DECLARE_CLASS(wxPyPrintPreview)
3665 public:
3666 wxPyPrintPreview(wxPyPrintout* printout,
3667 wxPyPrintout* printoutForPrinting,
3668 wxPrintDialogData* data=NULL)
3669 : wxPrintPreview(printout, printoutForPrinting, data)
3670 {}
3671 wxPyPrintPreview(wxPyPrintout* printout,
3672 wxPyPrintout* printoutForPrinting,
3673 wxPrintData* data)
3674 : wxPrintPreview(printout, printoutForPrinting, data)
3675 {}
3676
3677 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3678 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3680 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3681 DEC_PYCALLBACK_VOID_INT(SetZoom);
3682 DEC_PYCALLBACK_BOOL_BOOL(Print);
3683 DEC_PYCALLBACK_VOID_(DetermineScaling);
3684
3685 PYPRIVATE;
3686 };
3687
3688 // Stupid renamed classes... Fix this in 2.5...
3689 #if defined(__WXMSW__)
3690 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3691 #elif defined(__WXMAC__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3693 #else
3694 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3695 #endif
3696
3697 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3698 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3700 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3701 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3702 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3703 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3704
3705
3706 class wxPyPreviewFrame : public wxPreviewFrame
3707 {
3708 DECLARE_CLASS(wxPyPreviewFrame)
3709 public:
3710 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3711 const wxString& title,
3712 const wxPoint& pos = wxDefaultPosition,
3713 const wxSize& size = wxDefaultSize,
3714 long style = wxDEFAULT_FRAME_STYLE,
3715 const wxString& name = wxPyFrameNameStr)
3716 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3717 {}
3718
3719 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3720 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3721
3722 DEC_PYCALLBACK_VOID_(Initialize);
3723 DEC_PYCALLBACK_VOID_(CreateCanvas);
3724 DEC_PYCALLBACK_VOID_(CreateControlBar);
3725
3726 PYPRIVATE;
3727 };
3728
3729 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3730
3731 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3734
3735
3736 class wxPyPreviewControlBar : public wxPreviewControlBar
3737 {
3738 DECLARE_CLASS(wxPyPreviewControlBar)
3739 public:
3740 wxPyPreviewControlBar(wxPrintPreview *preview,
3741 long buttons,
3742 wxWindow *parent,
3743 const wxPoint& pos = wxDefaultPosition,
3744 const wxSize& size = wxDefaultSize,
3745 long style = 0,
3746 const wxString& name = wxPyPanelNameStr)
3747 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3748 {}
3749
3750 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3751
3752 DEC_PYCALLBACK_VOID_(CreateButtons);
3753 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3754
3755 PYPRIVATE;
3756 };
3757
3758 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3759 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3760 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3761
3762 #ifdef __cplusplus
3763 extern "C" {
3764 #endif
3765 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj = 0;
3767 wxWindow *arg1 = (wxWindow *) 0 ;
3768 int arg2 = (int) (int)-1 ;
3769 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3770 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3771 wxSize const &arg4_defvalue = wxDefaultSize ;
3772 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3773 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3774 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3775 wxString *arg6 = (wxString *) &arg6_defvalue ;
3776 wxPanel *result = 0 ;
3777 void *argp1 = 0 ;
3778 int res1 = 0 ;
3779 int val2 ;
3780 int ecode2 = 0 ;
3781 wxPoint temp3 ;
3782 wxSize temp4 ;
3783 long val5 ;
3784 int ecode5 = 0 ;
3785 bool temp6 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 char * kwnames[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3794 };
3795
3796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3798 if (!SWIG_IsOK(res1)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3800 }
3801 arg1 = reinterpret_cast< wxWindow * >(argp1);
3802 if (obj1) {
3803 ecode2 = SWIG_AsVal_int(obj1, &val2);
3804 if (!SWIG_IsOK(ecode2)) {
3805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3806 }
3807 arg2 = static_cast< int >(val2);
3808 }
3809 if (obj2) {
3810 {
3811 arg3 = &temp3;
3812 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3813 }
3814 }
3815 if (obj3) {
3816 {
3817 arg4 = &temp4;
3818 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3819 }
3820 }
3821 if (obj4) {
3822 ecode5 = SWIG_AsVal_long(obj4, &val5);
3823 if (!SWIG_IsOK(ecode5)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3825 }
3826 arg5 = static_cast< long >(val5);
3827 }
3828 if (obj5) {
3829 {
3830 arg6 = wxString_in_helper(obj5);
3831 if (arg6 == NULL) SWIG_fail;
3832 temp6 = true;
3833 }
3834 }
3835 {
3836 if (!wxPyCheckForApp()) SWIG_fail;
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return resultobj;
3848 fail:
3849 {
3850 if (temp6)
3851 delete arg6;
3852 }
3853 return NULL;
3854 }
3855
3856
3857 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3858 PyObject *resultobj = 0;
3859 wxPanel *result = 0 ;
3860
3861 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3862 {
3863 if (!wxPyCheckForApp()) SWIG_fail;
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (wxPanel *)new wxPanel();
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj = 0;
3878 wxPanel *arg1 = (wxPanel *) 0 ;
3879 wxWindow *arg2 = (wxWindow *) 0 ;
3880 int arg3 = (int) (int)-1 ;
3881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3883 wxSize const &arg5_defvalue = wxDefaultSize ;
3884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3885 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3886 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3887 wxString *arg7 = (wxString *) &arg7_defvalue ;
3888 bool result;
3889 void *argp1 = 0 ;
3890 int res1 = 0 ;
3891 void *argp2 = 0 ;
3892 int res2 = 0 ;
3893 int val3 ;
3894 int ecode3 = 0 ;
3895 wxPoint temp4 ;
3896 wxSize temp5 ;
3897 long val6 ;
3898 int ecode6 = 0 ;
3899 bool temp7 = false ;
3900 PyObject * obj0 = 0 ;
3901 PyObject * obj1 = 0 ;
3902 PyObject * obj2 = 0 ;
3903 PyObject * obj3 = 0 ;
3904 PyObject * obj4 = 0 ;
3905 PyObject * obj5 = 0 ;
3906 PyObject * obj6 = 0 ;
3907 char * kwnames[] = {
3908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3909 };
3910
3911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3913 if (!SWIG_IsOK(res1)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3915 }
3916 arg1 = reinterpret_cast< wxPanel * >(argp1);
3917 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3918 if (!SWIG_IsOK(res2)) {
3919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3920 }
3921 arg2 = reinterpret_cast< wxWindow * >(argp2);
3922 if (obj2) {
3923 ecode3 = SWIG_AsVal_int(obj2, &val3);
3924 if (!SWIG_IsOK(ecode3)) {
3925 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3926 }
3927 arg3 = static_cast< int >(val3);
3928 }
3929 if (obj3) {
3930 {
3931 arg4 = &temp4;
3932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3933 }
3934 }
3935 if (obj4) {
3936 {
3937 arg5 = &temp5;
3938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3939 }
3940 }
3941 if (obj5) {
3942 ecode6 = SWIG_AsVal_long(obj5, &val6);
3943 if (!SWIG_IsOK(ecode6)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3945 }
3946 arg6 = static_cast< long >(val6);
3947 }
3948 if (obj6) {
3949 {
3950 arg7 = wxString_in_helper(obj6);
3951 if (arg7 == NULL) SWIG_fail;
3952 temp7 = true;
3953 }
3954 }
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 {
3962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3963 }
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return resultobj;
3969 fail:
3970 {
3971 if (temp7)
3972 delete arg7;
3973 }
3974 return NULL;
3975 }
3976
3977
3978 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3979 PyObject *resultobj = 0;
3980 wxPanel *arg1 = (wxPanel *) 0 ;
3981 void *argp1 = 0 ;
3982 int res1 = 0 ;
3983 PyObject *swig_obj[1] ;
3984
3985 if (!args) SWIG_fail;
3986 swig_obj[0] = args;
3987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3988 if (!SWIG_IsOK(res1)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3990 }
3991 arg1 = reinterpret_cast< wxPanel * >(argp1);
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 (arg1)->SetFocusIgnoringChildren();
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 resultobj = SWIG_Py_Void();
3999 return resultobj;
4000 fail:
4001 return NULL;
4002 }
4003
4004
4005 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj = 0;
4007 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4008 SwigValueWrapper<wxVisualAttributes > result;
4009 int val1 ;
4010 int ecode1 = 0 ;
4011 PyObject * obj0 = 0 ;
4012 char * kwnames[] = {
4013 (char *) "variant", NULL
4014 };
4015
4016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4017 if (obj0) {
4018 ecode1 = SWIG_AsVal_int(obj0, &val1);
4019 if (!SWIG_IsOK(ecode1)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4021 }
4022 arg1 = static_cast< wxWindowVariant >(val1);
4023 }
4024 {
4025 if (!wxPyCheckForApp()) SWIG_fail;
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = wxPanel::GetClassDefaultAttributes(arg1);
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 PyObject *obj;
4040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4042 return SWIG_Py_Void();
4043 }
4044
4045 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4046 return SWIG_Python_InitShadowInstance(args);
4047 }
4048
4049 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj = 0;
4051 wxWindow *arg1 = (wxWindow *) 0 ;
4052 int arg2 = (int) (int)-1 ;
4053 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4054 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4055 wxSize const &arg4_defvalue = wxDefaultSize ;
4056 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4057 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4058 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4059 wxString *arg6 = (wxString *) &arg6_defvalue ;
4060 wxScrolledWindow *result = 0 ;
4061 void *argp1 = 0 ;
4062 int res1 = 0 ;
4063 int val2 ;
4064 int ecode2 = 0 ;
4065 wxPoint temp3 ;
4066 wxSize temp4 ;
4067 long val5 ;
4068 int ecode5 = 0 ;
4069 bool temp6 = false ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 PyObject * obj2 = 0 ;
4073 PyObject * obj3 = 0 ;
4074 PyObject * obj4 = 0 ;
4075 PyObject * obj5 = 0 ;
4076 char * kwnames[] = {
4077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4078 };
4079
4080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4082 if (!SWIG_IsOK(res1)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4084 }
4085 arg1 = reinterpret_cast< wxWindow * >(argp1);
4086 if (obj1) {
4087 ecode2 = SWIG_AsVal_int(obj1, &val2);
4088 if (!SWIG_IsOK(ecode2)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4090 }
4091 arg2 = static_cast< int >(val2);
4092 }
4093 if (obj2) {
4094 {
4095 arg3 = &temp3;
4096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4097 }
4098 }
4099 if (obj3) {
4100 {
4101 arg4 = &temp4;
4102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4103 }
4104 }
4105 if (obj4) {
4106 ecode5 = SWIG_AsVal_long(obj4, &val5);
4107 if (!SWIG_IsOK(ecode5)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4109 }
4110 arg5 = static_cast< long >(val5);
4111 }
4112 if (obj5) {
4113 {
4114 arg6 = wxString_in_helper(obj5);
4115 if (arg6 == NULL) SWIG_fail;
4116 temp6 = true;
4117 }
4118 }
4119 {
4120 if (!wxPyCheckForApp()) SWIG_fail;
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return resultobj;
4132 fail:
4133 {
4134 if (temp6)
4135 delete arg6;
4136 }
4137 return NULL;
4138 }
4139
4140
4141 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4142 PyObject *resultobj = 0;
4143 wxScrolledWindow *result = 0 ;
4144
4145 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4146 {
4147 if (!wxPyCheckForApp()) SWIG_fail;
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (wxScrolledWindow *)new wxScrolledWindow();
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj = 0;
4162 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4163 wxWindow *arg2 = (wxWindow *) 0 ;
4164 int arg3 = (int) (int)-1 ;
4165 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4166 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4167 wxSize const &arg5_defvalue = wxDefaultSize ;
4168 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4169 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4170 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4171 wxString *arg7 = (wxString *) &arg7_defvalue ;
4172 bool result;
4173 void *argp1 = 0 ;
4174 int res1 = 0 ;
4175 void *argp2 = 0 ;
4176 int res2 = 0 ;
4177 int val3 ;
4178 int ecode3 = 0 ;
4179 wxPoint temp4 ;
4180 wxSize temp5 ;
4181 long val6 ;
4182 int ecode6 = 0 ;
4183 bool temp7 = false ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 PyObject * obj2 = 0 ;
4187 PyObject * obj3 = 0 ;
4188 PyObject * obj4 = 0 ;
4189 PyObject * obj5 = 0 ;
4190 PyObject * obj6 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4199 }
4200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4204 }
4205 arg2 = reinterpret_cast< wxWindow * >(argp2);
4206 if (obj2) {
4207 ecode3 = SWIG_AsVal_int(obj2, &val3);
4208 if (!SWIG_IsOK(ecode3)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4210 }
4211 arg3 = static_cast< int >(val3);
4212 }
4213 if (obj3) {
4214 {
4215 arg4 = &temp4;
4216 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4217 }
4218 }
4219 if (obj4) {
4220 {
4221 arg5 = &temp5;
4222 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4223 }
4224 }
4225 if (obj5) {
4226 ecode6 = SWIG_AsVal_long(obj5, &val6);
4227 if (!SWIG_IsOK(ecode6)) {
4228 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4229 }
4230 arg6 = static_cast< long >(val6);
4231 }
4232 if (obj6) {
4233 {
4234 arg7 = wxString_in_helper(obj6);
4235 if (arg7 == NULL) SWIG_fail;
4236 temp7 = true;
4237 }
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 {
4246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4247 }
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return resultobj;
4253 fail:
4254 {
4255 if (temp7)
4256 delete arg7;
4257 }
4258 return NULL;
4259 }
4260
4261
4262 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj = 0;
4264 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4265 int arg2 ;
4266 int arg3 ;
4267 int arg4 ;
4268 int arg5 ;
4269 int arg6 = (int) 0 ;
4270 int arg7 = (int) 0 ;
4271 bool arg8 = (bool) false ;
4272 void *argp1 = 0 ;
4273 int res1 = 0 ;
4274 int val2 ;
4275 int ecode2 = 0 ;
4276 int val3 ;
4277 int ecode3 = 0 ;
4278 int val4 ;
4279 int ecode4 = 0 ;
4280 int val5 ;
4281 int ecode5 = 0 ;
4282 int val6 ;
4283 int ecode6 = 0 ;
4284 int val7 ;
4285 int ecode7 = 0 ;
4286 bool val8 ;
4287 int ecode8 = 0 ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 PyObject * obj2 = 0 ;
4291 PyObject * obj3 = 0 ;
4292 PyObject * obj4 = 0 ;
4293 PyObject * obj5 = 0 ;
4294 PyObject * obj6 = 0 ;
4295 PyObject * obj7 = 0 ;
4296 char * kwnames[] = {
4297 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4298 };
4299
4300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4302 if (!SWIG_IsOK(res1)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4304 }
4305 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4306 ecode2 = SWIG_AsVal_int(obj1, &val2);
4307 if (!SWIG_IsOK(ecode2)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4309 }
4310 arg2 = static_cast< int >(val2);
4311 ecode3 = SWIG_AsVal_int(obj2, &val3);
4312 if (!SWIG_IsOK(ecode3)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4314 }
4315 arg3 = static_cast< int >(val3);
4316 ecode4 = SWIG_AsVal_int(obj3, &val4);
4317 if (!SWIG_IsOK(ecode4)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4319 }
4320 arg4 = static_cast< int >(val4);
4321 ecode5 = SWIG_AsVal_int(obj4, &val5);
4322 if (!SWIG_IsOK(ecode5)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4324 }
4325 arg5 = static_cast< int >(val5);
4326 if (obj5) {
4327 ecode6 = SWIG_AsVal_int(obj5, &val6);
4328 if (!SWIG_IsOK(ecode6)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4330 }
4331 arg6 = static_cast< int >(val6);
4332 }
4333 if (obj6) {
4334 ecode7 = SWIG_AsVal_int(obj6, &val7);
4335 if (!SWIG_IsOK(ecode7)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4337 }
4338 arg7 = static_cast< int >(val7);
4339 }
4340 if (obj7) {
4341 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4342 if (!SWIG_IsOK(ecode8)) {
4343 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4344 }
4345 arg8 = static_cast< bool >(val8);
4346 }
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 resultobj = SWIG_Py_Void();
4354 return resultobj;
4355 fail:
4356 return NULL;
4357 }
4358
4359
4360 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj = 0;
4362 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4363 int arg2 ;
4364 int arg3 ;
4365 void *argp1 = 0 ;
4366 int res1 = 0 ;
4367 int val2 ;
4368 int ecode2 = 0 ;
4369 int val3 ;
4370 int ecode3 = 0 ;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 char * kwnames[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4376 };
4377
4378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4380 if (!SWIG_IsOK(res1)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4382 }
4383 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4384 ecode2 = SWIG_AsVal_int(obj1, &val2);
4385 if (!SWIG_IsOK(ecode2)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4387 }
4388 arg2 = static_cast< int >(val2);
4389 ecode3 = SWIG_AsVal_int(obj2, &val3);
4390 if (!SWIG_IsOK(ecode3)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4392 }
4393 arg3 = static_cast< int >(val3);
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 (arg1)->Scroll(arg2,arg3);
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 resultobj = SWIG_Py_Void();
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj = 0;
4409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4410 int arg2 ;
4411 int result;
4412 void *argp1 = 0 ;
4413 int res1 = 0 ;
4414 int val2 ;
4415 int ecode2 = 0 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char * kwnames[] = {
4419 (char *) "self",(char *) "orient", NULL
4420 };
4421
4422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4424 if (!SWIG_IsOK(res1)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4426 }
4427 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4428 ecode2 = SWIG_AsVal_int(obj1, &val2);
4429 if (!SWIG_IsOK(ecode2)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4431 }
4432 arg2 = static_cast< int >(val2);
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4436 wxPyEndAllowThreads(__tstate);
4437 if (PyErr_Occurred()) SWIG_fail;
4438 }
4439 resultobj = SWIG_From_int(static_cast< int >(result));
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj = 0;
4448 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4449 int arg2 ;
4450 int arg3 ;
4451 void *argp1 = 0 ;
4452 int res1 = 0 ;
4453 int val2 ;
4454 int ecode2 = 0 ;
4455 int val3 ;
4456 int ecode3 = 0 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 PyObject * obj2 = 0 ;
4460 char * kwnames[] = {
4461 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4462 };
4463
4464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4466 if (!SWIG_IsOK(res1)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4468 }
4469 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4470 ecode2 = SWIG_AsVal_int(obj1, &val2);
4471 if (!SWIG_IsOK(ecode2)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4473 }
4474 arg2 = static_cast< int >(val2);
4475 ecode3 = SWIG_AsVal_int(obj2, &val3);
4476 if (!SWIG_IsOK(ecode3)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4478 }
4479 arg3 = static_cast< int >(val3);
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 (arg1)->SetScrollPageSize(arg2,arg3);
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = SWIG_Py_Void();
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj = 0;
4495 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4496 int arg2 ;
4497 int arg3 ;
4498 void *argp1 = 0 ;
4499 int res1 = 0 ;
4500 int val2 ;
4501 int ecode2 = 0 ;
4502 int val3 ;
4503 int ecode3 = 0 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 PyObject * obj2 = 0 ;
4507 char * kwnames[] = {
4508 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4509 };
4510
4511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4513 if (!SWIG_IsOK(res1)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4515 }
4516 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4517 ecode2 = SWIG_AsVal_int(obj1, &val2);
4518 if (!SWIG_IsOK(ecode2)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4520 }
4521 arg2 = static_cast< int >(val2);
4522 ecode3 = SWIG_AsVal_int(obj2, &val3);
4523 if (!SWIG_IsOK(ecode3)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4525 }
4526 arg3 = static_cast< int >(val3);
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 (arg1)->SetScrollRate(arg2,arg3);
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 resultobj = SWIG_Py_Void();
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4541 PyObject *resultobj = 0;
4542 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4543 int *arg2 = (int *) 0 ;
4544 int *arg3 = (int *) 0 ;
4545 void *argp1 = 0 ;
4546 int res1 = 0 ;
4547 int temp2 ;
4548 int res2 = SWIG_TMPOBJ ;
4549 int temp3 ;
4550 int res3 = SWIG_TMPOBJ ;
4551 PyObject *swig_obj[1] ;
4552
4553 arg2 = &temp2;
4554 arg3 = &temp3;
4555 if (!args) SWIG_fail;
4556 swig_obj[0] = args;
4557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4558 if (!SWIG_IsOK(res1)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4560 }
4561 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 resultobj = SWIG_Py_Void();
4569 if (SWIG_IsTmpObj(res2)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4574 }
4575 if (SWIG_IsTmpObj(res3)) {
4576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4577 } else {
4578 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4580 }
4581 return resultobj;
4582 fail:
4583 return NULL;
4584 }
4585
4586
4587 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj = 0;
4589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4590 bool arg2 ;
4591 bool arg3 ;
4592 void *argp1 = 0 ;
4593 int res1 = 0 ;
4594 bool val2 ;
4595 int ecode2 = 0 ;
4596 bool val3 ;
4597 int ecode3 = 0 ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 PyObject * obj2 = 0 ;
4601 char * kwnames[] = {
4602 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4603 };
4604
4605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4607 if (!SWIG_IsOK(res1)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4609 }
4610 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4612 if (!SWIG_IsOK(ecode2)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4614 }
4615 arg2 = static_cast< bool >(val2);
4616 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4617 if (!SWIG_IsOK(ecode3)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4619 }
4620 arg3 = static_cast< bool >(val3);
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 (arg1)->EnableScrolling(arg2,arg3);
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 resultobj = SWIG_Py_Void();
4628 return resultobj;
4629 fail:
4630 return NULL;
4631 }
4632
4633
4634 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4635 PyObject *resultobj = 0;
4636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4637 int *arg2 = (int *) 0 ;
4638 int *arg3 = (int *) 0 ;
4639 void *argp1 = 0 ;
4640 int res1 = 0 ;
4641 int temp2 ;
4642 int res2 = SWIG_TMPOBJ ;
4643 int temp3 ;
4644 int res3 = SWIG_TMPOBJ ;
4645 PyObject *swig_obj[1] ;
4646
4647 arg2 = &temp2;
4648 arg3 = &temp3;
4649 if (!args) SWIG_fail;
4650 swig_obj[0] = args;
4651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4652 if (!SWIG_IsOK(res1)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4654 }
4655 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = SWIG_Py_Void();
4663 if (SWIG_IsTmpObj(res2)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4668 }
4669 if (SWIG_IsTmpObj(res3)) {
4670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4671 } else {
4672 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4674 }
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj = 0;
4683 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4684 double arg2 ;
4685 double arg3 ;
4686 void *argp1 = 0 ;
4687 int res1 = 0 ;
4688 double val2 ;
4689 int ecode2 = 0 ;
4690 double val3 ;
4691 int ecode3 = 0 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 PyObject * obj2 = 0 ;
4695 char * kwnames[] = {
4696 (char *) "self",(char *) "xs",(char *) "ys", NULL
4697 };
4698
4699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4703 }
4704 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4705 ecode2 = SWIG_AsVal_double(obj1, &val2);
4706 if (!SWIG_IsOK(ecode2)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4708 }
4709 arg2 = static_cast< double >(val2);
4710 ecode3 = SWIG_AsVal_double(obj2, &val3);
4711 if (!SWIG_IsOK(ecode3)) {
4712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4713 }
4714 arg3 = static_cast< double >(val3);
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->SetScale(arg2,arg3);
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_Py_Void();
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4729 PyObject *resultobj = 0;
4730 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4731 double result;
4732 void *argp1 = 0 ;
4733 int res1 = 0 ;
4734 PyObject *swig_obj[1] ;
4735
4736 if (!args) SWIG_fail;
4737 swig_obj[0] = args;
4738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4739 if (!SWIG_IsOK(res1)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4741 }
4742 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_From_double(static_cast< double >(result));
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4757 PyObject *resultobj = 0;
4758 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4759 double result;
4760 void *argp1 = 0 ;
4761 int res1 = 0 ;
4762 PyObject *swig_obj[1] ;
4763
4764 if (!args) SWIG_fail;
4765 swig_obj[0] = args;
4766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4767 if (!SWIG_IsOK(res1)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4769 }
4770 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 resultobj = SWIG_From_double(static_cast< double >(result));
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4785 PyObject *resultobj = 0;
4786 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4787 wxPoint *arg2 = 0 ;
4788 wxPoint result;
4789 void *argp1 = 0 ;
4790 int res1 = 0 ;
4791 wxPoint temp2 ;
4792
4793 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4795 if (!SWIG_IsOK(res1)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4797 }
4798 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4799 {
4800 arg2 = &temp2;
4801 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4817 PyObject *resultobj = 0;
4818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4819 int arg2 ;
4820 int arg3 ;
4821 int *arg4 = (int *) 0 ;
4822 int *arg5 = (int *) 0 ;
4823 void *argp1 = 0 ;
4824 int res1 = 0 ;
4825 int val2 ;
4826 int ecode2 = 0 ;
4827 int val3 ;
4828 int ecode3 = 0 ;
4829 int temp4 ;
4830 int res4 = SWIG_TMPOBJ ;
4831 int temp5 ;
4832 int res5 = SWIG_TMPOBJ ;
4833
4834 arg4 = &temp4;
4835 arg5 = &temp5;
4836 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4843 if (!SWIG_IsOK(ecode2)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4845 }
4846 arg2 = static_cast< int >(val2);
4847 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4848 if (!SWIG_IsOK(ecode3)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4850 }
4851 arg3 = static_cast< int >(val3);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_Py_Void();
4859 if (SWIG_IsTmpObj(res4)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4864 }
4865 if (SWIG_IsTmpObj(res5)) {
4866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4867 } else {
4868 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4870 }
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4878 int argc;
4879 PyObject *argv[4];
4880
4881 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4882 --argc;
4883 if (argc == 2) {
4884 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4885 }
4886 if (argc == 3) {
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4888 }
4889
4890 fail:
4891 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4892 return NULL;
4893 }
4894
4895
4896 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4897 PyObject *resultobj = 0;
4898 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4899 wxPoint *arg2 = 0 ;
4900 wxPoint result;
4901 void *argp1 = 0 ;
4902 int res1 = 0 ;
4903 wxPoint temp2 ;
4904
4905 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4907 if (!SWIG_IsOK(res1)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4909 }
4910 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4911 {
4912 arg2 = &temp2;
4913 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4929 PyObject *resultobj = 0;
4930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4931 int arg2 ;
4932 int arg3 ;
4933 int *arg4 = (int *) 0 ;
4934 int *arg5 = (int *) 0 ;
4935 void *argp1 = 0 ;
4936 int res1 = 0 ;
4937 int val2 ;
4938 int ecode2 = 0 ;
4939 int val3 ;
4940 int ecode3 = 0 ;
4941 int temp4 ;
4942 int res4 = SWIG_TMPOBJ ;
4943 int temp5 ;
4944 int res5 = SWIG_TMPOBJ ;
4945
4946 arg4 = &temp4;
4947 arg5 = &temp5;
4948 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4950 if (!SWIG_IsOK(res1)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4952 }
4953 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4954 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4955 if (!SWIG_IsOK(ecode2)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4957 }
4958 arg2 = static_cast< int >(val2);
4959 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4960 if (!SWIG_IsOK(ecode3)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4962 }
4963 arg3 = static_cast< int >(val3);
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 resultobj = SWIG_Py_Void();
4971 if (SWIG_IsTmpObj(res4)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4976 }
4977 if (SWIG_IsTmpObj(res5)) {
4978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4979 } else {
4980 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4982 }
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4990 int argc;
4991 PyObject *argv[4];
4992
4993 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4994 --argc;
4995 if (argc == 2) {
4996 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4997 }
4998 if (argc == 3) {
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5000 }
5001
5002 fail:
5003 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5004 return NULL;
5005 }
5006
5007
5008 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5009 PyObject *resultobj = 0;
5010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5011 void *argp1 = 0 ;
5012 int res1 = 0 ;
5013 PyObject *swig_obj[1] ;
5014
5015 if (!args) SWIG_fail;
5016 swig_obj[0] = args;
5017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5018 if (!SWIG_IsOK(res1)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5020 }
5021 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 (arg1)->AdjustScrollbars();
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 resultobj = SWIG_Py_Void();
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj = 0;
5037 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5038 wxScrollWinEvent *arg2 = 0 ;
5039 int result;
5040 void *argp1 = 0 ;
5041 int res1 = 0 ;
5042 void *argp2 = 0 ;
5043 int res2 = 0 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 char * kwnames[] = {
5047 (char *) "self",(char *) "event", NULL
5048 };
5049
5050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5052 if (!SWIG_IsOK(res1)) {
5053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5054 }
5055 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5057 if (!SWIG_IsOK(res2)) {
5058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5059 }
5060 if (!argp2) {
5061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5062 }
5063 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 result = (int)(arg1)->CalcScrollInc(*arg2);
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 resultobj = SWIG_From_int(static_cast< int >(result));
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj = 0;
5079 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5080 wxWindow *arg2 = (wxWindow *) 0 ;
5081 void *argp1 = 0 ;
5082 int res1 = 0 ;
5083 void *argp2 = 0 ;
5084 int res2 = 0 ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 char * kwnames[] = {
5088 (char *) "self",(char *) "target", NULL
5089 };
5090
5091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5093 if (!SWIG_IsOK(res1)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5095 }
5096 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5098 if (!SWIG_IsOK(res2)) {
5099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5100 }
5101 arg2 = reinterpret_cast< wxWindow * >(argp2);
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetTargetWindow(arg2);
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_Py_Void();
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5116 PyObject *resultobj = 0;
5117 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5118 wxWindow *result = 0 ;
5119 void *argp1 = 0 ;
5120 int res1 = 0 ;
5121 PyObject *swig_obj[1] ;
5122
5123 if (!args) SWIG_fail;
5124 swig_obj[0] = args;
5125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5126 if (!SWIG_IsOK(res1)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5128 }
5129 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 {
5137 resultobj = wxPyMake_wxObject(result, 0);
5138 }
5139 return resultobj;
5140 fail:
5141 return NULL;
5142 }
5143
5144
5145 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj = 0;
5147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5148 wxRect *arg2 = 0 ;
5149 void *argp1 = 0 ;
5150 int res1 = 0 ;
5151 wxRect temp2 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "self",(char *) "rect", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5160 if (!SWIG_IsOK(res1)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5162 }
5163 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5164 {
5165 arg2 = &temp2;
5166 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetTargetRect((wxRect const &)*arg2);
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = SWIG_Py_Void();
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5182 PyObject *resultobj = 0;
5183 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5184 wxRect result;
5185 void *argp1 = 0 ;
5186 int res1 = 0 ;
5187 PyObject *swig_obj[1] ;
5188
5189 if (!args) SWIG_fail;
5190 swig_obj[0] = args;
5191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5192 if (!SWIG_IsOK(res1)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5194 }
5195 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5210 PyObject *resultobj = 0;
5211 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5212 wxDC *arg2 = 0 ;
5213 void *argp1 = 0 ;
5214 int res1 = 0 ;
5215 void *argp2 = 0 ;
5216 int res2 = 0 ;
5217 PyObject * obj0 = 0 ;
5218 PyObject * obj1 = 0 ;
5219 char * kwnames[] = {
5220 (char *) "self",(char *) "dc", NULL
5221 };
5222
5223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5225 if (!SWIG_IsOK(res1)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5227 }
5228 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5229 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5230 if (!SWIG_IsOK(res2)) {
5231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5232 }
5233 if (!argp2) {
5234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5235 }
5236 arg2 = reinterpret_cast< wxDC * >(argp2);
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 (arg1)->DoPrepareDC(*arg2);
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_Py_Void();
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj = 0;
5252 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5253 SwigValueWrapper<wxVisualAttributes > result;
5254 int val1 ;
5255 int ecode1 = 0 ;
5256 PyObject * obj0 = 0 ;
5257 char * kwnames[] = {
5258 (char *) "variant", NULL
5259 };
5260
5261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5262 if (obj0) {
5263 ecode1 = SWIG_AsVal_int(obj0, &val1);
5264 if (!SWIG_IsOK(ecode1)) {
5265 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5266 }
5267 arg1 = static_cast< wxWindowVariant >(val1);
5268 }
5269 {
5270 if (!wxPyCheckForApp()) SWIG_fail;
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5277 return resultobj;
5278 fail:
5279 return NULL;
5280 }
5281
5282
5283 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5284 PyObject *obj;
5285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5286 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5287 return SWIG_Py_Void();
5288 }
5289
5290 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5291 return SWIG_Python_InitShadowInstance(args);
5292 }
5293
5294 SWIGINTERN int FrameNameStr_set(PyObject *) {
5295 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5296 return 1;
5297 }
5298
5299
5300 SWIGINTERN PyObject *FrameNameStr_get(void) {
5301 PyObject *pyobj = 0;
5302
5303 {
5304 #if wxUSE_UNICODE
5305 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5306 #else
5307 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5308 #endif
5309 }
5310 return pyobj;
5311 }
5312
5313
5314 SWIGINTERN int DialogNameStr_set(PyObject *) {
5315 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5316 return 1;
5317 }
5318
5319
5320 SWIGINTERN PyObject *DialogNameStr_get(void) {
5321 PyObject *pyobj = 0;
5322
5323 {
5324 #if wxUSE_UNICODE
5325 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5326 #else
5327 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5328 #endif
5329 }
5330 return pyobj;
5331 }
5332
5333
5334 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5335 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5336 return 1;
5337 }
5338
5339
5340 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5341 PyObject *pyobj = 0;
5342
5343 {
5344 #if wxUSE_UNICODE
5345 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5346 #else
5347 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5348 #endif
5349 }
5350 return pyobj;
5351 }
5352
5353
5354 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5355 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5356 return 1;
5357 }
5358
5359
5360 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5361 PyObject *pyobj = 0;
5362
5363 {
5364 #if wxUSE_UNICODE
5365 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5366 #else
5367 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5368 #endif
5369 }
5370 return pyobj;
5371 }
5372
5373
5374 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj = 0;
5376 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5377 bool arg2 = (bool) true ;
5378 void *argp1 = 0 ;
5379 int res1 = 0 ;
5380 bool val2 ;
5381 int ecode2 = 0 ;
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
5384 char * kwnames[] = {
5385 (char *) "self",(char *) "maximize", NULL
5386 };
5387
5388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5390 if (!SWIG_IsOK(res1)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5392 }
5393 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5394 if (obj1) {
5395 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5396 if (!SWIG_IsOK(ecode2)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5398 }
5399 arg2 = static_cast< bool >(val2);
5400 }
5401 {
5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
5403 (arg1)->Maximize(arg2);
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 resultobj = SWIG_Py_Void();
5408 return resultobj;
5409 fail:
5410 return NULL;
5411 }
5412
5413
5414 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5415 PyObject *resultobj = 0;
5416 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5417 void *argp1 = 0 ;
5418 int res1 = 0 ;
5419 PyObject *swig_obj[1] ;
5420
5421 if (!args) SWIG_fail;
5422 swig_obj[0] = args;
5423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5424 if (!SWIG_IsOK(res1)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5426 }
5427 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->Restore();
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 resultobj = SWIG_Py_Void();
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj = 0;
5443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5444 bool arg2 = (bool) true ;
5445 void *argp1 = 0 ;
5446 int res1 = 0 ;
5447 bool val2 ;
5448 int ecode2 = 0 ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char * kwnames[] = {
5452 (char *) "self",(char *) "iconize", NULL
5453 };
5454
5455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5457 if (!SWIG_IsOK(res1)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5459 }
5460 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5461 if (obj1) {
5462 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5463 if (!SWIG_IsOK(ecode2)) {
5464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5465 }
5466 arg2 = static_cast< bool >(val2);
5467 }
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 (arg1)->Iconize(arg2);
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_Py_Void();
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5482 PyObject *resultobj = 0;
5483 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5484 bool result;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 PyObject *swig_obj[1] ;
5488
5489 if (!args) SWIG_fail;
5490 swig_obj[0] = args;
5491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5494 }
5495 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 {
5503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5504 }
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5512 PyObject *resultobj = 0;
5513 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5514 bool result;
5515 void *argp1 = 0 ;
5516 int res1 = 0 ;
5517 PyObject *swig_obj[1] ;
5518
5519 if (!args) SWIG_fail;
5520 swig_obj[0] = args;
5521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5522 if (!SWIG_IsOK(res1)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5524 }
5525 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 {
5533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5534 }
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5542 PyObject *resultobj = 0;
5543 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5544 bool result;
5545 void *argp1 = 0 ;
5546 int res1 = 0 ;
5547 PyObject *swig_obj[1] ;
5548
5549 if (!args) SWIG_fail;
5550 swig_obj[0] = args;
5551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5552 if (!SWIG_IsOK(res1)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5554 }
5555 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5572 PyObject *resultobj = 0;
5573 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5574 wxIcon result;
5575 void *argp1 = 0 ;
5576 int res1 = 0 ;
5577 PyObject *swig_obj[1] ;
5578
5579 if (!args) SWIG_fail;
5580 swig_obj[0] = args;
5581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5582 if (!SWIG_IsOK(res1)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5584 }
5585 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5593 return resultobj;
5594 fail:
5595 return NULL;
5596 }
5597
5598
5599 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj = 0;
5601 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5602 wxIcon *arg2 = 0 ;
5603 void *argp1 = 0 ;
5604 int res1 = 0 ;
5605 void *argp2 = 0 ;
5606 int res2 = 0 ;
5607 PyObject * obj0 = 0 ;
5608 PyObject * obj1 = 0 ;
5609 char * kwnames[] = {
5610 (char *) "self",(char *) "icon", NULL
5611 };
5612
5613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5615 if (!SWIG_IsOK(res1)) {
5616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5617 }
5618 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5619 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5620 if (!SWIG_IsOK(res2)) {
5621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5622 }
5623 if (!argp2) {
5624 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5625 }
5626 arg2 = reinterpret_cast< wxIcon * >(argp2);
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->SetIcon((wxIcon const &)*arg2);
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = SWIG_Py_Void();
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj = 0;
5642 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5643 wxIconBundle *arg2 = 0 ;
5644 void *argp1 = 0 ;
5645 int res1 = 0 ;
5646 void *argp2 = 0 ;
5647 int res2 = 0 ;
5648 PyObject * obj0 = 0 ;
5649 PyObject * obj1 = 0 ;
5650 char * kwnames[] = {
5651 (char *) "self",(char *) "icons", NULL
5652 };
5653
5654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5656 if (!SWIG_IsOK(res1)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5658 }
5659 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5660 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5661 if (!SWIG_IsOK(res2)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5663 }
5664 if (!argp2) {
5665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5666 }
5667 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_Py_Void();
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj = 0;
5683 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5684 bool arg2 ;
5685 long arg3 = (long) wxFULLSCREEN_ALL ;
5686 bool result;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 bool val2 ;
5690 int ecode2 = 0 ;
5691 long val3 ;
5692 int ecode3 = 0 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 char * kwnames[] = {
5697 (char *) "self",(char *) "show",(char *) "style", NULL
5698 };
5699
5700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5702 if (!SWIG_IsOK(res1)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5704 }
5705 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5707 if (!SWIG_IsOK(ecode2)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5709 }
5710 arg2 = static_cast< bool >(val2);
5711 if (obj2) {
5712 ecode3 = SWIG_AsVal_long(obj2, &val3);
5713 if (!SWIG_IsOK(ecode3)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5715 }
5716 arg3 = static_cast< long >(val3);
5717 }
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5734 PyObject *resultobj = 0;
5735 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5736 bool result;
5737 void *argp1 = 0 ;
5738 int res1 = 0 ;
5739 PyObject *swig_obj[1] ;
5740
5741 if (!args) SWIG_fail;
5742 swig_obj[0] = args;
5743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5744 if (!SWIG_IsOK(res1)) {
5745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5746 }
5747 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 {
5755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5756 }
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj = 0;
5765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5766 wxString *arg2 = 0 ;
5767 void *argp1 = 0 ;
5768 int res1 = 0 ;
5769 bool temp2 = false ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char * kwnames[] = {
5773 (char *) "self",(char *) "title", NULL
5774 };
5775
5776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res1)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5780 }
5781 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5782 {
5783 arg2 = wxString_in_helper(obj1);
5784 if (arg2 == NULL) SWIG_fail;
5785 temp2 = true;
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 (arg1)->SetTitle((wxString const &)*arg2);
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 resultobj = SWIG_Py_Void();
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return resultobj;
5799 fail:
5800 {
5801 if (temp2)
5802 delete arg2;
5803 }
5804 return NULL;
5805 }
5806
5807
5808 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5809 PyObject *resultobj = 0;
5810 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5811 wxString result;
5812 void *argp1 = 0 ;
5813 int res1 = 0 ;
5814 PyObject *swig_obj[1] ;
5815
5816 if (!args) SWIG_fail;
5817 swig_obj[0] = args;
5818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5819 if (!SWIG_IsOK(res1)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5821 }
5822 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 #if wxUSE_UNICODE
5831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5832 #else
5833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5834 #endif
5835 }
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj = 0;
5844 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5845 wxRegion *arg2 = 0 ;
5846 bool result;
5847 void *argp1 = 0 ;
5848 int res1 = 0 ;
5849 void *argp2 = 0 ;
5850 int res2 = 0 ;
5851 PyObject * obj0 = 0 ;
5852 PyObject * obj1 = 0 ;
5853 char * kwnames[] = {
5854 (char *) "self",(char *) "region", NULL
5855 };
5856
5857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5859 if (!SWIG_IsOK(res1)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5861 }
5862 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5863 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5864 if (!SWIG_IsOK(res2)) {
5865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5866 }
5867 if (!argp2) {
5868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5869 }
5870 arg2 = reinterpret_cast< wxRegion * >(argp2);
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 {
5878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5879 }
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj = 0;
5888 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5889 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5890 void *argp1 = 0 ;
5891 int res1 = 0 ;
5892 int val2 ;
5893 int ecode2 = 0 ;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 char * kwnames[] = {
5897 (char *) "self",(char *) "flags", NULL
5898 };
5899
5900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5902 if (!SWIG_IsOK(res1)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5904 }
5905 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5906 if (obj1) {
5907 ecode2 = SWIG_AsVal_int(obj1, &val2);
5908 if (!SWIG_IsOK(ecode2)) {
5909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5910 }
5911 arg2 = static_cast< int >(val2);
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->RequestUserAttention(arg2);
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_Py_Void();
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5927 PyObject *resultobj = 0;
5928 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5929 bool result;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 }
5940 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = (bool)(arg1)->IsActive();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5949 }
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj = 0;
5958 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5959 bool arg2 ;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 bool val2 ;
5963 int ecode2 = 0 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char * kwnames[] = {
5967 (char *) "self",(char *) "on", NULL
5968 };
5969
5970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5977 if (!SWIG_IsOK(ecode2)) {
5978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5979 }
5980 arg2 = static_cast< bool >(val2);
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 resultobj = SWIG_Py_Void();
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5995 PyObject *resultobj = 0;
5996 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5997 bool result;
5998 void *argp1 = 0 ;
5999 int res1 = 0 ;
6000 PyObject *swig_obj[1] ;
6001
6002 if (!args) SWIG_fail;
6003 swig_obj[0] = args;
6004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6005 if (!SWIG_IsOK(res1)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6007 }
6008 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj = 0;
6026 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6027 int arg2 = (int) wxBOTH ;
6028 void *argp1 = 0 ;
6029 int res1 = 0 ;
6030 int val2 ;
6031 int ecode2 = 0 ;
6032 PyObject * obj0 = 0 ;
6033 PyObject * obj1 = 0 ;
6034 char * kwnames[] = {
6035 (char *) "self",(char *) "dir", NULL
6036 };
6037
6038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 if (obj1) {
6045 ecode2 = SWIG_AsVal_int(obj1, &val2);
6046 if (!SWIG_IsOK(ecode2)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6048 }
6049 arg2 = static_cast< int >(val2);
6050 }
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 (arg1)->CenterOnScreen(arg2);
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 resultobj = SWIG_Py_Void();
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj = 0;
6066 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6067 bool arg2 = (bool) true ;
6068 bool result;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 bool val2 ;
6072 int ecode2 = 0 ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 char * kwnames[] = {
6076 (char *) "self",(char *) "enable", NULL
6077 };
6078
6079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6081 if (!SWIG_IsOK(res1)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6083 }
6084 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6085 if (obj1) {
6086 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6087 if (!SWIG_IsOK(ecode2)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6089 }
6090 arg2 = static_cast< bool >(val2);
6091 }
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (bool)(arg1)->EnableCloseButton(arg2);
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 {
6099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6100 }
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj = 0;
6109 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6110 byte arg2 ;
6111 bool result;
6112 void *argp1 = 0 ;
6113 int res1 = 0 ;
6114 unsigned char val2 ;
6115 int ecode2 = 0 ;
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 char * kwnames[] = {
6119 (char *) "self",(char *) "alpha", NULL
6120 };
6121
6122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6124 if (!SWIG_IsOK(res1)) {
6125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6126 }
6127 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6128 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6129 if (!SWIG_IsOK(ecode2)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6131 }
6132 arg2 = static_cast< byte >(val2);
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)(arg1)->SetTransparent(arg2);
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6141 }
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6149 PyObject *resultobj = 0;
6150 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6151 bool result;
6152 void *argp1 = 0 ;
6153 int res1 = 0 ;
6154 PyObject *swig_obj[1] ;
6155
6156 if (!args) SWIG_fail;
6157 swig_obj[0] = args;
6158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6159 if (!SWIG_IsOK(res1)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6161 }
6162 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (bool)(arg1)->CanSetTransparent();
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 {
6170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6171 }
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6179 PyObject *resultobj = 0;
6180 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6181 wxWindow *result = 0 ;
6182 void *argp1 = 0 ;
6183 int res1 = 0 ;
6184 PyObject *swig_obj[1] ;
6185
6186 if (!args) SWIG_fail;
6187 swig_obj[0] = args;
6188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6189 if (!SWIG_IsOK(res1)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6191 }
6192 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 {
6200 resultobj = wxPyMake_wxObject(result, 0);
6201 }
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj = 0;
6210 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6211 wxWindow *arg2 = (wxWindow *) 0 ;
6212 wxWindow *result = 0 ;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 void *argp2 = 0 ;
6216 int res2 = 0 ;
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj1 = 0 ;
6219 char * kwnames[] = {
6220 (char *) "self",(char *) "child", NULL
6221 };
6222
6223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6225 if (!SWIG_IsOK(res1)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6227 }
6228 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6230 if (!SWIG_IsOK(res2)) {
6231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6232 }
6233 arg2 = reinterpret_cast< wxWindow * >(argp2);
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 {
6241 resultobj = wxPyMake_wxObject(result, 0);
6242 }
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj = 0;
6251 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6252 wxWindow *arg2 = (wxWindow *) 0 ;
6253 void *argp1 = 0 ;
6254 int res1 = 0 ;
6255 void *argp2 = 0 ;
6256 int res2 = 0 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char * kwnames[] = {
6260 (char *) "self",(char *) "win", NULL
6261 };
6262
6263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6265 if (!SWIG_IsOK(res1)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6267 }
6268 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6270 if (!SWIG_IsOK(res2)) {
6271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6272 }
6273 arg2 = reinterpret_cast< wxWindow * >(argp2);
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 (arg1)->SetTmpDefaultItem(arg2);
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 resultobj = SWIG_Py_Void();
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6288 PyObject *resultobj = 0;
6289 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6290 wxWindow *result = 0 ;
6291 void *argp1 = 0 ;
6292 int res1 = 0 ;
6293 PyObject *swig_obj[1] ;
6294
6295 if (!args) SWIG_fail;
6296 swig_obj[0] = args;
6297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6298 if (!SWIG_IsOK(res1)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6300 }
6301 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 {
6309 resultobj = wxPyMake_wxObject(result, 0);
6310 }
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6318 PyObject *obj;
6319 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6320 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6321 return SWIG_Py_Void();
6322 }
6323
6324 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj = 0;
6326 wxWindow *arg1 = (wxWindow *) 0 ;
6327 int arg2 = (int) (int)-1 ;
6328 wxString const &arg3_defvalue = wxPyEmptyString ;
6329 wxString *arg3 = (wxString *) &arg3_defvalue ;
6330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6332 wxSize const &arg5_defvalue = wxDefaultSize ;
6333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6334 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6335 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6336 wxString *arg7 = (wxString *) &arg7_defvalue ;
6337 wxFrame *result = 0 ;
6338 void *argp1 = 0 ;
6339 int res1 = 0 ;
6340 int val2 ;
6341 int ecode2 = 0 ;
6342 bool temp3 = false ;
6343 wxPoint temp4 ;
6344 wxSize temp5 ;
6345 long val6 ;
6346 int ecode6 = 0 ;
6347 bool temp7 = false ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 PyObject * obj2 = 0 ;
6351 PyObject * obj3 = 0 ;
6352 PyObject * obj4 = 0 ;
6353 PyObject * obj5 = 0 ;
6354 PyObject * obj6 = 0 ;
6355 char * kwnames[] = {
6356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6357 };
6358
6359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6361 if (!SWIG_IsOK(res1)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6363 }
6364 arg1 = reinterpret_cast< wxWindow * >(argp1);
6365 if (obj1) {
6366 ecode2 = SWIG_AsVal_int(obj1, &val2);
6367 if (!SWIG_IsOK(ecode2)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6369 }
6370 arg2 = static_cast< int >(val2);
6371 }
6372 if (obj2) {
6373 {
6374 arg3 = wxString_in_helper(obj2);
6375 if (arg3 == NULL) SWIG_fail;
6376 temp3 = true;
6377 }
6378 }
6379 if (obj3) {
6380 {
6381 arg4 = &temp4;
6382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6383 }
6384 }
6385 if (obj4) {
6386 {
6387 arg5 = &temp5;
6388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6389 }
6390 }
6391 if (obj5) {
6392 ecode6 = SWIG_AsVal_long(obj5, &val6);
6393 if (!SWIG_IsOK(ecode6)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6395 }
6396 arg6 = static_cast< long >(val6);
6397 }
6398 if (obj6) {
6399 {
6400 arg7 = wxString_in_helper(obj6);
6401 if (arg7 == NULL) SWIG_fail;
6402 temp7 = true;
6403 }
6404 }
6405 {
6406 if (!wxPyCheckForApp()) SWIG_fail;
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6413 {
6414 if (temp3)
6415 delete arg3;
6416 }
6417 {
6418 if (temp7)
6419 delete arg7;
6420 }
6421 return resultobj;
6422 fail:
6423 {
6424 if (temp3)
6425 delete arg3;
6426 }
6427 {
6428 if (temp7)
6429 delete arg7;
6430 }
6431 return NULL;
6432 }
6433
6434
6435 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6436 PyObject *resultobj = 0;
6437 wxFrame *result = 0 ;
6438
6439 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6440 {
6441 if (!wxPyCheckForApp()) SWIG_fail;
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (wxFrame *)new wxFrame();
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj = 0;
6456 wxFrame *arg1 = (wxFrame *) 0 ;
6457 wxWindow *arg2 = (wxWindow *) 0 ;
6458 int arg3 = (int) (int)-1 ;
6459 wxString const &arg4_defvalue = wxPyEmptyString ;
6460 wxString *arg4 = (wxString *) &arg4_defvalue ;
6461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6463 wxSize const &arg6_defvalue = wxDefaultSize ;
6464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6465 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6466 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6467 wxString *arg8 = (wxString *) &arg8_defvalue ;
6468 bool result;
6469 void *argp1 = 0 ;
6470 int res1 = 0 ;
6471 void *argp2 = 0 ;
6472 int res2 = 0 ;
6473 int val3 ;
6474 int ecode3 = 0 ;
6475 bool temp4 = false ;
6476 wxPoint temp5 ;
6477 wxSize temp6 ;
6478 long val7 ;
6479 int ecode7 = 0 ;
6480 bool temp8 = false ;
6481 PyObject * obj0 = 0 ;
6482 PyObject * obj1 = 0 ;
6483 PyObject * obj2 = 0 ;
6484 PyObject * obj3 = 0 ;
6485 PyObject * obj4 = 0 ;
6486 PyObject * obj5 = 0 ;
6487 PyObject * obj6 = 0 ;
6488 PyObject * obj7 = 0 ;
6489 char * kwnames[] = {
6490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6491 };
6492
6493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6495 if (!SWIG_IsOK(res1)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6497 }
6498 arg1 = reinterpret_cast< wxFrame * >(argp1);
6499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6500 if (!SWIG_IsOK(res2)) {
6501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6502 }
6503 arg2 = reinterpret_cast< wxWindow * >(argp2);
6504 if (obj2) {
6505 ecode3 = SWIG_AsVal_int(obj2, &val3);
6506 if (!SWIG_IsOK(ecode3)) {
6507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6508 }
6509 arg3 = static_cast< int >(val3);
6510 }
6511 if (obj3) {
6512 {
6513 arg4 = wxString_in_helper(obj3);
6514 if (arg4 == NULL) SWIG_fail;
6515 temp4 = true;
6516 }
6517 }
6518 if (obj4) {
6519 {
6520 arg5 = &temp5;
6521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6522 }
6523 }
6524 if (obj5) {
6525 {
6526 arg6 = &temp6;
6527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6528 }
6529 }
6530 if (obj6) {
6531 ecode7 = SWIG_AsVal_long(obj6, &val7);
6532 if (!SWIG_IsOK(ecode7)) {
6533 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6534 }
6535 arg7 = static_cast< long >(val7);
6536 }
6537 if (obj7) {
6538 {
6539 arg8 = wxString_in_helper(obj7);
6540 if (arg8 == NULL) SWIG_fail;
6541 temp8 = true;
6542 }
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 {
6551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6552 }
6553 {
6554 if (temp4)
6555 delete arg4;
6556 }
6557 {
6558 if (temp8)
6559 delete arg8;
6560 }
6561 return resultobj;
6562 fail:
6563 {
6564 if (temp4)
6565 delete arg4;
6566 }
6567 {
6568 if (temp8)
6569 delete arg8;
6570 }
6571 return NULL;
6572 }
6573
6574
6575 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6576 PyObject *resultobj = 0;
6577 wxFrame *arg1 = (wxFrame *) 0 ;
6578 void *argp1 = 0 ;
6579 int res1 = 0 ;
6580 PyObject *swig_obj[1] ;
6581
6582 if (!args) SWIG_fail;
6583 swig_obj[0] = args;
6584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6585 if (!SWIG_IsOK(res1)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6587 }
6588 arg1 = reinterpret_cast< wxFrame * >(argp1);
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 (arg1)->SendSizeEvent();
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 resultobj = SWIG_Py_Void();
6596 return resultobj;
6597 fail:
6598 return NULL;
6599 }
6600
6601
6602 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj = 0;
6604 wxFrame *arg1 = (wxFrame *) 0 ;
6605 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6606 void *argp1 = 0 ;
6607 int res1 = 0 ;
6608 void *argp2 = 0 ;
6609 int res2 = 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 char * kwnames[] = {
6613 (char *) "self",(char *) "menubar", NULL
6614 };
6615
6616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6618 if (!SWIG_IsOK(res1)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6620 }
6621 arg1 = reinterpret_cast< wxFrame * >(argp1);
6622 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6623 if (!SWIG_IsOK(res2)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6625 }
6626 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 (arg1)->SetMenuBar(arg2);
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 resultobj = SWIG_Py_Void();
6634 return resultobj;
6635 fail:
6636 return NULL;
6637 }
6638
6639
6640 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6641 PyObject *resultobj = 0;
6642 wxFrame *arg1 = (wxFrame *) 0 ;
6643 wxMenuBar *result = 0 ;
6644 void *argp1 = 0 ;
6645 int res1 = 0 ;
6646 PyObject *swig_obj[1] ;
6647
6648 if (!args) SWIG_fail;
6649 swig_obj[0] = args;
6650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6651 if (!SWIG_IsOK(res1)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6653 }
6654 arg1 = reinterpret_cast< wxFrame * >(argp1);
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 {
6662 resultobj = wxPyMake_wxObject(result, 0);
6663 }
6664 return resultobj;
6665 fail:
6666 return NULL;
6667 }
6668
6669
6670 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj = 0;
6672 wxFrame *arg1 = (wxFrame *) 0 ;
6673 int arg2 ;
6674 bool result;
6675 void *argp1 = 0 ;
6676 int res1 = 0 ;
6677 int val2 ;
6678 int ecode2 = 0 ;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char * kwnames[] = {
6682 (char *) "self",(char *) "winid", NULL
6683 };
6684
6685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6687 if (!SWIG_IsOK(res1)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6689 }
6690 arg1 = reinterpret_cast< wxFrame * >(argp1);
6691 ecode2 = SWIG_AsVal_int(obj1, &val2);
6692 if (!SWIG_IsOK(ecode2)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6694 }
6695 arg2 = static_cast< int >(val2);
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (bool)(arg1)->ProcessCommand(arg2);
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 {
6703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6704 }
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj = 0;
6713 wxFrame *arg1 = (wxFrame *) 0 ;
6714 int arg2 = (int) 1 ;
6715 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6716 int arg4 = (int) 0 ;
6717 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6718 wxString *arg5 = (wxString *) &arg5_defvalue ;
6719 wxStatusBar *result = 0 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 int val2 ;
6723 int ecode2 = 0 ;
6724 long val3 ;
6725 int ecode3 = 0 ;
6726 int val4 ;
6727 int ecode4 = 0 ;
6728 bool temp5 = false ;
6729 PyObject * obj0 = 0 ;
6730 PyObject * obj1 = 0 ;
6731 PyObject * obj2 = 0 ;
6732 PyObject * obj3 = 0 ;
6733 PyObject * obj4 = 0 ;
6734 char * kwnames[] = {
6735 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6736 };
6737
6738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6742 }
6743 arg1 = reinterpret_cast< wxFrame * >(argp1);
6744 if (obj1) {
6745 ecode2 = SWIG_AsVal_int(obj1, &val2);
6746 if (!SWIG_IsOK(ecode2)) {
6747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6748 }
6749 arg2 = static_cast< int >(val2);
6750 }
6751 if (obj2) {
6752 ecode3 = SWIG_AsVal_long(obj2, &val3);
6753 if (!SWIG_IsOK(ecode3)) {
6754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6755 }
6756 arg3 = static_cast< long >(val3);
6757 }
6758 if (obj3) {
6759 ecode4 = SWIG_AsVal_int(obj3, &val4);
6760 if (!SWIG_IsOK(ecode4)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6762 }
6763 arg4 = static_cast< int >(val4);
6764 }
6765 if (obj4) {
6766 {
6767 arg5 = wxString_in_helper(obj4);
6768 if (arg5 == NULL) SWIG_fail;
6769 temp5 = true;
6770 }
6771 }
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 {
6779 resultobj = wxPyMake_wxObject(result, (bool)0);
6780 }
6781 {
6782 if (temp5)
6783 delete arg5;
6784 }
6785 return resultobj;
6786 fail:
6787 {
6788 if (temp5)
6789 delete arg5;
6790 }
6791 return NULL;
6792 }
6793
6794
6795 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6796 PyObject *resultobj = 0;
6797 wxFrame *arg1 = (wxFrame *) 0 ;
6798 wxStatusBar *result = 0 ;
6799 void *argp1 = 0 ;
6800 int res1 = 0 ;
6801 PyObject *swig_obj[1] ;
6802
6803 if (!args) SWIG_fail;
6804 swig_obj[0] = args;
6805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6806 if (!SWIG_IsOK(res1)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6808 }
6809 arg1 = reinterpret_cast< wxFrame * >(argp1);
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 {
6817 resultobj = wxPyMake_wxObject(result, (bool)0);
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj = 0;
6827 wxFrame *arg1 = (wxFrame *) 0 ;
6828 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6829 void *argp1 = 0 ;
6830 int res1 = 0 ;
6831 void *argp2 = 0 ;
6832 int res2 = 0 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char * kwnames[] = {
6836 (char *) "self",(char *) "statBar", NULL
6837 };
6838
6839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6841 if (!SWIG_IsOK(res1)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6843 }
6844 arg1 = reinterpret_cast< wxFrame * >(argp1);
6845 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6846 if (!SWIG_IsOK(res2)) {
6847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6848 }
6849 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 (arg1)->SetStatusBar(arg2);
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 resultobj = SWIG_Py_Void();
6857 return resultobj;
6858 fail:
6859 return NULL;
6860 }
6861
6862
6863 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj = 0;
6865 wxFrame *arg1 = (wxFrame *) 0 ;
6866 wxString *arg2 = 0 ;
6867 int arg3 = (int) 0 ;
6868 void *argp1 = 0 ;
6869 int res1 = 0 ;
6870 bool temp2 = false ;
6871 int val3 ;
6872 int ecode3 = 0 ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 PyObject * obj2 = 0 ;
6876 char * kwnames[] = {
6877 (char *) "self",(char *) "text",(char *) "number", NULL
6878 };
6879
6880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6882 if (!SWIG_IsOK(res1)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6884 }
6885 arg1 = reinterpret_cast< wxFrame * >(argp1);
6886 {
6887 arg2 = wxString_in_helper(obj1);
6888 if (arg2 == NULL) SWIG_fail;
6889 temp2 = true;
6890 }
6891 if (obj2) {
6892 ecode3 = SWIG_AsVal_int(obj2, &val3);
6893 if (!SWIG_IsOK(ecode3)) {
6894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6895 }
6896 arg3 = static_cast< int >(val3);
6897 }
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 resultobj = SWIG_Py_Void();
6905 {
6906 if (temp2)
6907 delete arg2;
6908 }
6909 return resultobj;
6910 fail:
6911 {
6912 if (temp2)
6913 delete arg2;
6914 }
6915 return NULL;
6916 }
6917
6918
6919 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj = 0;
6921 wxFrame *arg1 = (wxFrame *) 0 ;
6922 int arg2 ;
6923 int *arg3 = (int *) 0 ;
6924 void *argp1 = 0 ;
6925 int res1 = 0 ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 char * kwnames[] = {
6929 (char *) "self",(char *) "widths", NULL
6930 };
6931
6932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6934 if (!SWIG_IsOK(res1)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6936 }
6937 arg1 = reinterpret_cast< wxFrame * >(argp1);
6938 {
6939 arg2 = PyList_Size(obj1);
6940 arg3 = int_LIST_helper(obj1);
6941 if (arg3 == NULL) SWIG_fail;
6942 }
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 resultobj = SWIG_Py_Void();
6950 {
6951 if (arg3) delete [] arg3;
6952 }
6953 return resultobj;
6954 fail:
6955 {
6956 if (arg3) delete [] arg3;
6957 }
6958 return NULL;
6959 }
6960
6961
6962 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj = 0;
6964 wxFrame *arg1 = (wxFrame *) 0 ;
6965 wxString *arg2 = 0 ;
6966 int arg3 = (int) 0 ;
6967 void *argp1 = 0 ;
6968 int res1 = 0 ;
6969 bool temp2 = false ;
6970 int val3 ;
6971 int ecode3 = 0 ;
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 PyObject * obj2 = 0 ;
6975 char * kwnames[] = {
6976 (char *) "self",(char *) "text",(char *) "number", NULL
6977 };
6978
6979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6981 if (!SWIG_IsOK(res1)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6983 }
6984 arg1 = reinterpret_cast< wxFrame * >(argp1);
6985 {
6986 arg2 = wxString_in_helper(obj1);
6987 if (arg2 == NULL) SWIG_fail;
6988 temp2 = true;
6989 }
6990 if (obj2) {
6991 ecode3 = SWIG_AsVal_int(obj2, &val3);
6992 if (!SWIG_IsOK(ecode3)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6994 }
6995 arg3 = static_cast< int >(val3);
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_Py_Void();
7004 {
7005 if (temp2)
7006 delete arg2;
7007 }
7008 return resultobj;
7009 fail:
7010 {
7011 if (temp2)
7012 delete arg2;
7013 }
7014 return NULL;
7015 }
7016
7017
7018 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj = 0;
7020 wxFrame *arg1 = (wxFrame *) 0 ;
7021 int arg2 = (int) 0 ;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 int val2 ;
7025 int ecode2 = 0 ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 char * kwnames[] = {
7029 (char *) "self",(char *) "number", NULL
7030 };
7031
7032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7034 if (!SWIG_IsOK(res1)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7036 }
7037 arg1 = reinterpret_cast< wxFrame * >(argp1);
7038 if (obj1) {
7039 ecode2 = SWIG_AsVal_int(obj1, &val2);
7040 if (!SWIG_IsOK(ecode2)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7042 }
7043 arg2 = static_cast< int >(val2);
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 (arg1)->PopStatusText(arg2);
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_Py_Void();
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj = 0;
7060 wxFrame *arg1 = (wxFrame *) 0 ;
7061 int arg2 ;
7062 void *argp1 = 0 ;
7063 int res1 = 0 ;
7064 int val2 ;
7065 int ecode2 = 0 ;
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 char * kwnames[] = {
7069 (char *) "self",(char *) "n", NULL
7070 };
7071
7072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7074 if (!SWIG_IsOK(res1)) {
7075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7076 }
7077 arg1 = reinterpret_cast< wxFrame * >(argp1);
7078 ecode2 = SWIG_AsVal_int(obj1, &val2);
7079 if (!SWIG_IsOK(ecode2)) {
7080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7081 }
7082 arg2 = static_cast< int >(val2);
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetStatusBarPane(arg2);
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_Py_Void();
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7097 PyObject *resultobj = 0;
7098 wxFrame *arg1 = (wxFrame *) 0 ;
7099 int result;
7100 void *argp1 = 0 ;
7101 int res1 = 0 ;
7102 PyObject *swig_obj[1] ;
7103
7104 if (!args) SWIG_fail;
7105 swig_obj[0] = args;
7106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7107 if (!SWIG_IsOK(res1)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7109 }
7110 arg1 = reinterpret_cast< wxFrame * >(argp1);
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 resultobj = SWIG_From_int(static_cast< int >(result));
7118 return resultobj;
7119 fail:
7120 return NULL;
7121 }
7122
7123
7124 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj = 0;
7126 wxFrame *arg1 = (wxFrame *) 0 ;
7127 long arg2 = (long) -1 ;
7128 int arg3 = (int) -1 ;
7129 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7130 wxString *arg4 = (wxString *) &arg4_defvalue ;
7131 wxToolBar *result = 0 ;
7132 void *argp1 = 0 ;
7133 int res1 = 0 ;
7134 long val2 ;
7135 int ecode2 = 0 ;
7136 int val3 ;
7137 int ecode3 = 0 ;
7138 bool temp4 = false ;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 PyObject * obj2 = 0 ;
7142 PyObject * obj3 = 0 ;
7143 char * kwnames[] = {
7144 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7145 };
7146
7147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7149 if (!SWIG_IsOK(res1)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7151 }
7152 arg1 = reinterpret_cast< wxFrame * >(argp1);
7153 if (obj1) {
7154 ecode2 = SWIG_AsVal_long(obj1, &val2);
7155 if (!SWIG_IsOK(ecode2)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7157 }
7158 arg2 = static_cast< long >(val2);
7159 }
7160 if (obj2) {
7161 ecode3 = SWIG_AsVal_int(obj2, &val3);
7162 if (!SWIG_IsOK(ecode3)) {
7163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7164 }
7165 arg3 = static_cast< int >(val3);
7166 }
7167 if (obj3) {
7168 {
7169 arg4 = wxString_in_helper(obj3);
7170 if (arg4 == NULL) SWIG_fail;
7171 temp4 = true;
7172 }
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 {
7181 resultobj = wxPyMake_wxObject(result, (bool)0);
7182 }
7183 {
7184 if (temp4)
7185 delete arg4;
7186 }
7187 return resultobj;
7188 fail:
7189 {
7190 if (temp4)
7191 delete arg4;
7192 }
7193 return NULL;
7194 }
7195
7196
7197 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7198 PyObject *resultobj = 0;
7199 wxFrame *arg1 = (wxFrame *) 0 ;
7200 wxToolBar *result = 0 ;
7201 void *argp1 = 0 ;
7202 int res1 = 0 ;
7203 PyObject *swig_obj[1] ;
7204
7205 if (!args) SWIG_fail;
7206 swig_obj[0] = args;
7207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7208 if (!SWIG_IsOK(res1)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7210 }
7211 arg1 = reinterpret_cast< wxFrame * >(argp1);
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 {
7219 resultobj = wxPyMake_wxObject(result, (bool)0);
7220 }
7221 return resultobj;
7222 fail:
7223 return NULL;
7224 }
7225
7226
7227 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj = 0;
7229 wxFrame *arg1 = (wxFrame *) 0 ;
7230 wxToolBar *arg2 = (wxToolBar *) 0 ;
7231 void *argp1 = 0 ;
7232 int res1 = 0 ;
7233 void *argp2 = 0 ;
7234 int res2 = 0 ;
7235 PyObject * obj0 = 0 ;
7236 PyObject * obj1 = 0 ;
7237 char * kwnames[] = {
7238 (char *) "self",(char *) "toolbar", NULL
7239 };
7240
7241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7243 if (!SWIG_IsOK(res1)) {
7244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7245 }
7246 arg1 = reinterpret_cast< wxFrame * >(argp1);
7247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7248 if (!SWIG_IsOK(res2)) {
7249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7250 }
7251 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->SetToolBar(arg2);
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 resultobj = SWIG_Py_Void();
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj = 0;
7267 wxFrame *arg1 = (wxFrame *) 0 ;
7268 wxString *arg2 = 0 ;
7269 bool arg3 ;
7270 void *argp1 = 0 ;
7271 int res1 = 0 ;
7272 bool temp2 = false ;
7273 bool val3 ;
7274 int ecode3 = 0 ;
7275 PyObject * obj0 = 0 ;
7276 PyObject * obj1 = 0 ;
7277 PyObject * obj2 = 0 ;
7278 char * kwnames[] = {
7279 (char *) "self",(char *) "text",(char *) "show", NULL
7280 };
7281
7282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7284 if (!SWIG_IsOK(res1)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7286 }
7287 arg1 = reinterpret_cast< wxFrame * >(argp1);
7288 {
7289 arg2 = wxString_in_helper(obj1);
7290 if (arg2 == NULL) SWIG_fail;
7291 temp2 = true;
7292 }
7293 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7294 if (!SWIG_IsOK(ecode3)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7296 }
7297 arg3 = static_cast< bool >(val3);
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = SWIG_Py_Void();
7305 {
7306 if (temp2)
7307 delete arg2;
7308 }
7309 return resultobj;
7310 fail:
7311 {
7312 if (temp2)
7313 delete arg2;
7314 }
7315 return NULL;
7316 }
7317
7318
7319 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxFrame *arg1 = (wxFrame *) 0 ;
7322 wxMenu *arg2 = (wxMenu *) NULL ;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 void *argp2 = 0 ;
7326 int res2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "menu", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7337 }
7338 arg1 = reinterpret_cast< wxFrame * >(argp1);
7339 if (obj1) {
7340 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7341 if (!SWIG_IsOK(res2)) {
7342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7343 }
7344 arg2 = reinterpret_cast< wxMenu * >(argp2);
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->DoMenuUpdates(arg2);
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = SWIG_Py_Void();
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj = 0;
7361 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7362 SwigValueWrapper<wxVisualAttributes > result;
7363 int val1 ;
7364 int ecode1 = 0 ;
7365 PyObject * obj0 = 0 ;
7366 char * kwnames[] = {
7367 (char *) "variant", NULL
7368 };
7369
7370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7371 if (obj0) {
7372 ecode1 = SWIG_AsVal_int(obj0, &val1);
7373 if (!SWIG_IsOK(ecode1)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7375 }
7376 arg1 = static_cast< wxWindowVariant >(val1);
7377 }
7378 {
7379 if (!wxPyCheckForApp()) SWIG_fail;
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 result = wxFrame::GetClassDefaultAttributes(arg1);
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7393 PyObject *obj;
7394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7396 return SWIG_Py_Void();
7397 }
7398
7399 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7400 return SWIG_Python_InitShadowInstance(args);
7401 }
7402
7403 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj = 0;
7405 wxWindow *arg1 = (wxWindow *) 0 ;
7406 int arg2 = (int) (int)-1 ;
7407 wxString const &arg3_defvalue = wxPyEmptyString ;
7408 wxString *arg3 = (wxString *) &arg3_defvalue ;
7409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7411 wxSize const &arg5_defvalue = wxDefaultSize ;
7412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7413 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7414 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7415 wxString *arg7 = (wxString *) &arg7_defvalue ;
7416 wxDialog *result = 0 ;
7417 void *argp1 = 0 ;
7418 int res1 = 0 ;
7419 int val2 ;
7420 int ecode2 = 0 ;
7421 bool temp3 = false ;
7422 wxPoint temp4 ;
7423 wxSize temp5 ;
7424 long val6 ;
7425 int ecode6 = 0 ;
7426 bool temp7 = false ;
7427 PyObject * obj0 = 0 ;
7428 PyObject * obj1 = 0 ;
7429 PyObject * obj2 = 0 ;
7430 PyObject * obj3 = 0 ;
7431 PyObject * obj4 = 0 ;
7432 PyObject * obj5 = 0 ;
7433 PyObject * obj6 = 0 ;
7434 char * kwnames[] = {
7435 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7436 };
7437
7438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7440 if (!SWIG_IsOK(res1)) {
7441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7442 }
7443 arg1 = reinterpret_cast< wxWindow * >(argp1);
7444 if (obj1) {
7445 ecode2 = SWIG_AsVal_int(obj1, &val2);
7446 if (!SWIG_IsOK(ecode2)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7448 }
7449 arg2 = static_cast< int >(val2);
7450 }
7451 if (obj2) {
7452 {
7453 arg3 = wxString_in_helper(obj2);
7454 if (arg3 == NULL) SWIG_fail;
7455 temp3 = true;
7456 }
7457 }
7458 if (obj3) {
7459 {
7460 arg4 = &temp4;
7461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7462 }
7463 }
7464 if (obj4) {
7465 {
7466 arg5 = &temp5;
7467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7468 }
7469 }
7470 if (obj5) {
7471 ecode6 = SWIG_AsVal_long(obj5, &val6);
7472 if (!SWIG_IsOK(ecode6)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7474 }
7475 arg6 = static_cast< long >(val6);
7476 }
7477 if (obj6) {
7478 {
7479 arg7 = wxString_in_helper(obj6);
7480 if (arg7 == NULL) SWIG_fail;
7481 temp7 = true;
7482 }
7483 }
7484 {
7485 if (!wxPyCheckForApp()) SWIG_fail;
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7492 {
7493 if (temp3)
7494 delete arg3;
7495 }
7496 {
7497 if (temp7)
7498 delete arg7;
7499 }
7500 return resultobj;
7501 fail:
7502 {
7503 if (temp3)
7504 delete arg3;
7505 }
7506 {
7507 if (temp7)
7508 delete arg7;
7509 }
7510 return NULL;
7511 }
7512
7513
7514 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7515 PyObject *resultobj = 0;
7516 wxDialog *result = 0 ;
7517
7518 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7519 {
7520 if (!wxPyCheckForApp()) SWIG_fail;
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (wxDialog *)new wxDialog();
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7527 return resultobj;
7528 fail:
7529 return NULL;
7530 }
7531
7532
7533 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj = 0;
7535 wxDialog *arg1 = (wxDialog *) 0 ;
7536 wxWindow *arg2 = (wxWindow *) 0 ;
7537 int arg3 = (int) (int)-1 ;
7538 wxString const &arg4_defvalue = wxPyEmptyString ;
7539 wxString *arg4 = (wxString *) &arg4_defvalue ;
7540 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7541 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7542 wxSize const &arg6_defvalue = wxDefaultSize ;
7543 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7544 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7545 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7546 wxString *arg8 = (wxString *) &arg8_defvalue ;
7547 bool result;
7548 void *argp1 = 0 ;
7549 int res1 = 0 ;
7550 void *argp2 = 0 ;
7551 int res2 = 0 ;
7552 int val3 ;
7553 int ecode3 = 0 ;
7554 bool temp4 = false ;
7555 wxPoint temp5 ;
7556 wxSize temp6 ;
7557 long val7 ;
7558 int ecode7 = 0 ;
7559 bool temp8 = false ;
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
7562 PyObject * obj2 = 0 ;
7563 PyObject * obj3 = 0 ;
7564 PyObject * obj4 = 0 ;
7565 PyObject * obj5 = 0 ;
7566 PyObject * obj6 = 0 ;
7567 PyObject * obj7 = 0 ;
7568 char * kwnames[] = {
7569 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7570 };
7571
7572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7574 if (!SWIG_IsOK(res1)) {
7575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7576 }
7577 arg1 = reinterpret_cast< wxDialog * >(argp1);
7578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7579 if (!SWIG_IsOK(res2)) {
7580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7581 }
7582 arg2 = reinterpret_cast< wxWindow * >(argp2);
7583 if (obj2) {
7584 ecode3 = SWIG_AsVal_int(obj2, &val3);
7585 if (!SWIG_IsOK(ecode3)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7587 }
7588 arg3 = static_cast< int >(val3);
7589 }
7590 if (obj3) {
7591 {
7592 arg4 = wxString_in_helper(obj3);
7593 if (arg4 == NULL) SWIG_fail;
7594 temp4 = true;
7595 }
7596 }
7597 if (obj4) {
7598 {
7599 arg5 = &temp5;
7600 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7601 }
7602 }
7603 if (obj5) {
7604 {
7605 arg6 = &temp6;
7606 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7607 }
7608 }
7609 if (obj6) {
7610 ecode7 = SWIG_AsVal_long(obj6, &val7);
7611 if (!SWIG_IsOK(ecode7)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7613 }
7614 arg7 = static_cast< long >(val7);
7615 }
7616 if (obj7) {
7617 {
7618 arg8 = wxString_in_helper(obj7);
7619 if (arg8 == NULL) SWIG_fail;
7620 temp8 = true;
7621 }
7622 }
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 {
7630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7631 }
7632 {
7633 if (temp4)
7634 delete arg4;
7635 }
7636 {
7637 if (temp8)
7638 delete arg8;
7639 }
7640 return resultobj;
7641 fail:
7642 {
7643 if (temp4)
7644 delete arg4;
7645 }
7646 {
7647 if (temp8)
7648 delete arg8;
7649 }
7650 return NULL;
7651 }
7652
7653
7654 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj = 0;
7656 wxDialog *arg1 = (wxDialog *) 0 ;
7657 int arg2 ;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 int val2 ;
7661 int ecode2 = 0 ;
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char * kwnames[] = {
7665 (char *) "self",(char *) "returnCode", NULL
7666 };
7667
7668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7672 }
7673 arg1 = reinterpret_cast< wxDialog * >(argp1);
7674 ecode2 = SWIG_AsVal_int(obj1, &val2);
7675 if (!SWIG_IsOK(ecode2)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7677 }
7678 arg2 = static_cast< int >(val2);
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetReturnCode(arg2);
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = SWIG_Py_Void();
7686 return resultobj;
7687 fail:
7688 return NULL;
7689 }
7690
7691
7692 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7693 PyObject *resultobj = 0;
7694 wxDialog *arg1 = (wxDialog *) 0 ;
7695 int result;
7696 void *argp1 = 0 ;
7697 int res1 = 0 ;
7698 PyObject *swig_obj[1] ;
7699
7700 if (!args) SWIG_fail;
7701 swig_obj[0] = args;
7702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7703 if (!SWIG_IsOK(res1)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7705 }
7706 arg1 = reinterpret_cast< wxDialog * >(argp1);
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 resultobj = SWIG_From_int(static_cast< int >(result));
7714 return resultobj;
7715 fail:
7716 return NULL;
7717 }
7718
7719
7720 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj = 0;
7722 wxDialog *arg1 = (wxDialog *) 0 ;
7723 int arg2 ;
7724 void *argp1 = 0 ;
7725 int res1 = 0 ;
7726 int val2 ;
7727 int ecode2 = 0 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char * kwnames[] = {
7731 (char *) "self",(char *) "affirmativeId", NULL
7732 };
7733
7734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7736 if (!SWIG_IsOK(res1)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7738 }
7739 arg1 = reinterpret_cast< wxDialog * >(argp1);
7740 ecode2 = SWIG_AsVal_int(obj1, &val2);
7741 if (!SWIG_IsOK(ecode2)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7743 }
7744 arg2 = static_cast< int >(val2);
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetAffirmativeId(arg2);
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_Py_Void();
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759 PyObject *resultobj = 0;
7760 wxDialog *arg1 = (wxDialog *) 0 ;
7761 int result;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 PyObject *swig_obj[1] ;
7765
7766 if (!args) SWIG_fail;
7767 swig_obj[0] = args;
7768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7769 if (!SWIG_IsOK(res1)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7771 }
7772 arg1 = reinterpret_cast< wxDialog * >(argp1);
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 resultobj = SWIG_From_int(static_cast< int >(result));
7780 return resultobj;
7781 fail:
7782 return NULL;
7783 }
7784
7785
7786 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj = 0;
7788 wxDialog *arg1 = (wxDialog *) 0 ;
7789 int arg2 ;
7790 void *argp1 = 0 ;
7791 int res1 = 0 ;
7792 int val2 ;
7793 int ecode2 = 0 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char * kwnames[] = {
7797 (char *) "self",(char *) "escapeId", NULL
7798 };
7799
7800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7802 if (!SWIG_IsOK(res1)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7804 }
7805 arg1 = reinterpret_cast< wxDialog * >(argp1);
7806 ecode2 = SWIG_AsVal_int(obj1, &val2);
7807 if (!SWIG_IsOK(ecode2)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7809 }
7810 arg2 = static_cast< int >(val2);
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->SetEscapeId(arg2);
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_Py_Void();
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7825 PyObject *resultobj = 0;
7826 wxDialog *arg1 = (wxDialog *) 0 ;
7827 int result;
7828 void *argp1 = 0 ;
7829 int res1 = 0 ;
7830 PyObject *swig_obj[1] ;
7831
7832 if (!args) SWIG_fail;
7833 swig_obj[0] = args;
7834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7835 if (!SWIG_IsOK(res1)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7837 }
7838 arg1 = reinterpret_cast< wxDialog * >(argp1);
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_From_int(static_cast< int >(result));
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj = 0;
7854 wxDialog *arg1 = (wxDialog *) 0 ;
7855 wxString *arg2 = 0 ;
7856 wxSizer *result = 0 ;
7857 void *argp1 = 0 ;
7858 int res1 = 0 ;
7859 bool temp2 = false ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char * kwnames[] = {
7863 (char *) "self",(char *) "message", NULL
7864 };
7865
7866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7868 if (!SWIG_IsOK(res1)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7870 }
7871 arg1 = reinterpret_cast< wxDialog * >(argp1);
7872 {
7873 arg2 = wxString_in_helper(obj1);
7874 if (arg2 == NULL) SWIG_fail;
7875 temp2 = true;
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = wxPyMake_wxObject(result, (bool)0);
7885 }
7886 {
7887 if (temp2)
7888 delete arg2;
7889 }
7890 return resultobj;
7891 fail:
7892 {
7893 if (temp2)
7894 delete arg2;
7895 }
7896 return NULL;
7897 }
7898
7899
7900 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj = 0;
7902 wxDialog *arg1 = (wxDialog *) 0 ;
7903 long arg2 ;
7904 bool arg3 = (bool) false ;
7905 int arg4 = (int) 0 ;
7906 wxSizer *result = 0 ;
7907 void *argp1 = 0 ;
7908 int res1 = 0 ;
7909 long val2 ;
7910 int ecode2 = 0 ;
7911 bool val3 ;
7912 int ecode3 = 0 ;
7913 int val4 ;
7914 int ecode4 = 0 ;
7915 PyObject * obj0 = 0 ;
7916 PyObject * obj1 = 0 ;
7917 PyObject * obj2 = 0 ;
7918 PyObject * obj3 = 0 ;
7919 char * kwnames[] = {
7920 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7921 };
7922
7923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7925 if (!SWIG_IsOK(res1)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7927 }
7928 arg1 = reinterpret_cast< wxDialog * >(argp1);
7929 ecode2 = SWIG_AsVal_long(obj1, &val2);
7930 if (!SWIG_IsOK(ecode2)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7932 }
7933 arg2 = static_cast< long >(val2);
7934 if (obj2) {
7935 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7936 if (!SWIG_IsOK(ecode3)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7938 }
7939 arg3 = static_cast< bool >(val3);
7940 }
7941 if (obj3) {
7942 ecode4 = SWIG_AsVal_int(obj3, &val4);
7943 if (!SWIG_IsOK(ecode4)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7945 }
7946 arg4 = static_cast< int >(val4);
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = wxPyMake_wxObject(result, (bool)0);
7956 }
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj = 0;
7965 wxDialog *arg1 = (wxDialog *) 0 ;
7966 long arg2 ;
7967 wxStdDialogButtonSizer *result = 0 ;
7968 void *argp1 = 0 ;
7969 int res1 = 0 ;
7970 long val2 ;
7971 int ecode2 = 0 ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char * kwnames[] = {
7975 (char *) "self",(char *) "flags", NULL
7976 };
7977
7978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7982 }
7983 arg1 = reinterpret_cast< wxDialog * >(argp1);
7984 ecode2 = SWIG_AsVal_long(obj1, &val2);
7985 if (!SWIG_IsOK(ecode2)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7987 }
7988 arg2 = static_cast< long >(val2);
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7996 return resultobj;
7997 fail:
7998 return NULL;
7999 }
8000
8001
8002 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8003 PyObject *resultobj = 0;
8004 wxDialog *arg1 = (wxDialog *) 0 ;
8005 bool result;
8006 void *argp1 = 0 ;
8007 int res1 = 0 ;
8008 PyObject *swig_obj[1] ;
8009
8010 if (!args) SWIG_fail;
8011 swig_obj[0] = args;
8012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8013 if (!SWIG_IsOK(res1)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8015 }
8016 arg1 = reinterpret_cast< wxDialog * >(argp1);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxDialog const *)arg1)->IsModal();
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
8024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8025 }
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8033 PyObject *resultobj = 0;
8034 wxDialog *arg1 = (wxDialog *) 0 ;
8035 int result;
8036 void *argp1 = 0 ;
8037 int res1 = 0 ;
8038 PyObject *swig_obj[1] ;
8039
8040 if (!args) SWIG_fail;
8041 swig_obj[0] = args;
8042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8043 if (!SWIG_IsOK(res1)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8045 }
8046 arg1 = reinterpret_cast< wxDialog * >(argp1);
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = (int)(arg1)->ShowModal();
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 resultobj = SWIG_From_int(static_cast< int >(result));
8054 return resultobj;
8055 fail:
8056 return NULL;
8057 }
8058
8059
8060 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj = 0;
8062 wxDialog *arg1 = (wxDialog *) 0 ;
8063 int arg2 ;
8064 void *argp1 = 0 ;
8065 int res1 = 0 ;
8066 int val2 ;
8067 int ecode2 = 0 ;
8068 PyObject * obj0 = 0 ;
8069 PyObject * obj1 = 0 ;
8070 char * kwnames[] = {
8071 (char *) "self",(char *) "retCode", NULL
8072 };
8073
8074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8076 if (!SWIG_IsOK(res1)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8078 }
8079 arg1 = reinterpret_cast< wxDialog * >(argp1);
8080 ecode2 = SWIG_AsVal_int(obj1, &val2);
8081 if (!SWIG_IsOK(ecode2)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8083 }
8084 arg2 = static_cast< int >(val2);
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->EndModal(arg2);
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 resultobj = SWIG_Py_Void();
8092 return resultobj;
8093 fail:
8094 return NULL;
8095 }
8096
8097
8098 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj = 0;
8100 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8101 SwigValueWrapper<wxVisualAttributes > result;
8102 int val1 ;
8103 int ecode1 = 0 ;
8104 PyObject * obj0 = 0 ;
8105 char * kwnames[] = {
8106 (char *) "variant", NULL
8107 };
8108
8109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8110 if (obj0) {
8111 ecode1 = SWIG_AsVal_int(obj0, &val1);
8112 if (!SWIG_IsOK(ecode1)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8114 }
8115 arg1 = static_cast< wxWindowVariant >(val1);
8116 }
8117 {
8118 if (!wxPyCheckForApp()) SWIG_fail;
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 result = wxDialog::GetClassDefaultAttributes(arg1);
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8125 return resultobj;
8126 fail:
8127 return NULL;
8128 }
8129
8130
8131 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8132 PyObject *obj;
8133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8134 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8135 return SWIG_Py_Void();
8136 }
8137
8138 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8139 return SWIG_Python_InitShadowInstance(args);
8140 }
8141
8142 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj = 0;
8144 wxWindow *arg1 = (wxWindow *) 0 ;
8145 int arg2 = (int) (int)-1 ;
8146 wxString const &arg3_defvalue = wxPyEmptyString ;
8147 wxString *arg3 = (wxString *) &arg3_defvalue ;
8148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8150 wxSize const &arg5_defvalue = wxDefaultSize ;
8151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8152 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8153 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8154 wxString *arg7 = (wxString *) &arg7_defvalue ;
8155 wxMiniFrame *result = 0 ;
8156 void *argp1 = 0 ;
8157 int res1 = 0 ;
8158 int val2 ;
8159 int ecode2 = 0 ;
8160 bool temp3 = false ;
8161 wxPoint temp4 ;
8162 wxSize temp5 ;
8163 long val6 ;
8164 int ecode6 = 0 ;
8165 bool temp7 = false ;
8166 PyObject * obj0 = 0 ;
8167 PyObject * obj1 = 0 ;
8168 PyObject * obj2 = 0 ;
8169 PyObject * obj3 = 0 ;
8170 PyObject * obj4 = 0 ;
8171 PyObject * obj5 = 0 ;
8172 PyObject * obj6 = 0 ;
8173 char * kwnames[] = {
8174 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8175 };
8176
8177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8179 if (!SWIG_IsOK(res1)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8181 }
8182 arg1 = reinterpret_cast< wxWindow * >(argp1);
8183 if (obj1) {
8184 ecode2 = SWIG_AsVal_int(obj1, &val2);
8185 if (!SWIG_IsOK(ecode2)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8187 }
8188 arg2 = static_cast< int >(val2);
8189 }
8190 if (obj2) {
8191 {
8192 arg3 = wxString_in_helper(obj2);
8193 if (arg3 == NULL) SWIG_fail;
8194 temp3 = true;
8195 }
8196 }
8197 if (obj3) {
8198 {
8199 arg4 = &temp4;
8200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8201 }
8202 }
8203 if (obj4) {
8204 {
8205 arg5 = &temp5;
8206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8207 }
8208 }
8209 if (obj5) {
8210 ecode6 = SWIG_AsVal_long(obj5, &val6);
8211 if (!SWIG_IsOK(ecode6)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8213 }
8214 arg6 = static_cast< long >(val6);
8215 }
8216 if (obj6) {
8217 {
8218 arg7 = wxString_in_helper(obj6);
8219 if (arg7 == NULL) SWIG_fail;
8220 temp7 = true;
8221 }
8222 }
8223 {
8224 if (!wxPyCheckForApp()) SWIG_fail;
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8231 {
8232 if (temp3)
8233 delete arg3;
8234 }
8235 {
8236 if (temp7)
8237 delete arg7;
8238 }
8239 return resultobj;
8240 fail:
8241 {
8242 if (temp3)
8243 delete arg3;
8244 }
8245 {
8246 if (temp7)
8247 delete arg7;
8248 }
8249 return NULL;
8250 }
8251
8252
8253 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8254 PyObject *resultobj = 0;
8255 wxMiniFrame *result = 0 ;
8256
8257 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8258 {
8259 if (!wxPyCheckForApp()) SWIG_fail;
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (wxMiniFrame *)new wxMiniFrame();
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8266 return resultobj;
8267 fail:
8268 return NULL;
8269 }
8270
8271
8272 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj = 0;
8274 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8275 wxWindow *arg2 = (wxWindow *) 0 ;
8276 int arg3 = (int) (int)-1 ;
8277 wxString const &arg4_defvalue = wxPyEmptyString ;
8278 wxString *arg4 = (wxString *) &arg4_defvalue ;
8279 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8280 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8281 wxSize const &arg6_defvalue = wxDefaultSize ;
8282 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8283 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8284 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8285 wxString *arg8 = (wxString *) &arg8_defvalue ;
8286 bool result;
8287 void *argp1 = 0 ;
8288 int res1 = 0 ;
8289 void *argp2 = 0 ;
8290 int res2 = 0 ;
8291 int val3 ;
8292 int ecode3 = 0 ;
8293 bool temp4 = false ;
8294 wxPoint temp5 ;
8295 wxSize temp6 ;
8296 long val7 ;
8297 int ecode7 = 0 ;
8298 bool temp8 = false ;
8299 PyObject * obj0 = 0 ;
8300 PyObject * obj1 = 0 ;
8301 PyObject * obj2 = 0 ;
8302 PyObject * obj3 = 0 ;
8303 PyObject * obj4 = 0 ;
8304 PyObject * obj5 = 0 ;
8305 PyObject * obj6 = 0 ;
8306 PyObject * obj7 = 0 ;
8307 char * kwnames[] = {
8308 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8309 };
8310
8311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8313 if (!SWIG_IsOK(res1)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8315 }
8316 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8317 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8318 if (!SWIG_IsOK(res2)) {
8319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8320 }
8321 arg2 = reinterpret_cast< wxWindow * >(argp2);
8322 if (obj2) {
8323 ecode3 = SWIG_AsVal_int(obj2, &val3);
8324 if (!SWIG_IsOK(ecode3)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8326 }
8327 arg3 = static_cast< int >(val3);
8328 }
8329 if (obj3) {
8330 {
8331 arg4 = wxString_in_helper(obj3);
8332 if (arg4 == NULL) SWIG_fail;
8333 temp4 = true;
8334 }
8335 }
8336 if (obj4) {
8337 {
8338 arg5 = &temp5;
8339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8340 }
8341 }
8342 if (obj5) {
8343 {
8344 arg6 = &temp6;
8345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8346 }
8347 }
8348 if (obj6) {
8349 ecode7 = SWIG_AsVal_long(obj6, &val7);
8350 if (!SWIG_IsOK(ecode7)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8352 }
8353 arg7 = static_cast< long >(val7);
8354 }
8355 if (obj7) {
8356 {
8357 arg8 = wxString_in_helper(obj7);
8358 if (arg8 == NULL) SWIG_fail;
8359 temp8 = true;
8360 }
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 {
8369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8370 }
8371 {
8372 if (temp4)
8373 delete arg4;
8374 }
8375 {
8376 if (temp8)
8377 delete arg8;
8378 }
8379 return resultobj;
8380 fail:
8381 {
8382 if (temp4)
8383 delete arg4;
8384 }
8385 {
8386 if (temp8)
8387 delete arg8;
8388 }
8389 return NULL;
8390 }
8391
8392
8393 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8394 PyObject *obj;
8395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8396 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8397 return SWIG_Py_Void();
8398 }
8399
8400 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8401 return SWIG_Python_InitShadowInstance(args);
8402 }
8403
8404 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj = 0;
8406 wxBitmap *arg1 = 0 ;
8407 wxWindow *arg2 = (wxWindow *) 0 ;
8408 int arg3 ;
8409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8411 wxSize const &arg5_defvalue = wxDefaultSize ;
8412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8413 long arg6 = (long) wxNO_BORDER ;
8414 wxSplashScreenWindow *result = 0 ;
8415 void *argp1 = 0 ;
8416 int res1 = 0 ;
8417 void *argp2 = 0 ;
8418 int res2 = 0 ;
8419 int val3 ;
8420 int ecode3 = 0 ;
8421 wxPoint temp4 ;
8422 wxSize temp5 ;
8423 long val6 ;
8424 int ecode6 = 0 ;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 PyObject * obj2 = 0 ;
8428 PyObject * obj3 = 0 ;
8429 PyObject * obj4 = 0 ;
8430 PyObject * obj5 = 0 ;
8431 char * kwnames[] = {
8432 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8433 };
8434
8435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8436 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8437 if (!SWIG_IsOK(res1)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8439 }
8440 if (!argp1) {
8441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8442 }
8443 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8444 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8445 if (!SWIG_IsOK(res2)) {
8446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8447 }
8448 arg2 = reinterpret_cast< wxWindow * >(argp2);
8449 ecode3 = SWIG_AsVal_int(obj2, &val3);
8450 if (!SWIG_IsOK(ecode3)) {
8451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8452 }
8453 arg3 = static_cast< int >(val3);
8454 if (obj3) {
8455 {
8456 arg4 = &temp4;
8457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8458 }
8459 }
8460 if (obj4) {
8461 {
8462 arg5 = &temp5;
8463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8464 }
8465 }
8466 if (obj5) {
8467 ecode6 = SWIG_AsVal_long(obj5, &val6);
8468 if (!SWIG_IsOK(ecode6)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8470 }
8471 arg6 = static_cast< long >(val6);
8472 }
8473 {
8474 if (!wxPyCheckForApp()) SWIG_fail;
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj = 0;
8489 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8490 wxBitmap *arg2 = 0 ;
8491 void *argp1 = 0 ;
8492 int res1 = 0 ;
8493 void *argp2 = 0 ;
8494 int res2 = 0 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char * kwnames[] = {
8498 (char *) "self",(char *) "bitmap", NULL
8499 };
8500
8501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8503 if (!SWIG_IsOK(res1)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8505 }
8506 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8507 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8508 if (!SWIG_IsOK(res2)) {
8509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8510 }
8511 if (!argp2) {
8512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8513 }
8514 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 resultobj = SWIG_Py_Void();
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8529 PyObject *resultobj = 0;
8530 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8531 wxBitmap *result = 0 ;
8532 void *argp1 = 0 ;
8533 int res1 = 0 ;
8534 PyObject *swig_obj[1] ;
8535
8536 if (!args) SWIG_fail;
8537 swig_obj[0] = args;
8538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8539 if (!SWIG_IsOK(res1)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8541 }
8542 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 {
8546 wxBitmap &_result_ref = (arg1)->GetBitmap();
8547 result = (wxBitmap *) &_result_ref;
8548 }
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 {
8553 wxBitmap* resultptr = new wxBitmap(*result);
8554 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8563 PyObject *obj;
8564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8566 return SWIG_Py_Void();
8567 }
8568
8569 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8570 return SWIG_Python_InitShadowInstance(args);
8571 }
8572
8573 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj = 0;
8575 wxBitmap *arg1 = 0 ;
8576 long arg2 ;
8577 int arg3 ;
8578 wxWindow *arg4 = (wxWindow *) 0 ;
8579 int arg5 = (int) -1 ;
8580 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8581 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8582 wxSize const &arg7_defvalue = wxDefaultSize ;
8583 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8584 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8585 wxSplashScreen *result = 0 ;
8586 void *argp1 = 0 ;
8587 int res1 = 0 ;
8588 long val2 ;
8589 int ecode2 = 0 ;
8590 int val3 ;
8591 int ecode3 = 0 ;
8592 void *argp4 = 0 ;
8593 int res4 = 0 ;
8594 int val5 ;
8595 int ecode5 = 0 ;
8596 wxPoint temp6 ;
8597 wxSize temp7 ;
8598 long val8 ;
8599 int ecode8 = 0 ;
8600 PyObject * obj0 = 0 ;
8601 PyObject * obj1 = 0 ;
8602 PyObject * obj2 = 0 ;
8603 PyObject * obj3 = 0 ;
8604 PyObject * obj4 = 0 ;
8605 PyObject * obj5 = 0 ;
8606 PyObject * obj6 = 0 ;
8607 PyObject * obj7 = 0 ;
8608 char * kwnames[] = {
8609 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8610 };
8611
8612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8613 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8614 if (!SWIG_IsOK(res1)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8616 }
8617 if (!argp1) {
8618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8619 }
8620 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8621 ecode2 = SWIG_AsVal_long(obj1, &val2);
8622 if (!SWIG_IsOK(ecode2)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8624 }
8625 arg2 = static_cast< long >(val2);
8626 ecode3 = SWIG_AsVal_int(obj2, &val3);
8627 if (!SWIG_IsOK(ecode3)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8629 }
8630 arg3 = static_cast< int >(val3);
8631 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8632 if (!SWIG_IsOK(res4)) {
8633 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8634 }
8635 arg4 = reinterpret_cast< wxWindow * >(argp4);
8636 if (obj4) {
8637 ecode5 = SWIG_AsVal_int(obj4, &val5);
8638 if (!SWIG_IsOK(ecode5)) {
8639 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8640 }
8641 arg5 = static_cast< int >(val5);
8642 }
8643 if (obj5) {
8644 {
8645 arg6 = &temp6;
8646 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8647 }
8648 }
8649 if (obj6) {
8650 {
8651 arg7 = &temp7;
8652 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8653 }
8654 }
8655 if (obj7) {
8656 ecode8 = SWIG_AsVal_long(obj7, &val8);
8657 if (!SWIG_IsOK(ecode8)) {
8658 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8659 }
8660 arg8 = static_cast< long >(val8);
8661 }
8662 {
8663 if (!wxPyCheckForApp()) SWIG_fail;
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8677 PyObject *resultobj = 0;
8678 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8679 long result;
8680 void *argp1 = 0 ;
8681 int res1 = 0 ;
8682 PyObject *swig_obj[1] ;
8683
8684 if (!args) SWIG_fail;
8685 swig_obj[0] = args;
8686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8687 if (!SWIG_IsOK(res1)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8689 }
8690 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = SWIG_From_long(static_cast< long >(result));
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8705 PyObject *resultobj = 0;
8706 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8707 wxSplashScreenWindow *result = 0 ;
8708 void *argp1 = 0 ;
8709 int res1 = 0 ;
8710 PyObject *swig_obj[1] ;
8711
8712 if (!args) SWIG_fail;
8713 swig_obj[0] = args;
8714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8715 if (!SWIG_IsOK(res1)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8717 }
8718 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8733 PyObject *resultobj = 0;
8734 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8735 int result;
8736 void *argp1 = 0 ;
8737 int res1 = 0 ;
8738 PyObject *swig_obj[1] ;
8739
8740 if (!args) SWIG_fail;
8741 swig_obj[0] = args;
8742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8743 if (!SWIG_IsOK(res1)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8745 }
8746 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 resultobj = SWIG_From_int(static_cast< int >(result));
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8761 PyObject *obj;
8762 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8763 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8764 return SWIG_Py_Void();
8765 }
8766
8767 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8768 return SWIG_Python_InitShadowInstance(args);
8769 }
8770
8771 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj = 0;
8773 wxWindow *arg1 = (wxWindow *) 0 ;
8774 int arg2 = (int) -1 ;
8775 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8776 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8777 wxString *arg4 = (wxString *) &arg4_defvalue ;
8778 wxStatusBar *result = 0 ;
8779 void *argp1 = 0 ;
8780 int res1 = 0 ;
8781 int val2 ;
8782 int ecode2 = 0 ;
8783 long val3 ;
8784 int ecode3 = 0 ;
8785 bool temp4 = false ;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 PyObject * obj3 = 0 ;
8790 char * kwnames[] = {
8791 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8792 };
8793
8794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8796 if (!SWIG_IsOK(res1)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8798 }
8799 arg1 = reinterpret_cast< wxWindow * >(argp1);
8800 if (obj1) {
8801 ecode2 = SWIG_AsVal_int(obj1, &val2);
8802 if (!SWIG_IsOK(ecode2)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8804 }
8805 arg2 = static_cast< int >(val2);
8806 }
8807 if (obj2) {
8808 ecode3 = SWIG_AsVal_long(obj2, &val3);
8809 if (!SWIG_IsOK(ecode3)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8811 }
8812 arg3 = static_cast< long >(val3);
8813 }
8814 if (obj3) {
8815 {
8816 arg4 = wxString_in_helper(obj3);
8817 if (arg4 == NULL) SWIG_fail;
8818 temp4 = true;
8819 }
8820 }
8821 {
8822 if (!wxPyCheckForApp()) SWIG_fail;
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8829 {
8830 if (temp4)
8831 delete arg4;
8832 }
8833 return resultobj;
8834 fail:
8835 {
8836 if (temp4)
8837 delete arg4;
8838 }
8839 return NULL;
8840 }
8841
8842
8843 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8844 PyObject *resultobj = 0;
8845 wxStatusBar *result = 0 ;
8846
8847 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8848 {
8849 if (!wxPyCheckForApp()) SWIG_fail;
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (wxStatusBar *)new wxStatusBar();
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj = 0;
8864 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8865 wxWindow *arg2 = (wxWindow *) 0 ;
8866 int arg3 = (int) -1 ;
8867 long arg4 = (long) wxST_SIZEGRIP ;
8868 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8869 wxString *arg5 = (wxString *) &arg5_defvalue ;
8870 bool result;
8871 void *argp1 = 0 ;
8872 int res1 = 0 ;
8873 void *argp2 = 0 ;
8874 int res2 = 0 ;
8875 int val3 ;
8876 int ecode3 = 0 ;
8877 long val4 ;
8878 int ecode4 = 0 ;
8879 bool temp5 = false ;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 PyObject * obj2 = 0 ;
8883 PyObject * obj3 = 0 ;
8884 PyObject * obj4 = 0 ;
8885 char * kwnames[] = {
8886 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8887 };
8888
8889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8891 if (!SWIG_IsOK(res1)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8893 }
8894 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8896 if (!SWIG_IsOK(res2)) {
8897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8898 }
8899 arg2 = reinterpret_cast< wxWindow * >(argp2);
8900 if (obj2) {
8901 ecode3 = SWIG_AsVal_int(obj2, &val3);
8902 if (!SWIG_IsOK(ecode3)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8904 }
8905 arg3 = static_cast< int >(val3);
8906 }
8907 if (obj3) {
8908 ecode4 = SWIG_AsVal_long(obj3, &val4);
8909 if (!SWIG_IsOK(ecode4)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8911 }
8912 arg4 = static_cast< long >(val4);
8913 }
8914 if (obj4) {
8915 {
8916 arg5 = wxString_in_helper(obj4);
8917 if (arg5 == NULL) SWIG_fail;
8918 temp5 = true;
8919 }
8920 }
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 {
8928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8929 }
8930 {
8931 if (temp5)
8932 delete arg5;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp5)
8938 delete arg5;
8939 }
8940 return NULL;
8941 }
8942
8943
8944 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8947 int arg2 = (int) 1 ;
8948 void *argp1 = 0 ;
8949 int res1 = 0 ;
8950 int val2 ;
8951 int ecode2 = 0 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char * kwnames[] = {
8955 (char *) "self",(char *) "number", NULL
8956 };
8957
8958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8960 if (!SWIG_IsOK(res1)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8962 }
8963 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8964 if (obj1) {
8965 ecode2 = SWIG_AsVal_int(obj1, &val2);
8966 if (!SWIG_IsOK(ecode2)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8968 }
8969 arg2 = static_cast< int >(val2);
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 (arg1)->SetFieldsCount(arg2);
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 resultobj = SWIG_Py_Void();
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8985 PyObject *resultobj = 0;
8986 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8987 int result;
8988 void *argp1 = 0 ;
8989 int res1 = 0 ;
8990 PyObject *swig_obj[1] ;
8991
8992 if (!args) SWIG_fail;
8993 swig_obj[0] = args;
8994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8995 if (!SWIG_IsOK(res1)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8997 }
8998 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 resultobj = SWIG_From_int(static_cast< int >(result));
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj = 0;
9014 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9015 wxString *arg2 = 0 ;
9016 int arg3 = (int) 0 ;
9017 void *argp1 = 0 ;
9018 int res1 = 0 ;
9019 bool temp2 = false ;
9020 int val3 ;
9021 int ecode3 = 0 ;
9022 PyObject * obj0 = 0 ;
9023 PyObject * obj1 = 0 ;
9024 PyObject * obj2 = 0 ;
9025 char * kwnames[] = {
9026 (char *) "self",(char *) "text",(char *) "number", NULL
9027 };
9028
9029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9031 if (!SWIG_IsOK(res1)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9033 }
9034 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9035 {
9036 arg2 = wxString_in_helper(obj1);
9037 if (arg2 == NULL) SWIG_fail;
9038 temp2 = true;
9039 }
9040 if (obj2) {
9041 ecode3 = SWIG_AsVal_int(obj2, &val3);
9042 if (!SWIG_IsOK(ecode3)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9044 }
9045 arg3 = static_cast< int >(val3);
9046 }
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = SWIG_Py_Void();
9054 {
9055 if (temp2)
9056 delete arg2;
9057 }
9058 return resultobj;
9059 fail:
9060 {
9061 if (temp2)
9062 delete arg2;
9063 }
9064 return NULL;
9065 }
9066
9067
9068 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj = 0;
9070 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9071 int arg2 = (int) 0 ;
9072 wxString result;
9073 void *argp1 = 0 ;
9074 int res1 = 0 ;
9075 int val2 ;
9076 int ecode2 = 0 ;
9077 PyObject * obj0 = 0 ;
9078 PyObject * obj1 = 0 ;
9079 char * kwnames[] = {
9080 (char *) "self",(char *) "number", NULL
9081 };
9082
9083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9085 if (!SWIG_IsOK(res1)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9087 }
9088 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9089 if (obj1) {
9090 ecode2 = SWIG_AsVal_int(obj1, &val2);
9091 if (!SWIG_IsOK(ecode2)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9093 }
9094 arg2 = static_cast< int >(val2);
9095 }
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 {
9103 #if wxUSE_UNICODE
9104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9105 #else
9106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9107 #endif
9108 }
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj = 0;
9117 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9118 wxString *arg2 = 0 ;
9119 int arg3 = (int) 0 ;
9120 void *argp1 = 0 ;
9121 int res1 = 0 ;
9122 bool temp2 = false ;
9123 int val3 ;
9124 int ecode3 = 0 ;
9125 PyObject * obj0 = 0 ;
9126 PyObject * obj1 = 0 ;
9127 PyObject * obj2 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "text",(char *) "number", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9136 }
9137 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9138 {
9139 arg2 = wxString_in_helper(obj1);
9140 if (arg2 == NULL) SWIG_fail;
9141 temp2 = true;
9142 }
9143 if (obj2) {
9144 ecode3 = SWIG_AsVal_int(obj2, &val3);
9145 if (!SWIG_IsOK(ecode3)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9147 }
9148 arg3 = static_cast< int >(val3);
9149 }
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_Py_Void();
9157 {
9158 if (temp2)
9159 delete arg2;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (temp2)
9165 delete arg2;
9166 }
9167 return NULL;
9168 }
9169
9170
9171 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj = 0;
9173 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9174 int arg2 = (int) 0 ;
9175 void *argp1 = 0 ;
9176 int res1 = 0 ;
9177 int val2 ;
9178 int ecode2 = 0 ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char * kwnames[] = {
9182 (char *) "self",(char *) "number", NULL
9183 };
9184
9185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9187 if (!SWIG_IsOK(res1)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9189 }
9190 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9191 if (obj1) {
9192 ecode2 = SWIG_AsVal_int(obj1, &val2);
9193 if (!SWIG_IsOK(ecode2)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9195 }
9196 arg2 = static_cast< int >(val2);
9197 }
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 (arg1)->PopStatusText(arg2);
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 resultobj = SWIG_Py_Void();
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj = 0;
9213 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9214 int arg2 ;
9215 int *arg3 = (int *) 0 ;
9216 void *argp1 = 0 ;
9217 int res1 = 0 ;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 char * kwnames[] = {
9221 (char *) "self",(char *) "widths", NULL
9222 };
9223
9224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9226 if (!SWIG_IsOK(res1)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9228 }
9229 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9230 {
9231 arg2 = PyList_Size(obj1);
9232 arg3 = int_LIST_helper(obj1);
9233 if (arg3 == NULL) SWIG_fail;
9234 }
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 resultobj = SWIG_Py_Void();
9242 {
9243 if (arg3) delete [] arg3;
9244 }
9245 return resultobj;
9246 fail:
9247 {
9248 if (arg3) delete [] arg3;
9249 }
9250 return NULL;
9251 }
9252
9253
9254 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj = 0;
9256 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9257 int arg2 ;
9258 int *arg3 = (int *) 0 ;
9259 void *argp1 = 0 ;
9260 int res1 = 0 ;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 char * kwnames[] = {
9264 (char *) "self",(char *) "styles", NULL
9265 };
9266
9267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9269 if (!SWIG_IsOK(res1)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9271 }
9272 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9273 {
9274 arg2 = PyList_Size(obj1);
9275 arg3 = int_LIST_helper(obj1);
9276 if (arg3 == NULL) SWIG_fail;
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = SWIG_Py_Void();
9285 {
9286 if (arg3) delete [] arg3;
9287 }
9288 return resultobj;
9289 fail:
9290 {
9291 if (arg3) delete [] arg3;
9292 }
9293 return NULL;
9294 }
9295
9296
9297 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj = 0;
9299 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9300 int arg2 ;
9301 wxRect result;
9302 void *argp1 = 0 ;
9303 int res1 = 0 ;
9304 int val2 ;
9305 int ecode2 = 0 ;
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 char * kwnames[] = {
9309 (char *) "self",(char *) "i", NULL
9310 };
9311
9312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9314 if (!SWIG_IsOK(res1)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9316 }
9317 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9318 ecode2 = SWIG_AsVal_int(obj1, &val2);
9319 if (!SWIG_IsOK(ecode2)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9321 }
9322 arg2 = static_cast< int >(val2);
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = wxStatusBar_GetFieldRect(arg1,arg2);
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj = 0;
9338 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9339 int arg2 ;
9340 void *argp1 = 0 ;
9341 int res1 = 0 ;
9342 int val2 ;
9343 int ecode2 = 0 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 char * kwnames[] = {
9347 (char *) "self",(char *) "height", NULL
9348 };
9349
9350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9354 }
9355 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9356 ecode2 = SWIG_AsVal_int(obj1, &val2);
9357 if (!SWIG_IsOK(ecode2)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9359 }
9360 arg2 = static_cast< int >(val2);
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->SetMinHeight(arg2);
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 resultobj = SWIG_Py_Void();
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9375 PyObject *resultobj = 0;
9376 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9377 int result;
9378 void *argp1 = 0 ;
9379 int res1 = 0 ;
9380 PyObject *swig_obj[1] ;
9381
9382 if (!args) SWIG_fail;
9383 swig_obj[0] = args;
9384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9385 if (!SWIG_IsOK(res1)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9387 }
9388 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 resultobj = SWIG_From_int(static_cast< int >(result));
9396 return resultobj;
9397 fail:
9398 return NULL;
9399 }
9400
9401
9402 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9403 PyObject *resultobj = 0;
9404 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9405 int result;
9406 void *argp1 = 0 ;
9407 int res1 = 0 ;
9408 PyObject *swig_obj[1] ;
9409
9410 if (!args) SWIG_fail;
9411 swig_obj[0] = args;
9412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9413 if (!SWIG_IsOK(res1)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9415 }
9416 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = SWIG_From_int(static_cast< int >(result));
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj = 0;
9432 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9433 SwigValueWrapper<wxVisualAttributes > result;
9434 int val1 ;
9435 int ecode1 = 0 ;
9436 PyObject * obj0 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "variant", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9442 if (obj0) {
9443 ecode1 = SWIG_AsVal_int(obj0, &val1);
9444 if (!SWIG_IsOK(ecode1)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9446 }
9447 arg1 = static_cast< wxWindowVariant >(val1);
9448 }
9449 {
9450 if (!wxPyCheckForApp()) SWIG_fail;
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *obj;
9465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9466 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9467 return SWIG_Py_Void();
9468 }
9469
9470 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9471 return SWIG_Python_InitShadowInstance(args);
9472 }
9473
9474 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9475 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9476 return 1;
9477 }
9478
9479
9480 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9481 PyObject *pyobj = 0;
9482
9483 {
9484 #if wxUSE_UNICODE
9485 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9486 #else
9487 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9488 #endif
9489 }
9490 return pyobj;
9491 }
9492
9493
9494 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj = 0;
9496 wxWindow *arg1 = (wxWindow *) 0 ;
9497 int arg2 = (int) -1 ;
9498 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9499 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9500 wxSize const &arg4_defvalue = wxDefaultSize ;
9501 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9502 long arg5 = (long) wxSP_3D ;
9503 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9504 wxString *arg6 = (wxString *) &arg6_defvalue ;
9505 wxSplitterWindow *result = 0 ;
9506 void *argp1 = 0 ;
9507 int res1 = 0 ;
9508 int val2 ;
9509 int ecode2 = 0 ;
9510 wxPoint temp3 ;
9511 wxSize temp4 ;
9512 long val5 ;
9513 int ecode5 = 0 ;
9514 bool temp6 = false ;
9515 PyObject * obj0 = 0 ;
9516 PyObject * obj1 = 0 ;
9517 PyObject * obj2 = 0 ;
9518 PyObject * obj3 = 0 ;
9519 PyObject * obj4 = 0 ;
9520 PyObject * obj5 = 0 ;
9521 char * kwnames[] = {
9522 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9523 };
9524
9525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9527 if (!SWIG_IsOK(res1)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9529 }
9530 arg1 = reinterpret_cast< wxWindow * >(argp1);
9531 if (obj1) {
9532 ecode2 = SWIG_AsVal_int(obj1, &val2);
9533 if (!SWIG_IsOK(ecode2)) {
9534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9535 }
9536 arg2 = static_cast< int >(val2);
9537 }
9538 if (obj2) {
9539 {
9540 arg3 = &temp3;
9541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9542 }
9543 }
9544 if (obj3) {
9545 {
9546 arg4 = &temp4;
9547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9548 }
9549 }
9550 if (obj4) {
9551 ecode5 = SWIG_AsVal_long(obj4, &val5);
9552 if (!SWIG_IsOK(ecode5)) {
9553 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9554 }
9555 arg5 = static_cast< long >(val5);
9556 }
9557 if (obj5) {
9558 {
9559 arg6 = wxString_in_helper(obj5);
9560 if (arg6 == NULL) SWIG_fail;
9561 temp6 = true;
9562 }
9563 }
9564 {
9565 if (!wxPyCheckForApp()) SWIG_fail;
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9572 {
9573 if (temp6)
9574 delete arg6;
9575 }
9576 return resultobj;
9577 fail:
9578 {
9579 if (temp6)
9580 delete arg6;
9581 }
9582 return NULL;
9583 }
9584
9585
9586 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9587 PyObject *resultobj = 0;
9588 wxSplitterWindow *result = 0 ;
9589
9590 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9591 {
9592 if (!wxPyCheckForApp()) SWIG_fail;
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (wxSplitterWindow *)new wxSplitterWindow();
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj = 0;
9607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9608 wxWindow *arg2 = (wxWindow *) 0 ;
9609 int arg3 = (int) -1 ;
9610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9612 wxSize const &arg5_defvalue = wxDefaultSize ;
9613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9614 long arg6 = (long) wxSP_3D ;
9615 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9616 wxString *arg7 = (wxString *) &arg7_defvalue ;
9617 bool result;
9618 void *argp1 = 0 ;
9619 int res1 = 0 ;
9620 void *argp2 = 0 ;
9621 int res2 = 0 ;
9622 int val3 ;
9623 int ecode3 = 0 ;
9624 wxPoint temp4 ;
9625 wxSize temp5 ;
9626 long val6 ;
9627 int ecode6 = 0 ;
9628 bool temp7 = false ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 PyObject * obj2 = 0 ;
9632 PyObject * obj3 = 0 ;
9633 PyObject * obj4 = 0 ;
9634 PyObject * obj5 = 0 ;
9635 PyObject * obj6 = 0 ;
9636 char * kwnames[] = {
9637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9638 };
9639
9640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9642 if (!SWIG_IsOK(res1)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9644 }
9645 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9646 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9647 if (!SWIG_IsOK(res2)) {
9648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9649 }
9650 arg2 = reinterpret_cast< wxWindow * >(argp2);
9651 if (obj2) {
9652 ecode3 = SWIG_AsVal_int(obj2, &val3);
9653 if (!SWIG_IsOK(ecode3)) {
9654 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9655 }
9656 arg3 = static_cast< int >(val3);
9657 }
9658 if (obj3) {
9659 {
9660 arg4 = &temp4;
9661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9662 }
9663 }
9664 if (obj4) {
9665 {
9666 arg5 = &temp5;
9667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9668 }
9669 }
9670 if (obj5) {
9671 ecode6 = SWIG_AsVal_long(obj5, &val6);
9672 if (!SWIG_IsOK(ecode6)) {
9673 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9674 }
9675 arg6 = static_cast< long >(val6);
9676 }
9677 if (obj6) {
9678 {
9679 arg7 = wxString_in_helper(obj6);
9680 if (arg7 == NULL) SWIG_fail;
9681 temp7 = true;
9682 }
9683 }
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 {
9691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9692 }
9693 {
9694 if (temp7)
9695 delete arg7;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp7)
9701 delete arg7;
9702 }
9703 return NULL;
9704 }
9705
9706
9707 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9708 PyObject *resultobj = 0;
9709 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9710 wxWindow *result = 0 ;
9711 void *argp1 = 0 ;
9712 int res1 = 0 ;
9713 PyObject *swig_obj[1] ;
9714
9715 if (!args) SWIG_fail;
9716 swig_obj[0] = args;
9717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9718 if (!SWIG_IsOK(res1)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9720 }
9721 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 {
9729 resultobj = wxPyMake_wxObject(result, 0);
9730 }
9731 return resultobj;
9732 fail:
9733 return NULL;
9734 }
9735
9736
9737 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9738 PyObject *resultobj = 0;
9739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9740 wxWindow *result = 0 ;
9741 void *argp1 = 0 ;
9742 int res1 = 0 ;
9743 PyObject *swig_obj[1] ;
9744
9745 if (!args) SWIG_fail;
9746 swig_obj[0] = args;
9747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9750 }
9751 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 {
9759 resultobj = wxPyMake_wxObject(result, 0);
9760 }
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj = 0;
9769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9770 int arg2 ;
9771 void *argp1 = 0 ;
9772 int res1 = 0 ;
9773 int val2 ;
9774 int ecode2 = 0 ;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 char * kwnames[] = {
9778 (char *) "self",(char *) "mode", NULL
9779 };
9780
9781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9783 if (!SWIG_IsOK(res1)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9785 }
9786 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9787 ecode2 = SWIG_AsVal_int(obj1, &val2);
9788 if (!SWIG_IsOK(ecode2)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9790 }
9791 arg2 = static_cast< int >(val2);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 (arg1)->SetSplitMode(arg2);
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_Py_Void();
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9806 PyObject *resultobj = 0;
9807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9808 wxSplitMode result;
9809 void *argp1 = 0 ;
9810 int res1 = 0 ;
9811 PyObject *swig_obj[1] ;
9812
9813 if (!args) SWIG_fail;
9814 swig_obj[0] = args;
9815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9816 if (!SWIG_IsOK(res1)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9818 }
9819 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_From_int(static_cast< int >(result));
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj = 0;
9835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9836 wxWindow *arg2 = (wxWindow *) 0 ;
9837 void *argp1 = 0 ;
9838 int res1 = 0 ;
9839 void *argp2 = 0 ;
9840 int res2 = 0 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char * kwnames[] = {
9844 (char *) "self",(char *) "window", NULL
9845 };
9846
9847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9849 if (!SWIG_IsOK(res1)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9851 }
9852 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9854 if (!SWIG_IsOK(res2)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9856 }
9857 arg2 = reinterpret_cast< wxWindow * >(argp2);
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->Initialize(arg2);
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = SWIG_Py_Void();
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj = 0;
9873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9874 wxWindow *arg2 = (wxWindow *) 0 ;
9875 wxWindow *arg3 = (wxWindow *) 0 ;
9876 int arg4 = (int) 0 ;
9877 bool result;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 void *argp2 = 0 ;
9881 int res2 = 0 ;
9882 void *argp3 = 0 ;
9883 int res3 = 0 ;
9884 int val4 ;
9885 int ecode4 = 0 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 PyObject * obj2 = 0 ;
9889 PyObject * obj3 = 0 ;
9890 char * kwnames[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9892 };
9893
9894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9896 if (!SWIG_IsOK(res1)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9898 }
9899 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9901 if (!SWIG_IsOK(res2)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9903 }
9904 arg2 = reinterpret_cast< wxWindow * >(argp2);
9905 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9906 if (!SWIG_IsOK(res3)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9908 }
9909 arg3 = reinterpret_cast< wxWindow * >(argp3);
9910 if (obj3) {
9911 ecode4 = SWIG_AsVal_int(obj3, &val4);
9912 if (!SWIG_IsOK(ecode4)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9914 }
9915 arg4 = static_cast< int >(val4);
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 {
9924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9925 }
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 wxWindow *arg2 = (wxWindow *) 0 ;
9936 wxWindow *arg3 = (wxWindow *) 0 ;
9937 int arg4 = (int) 0 ;
9938 bool result;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 void *argp2 = 0 ;
9942 int res2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 int val4 ;
9946 int ecode4 = 0 ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 PyObject * obj2 = 0 ;
9950 PyObject * obj3 = 0 ;
9951 char * kwnames[] = {
9952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9953 };
9954
9955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res1)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9959 }
9960 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9962 if (!SWIG_IsOK(res2)) {
9963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9964 }
9965 arg2 = reinterpret_cast< wxWindow * >(argp2);
9966 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9967 if (!SWIG_IsOK(res3)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9969 }
9970 arg3 = reinterpret_cast< wxWindow * >(argp3);
9971 if (obj3) {
9972 ecode4 = SWIG_AsVal_int(obj3, &val4);
9973 if (!SWIG_IsOK(ecode4)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9975 }
9976 arg4 = static_cast< int >(val4);
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9986 }
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj = 0;
9995 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9996 wxWindow *arg2 = (wxWindow *) NULL ;
9997 bool result;
9998 void *argp1 = 0 ;
9999 int res1 = 0 ;
10000 void *argp2 = 0 ;
10001 int res2 = 0 ;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char * kwnames[] = {
10005 (char *) "self",(char *) "toRemove", NULL
10006 };
10007
10008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10010 if (!SWIG_IsOK(res1)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10012 }
10013 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10014 if (obj1) {
10015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10016 if (!SWIG_IsOK(res2)) {
10017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10018 }
10019 arg2 = reinterpret_cast< wxWindow * >(argp2);
10020 }
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 result = (bool)(arg1)->Unsplit(arg2);
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10029 }
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj = 0;
10038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10039 wxWindow *arg2 = (wxWindow *) 0 ;
10040 wxWindow *arg3 = (wxWindow *) 0 ;
10041 bool result;
10042 void *argp1 = 0 ;
10043 int res1 = 0 ;
10044 void *argp2 = 0 ;
10045 int res2 = 0 ;
10046 void *argp3 = 0 ;
10047 int res3 = 0 ;
10048 PyObject * obj0 = 0 ;
10049 PyObject * obj1 = 0 ;
10050 PyObject * obj2 = 0 ;
10051 char * kwnames[] = {
10052 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10053 };
10054
10055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10057 if (!SWIG_IsOK(res1)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10059 }
10060 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10062 if (!SWIG_IsOK(res2)) {
10063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10064 }
10065 arg2 = reinterpret_cast< wxWindow * >(argp2);
10066 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10067 if (!SWIG_IsOK(res3)) {
10068 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10069 }
10070 arg3 = reinterpret_cast< wxWindow * >(argp3);
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 {
10078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10079 }
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10087 PyObject *resultobj = 0;
10088 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10089 void *argp1 = 0 ;
10090 int res1 = 0 ;
10091 PyObject *swig_obj[1] ;
10092
10093 if (!args) SWIG_fail;
10094 swig_obj[0] = args;
10095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10096 if (!SWIG_IsOK(res1)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10098 }
10099 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->UpdateSize();
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 bool result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 PyObject *swig_obj[1] ;
10120
10121 if (!args) SWIG_fail;
10122 swig_obj[0] = args;
10123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 }
10127 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 {
10135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10136 }
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = 0;
10145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10146 int arg2 ;
10147 void *argp1 = 0 ;
10148 int res1 = 0 ;
10149 int val2 ;
10150 int ecode2 = 0 ;
10151 PyObject * obj0 = 0 ;
10152 PyObject * obj1 = 0 ;
10153 char * kwnames[] = {
10154 (char *) "self",(char *) "width", NULL
10155 };
10156
10157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10159 if (!SWIG_IsOK(res1)) {
10160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10161 }
10162 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10163 ecode2 = SWIG_AsVal_int(obj1, &val2);
10164 if (!SWIG_IsOK(ecode2)) {
10165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10166 }
10167 arg2 = static_cast< int >(val2);
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 (arg1)->SetSashSize(arg2);
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = SWIG_Py_Void();
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj = 0;
10183 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10184 int arg2 ;
10185 void *argp1 = 0 ;
10186 int res1 = 0 ;
10187 int val2 ;
10188 int ecode2 = 0 ;
10189 PyObject * obj0 = 0 ;
10190 PyObject * obj1 = 0 ;
10191 char * kwnames[] = {
10192 (char *) "self",(char *) "width", NULL
10193 };
10194
10195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10199 }
10200 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10201 ecode2 = SWIG_AsVal_int(obj1, &val2);
10202 if (!SWIG_IsOK(ecode2)) {
10203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10204 }
10205 arg2 = static_cast< int >(val2);
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->SetBorderSize(arg2);
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 resultobj = SWIG_Py_Void();
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10220 PyObject *resultobj = 0;
10221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10222 int result;
10223 void *argp1 = 0 ;
10224 int res1 = 0 ;
10225 PyObject *swig_obj[1] ;
10226
10227 if (!args) SWIG_fail;
10228 swig_obj[0] = args;
10229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10230 if (!SWIG_IsOK(res1)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10232 }
10233 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 resultobj = SWIG_From_int(static_cast< int >(result));
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10248 PyObject *resultobj = 0;
10249 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10250 int result;
10251 void *argp1 = 0 ;
10252 int res1 = 0 ;
10253 PyObject *swig_obj[1] ;
10254
10255 if (!args) SWIG_fail;
10256 swig_obj[0] = args;
10257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10258 if (!SWIG_IsOK(res1)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10260 }
10261 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 resultobj = SWIG_From_int(static_cast< int >(result));
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj = 0;
10277 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10278 int arg2 ;
10279 bool arg3 = (bool) true ;
10280 void *argp1 = 0 ;
10281 int res1 = 0 ;
10282 int val2 ;
10283 int ecode2 = 0 ;
10284 bool val3 ;
10285 int ecode3 = 0 ;
10286 PyObject * obj0 = 0 ;
10287 PyObject * obj1 = 0 ;
10288 PyObject * obj2 = 0 ;
10289 char * kwnames[] = {
10290 (char *) "self",(char *) "position",(char *) "redraw", NULL
10291 };
10292
10293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10295 if (!SWIG_IsOK(res1)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10297 }
10298 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10299 ecode2 = SWIG_AsVal_int(obj1, &val2);
10300 if (!SWIG_IsOK(ecode2)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10302 }
10303 arg2 = static_cast< int >(val2);
10304 if (obj2) {
10305 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10306 if (!SWIG_IsOK(ecode3)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10308 }
10309 arg3 = static_cast< bool >(val3);
10310 }
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->SetSashPosition(arg2,arg3);
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = SWIG_Py_Void();
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10325 PyObject *resultobj = 0;
10326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10327 int result;
10328 void *argp1 = 0 ;
10329 int res1 = 0 ;
10330 PyObject *swig_obj[1] ;
10331
10332 if (!args) SWIG_fail;
10333 swig_obj[0] = args;
10334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10335 if (!SWIG_IsOK(res1)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10337 }
10338 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_From_int(static_cast< int >(result));
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj = 0;
10354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10355 double arg2 ;
10356 void *argp1 = 0 ;
10357 int res1 = 0 ;
10358 double val2 ;
10359 int ecode2 = 0 ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 char * kwnames[] = {
10363 (char *) "self",(char *) "gravity", NULL
10364 };
10365
10366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10368 if (!SWIG_IsOK(res1)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10370 }
10371 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10372 ecode2 = SWIG_AsVal_double(obj1, &val2);
10373 if (!SWIG_IsOK(ecode2)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10375 }
10376 arg2 = static_cast< double >(val2);
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 (arg1)->SetSashGravity(arg2);
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 resultobj = SWIG_Py_Void();
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10391 PyObject *resultobj = 0;
10392 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10393 double result;
10394 void *argp1 = 0 ;
10395 int res1 = 0 ;
10396 PyObject *swig_obj[1] ;
10397
10398 if (!args) SWIG_fail;
10399 swig_obj[0] = args;
10400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10401 if (!SWIG_IsOK(res1)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10403 }
10404 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = SWIG_From_double(static_cast< double >(result));
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj = 0;
10420 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10421 int arg2 ;
10422 void *argp1 = 0 ;
10423 int res1 = 0 ;
10424 int val2 ;
10425 int ecode2 = 0 ;
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 char * kwnames[] = {
10429 (char *) "self",(char *) "min", NULL
10430 };
10431
10432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10434 if (!SWIG_IsOK(res1)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10436 }
10437 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10438 ecode2 = SWIG_AsVal_int(obj1, &val2);
10439 if (!SWIG_IsOK(ecode2)) {
10440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10441 }
10442 arg2 = static_cast< int >(val2);
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 (arg1)->SetMinimumPaneSize(arg2);
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = SWIG_Py_Void();
10450 return resultobj;
10451 fail:
10452 return NULL;
10453 }
10454
10455
10456 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10457 PyObject *resultobj = 0;
10458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10459 int result;
10460 void *argp1 = 0 ;
10461 int res1 = 0 ;
10462 PyObject *swig_obj[1] ;
10463
10464 if (!args) SWIG_fail;
10465 swig_obj[0] = args;
10466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10467 if (!SWIG_IsOK(res1)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10469 }
10470 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 resultobj = SWIG_From_int(static_cast< int >(result));
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj = 0;
10486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10487 int arg2 ;
10488 int arg3 ;
10489 int arg4 = (int) 5 ;
10490 bool result;
10491 void *argp1 = 0 ;
10492 int res1 = 0 ;
10493 int val2 ;
10494 int ecode2 = 0 ;
10495 int val3 ;
10496 int ecode3 = 0 ;
10497 int val4 ;
10498 int ecode4 = 0 ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 PyObject * obj2 = 0 ;
10502 PyObject * obj3 = 0 ;
10503 char * kwnames[] = {
10504 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10505 };
10506
10507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10509 if (!SWIG_IsOK(res1)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10511 }
10512 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10513 ecode2 = SWIG_AsVal_int(obj1, &val2);
10514 if (!SWIG_IsOK(ecode2)) {
10515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10516 }
10517 arg2 = static_cast< int >(val2);
10518 ecode3 = SWIG_AsVal_int(obj2, &val3);
10519 if (!SWIG_IsOK(ecode3)) {
10520 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10521 }
10522 arg3 = static_cast< int >(val3);
10523 if (obj3) {
10524 ecode4 = SWIG_AsVal_int(obj3, &val4);
10525 if (!SWIG_IsOK(ecode4)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10527 }
10528 arg4 = static_cast< int >(val4);
10529 }
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10538 }
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10557 }
10558 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->SizeWindows();
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_Py_Void();
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj = 0;
10574 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10575 bool arg2 ;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 bool val2 ;
10579 int ecode2 = 0 ;
10580 PyObject * obj0 = 0 ;
10581 PyObject * obj1 = 0 ;
10582 char * kwnames[] = {
10583 (char *) "self",(char *) "needUpdating", NULL
10584 };
10585
10586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10588 if (!SWIG_IsOK(res1)) {
10589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10590 }
10591 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10592 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10593 if (!SWIG_IsOK(ecode2)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10595 }
10596 arg2 = static_cast< bool >(val2);
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 (arg1)->SetNeedUpdating(arg2);
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = SWIG_Py_Void();
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10611 PyObject *resultobj = 0;
10612 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10613 bool result;
10614 void *argp1 = 0 ;
10615 int res1 = 0 ;
10616 PyObject *swig_obj[1] ;
10617
10618 if (!args) SWIG_fail;
10619 swig_obj[0] = args;
10620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10621 if (!SWIG_IsOK(res1)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10623 }
10624 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 {
10632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10633 }
10634 return resultobj;
10635 fail:
10636 return NULL;
10637 }
10638
10639
10640 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj = 0;
10642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10643 SwigValueWrapper<wxVisualAttributes > result;
10644 int val1 ;
10645 int ecode1 = 0 ;
10646 PyObject * obj0 = 0 ;
10647 char * kwnames[] = {
10648 (char *) "variant", NULL
10649 };
10650
10651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10652 if (obj0) {
10653 ecode1 = SWIG_AsVal_int(obj0, &val1);
10654 if (!SWIG_IsOK(ecode1)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10656 }
10657 arg1 = static_cast< wxWindowVariant >(val1);
10658 }
10659 {
10660 if (!wxPyCheckForApp()) SWIG_fail;
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10674 PyObject *obj;
10675 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10676 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10677 return SWIG_Py_Void();
10678 }
10679
10680 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10681 return SWIG_Python_InitShadowInstance(args);
10682 }
10683
10684 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj = 0;
10686 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10687 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10688 wxSplitterEvent *result = 0 ;
10689 int val1 ;
10690 int ecode1 = 0 ;
10691 void *argp2 = 0 ;
10692 int res2 = 0 ;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char * kwnames[] = {
10696 (char *) "type",(char *) "splitter", NULL
10697 };
10698
10699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10700 if (obj0) {
10701 ecode1 = SWIG_AsVal_int(obj0, &val1);
10702 if (!SWIG_IsOK(ecode1)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10704 }
10705 arg1 = static_cast< wxEventType >(val1);
10706 }
10707 if (obj1) {
10708 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10709 if (!SWIG_IsOK(res2)) {
10710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10711 }
10712 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10713 }
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj = 0;
10729 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10730 int arg2 ;
10731 void *argp1 = 0 ;
10732 int res1 = 0 ;
10733 int val2 ;
10734 int ecode2 = 0 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char * kwnames[] = {
10738 (char *) "self",(char *) "pos", NULL
10739 };
10740
10741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10745 }
10746 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10747 ecode2 = SWIG_AsVal_int(obj1, &val2);
10748 if (!SWIG_IsOK(ecode2)) {
10749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10750 }
10751 arg2 = static_cast< int >(val2);
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 (arg1)->SetSashPosition(arg2);
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 resultobj = SWIG_Py_Void();
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10766 PyObject *resultobj = 0;
10767 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10768 int result;
10769 void *argp1 = 0 ;
10770 int res1 = 0 ;
10771 PyObject *swig_obj[1] ;
10772
10773 if (!args) SWIG_fail;
10774 swig_obj[0] = args;
10775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10776 if (!SWIG_IsOK(res1)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10778 }
10779 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 resultobj = SWIG_From_int(static_cast< int >(result));
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10794 PyObject *resultobj = 0;
10795 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10796 wxWindow *result = 0 ;
10797 void *argp1 = 0 ;
10798 int res1 = 0 ;
10799 PyObject *swig_obj[1] ;
10800
10801 if (!args) SWIG_fail;
10802 swig_obj[0] = args;
10803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10804 if (!SWIG_IsOK(res1)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10806 }
10807 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = wxPyMake_wxObject(result, 0);
10816 }
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10824 PyObject *resultobj = 0;
10825 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10826 int result;
10827 void *argp1 = 0 ;
10828 int res1 = 0 ;
10829 PyObject *swig_obj[1] ;
10830
10831 if (!args) SWIG_fail;
10832 swig_obj[0] = args;
10833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10834 if (!SWIG_IsOK(res1)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10836 }
10837 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 resultobj = SWIG_From_int(static_cast< int >(result));
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10852 PyObject *resultobj = 0;
10853 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10854 int result;
10855 void *argp1 = 0 ;
10856 int res1 = 0 ;
10857 PyObject *swig_obj[1] ;
10858
10859 if (!args) SWIG_fail;
10860 swig_obj[0] = args;
10861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10862 if (!SWIG_IsOK(res1)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10864 }
10865 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 resultobj = SWIG_From_int(static_cast< int >(result));
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10880 PyObject *obj;
10881 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10882 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10883 return SWIG_Py_Void();
10884 }
10885
10886 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10887 return SWIG_Python_InitShadowInstance(args);
10888 }
10889
10890 SWIGINTERN int SashNameStr_set(PyObject *) {
10891 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10892 return 1;
10893 }
10894
10895
10896 SWIGINTERN PyObject *SashNameStr_get(void) {
10897 PyObject *pyobj = 0;
10898
10899 {
10900 #if wxUSE_UNICODE
10901 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10902 #else
10903 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10904 #endif
10905 }
10906 return pyobj;
10907 }
10908
10909
10910 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10911 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10912 return 1;
10913 }
10914
10915
10916 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10917 PyObject *pyobj = 0;
10918
10919 {
10920 #if wxUSE_UNICODE
10921 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10922 #else
10923 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10924 #endif
10925 }
10926 return pyobj;
10927 }
10928
10929
10930 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj = 0;
10932 wxWindow *arg1 = (wxWindow *) 0 ;
10933 int arg2 = (int) -1 ;
10934 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10935 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10936 wxSize const &arg4_defvalue = wxDefaultSize ;
10937 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10938 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10939 wxString const &arg6_defvalue = wxPySashNameStr ;
10940 wxString *arg6 = (wxString *) &arg6_defvalue ;
10941 wxSashWindow *result = 0 ;
10942 void *argp1 = 0 ;
10943 int res1 = 0 ;
10944 int val2 ;
10945 int ecode2 = 0 ;
10946 wxPoint temp3 ;
10947 wxSize temp4 ;
10948 long val5 ;
10949 int ecode5 = 0 ;
10950 bool temp6 = false ;
10951 PyObject * obj0 = 0 ;
10952 PyObject * obj1 = 0 ;
10953 PyObject * obj2 = 0 ;
10954 PyObject * obj3 = 0 ;
10955 PyObject * obj4 = 0 ;
10956 PyObject * obj5 = 0 ;
10957 char * kwnames[] = {
10958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10959 };
10960
10961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10963 if (!SWIG_IsOK(res1)) {
10964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10965 }
10966 arg1 = reinterpret_cast< wxWindow * >(argp1);
10967 if (obj1) {
10968 ecode2 = SWIG_AsVal_int(obj1, &val2);
10969 if (!SWIG_IsOK(ecode2)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10971 }
10972 arg2 = static_cast< int >(val2);
10973 }
10974 if (obj2) {
10975 {
10976 arg3 = &temp3;
10977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10978 }
10979 }
10980 if (obj3) {
10981 {
10982 arg4 = &temp4;
10983 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10984 }
10985 }
10986 if (obj4) {
10987 ecode5 = SWIG_AsVal_long(obj4, &val5);
10988 if (!SWIG_IsOK(ecode5)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10990 }
10991 arg5 = static_cast< long >(val5);
10992 }
10993 if (obj5) {
10994 {
10995 arg6 = wxString_in_helper(obj5);
10996 if (arg6 == NULL) SWIG_fail;
10997 temp6 = true;
10998 }
10999 }
11000 {
11001 if (!wxPyCheckForApp()) SWIG_fail;
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11008 {
11009 if (temp6)
11010 delete arg6;
11011 }
11012 return resultobj;
11013 fail:
11014 {
11015 if (temp6)
11016 delete arg6;
11017 }
11018 return NULL;
11019 }
11020
11021
11022 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11023 PyObject *resultobj = 0;
11024 wxSashWindow *result = 0 ;
11025
11026 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11027 {
11028 if (!wxPyCheckForApp()) SWIG_fail;
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxSashWindow *)new wxSashWindow();
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj = 0;
11043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11044 wxWindow *arg2 = (wxWindow *) 0 ;
11045 int arg3 = (int) -1 ;
11046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11048 wxSize const &arg5_defvalue = wxDefaultSize ;
11049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11050 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11051 wxString const &arg7_defvalue = wxPySashNameStr ;
11052 wxString *arg7 = (wxString *) &arg7_defvalue ;
11053 bool result;
11054 void *argp1 = 0 ;
11055 int res1 = 0 ;
11056 void *argp2 = 0 ;
11057 int res2 = 0 ;
11058 int val3 ;
11059 int ecode3 = 0 ;
11060 wxPoint temp4 ;
11061 wxSize temp5 ;
11062 long val6 ;
11063 int ecode6 = 0 ;
11064 bool temp7 = false ;
11065 PyObject * obj0 = 0 ;
11066 PyObject * obj1 = 0 ;
11067 PyObject * obj2 = 0 ;
11068 PyObject * obj3 = 0 ;
11069 PyObject * obj4 = 0 ;
11070 PyObject * obj5 = 0 ;
11071 PyObject * obj6 = 0 ;
11072 char * kwnames[] = {
11073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11074 };
11075
11076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11078 if (!SWIG_IsOK(res1)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11080 }
11081 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11083 if (!SWIG_IsOK(res2)) {
11084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11085 }
11086 arg2 = reinterpret_cast< wxWindow * >(argp2);
11087 if (obj2) {
11088 ecode3 = SWIG_AsVal_int(obj2, &val3);
11089 if (!SWIG_IsOK(ecode3)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11091 }
11092 arg3 = static_cast< int >(val3);
11093 }
11094 if (obj3) {
11095 {
11096 arg4 = &temp4;
11097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11098 }
11099 }
11100 if (obj4) {
11101 {
11102 arg5 = &temp5;
11103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11104 }
11105 }
11106 if (obj5) {
11107 ecode6 = SWIG_AsVal_long(obj5, &val6);
11108 if (!SWIG_IsOK(ecode6)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11110 }
11111 arg6 = static_cast< long >(val6);
11112 }
11113 if (obj6) {
11114 {
11115 arg7 = wxString_in_helper(obj6);
11116 if (arg7 == NULL) SWIG_fail;
11117 temp7 = true;
11118 }
11119 }
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
11122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 {
11127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11128 }
11129 {
11130 if (temp7)
11131 delete arg7;
11132 }
11133 return resultobj;
11134 fail:
11135 {
11136 if (temp7)
11137 delete arg7;
11138 }
11139 return NULL;
11140 }
11141
11142
11143 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj = 0;
11145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11146 wxSashEdgePosition arg2 ;
11147 bool arg3 ;
11148 void *argp1 = 0 ;
11149 int res1 = 0 ;
11150 int val2 ;
11151 int ecode2 = 0 ;
11152 bool val3 ;
11153 int ecode3 = 0 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 PyObject * obj2 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "edge",(char *) "sash", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11170 }
11171 arg2 = static_cast< wxSashEdgePosition >(val2);
11172 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11173 if (!SWIG_IsOK(ecode3)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11175 }
11176 arg3 = static_cast< bool >(val3);
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->SetSashVisible(arg2,arg3);
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = SWIG_Py_Void();
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj = 0;
11192 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11193 wxSashEdgePosition arg2 ;
11194 bool result;
11195 void *argp1 = 0 ;
11196 int res1 = 0 ;
11197 int val2 ;
11198 int ecode2 = 0 ;
11199 PyObject * obj0 = 0 ;
11200 PyObject * obj1 = 0 ;
11201 char * kwnames[] = {
11202 (char *) "self",(char *) "edge", NULL
11203 };
11204
11205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11207 if (!SWIG_IsOK(res1)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11209 }
11210 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11211 ecode2 = SWIG_AsVal_int(obj1, &val2);
11212 if (!SWIG_IsOK(ecode2)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11214 }
11215 arg2 = static_cast< wxSashEdgePosition >(val2);
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11224 }
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj = 0;
11233 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11234 wxSashEdgePosition arg2 ;
11235 bool arg3 ;
11236 void *argp1 = 0 ;
11237 int res1 = 0 ;
11238 int val2 ;
11239 int ecode2 = 0 ;
11240 bool val3 ;
11241 int ecode3 = 0 ;
11242 PyObject * obj0 = 0 ;
11243 PyObject * obj1 = 0 ;
11244 PyObject * obj2 = 0 ;
11245 char * kwnames[] = {
11246 (char *) "self",(char *) "edge",(char *) "border", NULL
11247 };
11248
11249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11251 if (!SWIG_IsOK(res1)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11253 }
11254 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11255 ecode2 = SWIG_AsVal_int(obj1, &val2);
11256 if (!SWIG_IsOK(ecode2)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11258 }
11259 arg2 = static_cast< wxSashEdgePosition >(val2);
11260 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11261 if (!SWIG_IsOK(ecode3)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11263 }
11264 arg3 = static_cast< bool >(val3);
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 (arg1)->SetSashBorder(arg2,arg3);
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 resultobj = SWIG_Py_Void();
11272 return resultobj;
11273 fail:
11274 return NULL;
11275 }
11276
11277
11278 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj = 0;
11280 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11281 wxSashEdgePosition arg2 ;
11282 bool result;
11283 void *argp1 = 0 ;
11284 int res1 = 0 ;
11285 int val2 ;
11286 int ecode2 = 0 ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 char * kwnames[] = {
11290 (char *) "self",(char *) "edge", NULL
11291 };
11292
11293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11295 if (!SWIG_IsOK(res1)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11297 }
11298 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11299 ecode2 = SWIG_AsVal_int(obj1, &val2);
11300 if (!SWIG_IsOK(ecode2)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11302 }
11303 arg2 = static_cast< wxSashEdgePosition >(val2);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 {
11311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11312 }
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj = 0;
11321 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11322 wxSashEdgePosition arg2 ;
11323 int result;
11324 void *argp1 = 0 ;
11325 int res1 = 0 ;
11326 int val2 ;
11327 int ecode2 = 0 ;
11328 PyObject * obj0 = 0 ;
11329 PyObject * obj1 = 0 ;
11330 char * kwnames[] = {
11331 (char *) "self",(char *) "edge", NULL
11332 };
11333
11334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 ecode2 = SWIG_AsVal_int(obj1, &val2);
11341 if (!SWIG_IsOK(ecode2)) {
11342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11343 }
11344 arg2 = static_cast< wxSashEdgePosition >(val2);
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 resultobj = SWIG_From_int(static_cast< int >(result));
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj = 0;
11360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11361 int arg2 ;
11362 void *argp1 = 0 ;
11363 int res1 = 0 ;
11364 int val2 ;
11365 int ecode2 = 0 ;
11366 PyObject * obj0 = 0 ;
11367 PyObject * obj1 = 0 ;
11368 char * kwnames[] = {
11369 (char *) "self",(char *) "width", NULL
11370 };
11371
11372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11374 if (!SWIG_IsOK(res1)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11376 }
11377 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11378 ecode2 = SWIG_AsVal_int(obj1, &val2);
11379 if (!SWIG_IsOK(ecode2)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11381 }
11382 arg2 = static_cast< int >(val2);
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 (arg1)->SetDefaultBorderSize(arg2);
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_Py_Void();
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11397 PyObject *resultobj = 0;
11398 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11399 int result;
11400 void *argp1 = 0 ;
11401 int res1 = 0 ;
11402 PyObject *swig_obj[1] ;
11403
11404 if (!args) SWIG_fail;
11405 swig_obj[0] = args;
11406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11407 if (!SWIG_IsOK(res1)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11409 }
11410 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = SWIG_From_int(static_cast< int >(result));
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj = 0;
11426 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11427 int arg2 ;
11428 void *argp1 = 0 ;
11429 int res1 = 0 ;
11430 int val2 ;
11431 int ecode2 = 0 ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char * kwnames[] = {
11435 (char *) "self",(char *) "width", NULL
11436 };
11437
11438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11440 if (!SWIG_IsOK(res1)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11442 }
11443 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11444 ecode2 = SWIG_AsVal_int(obj1, &val2);
11445 if (!SWIG_IsOK(ecode2)) {
11446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11447 }
11448 arg2 = static_cast< int >(val2);
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 (arg1)->SetExtraBorderSize(arg2);
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_Py_Void();
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11463 PyObject *resultobj = 0;
11464 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11465 int result;
11466 void *argp1 = 0 ;
11467 int res1 = 0 ;
11468 PyObject *swig_obj[1] ;
11469
11470 if (!args) SWIG_fail;
11471 swig_obj[0] = args;
11472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11475 }
11476 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 resultobj = SWIG_From_int(static_cast< int >(result));
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj = 0;
11492 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11493 int arg2 ;
11494 void *argp1 = 0 ;
11495 int res1 = 0 ;
11496 int val2 ;
11497 int ecode2 = 0 ;
11498 PyObject * obj0 = 0 ;
11499 PyObject * obj1 = 0 ;
11500 char * kwnames[] = {
11501 (char *) "self",(char *) "min", NULL
11502 };
11503
11504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11506 if (!SWIG_IsOK(res1)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11508 }
11509 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11510 ecode2 = SWIG_AsVal_int(obj1, &val2);
11511 if (!SWIG_IsOK(ecode2)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11513 }
11514 arg2 = static_cast< int >(val2);
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetMinimumSizeX(arg2);
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_Py_Void();
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj = 0;
11530 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11531 int arg2 ;
11532 void *argp1 = 0 ;
11533 int res1 = 0 ;
11534 int val2 ;
11535 int ecode2 = 0 ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 char * kwnames[] = {
11539 (char *) "self",(char *) "min", NULL
11540 };
11541
11542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 ecode2 = SWIG_AsVal_int(obj1, &val2);
11549 if (!SWIG_IsOK(ecode2)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11551 }
11552 arg2 = static_cast< int >(val2);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->SetMinimumSizeY(arg2);
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = SWIG_Py_Void();
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11567 PyObject *resultobj = 0;
11568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11569 int result;
11570 void *argp1 = 0 ;
11571 int res1 = 0 ;
11572 PyObject *swig_obj[1] ;
11573
11574 if (!args) SWIG_fail;
11575 swig_obj[0] = args;
11576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_From_int(static_cast< int >(result));
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *resultobj = 0;
11596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11597 int result;
11598 void *argp1 = 0 ;
11599 int res1 = 0 ;
11600 PyObject *swig_obj[1] ;
11601
11602 if (!args) SWIG_fail;
11603 swig_obj[0] = args;
11604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_From_int(static_cast< int >(result));
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = 0;
11624 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11625 int arg2 ;
11626 void *argp1 = 0 ;
11627 int res1 = 0 ;
11628 int val2 ;
11629 int ecode2 = 0 ;
11630 PyObject * obj0 = 0 ;
11631 PyObject * obj1 = 0 ;
11632 char * kwnames[] = {
11633 (char *) "self",(char *) "max", NULL
11634 };
11635
11636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11638 if (!SWIG_IsOK(res1)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11640 }
11641 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11642 ecode2 = SWIG_AsVal_int(obj1, &val2);
11643 if (!SWIG_IsOK(ecode2)) {
11644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11645 }
11646 arg2 = static_cast< int >(val2);
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 (arg1)->SetMaximumSizeX(arg2);
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 resultobj = SWIG_Py_Void();
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj = 0;
11662 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11663 int arg2 ;
11664 void *argp1 = 0 ;
11665 int res1 = 0 ;
11666 int val2 ;
11667 int ecode2 = 0 ;
11668 PyObject * obj0 = 0 ;
11669 PyObject * obj1 = 0 ;
11670 char * kwnames[] = {
11671 (char *) "self",(char *) "max", NULL
11672 };
11673
11674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11676 if (!SWIG_IsOK(res1)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11678 }
11679 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11680 ecode2 = SWIG_AsVal_int(obj1, &val2);
11681 if (!SWIG_IsOK(ecode2)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11683 }
11684 arg2 = static_cast< int >(val2);
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 (arg1)->SetMaximumSizeY(arg2);
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 resultobj = SWIG_Py_Void();
11692 return resultobj;
11693 fail:
11694 return NULL;
11695 }
11696
11697
11698 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11699 PyObject *resultobj = 0;
11700 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11701 int result;
11702 void *argp1 = 0 ;
11703 int res1 = 0 ;
11704 PyObject *swig_obj[1] ;
11705
11706 if (!args) SWIG_fail;
11707 swig_obj[0] = args;
11708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11709 if (!SWIG_IsOK(res1)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11711 }
11712 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_From_int(static_cast< int >(result));
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11727 PyObject *resultobj = 0;
11728 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11729 int result;
11730 void *argp1 = 0 ;
11731 int res1 = 0 ;
11732 PyObject *swig_obj[1] ;
11733
11734 if (!args) SWIG_fail;
11735 swig_obj[0] = args;
11736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11737 if (!SWIG_IsOK(res1)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11739 }
11740 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_From_int(static_cast< int >(result));
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj = 0;
11756 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11757 int arg2 ;
11758 int arg3 ;
11759 int arg4 = (int) 2 ;
11760 wxSashEdgePosition result;
11761 void *argp1 = 0 ;
11762 int res1 = 0 ;
11763 int val2 ;
11764 int ecode2 = 0 ;
11765 int val3 ;
11766 int ecode3 = 0 ;
11767 int val4 ;
11768 int ecode4 = 0 ;
11769 PyObject * obj0 = 0 ;
11770 PyObject * obj1 = 0 ;
11771 PyObject * obj2 = 0 ;
11772 PyObject * obj3 = 0 ;
11773 char * kwnames[] = {
11774 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11775 };
11776
11777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11779 if (!SWIG_IsOK(res1)) {
11780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11781 }
11782 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11783 ecode2 = SWIG_AsVal_int(obj1, &val2);
11784 if (!SWIG_IsOK(ecode2)) {
11785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11786 }
11787 arg2 = static_cast< int >(val2);
11788 ecode3 = SWIG_AsVal_int(obj2, &val3);
11789 if (!SWIG_IsOK(ecode3)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11791 }
11792 arg3 = static_cast< int >(val3);
11793 if (obj3) {
11794 ecode4 = SWIG_AsVal_int(obj3, &val4);
11795 if (!SWIG_IsOK(ecode4)) {
11796 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11797 }
11798 arg4 = static_cast< int >(val4);
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_From_int(static_cast< int >(result));
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11814 PyObject *resultobj = 0;
11815 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11816 void *argp1 = 0 ;
11817 int res1 = 0 ;
11818 PyObject *swig_obj[1] ;
11819
11820 if (!args) SWIG_fail;
11821 swig_obj[0] = args;
11822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11823 if (!SWIG_IsOK(res1)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11825 }
11826 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 (arg1)->SizeWindows();
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 resultobj = SWIG_Py_Void();
11834 return resultobj;
11835 fail:
11836 return NULL;
11837 }
11838
11839
11840 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11841 PyObject *obj;
11842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11843 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11844 return SWIG_Py_Void();
11845 }
11846
11847 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11848 return SWIG_Python_InitShadowInstance(args);
11849 }
11850
11851 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj = 0;
11853 int arg1 = (int) 0 ;
11854 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11855 wxSashEvent *result = 0 ;
11856 int val1 ;
11857 int ecode1 = 0 ;
11858 int val2 ;
11859 int ecode2 = 0 ;
11860 PyObject * obj0 = 0 ;
11861 PyObject * obj1 = 0 ;
11862 char * kwnames[] = {
11863 (char *) "id",(char *) "edge", NULL
11864 };
11865
11866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11867 if (obj0) {
11868 ecode1 = SWIG_AsVal_int(obj0, &val1);
11869 if (!SWIG_IsOK(ecode1)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11871 }
11872 arg1 = static_cast< int >(val1);
11873 }
11874 if (obj1) {
11875 ecode2 = SWIG_AsVal_int(obj1, &val2);
11876 if (!SWIG_IsOK(ecode2)) {
11877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11878 }
11879 arg2 = static_cast< wxSashEdgePosition >(val2);
11880 }
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj = 0;
11896 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11897 wxSashEdgePosition arg2 ;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 int val2 ;
11901 int ecode2 = 0 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char * kwnames[] = {
11905 (char *) "self",(char *) "edge", NULL
11906 };
11907
11908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11910 if (!SWIG_IsOK(res1)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11912 }
11913 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11914 ecode2 = SWIG_AsVal_int(obj1, &val2);
11915 if (!SWIG_IsOK(ecode2)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11917 }
11918 arg2 = static_cast< wxSashEdgePosition >(val2);
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 (arg1)->SetEdge(arg2);
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_Py_Void();
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11933 PyObject *resultobj = 0;
11934 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11935 wxSashEdgePosition result;
11936 void *argp1 = 0 ;
11937 int res1 = 0 ;
11938 PyObject *swig_obj[1] ;
11939
11940 if (!args) SWIG_fail;
11941 swig_obj[0] = args;
11942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11943 if (!SWIG_IsOK(res1)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11945 }
11946 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_From_int(static_cast< int >(result));
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj = 0;
11962 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11963 wxRect *arg2 = 0 ;
11964 void *argp1 = 0 ;
11965 int res1 = 0 ;
11966 wxRect temp2 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 char * kwnames[] = {
11970 (char *) "self",(char *) "rect", NULL
11971 };
11972
11973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11975 if (!SWIG_IsOK(res1)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11977 }
11978 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11979 {
11980 arg2 = &temp2;
11981 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11982 }
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 (arg1)->SetDragRect((wxRect const &)*arg2);
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_Py_Void();
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11997 PyObject *resultobj = 0;
11998 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11999 wxRect result;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 PyObject *swig_obj[1] ;
12003
12004 if (!args) SWIG_fail;
12005 swig_obj[0] = args;
12006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12007 if (!SWIG_IsOK(res1)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12009 }
12010 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 result = ((wxSashEvent const *)arg1)->GetDragRect();
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12025 PyObject *resultobj = 0;
12026 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12027 wxSashDragStatus arg2 ;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 int val2 ;
12031 int ecode2 = 0 ;
12032 PyObject * obj0 = 0 ;
12033 PyObject * obj1 = 0 ;
12034 char * kwnames[] = {
12035 (char *) "self",(char *) "status", NULL
12036 };
12037
12038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12040 if (!SWIG_IsOK(res1)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12042 }
12043 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12044 ecode2 = SWIG_AsVal_int(obj1, &val2);
12045 if (!SWIG_IsOK(ecode2)) {
12046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12047 }
12048 arg2 = static_cast< wxSashDragStatus >(val2);
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetDragStatus(arg2);
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_Py_Void();
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12063 PyObject *resultobj = 0;
12064 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12065 wxSashDragStatus result;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 PyObject *swig_obj[1] ;
12069
12070 if (!args) SWIG_fail;
12071 swig_obj[0] = args;
12072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12073 if (!SWIG_IsOK(res1)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12075 }
12076 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_From_int(static_cast< int >(result));
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *obj;
12092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12093 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12094 return SWIG_Py_Void();
12095 }
12096
12097 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12098 return SWIG_Python_InitShadowInstance(args);
12099 }
12100
12101 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj = 0;
12103 int arg1 = (int) 0 ;
12104 wxQueryLayoutInfoEvent *result = 0 ;
12105 int val1 ;
12106 int ecode1 = 0 ;
12107 PyObject * obj0 = 0 ;
12108 char * kwnames[] = {
12109 (char *) "id", NULL
12110 };
12111
12112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12113 if (obj0) {
12114 ecode1 = SWIG_AsVal_int(obj0, &val1);
12115 if (!SWIG_IsOK(ecode1)) {
12116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12117 }
12118 arg1 = static_cast< int >(val1);
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = 0;
12135 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12136 int arg2 ;
12137 void *argp1 = 0 ;
12138 int res1 = 0 ;
12139 int val2 ;
12140 int ecode2 = 0 ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char * kwnames[] = {
12144 (char *) "self",(char *) "length", NULL
12145 };
12146
12147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12149 if (!SWIG_IsOK(res1)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12151 }
12152 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12153 ecode2 = SWIG_AsVal_int(obj1, &val2);
12154 if (!SWIG_IsOK(ecode2)) {
12155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12156 }
12157 arg2 = static_cast< int >(val2);
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->SetRequestedLength(arg2);
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_Py_Void();
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12172 PyObject *resultobj = 0;
12173 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12174 int result;
12175 void *argp1 = 0 ;
12176 int res1 = 0 ;
12177 PyObject *swig_obj[1] ;
12178
12179 if (!args) SWIG_fail;
12180 swig_obj[0] = args;
12181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12182 if (!SWIG_IsOK(res1)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12184 }
12185 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_From_int(static_cast< int >(result));
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj = 0;
12201 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12202 int arg2 ;
12203 void *argp1 = 0 ;
12204 int res1 = 0 ;
12205 int val2 ;
12206 int ecode2 = 0 ;
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 char * kwnames[] = {
12210 (char *) "self",(char *) "flags", NULL
12211 };
12212
12213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12215 if (!SWIG_IsOK(res1)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12217 }
12218 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12219 ecode2 = SWIG_AsVal_int(obj1, &val2);
12220 if (!SWIG_IsOK(ecode2)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12222 }
12223 arg2 = static_cast< int >(val2);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->SetFlags(arg2);
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_Py_Void();
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12238 PyObject *resultobj = 0;
12239 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12240 int result;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 PyObject *swig_obj[1] ;
12244
12245 if (!args) SWIG_fail;
12246 swig_obj[0] = args;
12247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12248 if (!SWIG_IsOK(res1)) {
12249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12250 }
12251 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_From_int(static_cast< int >(result));
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj = 0;
12267 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12268 wxSize *arg2 = 0 ;
12269 void *argp1 = 0 ;
12270 int res1 = 0 ;
12271 wxSize temp2 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char * kwnames[] = {
12275 (char *) "self",(char *) "size", NULL
12276 };
12277
12278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12280 if (!SWIG_IsOK(res1)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12282 }
12283 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12284 {
12285 arg2 = &temp2;
12286 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12287 }
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 (arg1)->SetSize((wxSize const &)*arg2);
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_Py_Void();
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12302 PyObject *resultobj = 0;
12303 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12304 wxSize result;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 PyObject *swig_obj[1] ;
12308
12309 if (!args) SWIG_fail;
12310 swig_obj[0] = args;
12311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12312 if (!SWIG_IsOK(res1)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12314 }
12315 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj = 0;
12331 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12332 wxLayoutOrientation arg2 ;
12333 void *argp1 = 0 ;
12334 int res1 = 0 ;
12335 int val2 ;
12336 int ecode2 = 0 ;
12337 PyObject * obj0 = 0 ;
12338 PyObject * obj1 = 0 ;
12339 char * kwnames[] = {
12340 (char *) "self",(char *) "orient", NULL
12341 };
12342
12343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12345 if (!SWIG_IsOK(res1)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12347 }
12348 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12349 ecode2 = SWIG_AsVal_int(obj1, &val2);
12350 if (!SWIG_IsOK(ecode2)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12352 }
12353 arg2 = static_cast< wxLayoutOrientation >(val2);
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 (arg1)->SetOrientation(arg2);
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 resultobj = SWIG_Py_Void();
12361 return resultobj;
12362 fail:
12363 return NULL;
12364 }
12365
12366
12367 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12368 PyObject *resultobj = 0;
12369 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12370 wxLayoutOrientation result;
12371 void *argp1 = 0 ;
12372 int res1 = 0 ;
12373 PyObject *swig_obj[1] ;
12374
12375 if (!args) SWIG_fail;
12376 swig_obj[0] = args;
12377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12378 if (!SWIG_IsOK(res1)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12380 }
12381 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 resultobj = SWIG_From_int(static_cast< int >(result));
12389 return resultobj;
12390 fail:
12391 return NULL;
12392 }
12393
12394
12395 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12396 PyObject *resultobj = 0;
12397 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12398 wxLayoutAlignment arg2 ;
12399 void *argp1 = 0 ;
12400 int res1 = 0 ;
12401 int val2 ;
12402 int ecode2 = 0 ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 char * kwnames[] = {
12406 (char *) "self",(char *) "align", NULL
12407 };
12408
12409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12411 if (!SWIG_IsOK(res1)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12413 }
12414 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12415 ecode2 = SWIG_AsVal_int(obj1, &val2);
12416 if (!SWIG_IsOK(ecode2)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12418 }
12419 arg2 = static_cast< wxLayoutAlignment >(val2);
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 (arg1)->SetAlignment(arg2);
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_Py_Void();
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12434 PyObject *resultobj = 0;
12435 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12436 wxLayoutAlignment result;
12437 void *argp1 = 0 ;
12438 int res1 = 0 ;
12439 PyObject *swig_obj[1] ;
12440
12441 if (!args) SWIG_fail;
12442 swig_obj[0] = args;
12443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12444 if (!SWIG_IsOK(res1)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12446 }
12447 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = SWIG_From_int(static_cast< int >(result));
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12462 PyObject *obj;
12463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12464 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12465 return SWIG_Py_Void();
12466 }
12467
12468 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12469 return SWIG_Python_InitShadowInstance(args);
12470 }
12471
12472 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj = 0;
12474 int arg1 = (int) 0 ;
12475 wxCalculateLayoutEvent *result = 0 ;
12476 int val1 ;
12477 int ecode1 = 0 ;
12478 PyObject * obj0 = 0 ;
12479 char * kwnames[] = {
12480 (char *) "id", NULL
12481 };
12482
12483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12484 if (obj0) {
12485 ecode1 = SWIG_AsVal_int(obj0, &val1);
12486 if (!SWIG_IsOK(ecode1)) {
12487 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12488 }
12489 arg1 = static_cast< int >(val1);
12490 }
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj = 0;
12506 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12507 int arg2 ;
12508 void *argp1 = 0 ;
12509 int res1 = 0 ;
12510 int val2 ;
12511 int ecode2 = 0 ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 char * kwnames[] = {
12515 (char *) "self",(char *) "flags", NULL
12516 };
12517
12518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12520 if (!SWIG_IsOK(res1)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12522 }
12523 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12524 ecode2 = SWIG_AsVal_int(obj1, &val2);
12525 if (!SWIG_IsOK(ecode2)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12527 }
12528 arg2 = static_cast< int >(val2);
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 (arg1)->SetFlags(arg2);
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 resultobj = SWIG_Py_Void();
12536 return resultobj;
12537 fail:
12538 return NULL;
12539 }
12540
12541
12542 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12543 PyObject *resultobj = 0;
12544 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12545 int result;
12546 void *argp1 = 0 ;
12547 int res1 = 0 ;
12548 PyObject *swig_obj[1] ;
12549
12550 if (!args) SWIG_fail;
12551 swig_obj[0] = args;
12552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12553 if (!SWIG_IsOK(res1)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12555 }
12556 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 resultobj = SWIG_From_int(static_cast< int >(result));
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj = 0;
12572 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12573 wxRect *arg2 = 0 ;
12574 void *argp1 = 0 ;
12575 int res1 = 0 ;
12576 wxRect temp2 ;
12577 PyObject * obj0 = 0 ;
12578 PyObject * obj1 = 0 ;
12579 char * kwnames[] = {
12580 (char *) "self",(char *) "rect", NULL
12581 };
12582
12583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12585 if (!SWIG_IsOK(res1)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12587 }
12588 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12589 {
12590 arg2 = &temp2;
12591 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12592 }
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 (arg1)->SetRect((wxRect const &)*arg2);
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 resultobj = SWIG_Py_Void();
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12607 PyObject *resultobj = 0;
12608 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12609 wxRect result;
12610 void *argp1 = 0 ;
12611 int res1 = 0 ;
12612 PyObject *swig_obj[1] ;
12613
12614 if (!args) SWIG_fail;
12615 swig_obj[0] = args;
12616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12617 if (!SWIG_IsOK(res1)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12619 }
12620 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12628 return resultobj;
12629 fail:
12630 return NULL;
12631 }
12632
12633
12634 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12635 PyObject *obj;
12636 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12637 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12638 return SWIG_Py_Void();
12639 }
12640
12641 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12642 return SWIG_Python_InitShadowInstance(args);
12643 }
12644
12645 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxWindow *arg1 = (wxWindow *) 0 ;
12648 int arg2 = (int) -1 ;
12649 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12650 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12651 wxSize const &arg4_defvalue = wxDefaultSize ;
12652 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12653 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12654 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12655 wxString *arg6 = (wxString *) &arg6_defvalue ;
12656 wxSashLayoutWindow *result = 0 ;
12657 void *argp1 = 0 ;
12658 int res1 = 0 ;
12659 int val2 ;
12660 int ecode2 = 0 ;
12661 wxPoint temp3 ;
12662 wxSize temp4 ;
12663 long val5 ;
12664 int ecode5 = 0 ;
12665 bool temp6 = false ;
12666 PyObject * obj0 = 0 ;
12667 PyObject * obj1 = 0 ;
12668 PyObject * obj2 = 0 ;
12669 PyObject * obj3 = 0 ;
12670 PyObject * obj4 = 0 ;
12671 PyObject * obj5 = 0 ;
12672 char * kwnames[] = {
12673 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12674 };
12675
12676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12678 if (!SWIG_IsOK(res1)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12680 }
12681 arg1 = reinterpret_cast< wxWindow * >(argp1);
12682 if (obj1) {
12683 ecode2 = SWIG_AsVal_int(obj1, &val2);
12684 if (!SWIG_IsOK(ecode2)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12686 }
12687 arg2 = static_cast< int >(val2);
12688 }
12689 if (obj2) {
12690 {
12691 arg3 = &temp3;
12692 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12693 }
12694 }
12695 if (obj3) {
12696 {
12697 arg4 = &temp4;
12698 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12699 }
12700 }
12701 if (obj4) {
12702 ecode5 = SWIG_AsVal_long(obj4, &val5);
12703 if (!SWIG_IsOK(ecode5)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12705 }
12706 arg5 = static_cast< long >(val5);
12707 }
12708 if (obj5) {
12709 {
12710 arg6 = wxString_in_helper(obj5);
12711 if (arg6 == NULL) SWIG_fail;
12712 temp6 = true;
12713 }
12714 }
12715 {
12716 if (!wxPyCheckForApp()) SWIG_fail;
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12723 {
12724 if (temp6)
12725 delete arg6;
12726 }
12727 return resultobj;
12728 fail:
12729 {
12730 if (temp6)
12731 delete arg6;
12732 }
12733 return NULL;
12734 }
12735
12736
12737 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12738 PyObject *resultobj = 0;
12739 wxSashLayoutWindow *result = 0 ;
12740
12741 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12742 {
12743 if (!wxPyCheckForApp()) SWIG_fail;
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj = 0;
12758 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12759 wxWindow *arg2 = (wxWindow *) 0 ;
12760 int arg3 = (int) -1 ;
12761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12763 wxSize const &arg5_defvalue = wxDefaultSize ;
12764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12765 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12766 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12767 wxString *arg7 = (wxString *) &arg7_defvalue ;
12768 bool result;
12769 void *argp1 = 0 ;
12770 int res1 = 0 ;
12771 void *argp2 = 0 ;
12772 int res2 = 0 ;
12773 int val3 ;
12774 int ecode3 = 0 ;
12775 wxPoint temp4 ;
12776 wxSize temp5 ;
12777 long val6 ;
12778 int ecode6 = 0 ;
12779 bool temp7 = false ;
12780 PyObject * obj0 = 0 ;
12781 PyObject * obj1 = 0 ;
12782 PyObject * obj2 = 0 ;
12783 PyObject * obj3 = 0 ;
12784 PyObject * obj4 = 0 ;
12785 PyObject * obj5 = 0 ;
12786 PyObject * obj6 = 0 ;
12787 char * kwnames[] = {
12788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12789 };
12790
12791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12793 if (!SWIG_IsOK(res1)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12795 }
12796 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12798 if (!SWIG_IsOK(res2)) {
12799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12800 }
12801 arg2 = reinterpret_cast< wxWindow * >(argp2);
12802 if (obj2) {
12803 ecode3 = SWIG_AsVal_int(obj2, &val3);
12804 if (!SWIG_IsOK(ecode3)) {
12805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12806 }
12807 arg3 = static_cast< int >(val3);
12808 }
12809 if (obj3) {
12810 {
12811 arg4 = &temp4;
12812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12813 }
12814 }
12815 if (obj4) {
12816 {
12817 arg5 = &temp5;
12818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12819 }
12820 }
12821 if (obj5) {
12822 ecode6 = SWIG_AsVal_long(obj5, &val6);
12823 if (!SWIG_IsOK(ecode6)) {
12824 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12825 }
12826 arg6 = static_cast< long >(val6);
12827 }
12828 if (obj6) {
12829 {
12830 arg7 = wxString_in_helper(obj6);
12831 if (arg7 == NULL) SWIG_fail;
12832 temp7 = true;
12833 }
12834 }
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 {
12842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12843 }
12844 {
12845 if (temp7)
12846 delete arg7;
12847 }
12848 return resultobj;
12849 fail:
12850 {
12851 if (temp7)
12852 delete arg7;
12853 }
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12859 PyObject *resultobj = 0;
12860 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12861 wxLayoutAlignment result;
12862 void *argp1 = 0 ;
12863 int res1 = 0 ;
12864 PyObject *swig_obj[1] ;
12865
12866 if (!args) SWIG_fail;
12867 swig_obj[0] = args;
12868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 resultobj = SWIG_From_int(static_cast< int >(result));
12880 return resultobj;
12881 fail:
12882 return NULL;
12883 }
12884
12885
12886 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12887 PyObject *resultobj = 0;
12888 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12889 wxLayoutOrientation result;
12890 void *argp1 = 0 ;
12891 int res1 = 0 ;
12892 PyObject *swig_obj[1] ;
12893
12894 if (!args) SWIG_fail;
12895 swig_obj[0] = args;
12896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12897 if (!SWIG_IsOK(res1)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12899 }
12900 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = SWIG_From_int(static_cast< int >(result));
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj = 0;
12916 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12917 wxLayoutAlignment arg2 ;
12918 void *argp1 = 0 ;
12919 int res1 = 0 ;
12920 int val2 ;
12921 int ecode2 = 0 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 char * kwnames[] = {
12925 (char *) "self",(char *) "alignment", NULL
12926 };
12927
12928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12932 }
12933 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12934 ecode2 = SWIG_AsVal_int(obj1, &val2);
12935 if (!SWIG_IsOK(ecode2)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12937 }
12938 arg2 = static_cast< wxLayoutAlignment >(val2);
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 (arg1)->SetAlignment(arg2);
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 resultobj = SWIG_Py_Void();
12946 return resultobj;
12947 fail:
12948 return NULL;
12949 }
12950
12951
12952 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12953 PyObject *resultobj = 0;
12954 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12955 wxSize *arg2 = 0 ;
12956 void *argp1 = 0 ;
12957 int res1 = 0 ;
12958 wxSize temp2 ;
12959 PyObject * obj0 = 0 ;
12960 PyObject * obj1 = 0 ;
12961 char * kwnames[] = {
12962 (char *) "self",(char *) "size", NULL
12963 };
12964
12965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12967 if (!SWIG_IsOK(res1)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12969 }
12970 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12971 {
12972 arg2 = &temp2;
12973 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12974 }
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = SWIG_Py_Void();
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj = 0;
12990 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12991 wxLayoutOrientation arg2 ;
12992 void *argp1 = 0 ;
12993 int res1 = 0 ;
12994 int val2 ;
12995 int ecode2 = 0 ;
12996 PyObject * obj0 = 0 ;
12997 PyObject * obj1 = 0 ;
12998 char * kwnames[] = {
12999 (char *) "self",(char *) "orientation", NULL
13000 };
13001
13002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
13003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
13004 if (!SWIG_IsOK(res1)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13006 }
13007 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
13008 ecode2 = SWIG_AsVal_int(obj1, &val2);
13009 if (!SWIG_IsOK(ecode2)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13011 }
13012 arg2 = static_cast< wxLayoutOrientation >(val2);
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 (arg1)->SetOrientation(arg2);
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 resultobj = SWIG_Py_Void();
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13027 PyObject *obj;
13028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13029 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13030 return SWIG_Py_Void();
13031 }
13032
13033 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13034 return SWIG_Python_InitShadowInstance(args);
13035 }
13036
13037 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13038 PyObject *resultobj = 0;
13039 wxLayoutAlgorithm *result = 0 ;
13040
13041 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13056 PyObject *resultobj = 0;
13057 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13058 void *argp1 = 0 ;
13059 int res1 = 0 ;
13060 PyObject *swig_obj[1] ;
13061
13062 if (!args) SWIG_fail;
13063 swig_obj[0] = args;
13064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13065 if (!SWIG_IsOK(res1)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13067 }
13068 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 delete arg1;
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 resultobj = SWIG_Py_Void();
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj = 0;
13085 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13086 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13087 wxRect *arg3 = (wxRect *) NULL ;
13088 bool result;
13089 void *argp1 = 0 ;
13090 int res1 = 0 ;
13091 void *argp2 = 0 ;
13092 int res2 = 0 ;
13093 void *argp3 = 0 ;
13094 int res3 = 0 ;
13095 PyObject * obj0 = 0 ;
13096 PyObject * obj1 = 0 ;
13097 PyObject * obj2 = 0 ;
13098 char * kwnames[] = {
13099 (char *) "self",(char *) "frame",(char *) "rect", NULL
13100 };
13101
13102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13104 if (!SWIG_IsOK(res1)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13106 }
13107 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13108 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13109 if (!SWIG_IsOK(res2)) {
13110 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13111 }
13112 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13113 if (obj2) {
13114 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13115 if (!SWIG_IsOK(res3)) {
13116 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13117 }
13118 arg3 = reinterpret_cast< wxRect * >(argp3);
13119 }
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 {
13127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13128 }
13129 return resultobj;
13130 fail:
13131 return NULL;
13132 }
13133
13134
13135 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj = 0;
13137 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13138 wxFrame *arg2 = (wxFrame *) 0 ;
13139 wxWindow *arg3 = (wxWindow *) NULL ;
13140 bool result;
13141 void *argp1 = 0 ;
13142 int res1 = 0 ;
13143 void *argp2 = 0 ;
13144 int res2 = 0 ;
13145 void *argp3 = 0 ;
13146 int res3 = 0 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj2 = 0 ;
13150 char * kwnames[] = {
13151 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13152 };
13153
13154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13156 if (!SWIG_IsOK(res1)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13158 }
13159 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13161 if (!SWIG_IsOK(res2)) {
13162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13163 }
13164 arg2 = reinterpret_cast< wxFrame * >(argp2);
13165 if (obj2) {
13166 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13167 if (!SWIG_IsOK(res3)) {
13168 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13169 }
13170 arg3 = reinterpret_cast< wxWindow * >(argp3);
13171 }
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 {
13179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13180 }
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj = 0;
13189 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13190 wxWindow *arg2 = (wxWindow *) 0 ;
13191 wxWindow *arg3 = (wxWindow *) NULL ;
13192 bool result;
13193 void *argp1 = 0 ;
13194 int res1 = 0 ;
13195 void *argp2 = 0 ;
13196 int res2 = 0 ;
13197 void *argp3 = 0 ;
13198 int res3 = 0 ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 PyObject * obj2 = 0 ;
13202 char * kwnames[] = {
13203 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13204 };
13205
13206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13208 if (!SWIG_IsOK(res1)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13210 }
13211 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13213 if (!SWIG_IsOK(res2)) {
13214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13215 }
13216 arg2 = reinterpret_cast< wxWindow * >(argp2);
13217 if (obj2) {
13218 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13219 if (!SWIG_IsOK(res3)) {
13220 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13221 }
13222 arg3 = reinterpret_cast< wxWindow * >(argp3);
13223 }
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13232 }
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13240 PyObject *obj;
13241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13243 return SWIG_Py_Void();
13244 }
13245
13246 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13247 return SWIG_Python_InitShadowInstance(args);
13248 }
13249
13250 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj = 0;
13252 wxWindow *arg1 = (wxWindow *) 0 ;
13253 int arg2 = (int) wxBORDER_NONE ;
13254 wxPopupWindow *result = 0 ;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 int val2 ;
13258 int ecode2 = 0 ;
13259 PyObject * obj0 = 0 ;
13260 PyObject * obj1 = 0 ;
13261 char * kwnames[] = {
13262 (char *) "parent",(char *) "flags", NULL
13263 };
13264
13265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13267 if (!SWIG_IsOK(res1)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13269 }
13270 arg1 = reinterpret_cast< wxWindow * >(argp1);
13271 if (obj1) {
13272 ecode2 = SWIG_AsVal_int(obj1, &val2);
13273 if (!SWIG_IsOK(ecode2)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13275 }
13276 arg2 = static_cast< int >(val2);
13277 }
13278 {
13279 if (!wxPyCheckForApp()) SWIG_fail;
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13293 PyObject *resultobj = 0;
13294 wxPopupWindow *result = 0 ;
13295
13296 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13297 {
13298 if (!wxPyCheckForApp()) SWIG_fail;
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxPopupWindow *)new wxPopupWindow();
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj = 0;
13313 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13314 wxWindow *arg2 = (wxWindow *) 0 ;
13315 int arg3 = (int) wxBORDER_NONE ;
13316 bool result;
13317 void *argp1 = 0 ;
13318 int res1 = 0 ;
13319 void *argp2 = 0 ;
13320 int res2 = 0 ;
13321 int val3 ;
13322 int ecode3 = 0 ;
13323 PyObject * obj0 = 0 ;
13324 PyObject * obj1 = 0 ;
13325 PyObject * obj2 = 0 ;
13326 char * kwnames[] = {
13327 (char *) "self",(char *) "parent",(char *) "flags", NULL
13328 };
13329
13330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13332 if (!SWIG_IsOK(res1)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13334 }
13335 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13337 if (!SWIG_IsOK(res2)) {
13338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13339 }
13340 arg2 = reinterpret_cast< wxWindow * >(argp2);
13341 if (obj2) {
13342 ecode3 = SWIG_AsVal_int(obj2, &val3);
13343 if (!SWIG_IsOK(ecode3)) {
13344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13345 }
13346 arg3 = static_cast< int >(val3);
13347 }
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (bool)(arg1)->Create(arg2,arg3);
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 {
13355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13356 }
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj = 0;
13365 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13366 wxPoint *arg2 = 0 ;
13367 wxSize *arg3 = 0 ;
13368 void *argp1 = 0 ;
13369 int res1 = 0 ;
13370 wxPoint temp2 ;
13371 wxSize temp3 ;
13372 PyObject * obj0 = 0 ;
13373 PyObject * obj1 = 0 ;
13374 PyObject * obj2 = 0 ;
13375 char * kwnames[] = {
13376 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13377 };
13378
13379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13381 if (!SWIG_IsOK(res1)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13383 }
13384 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13385 {
13386 arg2 = &temp2;
13387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13388 }
13389 {
13390 arg3 = &temp3;
13391 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13392 }
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = SWIG_Py_Void();
13400 return resultobj;
13401 fail:
13402 return NULL;
13403 }
13404
13405
13406 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13407 PyObject *obj;
13408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13410 return SWIG_Py_Void();
13411 }
13412
13413 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13414 return SWIG_Python_InitShadowInstance(args);
13415 }
13416
13417 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj = 0;
13419 wxWindow *arg1 = (wxWindow *) 0 ;
13420 int arg2 = (int) wxBORDER_NONE ;
13421 wxPyPopupTransientWindow *result = 0 ;
13422 void *argp1 = 0 ;
13423 int res1 = 0 ;
13424 int val2 ;
13425 int ecode2 = 0 ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 char * kwnames[] = {
13429 (char *) "parent",(char *) "style", NULL
13430 };
13431
13432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13434 if (!SWIG_IsOK(res1)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13436 }
13437 arg1 = reinterpret_cast< wxWindow * >(argp1);
13438 if (obj1) {
13439 ecode2 = SWIG_AsVal_int(obj1, &val2);
13440 if (!SWIG_IsOK(ecode2)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13442 }
13443 arg2 = static_cast< int >(val2);
13444 }
13445 {
13446 if (!wxPyCheckForApp()) SWIG_fail;
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13460 PyObject *resultobj = 0;
13461 wxPyPopupTransientWindow *result = 0 ;
13462
13463 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13464 {
13465 if (!wxPyCheckForApp()) SWIG_fail;
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13468 wxPyEndAllowThreads(__tstate);
13469 if (PyErr_Occurred()) SWIG_fail;
13470 }
13471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13472 return resultobj;
13473 fail:
13474 return NULL;
13475 }
13476
13477
13478 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj = 0;
13480 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13481 PyObject *arg2 = (PyObject *) 0 ;
13482 PyObject *arg3 = (PyObject *) 0 ;
13483 void *argp1 = 0 ;
13484 int res1 = 0 ;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 PyObject * obj2 = 0 ;
13488 char * kwnames[] = {
13489 (char *) "self",(char *) "self",(char *) "_class", NULL
13490 };
13491
13492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13496 }
13497 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13498 arg2 = obj1;
13499 arg3 = obj2;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->_setCallbackInfo(arg2,arg3);
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_Py_Void();
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj = 0;
13515 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13516 wxWindow *arg2 = (wxWindow *) NULL ;
13517 void *argp1 = 0 ;
13518 int res1 = 0 ;
13519 void *argp2 = 0 ;
13520 int res2 = 0 ;
13521 PyObject * obj0 = 0 ;
13522 PyObject * obj1 = 0 ;
13523 char * kwnames[] = {
13524 (char *) "self",(char *) "focus", NULL
13525 };
13526
13527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13529 if (!SWIG_IsOK(res1)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13531 }
13532 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13533 if (obj1) {
13534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13535 if (!SWIG_IsOK(res2)) {
13536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13537 }
13538 arg2 = reinterpret_cast< wxWindow * >(argp2);
13539 }
13540 {
13541 PyThreadState* __tstate = wxPyBeginAllowThreads();
13542 (arg1)->Popup(arg2);
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 resultobj = SWIG_Py_Void();
13547 return resultobj;
13548 fail:
13549 return NULL;
13550 }
13551
13552
13553 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13554 PyObject *resultobj = 0;
13555 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13556 void *argp1 = 0 ;
13557 int res1 = 0 ;
13558 PyObject *swig_obj[1] ;
13559
13560 if (!args) SWIG_fail;
13561 swig_obj[0] = args;
13562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13563 if (!SWIG_IsOK(res1)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13565 }
13566 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 (arg1)->Dismiss();
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 resultobj = SWIG_Py_Void();
13574 return resultobj;
13575 fail:
13576 return NULL;
13577 }
13578
13579
13580 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13581 PyObject *obj;
13582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13584 return SWIG_Py_Void();
13585 }
13586
13587 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13588 return SWIG_Python_InitShadowInstance(args);
13589 }
13590
13591 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13592 PyObject *resultobj = 0;
13593 wxWindow *arg1 = (wxWindow *) 0 ;
13594 wxString *arg2 = 0 ;
13595 int arg3 = (int) 100 ;
13596 wxRect *arg4 = (wxRect *) NULL ;
13597 wxTipWindow *result = 0 ;
13598 void *argp1 = 0 ;
13599 int res1 = 0 ;
13600 bool temp2 = false ;
13601 int val3 ;
13602 int ecode3 = 0 ;
13603 void *argp4 = 0 ;
13604 int res4 = 0 ;
13605 PyObject * obj0 = 0 ;
13606 PyObject * obj1 = 0 ;
13607 PyObject * obj2 = 0 ;
13608 PyObject * obj3 = 0 ;
13609 char * kwnames[] = {
13610 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13611 };
13612
13613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13615 if (!SWIG_IsOK(res1)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13617 }
13618 arg1 = reinterpret_cast< wxWindow * >(argp1);
13619 {
13620 arg2 = wxString_in_helper(obj1);
13621 if (arg2 == NULL) SWIG_fail;
13622 temp2 = true;
13623 }
13624 if (obj2) {
13625 ecode3 = SWIG_AsVal_int(obj2, &val3);
13626 if (!SWIG_IsOK(ecode3)) {
13627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13628 }
13629 arg3 = static_cast< int >(val3);
13630 }
13631 if (obj3) {
13632 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13633 if (!SWIG_IsOK(res4)) {
13634 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13635 }
13636 arg4 = reinterpret_cast< wxRect * >(argp4);
13637 }
13638 {
13639 if (!wxPyCheckForApp()) SWIG_fail;
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13646 {
13647 if (temp2)
13648 delete arg2;
13649 }
13650 return resultobj;
13651 fail:
13652 {
13653 if (temp2)
13654 delete arg2;
13655 }
13656 return NULL;
13657 }
13658
13659
13660 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj = 0;
13662 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13663 wxRect *arg2 = 0 ;
13664 void *argp1 = 0 ;
13665 int res1 = 0 ;
13666 wxRect temp2 ;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char * kwnames[] = {
13670 (char *) "self",(char *) "rectBound", NULL
13671 };
13672
13673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13675 if (!SWIG_IsOK(res1)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13677 }
13678 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13679 {
13680 arg2 = &temp2;
13681 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13682 }
13683 {
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 resultobj = SWIG_Py_Void();
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13697 PyObject *resultobj = 0;
13698 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13699 void *argp1 = 0 ;
13700 int res1 = 0 ;
13701 PyObject *swig_obj[1] ;
13702
13703 if (!args) SWIG_fail;
13704 swig_obj[0] = args;
13705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13706 if (!SWIG_IsOK(res1)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13708 }
13709 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 (arg1)->Close();
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 resultobj = SWIG_Py_Void();
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13724 PyObject *obj;
13725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13726 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13727 return SWIG_Py_Void();
13728 }
13729
13730 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13731 return SWIG_Python_InitShadowInstance(args);
13732 }
13733
13734 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj = 0;
13736 wxWindow *arg1 = (wxWindow *) 0 ;
13737 int arg2 = (int) wxID_ANY ;
13738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13740 wxSize const &arg4_defvalue = wxDefaultSize ;
13741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13742 long arg5 = (long) 0 ;
13743 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13744 wxString *arg6 = (wxString *) &arg6_defvalue ;
13745 wxPyVScrolledWindow *result = 0 ;
13746 void *argp1 = 0 ;
13747 int res1 = 0 ;
13748 int val2 ;
13749 int ecode2 = 0 ;
13750 wxPoint temp3 ;
13751 wxSize temp4 ;
13752 long val5 ;
13753 int ecode5 = 0 ;
13754 bool temp6 = false ;
13755 PyObject * obj0 = 0 ;
13756 PyObject * obj1 = 0 ;
13757 PyObject * obj2 = 0 ;
13758 PyObject * obj3 = 0 ;
13759 PyObject * obj4 = 0 ;
13760 PyObject * obj5 = 0 ;
13761 char * kwnames[] = {
13762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13763 };
13764
13765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13767 if (!SWIG_IsOK(res1)) {
13768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13769 }
13770 arg1 = reinterpret_cast< wxWindow * >(argp1);
13771 if (obj1) {
13772 ecode2 = SWIG_AsVal_int(obj1, &val2);
13773 if (!SWIG_IsOK(ecode2)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13775 }
13776 arg2 = static_cast< int >(val2);
13777 }
13778 if (obj2) {
13779 {
13780 arg3 = &temp3;
13781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13782 }
13783 }
13784 if (obj3) {
13785 {
13786 arg4 = &temp4;
13787 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13788 }
13789 }
13790 if (obj4) {
13791 ecode5 = SWIG_AsVal_long(obj4, &val5);
13792 if (!SWIG_IsOK(ecode5)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13794 }
13795 arg5 = static_cast< long >(val5);
13796 }
13797 if (obj5) {
13798 {
13799 arg6 = wxString_in_helper(obj5);
13800 if (arg6 == NULL) SWIG_fail;
13801 temp6 = true;
13802 }
13803 }
13804 {
13805 if (!wxPyCheckForApp()) SWIG_fail;
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13812 {
13813 if (temp6)
13814 delete arg6;
13815 }
13816 return resultobj;
13817 fail:
13818 {
13819 if (temp6)
13820 delete arg6;
13821 }
13822 return NULL;
13823 }
13824
13825
13826 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13827 PyObject *resultobj = 0;
13828 wxPyVScrolledWindow *result = 0 ;
13829
13830 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13831 {
13832 if (!wxPyCheckForApp()) SWIG_fail;
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13839 return resultobj;
13840 fail:
13841 return NULL;
13842 }
13843
13844
13845 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj = 0;
13847 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13848 PyObject *arg2 = (PyObject *) 0 ;
13849 PyObject *arg3 = (PyObject *) 0 ;
13850 void *argp1 = 0 ;
13851 int res1 = 0 ;
13852 PyObject * obj0 = 0 ;
13853 PyObject * obj1 = 0 ;
13854 PyObject * obj2 = 0 ;
13855 char * kwnames[] = {
13856 (char *) "self",(char *) "self",(char *) "_class", NULL
13857 };
13858
13859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13861 if (!SWIG_IsOK(res1)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13863 }
13864 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13865 arg2 = obj1;
13866 arg3 = obj2;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 (arg1)->_setCallbackInfo(arg2,arg3);
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 resultobj = SWIG_Py_Void();
13874 return resultobj;
13875 fail:
13876 return NULL;
13877 }
13878
13879
13880 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13881 PyObject *resultobj = 0;
13882 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13883 wxWindow *arg2 = (wxWindow *) 0 ;
13884 int arg3 = (int) wxID_ANY ;
13885 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13886 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13887 wxSize const &arg5_defvalue = wxDefaultSize ;
13888 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13889 long arg6 = (long) 0 ;
13890 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13891 wxString *arg7 = (wxString *) &arg7_defvalue ;
13892 bool result;
13893 void *argp1 = 0 ;
13894 int res1 = 0 ;
13895 void *argp2 = 0 ;
13896 int res2 = 0 ;
13897 int val3 ;
13898 int ecode3 = 0 ;
13899 wxPoint temp4 ;
13900 wxSize temp5 ;
13901 long val6 ;
13902 int ecode6 = 0 ;
13903 bool temp7 = false ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 PyObject * obj2 = 0 ;
13907 PyObject * obj3 = 0 ;
13908 PyObject * obj4 = 0 ;
13909 PyObject * obj5 = 0 ;
13910 PyObject * obj6 = 0 ;
13911 char * kwnames[] = {
13912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13913 };
13914
13915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13917 if (!SWIG_IsOK(res1)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13919 }
13920 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13921 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13922 if (!SWIG_IsOK(res2)) {
13923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13924 }
13925 arg2 = reinterpret_cast< wxWindow * >(argp2);
13926 if (obj2) {
13927 ecode3 = SWIG_AsVal_int(obj2, &val3);
13928 if (!SWIG_IsOK(ecode3)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13930 }
13931 arg3 = static_cast< int >(val3);
13932 }
13933 if (obj3) {
13934 {
13935 arg4 = &temp4;
13936 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13937 }
13938 }
13939 if (obj4) {
13940 {
13941 arg5 = &temp5;
13942 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13943 }
13944 }
13945 if (obj5) {
13946 ecode6 = SWIG_AsVal_long(obj5, &val6);
13947 if (!SWIG_IsOK(ecode6)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13949 }
13950 arg6 = static_cast< long >(val6);
13951 }
13952 if (obj6) {
13953 {
13954 arg7 = wxString_in_helper(obj6);
13955 if (arg7 == NULL) SWIG_fail;
13956 temp7 = true;
13957 }
13958 }
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 {
13966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13967 }
13968 {
13969 if (temp7)
13970 delete arg7;
13971 }
13972 return resultobj;
13973 fail:
13974 {
13975 if (temp7)
13976 delete arg7;
13977 }
13978 return NULL;
13979 }
13980
13981
13982 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj = 0;
13984 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13985 size_t arg2 ;
13986 void *argp1 = 0 ;
13987 int res1 = 0 ;
13988 size_t val2 ;
13989 int ecode2 = 0 ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char * kwnames[] = {
13993 (char *) "self",(char *) "count", NULL
13994 };
13995
13996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13998 if (!SWIG_IsOK(res1)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14000 }
14001 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14002 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14003 if (!SWIG_IsOK(ecode2)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
14005 }
14006 arg2 = static_cast< size_t >(val2);
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 (arg1)->SetLineCount(arg2);
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 resultobj = SWIG_Py_Void();
14014 return resultobj;
14015 fail:
14016 return NULL;
14017 }
14018
14019
14020 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj = 0;
14022 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14023 size_t arg2 ;
14024 bool result;
14025 void *argp1 = 0 ;
14026 int res1 = 0 ;
14027 size_t val2 ;
14028 int ecode2 = 0 ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 char * kwnames[] = {
14032 (char *) "self",(char *) "line", NULL
14033 };
14034
14035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
14036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14037 if (!SWIG_IsOK(res1)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14039 }
14040 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14041 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14042 if (!SWIG_IsOK(ecode2)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
14044 }
14045 arg2 = static_cast< size_t >(val2);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)(arg1)->ScrollToLine(arg2);
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14054 }
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = 0;
14063 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14064 size_t arg2 ;
14065 void *argp1 = 0 ;
14066 int res1 = 0 ;
14067 size_t val2 ;
14068 int ecode2 = 0 ;
14069 PyObject * obj0 = 0 ;
14070 PyObject * obj1 = 0 ;
14071 char * kwnames[] = {
14072 (char *) "self",(char *) "line", NULL
14073 };
14074
14075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14077 if (!SWIG_IsOK(res1)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14079 }
14080 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14081 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14082 if (!SWIG_IsOK(ecode2)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14084 }
14085 arg2 = static_cast< size_t >(val2);
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 (arg1)->RefreshLine(arg2);
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 resultobj = SWIG_Py_Void();
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj = 0;
14101 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14102 size_t arg2 ;
14103 size_t arg3 ;
14104 void *argp1 = 0 ;
14105 int res1 = 0 ;
14106 size_t val2 ;
14107 int ecode2 = 0 ;
14108 size_t val3 ;
14109 int ecode3 = 0 ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 PyObject * obj2 = 0 ;
14113 char * kwnames[] = {
14114 (char *) "self",(char *) "from",(char *) "to", NULL
14115 };
14116
14117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14119 if (!SWIG_IsOK(res1)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14121 }
14122 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14123 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14124 if (!SWIG_IsOK(ecode2)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14126 }
14127 arg2 = static_cast< size_t >(val2);
14128 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14129 if (!SWIG_IsOK(ecode3)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14131 }
14132 arg3 = static_cast< size_t >(val3);
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 (arg1)->RefreshLines(arg2,arg3);
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_Py_Void();
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj = 0;
14148 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14149 int arg2 ;
14150 int arg3 ;
14151 int result;
14152 void *argp1 = 0 ;
14153 int res1 = 0 ;
14154 int val2 ;
14155 int ecode2 = 0 ;
14156 int val3 ;
14157 int ecode3 = 0 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 PyObject * obj2 = 0 ;
14161 char * kwnames[] = {
14162 (char *) "self",(char *) "x",(char *) "y", NULL
14163 };
14164
14165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14167 if (!SWIG_IsOK(res1)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14169 }
14170 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14171 ecode2 = SWIG_AsVal_int(obj1, &val2);
14172 if (!SWIG_IsOK(ecode2)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14174 }
14175 arg2 = static_cast< int >(val2);
14176 ecode3 = SWIG_AsVal_int(obj2, &val3);
14177 if (!SWIG_IsOK(ecode3)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14179 }
14180 arg3 = static_cast< int >(val3);
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_From_int(static_cast< int >(result));
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj = 0;
14196 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14197 wxPoint *arg2 = 0 ;
14198 int result;
14199 void *argp1 = 0 ;
14200 int res1 = 0 ;
14201 wxPoint temp2 ;
14202 PyObject * obj0 = 0 ;
14203 PyObject * obj1 = 0 ;
14204 char * kwnames[] = {
14205 (char *) "self",(char *) "pt", NULL
14206 };
14207
14208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14210 if (!SWIG_IsOK(res1)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14212 }
14213 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14214 {
14215 arg2 = &temp2;
14216 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14217 }
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 resultobj = SWIG_From_int(static_cast< int >(result));
14225 return resultobj;
14226 fail:
14227 return NULL;
14228 }
14229
14230
14231 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14232 PyObject *resultobj = 0;
14233 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14234 void *argp1 = 0 ;
14235 int res1 = 0 ;
14236 PyObject *swig_obj[1] ;
14237
14238 if (!args) SWIG_fail;
14239 swig_obj[0] = args;
14240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14241 if (!SWIG_IsOK(res1)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14243 }
14244 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 (arg1)->RefreshAll();
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 resultobj = SWIG_Py_Void();
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14259 PyObject *resultobj = 0;
14260 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14261 size_t result;
14262 void *argp1 = 0 ;
14263 int res1 = 0 ;
14264 PyObject *swig_obj[1] ;
14265
14266 if (!args) SWIG_fail;
14267 swig_obj[0] = args;
14268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14269 if (!SWIG_IsOK(res1)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14271 }
14272 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14287 PyObject *resultobj = 0;
14288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14289 size_t result;
14290 void *argp1 = 0 ;
14291 int res1 = 0 ;
14292 PyObject *swig_obj[1] ;
14293
14294 if (!args) SWIG_fail;
14295 swig_obj[0] = args;
14296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14297 if (!SWIG_IsOK(res1)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14299 }
14300 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14315 PyObject *resultobj = 0;
14316 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14317 size_t result;
14318 void *argp1 = 0 ;
14319 int res1 = 0 ;
14320 PyObject *swig_obj[1] ;
14321
14322 if (!args) SWIG_fail;
14323 swig_obj[0] = args;
14324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14325 if (!SWIG_IsOK(res1)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14327 }
14328 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj = 0;
14344 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14345 size_t arg2 ;
14346 bool result;
14347 void *argp1 = 0 ;
14348 int res1 = 0 ;
14349 size_t val2 ;
14350 int ecode2 = 0 ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
14353 char * kwnames[] = {
14354 (char *) "self",(char *) "line", NULL
14355 };
14356
14357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14359 if (!SWIG_IsOK(res1)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14361 }
14362 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14363 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14364 if (!SWIG_IsOK(ecode2)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14366 }
14367 arg2 = static_cast< size_t >(val2);
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 }
14374 {
14375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14376 }
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14384 PyObject *resultobj = 0;
14385 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14386 size_t result;
14387 void *argp1 = 0 ;
14388 int res1 = 0 ;
14389 PyObject *swig_obj[1] ;
14390
14391 if (!args) SWIG_fail;
14392 swig_obj[0] = args;
14393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14394 if (!SWIG_IsOK(res1)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14396 }
14397 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14405 return resultobj;
14406 fail:
14407 return NULL;
14408 }
14409
14410
14411 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14412 PyObject *resultobj = 0;
14413 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14414 size_t result;
14415 void *argp1 = 0 ;
14416 int res1 = 0 ;
14417 PyObject *swig_obj[1] ;
14418
14419 if (!args) SWIG_fail;
14420 swig_obj[0] = args;
14421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14422 if (!SWIG_IsOK(res1)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14424 }
14425 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14433 return resultobj;
14434 fail:
14435 return NULL;
14436 }
14437
14438
14439 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj = 0;
14441 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14442 size_t arg2 ;
14443 bool arg3 = (bool) false ;
14444 size_t result;
14445 void *argp1 = 0 ;
14446 int res1 = 0 ;
14447 size_t val2 ;
14448 int ecode2 = 0 ;
14449 bool val3 ;
14450 int ecode3 = 0 ;
14451 PyObject * obj0 = 0 ;
14452 PyObject * obj1 = 0 ;
14453 PyObject * obj2 = 0 ;
14454 char * kwnames[] = {
14455 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14456 };
14457
14458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14460 if (!SWIG_IsOK(res1)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14462 }
14463 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14464 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14465 if (!SWIG_IsOK(ecode2)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14467 }
14468 arg2 = static_cast< size_t >(val2);
14469 if (obj2) {
14470 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14471 if (!SWIG_IsOK(ecode3)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14473 }
14474 arg3 = static_cast< bool >(val3);
14475 }
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj = 0;
14491 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14492 size_t arg2 ;
14493 size_t arg3 ;
14494 int result;
14495 void *argp1 = 0 ;
14496 int res1 = 0 ;
14497 size_t val2 ;
14498 int ecode2 = 0 ;
14499 size_t val3 ;
14500 int ecode3 = 0 ;
14501 PyObject * obj0 = 0 ;
14502 PyObject * obj1 = 0 ;
14503 PyObject * obj2 = 0 ;
14504 char * kwnames[] = {
14505 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14506 };
14507
14508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14510 if (!SWIG_IsOK(res1)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14512 }
14513 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14514 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14515 if (!SWIG_IsOK(ecode2)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14517 }
14518 arg2 = static_cast< size_t >(val2);
14519 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14520 if (!SWIG_IsOK(ecode3)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14522 }
14523 arg3 = static_cast< size_t >(val3);
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 resultobj = SWIG_From_int(static_cast< int >(result));
14531 return resultobj;
14532 fail:
14533 return NULL;
14534 }
14535
14536
14537 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14538 PyObject *obj;
14539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14541 return SWIG_Py_Void();
14542 }
14543
14544 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14545 return SWIG_Python_InitShadowInstance(args);
14546 }
14547
14548 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14549 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14550 return 1;
14551 }
14552
14553
14554 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14555 PyObject *pyobj = 0;
14556
14557 {
14558 #if wxUSE_UNICODE
14559 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14560 #else
14561 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14562 #endif
14563 }
14564 return pyobj;
14565 }
14566
14567
14568 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj = 0;
14570 wxWindow *arg1 = (wxWindow *) 0 ;
14571 int arg2 = (int) wxID_ANY ;
14572 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14573 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14574 wxSize const &arg4_defvalue = wxDefaultSize ;
14575 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14576 long arg5 = (long) 0 ;
14577 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14578 wxString *arg6 = (wxString *) &arg6_defvalue ;
14579 wxPyVListBox *result = 0 ;
14580 void *argp1 = 0 ;
14581 int res1 = 0 ;
14582 int val2 ;
14583 int ecode2 = 0 ;
14584 wxPoint temp3 ;
14585 wxSize temp4 ;
14586 long val5 ;
14587 int ecode5 = 0 ;
14588 bool temp6 = false ;
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
14591 PyObject * obj2 = 0 ;
14592 PyObject * obj3 = 0 ;
14593 PyObject * obj4 = 0 ;
14594 PyObject * obj5 = 0 ;
14595 char * kwnames[] = {
14596 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14597 };
14598
14599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14601 if (!SWIG_IsOK(res1)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14603 }
14604 arg1 = reinterpret_cast< wxWindow * >(argp1);
14605 if (obj1) {
14606 ecode2 = SWIG_AsVal_int(obj1, &val2);
14607 if (!SWIG_IsOK(ecode2)) {
14608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14609 }
14610 arg2 = static_cast< int >(val2);
14611 }
14612 if (obj2) {
14613 {
14614 arg3 = &temp3;
14615 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14616 }
14617 }
14618 if (obj3) {
14619 {
14620 arg4 = &temp4;
14621 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14622 }
14623 }
14624 if (obj4) {
14625 ecode5 = SWIG_AsVal_long(obj4, &val5);
14626 if (!SWIG_IsOK(ecode5)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14628 }
14629 arg5 = static_cast< long >(val5);
14630 }
14631 if (obj5) {
14632 {
14633 arg6 = wxString_in_helper(obj5);
14634 if (arg6 == NULL) SWIG_fail;
14635 temp6 = true;
14636 }
14637 }
14638 {
14639 if (!wxPyCheckForApp()) SWIG_fail;
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14646 {
14647 if (temp6)
14648 delete arg6;
14649 }
14650 return resultobj;
14651 fail:
14652 {
14653 if (temp6)
14654 delete arg6;
14655 }
14656 return NULL;
14657 }
14658
14659
14660 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14661 PyObject *resultobj = 0;
14662 wxPyVListBox *result = 0 ;
14663
14664 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14665 {
14666 if (!wxPyCheckForApp()) SWIG_fail;
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = (wxPyVListBox *)new wxPyVListBox();
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj = 0;
14681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14682 PyObject *arg2 = (PyObject *) 0 ;
14683 PyObject *arg3 = (PyObject *) 0 ;
14684 void *argp1 = 0 ;
14685 int res1 = 0 ;
14686 PyObject * obj0 = 0 ;
14687 PyObject * obj1 = 0 ;
14688 PyObject * obj2 = 0 ;
14689 char * kwnames[] = {
14690 (char *) "self",(char *) "self",(char *) "_class", NULL
14691 };
14692
14693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14695 if (!SWIG_IsOK(res1)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14697 }
14698 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14699 arg2 = obj1;
14700 arg3 = obj2;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 (arg1)->_setCallbackInfo(arg2,arg3);
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 resultobj = SWIG_Py_Void();
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj = 0;
14716 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14717 wxWindow *arg2 = (wxWindow *) 0 ;
14718 int arg3 = (int) wxID_ANY ;
14719 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14720 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14721 wxSize const &arg5_defvalue = wxDefaultSize ;
14722 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14723 long arg6 = (long) 0 ;
14724 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14725 wxString *arg7 = (wxString *) &arg7_defvalue ;
14726 bool result;
14727 void *argp1 = 0 ;
14728 int res1 = 0 ;
14729 void *argp2 = 0 ;
14730 int res2 = 0 ;
14731 int val3 ;
14732 int ecode3 = 0 ;
14733 wxPoint temp4 ;
14734 wxSize temp5 ;
14735 long val6 ;
14736 int ecode6 = 0 ;
14737 bool temp7 = false ;
14738 PyObject * obj0 = 0 ;
14739 PyObject * obj1 = 0 ;
14740 PyObject * obj2 = 0 ;
14741 PyObject * obj3 = 0 ;
14742 PyObject * obj4 = 0 ;
14743 PyObject * obj5 = 0 ;
14744 PyObject * obj6 = 0 ;
14745 char * kwnames[] = {
14746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14747 };
14748
14749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14751 if (!SWIG_IsOK(res1)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14753 }
14754 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14756 if (!SWIG_IsOK(res2)) {
14757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14758 }
14759 arg2 = reinterpret_cast< wxWindow * >(argp2);
14760 if (obj2) {
14761 ecode3 = SWIG_AsVal_int(obj2, &val3);
14762 if (!SWIG_IsOK(ecode3)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14764 }
14765 arg3 = static_cast< int >(val3);
14766 }
14767 if (obj3) {
14768 {
14769 arg4 = &temp4;
14770 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14771 }
14772 }
14773 if (obj4) {
14774 {
14775 arg5 = &temp5;
14776 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14777 }
14778 }
14779 if (obj5) {
14780 ecode6 = SWIG_AsVal_long(obj5, &val6);
14781 if (!SWIG_IsOK(ecode6)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14783 }
14784 arg6 = static_cast< long >(val6);
14785 }
14786 if (obj6) {
14787 {
14788 arg7 = wxString_in_helper(obj6);
14789 if (arg7 == NULL) SWIG_fail;
14790 temp7 = true;
14791 }
14792 }
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 {
14800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14801 }
14802 {
14803 if (temp7)
14804 delete arg7;
14805 }
14806 return resultobj;
14807 fail:
14808 {
14809 if (temp7)
14810 delete arg7;
14811 }
14812 return NULL;
14813 }
14814
14815
14816 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14817 PyObject *resultobj = 0;
14818 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14819 size_t result;
14820 void *argp1 = 0 ;
14821 int res1 = 0 ;
14822 PyObject *swig_obj[1] ;
14823
14824 if (!args) SWIG_fail;
14825 swig_obj[0] = args;
14826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14827 if (!SWIG_IsOK(res1)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14829 }
14830 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14845 PyObject *resultobj = 0;
14846 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14847 bool result;
14848 void *argp1 = 0 ;
14849 int res1 = 0 ;
14850 PyObject *swig_obj[1] ;
14851
14852 if (!args) SWIG_fail;
14853 swig_obj[0] = args;
14854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14855 if (!SWIG_IsOK(res1)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14857 }
14858 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14875 PyObject *resultobj = 0;
14876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14877 int result;
14878 void *argp1 = 0 ;
14879 int res1 = 0 ;
14880 PyObject *swig_obj[1] ;
14881
14882 if (!args) SWIG_fail;
14883 swig_obj[0] = args;
14884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14885 if (!SWIG_IsOK(res1)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14887 }
14888 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 resultobj = SWIG_From_int(static_cast< int >(result));
14896 return resultobj;
14897 fail:
14898 return NULL;
14899 }
14900
14901
14902 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj = 0;
14904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14905 size_t arg2 ;
14906 bool result;
14907 void *argp1 = 0 ;
14908 int res1 = 0 ;
14909 size_t val2 ;
14910 int ecode2 = 0 ;
14911 PyObject * obj0 = 0 ;
14912 PyObject * obj1 = 0 ;
14913 char * kwnames[] = {
14914 (char *) "self",(char *) "item", NULL
14915 };
14916
14917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14919 if (!SWIG_IsOK(res1)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14921 }
14922 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14923 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14924 if (!SWIG_IsOK(ecode2)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14926 }
14927 arg2 = static_cast< size_t >(val2);
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 {
14935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14936 }
14937 return resultobj;
14938 fail:
14939 return NULL;
14940 }
14941
14942
14943 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14944 PyObject *resultobj = 0;
14945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14946 size_t arg2 ;
14947 bool result;
14948 void *argp1 = 0 ;
14949 int res1 = 0 ;
14950 size_t val2 ;
14951 int ecode2 = 0 ;
14952 PyObject * obj0 = 0 ;
14953 PyObject * obj1 = 0 ;
14954 char * kwnames[] = {
14955 (char *) "self",(char *) "item", NULL
14956 };
14957
14958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14960 if (!SWIG_IsOK(res1)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14962 }
14963 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14964 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14965 if (!SWIG_IsOK(ecode2)) {
14966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14967 }
14968 arg2 = static_cast< size_t >(val2);
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 {
14976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14985 PyObject *resultobj = 0;
14986 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14987 size_t result;
14988 void *argp1 = 0 ;
14989 int res1 = 0 ;
14990 PyObject *swig_obj[1] ;
14991
14992 if (!args) SWIG_fail;
14993 swig_obj[0] = args;
14994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14995 if (!SWIG_IsOK(res1)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14997 }
14998 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15013 PyObject *resultobj = 0;
15014 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15015 PyObject *result = 0 ;
15016 void *argp1 = 0 ;
15017 int res1 = 0 ;
15018 PyObject *swig_obj[1] ;
15019
15020 if (!args) SWIG_fail;
15021 swig_obj[0] = args;
15022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15023 if (!SWIG_IsOK(res1)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15025 }
15026 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 resultobj = result;
15034 return resultobj;
15035 fail:
15036 return NULL;
15037 }
15038
15039
15040 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj = 0;
15042 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15043 unsigned long arg2 ;
15044 PyObject *result = 0 ;
15045 void *argp1 = 0 ;
15046 int res1 = 0 ;
15047 unsigned long val2 ;
15048 int ecode2 = 0 ;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 char * kwnames[] = {
15052 (char *) "self",(char *) "cookie", NULL
15053 };
15054
15055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
15056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15057 if (!SWIG_IsOK(res1)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15059 }
15060 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15061 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15062 if (!SWIG_IsOK(ecode2)) {
15063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15064 }
15065 arg2 = static_cast< unsigned long >(val2);
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 resultobj = result;
15073 return resultobj;
15074 fail:
15075 return NULL;
15076 }
15077
15078
15079 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15080 PyObject *resultobj = 0;
15081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15082 wxPoint result;
15083 void *argp1 = 0 ;
15084 int res1 = 0 ;
15085 PyObject *swig_obj[1] ;
15086
15087 if (!args) SWIG_fail;
15088 swig_obj[0] = args;
15089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15090 if (!SWIG_IsOK(res1)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15092 }
15093 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = ((wxPyVListBox const *)arg1)->GetMargins();
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15108 PyObject *resultobj = 0;
15109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15110 wxColour *result = 0 ;
15111 void *argp1 = 0 ;
15112 int res1 = 0 ;
15113 PyObject *swig_obj[1] ;
15114
15115 if (!args) SWIG_fail;
15116 swig_obj[0] = args;
15117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15118 if (!SWIG_IsOK(res1)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15120 }
15121 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 {
15125 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15126 result = (wxColour *) &_result_ref;
15127 }
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj = 0;
15140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15141 size_t arg2 ;
15142 void *argp1 = 0 ;
15143 int res1 = 0 ;
15144 size_t val2 ;
15145 int ecode2 = 0 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 char * kwnames[] = {
15149 (char *) "self",(char *) "count", NULL
15150 };
15151
15152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15154 if (!SWIG_IsOK(res1)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15156 }
15157 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15158 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15159 if (!SWIG_IsOK(ecode2)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15161 }
15162 arg2 = static_cast< size_t >(val2);
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 (arg1)->SetItemCount(arg2);
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = SWIG_Py_Void();
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15177 PyObject *resultobj = 0;
15178 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15179 void *argp1 = 0 ;
15180 int res1 = 0 ;
15181 PyObject *swig_obj[1] ;
15182
15183 if (!args) SWIG_fail;
15184 swig_obj[0] = args;
15185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15186 if (!SWIG_IsOK(res1)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15188 }
15189 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->Clear();
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 resultobj = SWIG_Py_Void();
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj = 0;
15205 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15206 int arg2 ;
15207 void *argp1 = 0 ;
15208 int res1 = 0 ;
15209 int val2 ;
15210 int ecode2 = 0 ;
15211 PyObject * obj0 = 0 ;
15212 PyObject * obj1 = 0 ;
15213 char * kwnames[] = {
15214 (char *) "self",(char *) "selection", NULL
15215 };
15216
15217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15219 if (!SWIG_IsOK(res1)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15221 }
15222 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15223 ecode2 = SWIG_AsVal_int(obj1, &val2);
15224 if (!SWIG_IsOK(ecode2)) {
15225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15226 }
15227 arg2 = static_cast< int >(val2);
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 (arg1)->SetSelection(arg2);
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 resultobj = SWIG_Py_Void();
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj = 0;
15243 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15244 size_t arg2 ;
15245 bool arg3 = (bool) true ;
15246 bool result;
15247 void *argp1 = 0 ;
15248 int res1 = 0 ;
15249 size_t val2 ;
15250 int ecode2 = 0 ;
15251 bool val3 ;
15252 int ecode3 = 0 ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 PyObject * obj2 = 0 ;
15256 char * kwnames[] = {
15257 (char *) "self",(char *) "item",(char *) "select", NULL
15258 };
15259
15260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15262 if (!SWIG_IsOK(res1)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15264 }
15265 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15266 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15267 if (!SWIG_IsOK(ecode2)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15269 }
15270 arg2 = static_cast< size_t >(val2);
15271 if (obj2) {
15272 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15273 if (!SWIG_IsOK(ecode3)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15275 }
15276 arg3 = static_cast< bool >(val3);
15277 }
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (bool)(arg1)->Select(arg2,arg3);
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
15285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15286 }
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj = 0;
15295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15296 size_t arg2 ;
15297 size_t arg3 ;
15298 bool result;
15299 void *argp1 = 0 ;
15300 int res1 = 0 ;
15301 size_t val2 ;
15302 int ecode2 = 0 ;
15303 size_t val3 ;
15304 int ecode3 = 0 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 PyObject * obj2 = 0 ;
15308 char * kwnames[] = {
15309 (char *) "self",(char *) "from",(char *) "to", NULL
15310 };
15311
15312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15314 if (!SWIG_IsOK(res1)) {
15315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15316 }
15317 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15318 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15319 if (!SWIG_IsOK(ecode2)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15321 }
15322 arg2 = static_cast< size_t >(val2);
15323 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15324 if (!SWIG_IsOK(ecode3)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15326 }
15327 arg3 = static_cast< size_t >(val3);
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (bool)(arg1)->SelectRange(arg2,arg3);
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 {
15335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15336 }
15337 return resultobj;
15338 fail:
15339 return NULL;
15340 }
15341
15342
15343 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj = 0;
15345 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15346 size_t arg2 ;
15347 void *argp1 = 0 ;
15348 int res1 = 0 ;
15349 size_t val2 ;
15350 int ecode2 = 0 ;
15351 PyObject * obj0 = 0 ;
15352 PyObject * obj1 = 0 ;
15353 char * kwnames[] = {
15354 (char *) "self",(char *) "item", NULL
15355 };
15356
15357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15359 if (!SWIG_IsOK(res1)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15361 }
15362 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15363 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15364 if (!SWIG_IsOK(ecode2)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15366 }
15367 arg2 = static_cast< size_t >(val2);
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->Toggle(arg2);
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 resultobj = SWIG_Py_Void();
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15382 PyObject *resultobj = 0;
15383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15384 bool result;
15385 void *argp1 = 0 ;
15386 int res1 = 0 ;
15387 PyObject *swig_obj[1] ;
15388
15389 if (!args) SWIG_fail;
15390 swig_obj[0] = args;
15391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15392 if (!SWIG_IsOK(res1)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15394 }
15395 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (bool)(arg1)->SelectAll();
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 {
15403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15404 }
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15412 PyObject *resultobj = 0;
15413 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15414 bool result;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 PyObject *swig_obj[1] ;
15418
15419 if (!args) SWIG_fail;
15420 swig_obj[0] = args;
15421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15422 if (!SWIG_IsOK(res1)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15424 }
15425 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (bool)(arg1)->DeselectAll();
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 {
15433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15434 }
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj = 0;
15443 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15444 wxPoint *arg2 = 0 ;
15445 void *argp1 = 0 ;
15446 int res1 = 0 ;
15447 wxPoint temp2 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 char * kwnames[] = {
15451 (char *) "self",(char *) "pt", NULL
15452 };
15453
15454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15456 if (!SWIG_IsOK(res1)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15458 }
15459 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15460 {
15461 arg2 = &temp2;
15462 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15463 }
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 (arg1)->SetMargins((wxPoint const &)*arg2);
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 resultobj = SWIG_Py_Void();
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj = 0;
15479 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15480 int arg2 ;
15481 int arg3 ;
15482 void *argp1 = 0 ;
15483 int res1 = 0 ;
15484 int val2 ;
15485 int ecode2 = 0 ;
15486 int val3 ;
15487 int ecode3 = 0 ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 PyObject * obj2 = 0 ;
15491 char * kwnames[] = {
15492 (char *) "self",(char *) "x",(char *) "y", NULL
15493 };
15494
15495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15497 if (!SWIG_IsOK(res1)) {
15498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15499 }
15500 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15501 ecode2 = SWIG_AsVal_int(obj1, &val2);
15502 if (!SWIG_IsOK(ecode2)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15504 }
15505 arg2 = static_cast< int >(val2);
15506 ecode3 = SWIG_AsVal_int(obj2, &val3);
15507 if (!SWIG_IsOK(ecode3)) {
15508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15509 }
15510 arg3 = static_cast< int >(val3);
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 (arg1)->SetMargins(arg2,arg3);
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 resultobj = SWIG_Py_Void();
15518 return resultobj;
15519 fail:
15520 return NULL;
15521 }
15522
15523
15524 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj = 0;
15526 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15527 wxColour *arg2 = 0 ;
15528 void *argp1 = 0 ;
15529 int res1 = 0 ;
15530 wxColour temp2 ;
15531 PyObject * obj0 = 0 ;
15532 PyObject * obj1 = 0 ;
15533 char * kwnames[] = {
15534 (char *) "self",(char *) "col", NULL
15535 };
15536
15537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15539 if (!SWIG_IsOK(res1)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15541 }
15542 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15543 {
15544 arg2 = &temp2;
15545 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 resultobj = SWIG_Py_Void();
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj = 0;
15562 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15563 wxDC *arg2 = 0 ;
15564 wxRect *arg3 = 0 ;
15565 size_t arg4 ;
15566 void *argp1 = 0 ;
15567 int res1 = 0 ;
15568 void *argp2 = 0 ;
15569 int res2 = 0 ;
15570 wxRect temp3 ;
15571 size_t val4 ;
15572 int ecode4 = 0 ;
15573 PyObject * obj0 = 0 ;
15574 PyObject * obj1 = 0 ;
15575 PyObject * obj2 = 0 ;
15576 PyObject * obj3 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15585 }
15586 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15588 if (!SWIG_IsOK(res2)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15590 }
15591 if (!argp2) {
15592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15593 }
15594 arg2 = reinterpret_cast< wxDC * >(argp2);
15595 {
15596 arg3 = &temp3;
15597 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15598 }
15599 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15600 if (!SWIG_IsOK(ecode4)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15602 }
15603 arg4 = static_cast< size_t >(val4);
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 resultobj = SWIG_Py_Void();
15611 return resultobj;
15612 fail:
15613 return NULL;
15614 }
15615
15616
15617 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj = 0;
15619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15620 wxDC *arg2 = 0 ;
15621 wxRect *arg3 = 0 ;
15622 size_t arg4 ;
15623 void *argp1 = 0 ;
15624 int res1 = 0 ;
15625 void *argp2 = 0 ;
15626 int res2 = 0 ;
15627 wxRect temp3 ;
15628 size_t val4 ;
15629 int ecode4 = 0 ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 PyObject * obj2 = 0 ;
15633 PyObject * obj3 = 0 ;
15634 char * kwnames[] = {
15635 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15636 };
15637
15638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15640 if (!SWIG_IsOK(res1)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15642 }
15643 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15645 if (!SWIG_IsOK(res2)) {
15646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15647 }
15648 if (!argp2) {
15649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15650 }
15651 arg2 = reinterpret_cast< wxDC * >(argp2);
15652 {
15653 arg3 = &temp3;
15654 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15655 }
15656 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15657 if (!SWIG_IsOK(ecode4)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15659 }
15660 arg4 = static_cast< size_t >(val4);
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = SWIG_Py_Void();
15668 return resultobj;
15669 fail:
15670 return NULL;
15671 }
15672
15673
15674 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15675 PyObject *obj;
15676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15678 return SWIG_Py_Void();
15679 }
15680
15681 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15682 return SWIG_Python_InitShadowInstance(args);
15683 }
15684
15685 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj = 0;
15687 wxWindow *arg1 = (wxWindow *) 0 ;
15688 int arg2 = (int) wxID_ANY ;
15689 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15690 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15691 wxSize const &arg4_defvalue = wxDefaultSize ;
15692 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15693 long arg5 = (long) 0 ;
15694 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15695 wxString *arg6 = (wxString *) &arg6_defvalue ;
15696 wxPyHtmlListBox *result = 0 ;
15697 void *argp1 = 0 ;
15698 int res1 = 0 ;
15699 int val2 ;
15700 int ecode2 = 0 ;
15701 wxPoint temp3 ;
15702 wxSize temp4 ;
15703 long val5 ;
15704 int ecode5 = 0 ;
15705 bool temp6 = false ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 PyObject * obj3 = 0 ;
15710 PyObject * obj4 = 0 ;
15711 PyObject * obj5 = 0 ;
15712 char * kwnames[] = {
15713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15714 };
15715
15716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15718 if (!SWIG_IsOK(res1)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15720 }
15721 arg1 = reinterpret_cast< wxWindow * >(argp1);
15722 if (obj1) {
15723 ecode2 = SWIG_AsVal_int(obj1, &val2);
15724 if (!SWIG_IsOK(ecode2)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15726 }
15727 arg2 = static_cast< int >(val2);
15728 }
15729 if (obj2) {
15730 {
15731 arg3 = &temp3;
15732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15733 }
15734 }
15735 if (obj3) {
15736 {
15737 arg4 = &temp4;
15738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15739 }
15740 }
15741 if (obj4) {
15742 ecode5 = SWIG_AsVal_long(obj4, &val5);
15743 if (!SWIG_IsOK(ecode5)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15745 }
15746 arg5 = static_cast< long >(val5);
15747 }
15748 if (obj5) {
15749 {
15750 arg6 = wxString_in_helper(obj5);
15751 if (arg6 == NULL) SWIG_fail;
15752 temp6 = true;
15753 }
15754 }
15755 {
15756 if (!wxPyCheckForApp()) SWIG_fail;
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15763 {
15764 if (temp6)
15765 delete arg6;
15766 }
15767 return resultobj;
15768 fail:
15769 {
15770 if (temp6)
15771 delete arg6;
15772 }
15773 return NULL;
15774 }
15775
15776
15777 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15778 PyObject *resultobj = 0;
15779 wxPyHtmlListBox *result = 0 ;
15780
15781 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15782 {
15783 if (!wxPyCheckForApp()) SWIG_fail;
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj = 0;
15798 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15799 PyObject *arg2 = (PyObject *) 0 ;
15800 PyObject *arg3 = (PyObject *) 0 ;
15801 void *argp1 = 0 ;
15802 int res1 = 0 ;
15803 PyObject * obj0 = 0 ;
15804 PyObject * obj1 = 0 ;
15805 PyObject * obj2 = 0 ;
15806 char * kwnames[] = {
15807 (char *) "self",(char *) "self",(char *) "_class", NULL
15808 };
15809
15810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15812 if (!SWIG_IsOK(res1)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15814 }
15815 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15816 arg2 = obj1;
15817 arg3 = obj2;
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 (arg1)->_setCallbackInfo(arg2,arg3);
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_Py_Void();
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj = 0;
15833 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15834 wxWindow *arg2 = (wxWindow *) 0 ;
15835 int arg3 = (int) wxID_ANY ;
15836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15838 wxSize const &arg5_defvalue = wxDefaultSize ;
15839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15840 long arg6 = (long) 0 ;
15841 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15842 wxString *arg7 = (wxString *) &arg7_defvalue ;
15843 bool result;
15844 void *argp1 = 0 ;
15845 int res1 = 0 ;
15846 void *argp2 = 0 ;
15847 int res2 = 0 ;
15848 int val3 ;
15849 int ecode3 = 0 ;
15850 wxPoint temp4 ;
15851 wxSize temp5 ;
15852 long val6 ;
15853 int ecode6 = 0 ;
15854 bool temp7 = false ;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 PyObject * obj2 = 0 ;
15858 PyObject * obj3 = 0 ;
15859 PyObject * obj4 = 0 ;
15860 PyObject * obj5 = 0 ;
15861 PyObject * obj6 = 0 ;
15862 char * kwnames[] = {
15863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15864 };
15865
15866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15868 if (!SWIG_IsOK(res1)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15870 }
15871 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15872 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15873 if (!SWIG_IsOK(res2)) {
15874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15875 }
15876 arg2 = reinterpret_cast< wxWindow * >(argp2);
15877 if (obj2) {
15878 ecode3 = SWIG_AsVal_int(obj2, &val3);
15879 if (!SWIG_IsOK(ecode3)) {
15880 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15881 }
15882 arg3 = static_cast< int >(val3);
15883 }
15884 if (obj3) {
15885 {
15886 arg4 = &temp4;
15887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15888 }
15889 }
15890 if (obj4) {
15891 {
15892 arg5 = &temp5;
15893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15894 }
15895 }
15896 if (obj5) {
15897 ecode6 = SWIG_AsVal_long(obj5, &val6);
15898 if (!SWIG_IsOK(ecode6)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15900 }
15901 arg6 = static_cast< long >(val6);
15902 }
15903 if (obj6) {
15904 {
15905 arg7 = wxString_in_helper(obj6);
15906 if (arg7 == NULL) SWIG_fail;
15907 temp7 = true;
15908 }
15909 }
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 {
15917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15918 }
15919 {
15920 if (temp7)
15921 delete arg7;
15922 }
15923 return resultobj;
15924 fail:
15925 {
15926 if (temp7)
15927 delete arg7;
15928 }
15929 return NULL;
15930 }
15931
15932
15933 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj = 0;
15935 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15936 size_t arg2 ;
15937 void *argp1 = 0 ;
15938 int res1 = 0 ;
15939 size_t val2 ;
15940 int ecode2 = 0 ;
15941 PyObject * obj0 = 0 ;
15942 PyObject * obj1 = 0 ;
15943 char * kwnames[] = {
15944 (char *) "self",(char *) "count", NULL
15945 };
15946
15947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15949 if (!SWIG_IsOK(res1)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15951 }
15952 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15953 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15954 if (!SWIG_IsOK(ecode2)) {
15955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15956 }
15957 arg2 = static_cast< size_t >(val2);
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 (arg1)->SetItemCount(arg2);
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = SWIG_Py_Void();
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15972 PyObject *resultobj = 0;
15973 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15974 wxFileSystem *result = 0 ;
15975 void *argp1 = 0 ;
15976 int res1 = 0 ;
15977 PyObject *swig_obj[1] ;
15978
15979 if (!args) SWIG_fail;
15980 swig_obj[0] = args;
15981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15982 if (!SWIG_IsOK(res1)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15984 }
15985 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15986 {
15987 PyThreadState* __tstate = wxPyBeginAllowThreads();
15988 {
15989 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15990 result = (wxFileSystem *) &_result_ref;
15991 }
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj = 0;
16004 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
16005 size_t arg2 ;
16006 wxHtmlLinkInfo *arg3 = 0 ;
16007 void *argp1 = 0 ;
16008 int res1 = 0 ;
16009 size_t val2 ;
16010 int ecode2 = 0 ;
16011 void *argp3 = 0 ;
16012 int res3 = 0 ;
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 PyObject * obj2 = 0 ;
16016 char * kwnames[] = {
16017 (char *) "self",(char *) "n",(char *) "link", NULL
16018 };
16019
16020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
16022 if (!SWIG_IsOK(res1)) {
16023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
16024 }
16025 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
16026 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16027 if (!SWIG_IsOK(ecode2)) {
16028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
16029 }
16030 arg2 = static_cast< size_t >(val2);
16031 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
16032 if (!SWIG_IsOK(res3)) {
16033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16034 }
16035 if (!argp3) {
16036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16037 }
16038 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
16042 wxPyEndAllowThreads(__tstate);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
16045 resultobj = SWIG_Py_Void();
16046 return resultobj;
16047 fail:
16048 return NULL;
16049 }
16050
16051
16052 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16053 PyObject *obj;
16054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
16056 return SWIG_Py_Void();
16057 }
16058
16059 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16060 return SWIG_Python_InitShadowInstance(args);
16061 }
16062
16063 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16064 PyObject *resultobj = 0;
16065 wxPyTaskBarIcon *result = 0 ;
16066
16067 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16068 {
16069 if (!wxPyCheckForApp()) SWIG_fail;
16070 PyThreadState* __tstate = wxPyBeginAllowThreads();
16071 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16076 return resultobj;
16077 fail:
16078 return NULL;
16079 }
16080
16081
16082 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16083 PyObject *resultobj = 0;
16084 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16085 void *argp1 = 0 ;
16086 int res1 = 0 ;
16087 PyObject *swig_obj[1] ;
16088
16089 if (!args) SWIG_fail;
16090 swig_obj[0] = args;
16091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16092 if (!SWIG_IsOK(res1)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16094 }
16095 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 delete arg1;
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 resultobj = SWIG_Py_Void();
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj = 0;
16112 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16113 PyObject *arg2 = (PyObject *) 0 ;
16114 PyObject *arg3 = (PyObject *) 0 ;
16115 int arg4 ;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 int val4 ;
16119 int ecode4 = 0 ;
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 PyObject * obj2 = 0 ;
16123 PyObject * obj3 = 0 ;
16124 char * kwnames[] = {
16125 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16126 };
16127
16128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16132 }
16133 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16134 arg2 = obj1;
16135 arg3 = obj2;
16136 ecode4 = SWIG_AsVal_int(obj3, &val4);
16137 if (!SWIG_IsOK(ecode4)) {
16138 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16139 }
16140 arg4 = static_cast< int >(val4);
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 resultobj = SWIG_Py_Void();
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 PyObject *resultobj = 0;
16156 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16157 void *argp1 = 0 ;
16158 int res1 = 0 ;
16159 PyObject *swig_obj[1] ;
16160
16161 if (!args) SWIG_fail;
16162 swig_obj[0] = args;
16163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16164 if (!SWIG_IsOK(res1)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16166 }
16167 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 wxPyTaskBarIcon_Destroy(arg1);
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 resultobj = SWIG_Py_Void();
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16182 PyObject *resultobj = 0;
16183 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16184 bool result;
16185 void *argp1 = 0 ;
16186 int res1 = 0 ;
16187 PyObject *swig_obj[1] ;
16188
16189 if (!args) SWIG_fail;
16190 swig_obj[0] = args;
16191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16192 if (!SWIG_IsOK(res1)) {
16193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16194 }
16195 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16212 PyObject *resultobj = 0;
16213 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16214 bool result;
16215 void *argp1 = 0 ;
16216 int res1 = 0 ;
16217 PyObject *swig_obj[1] ;
16218
16219 if (!args) SWIG_fail;
16220 swig_obj[0] = args;
16221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16222 if (!SWIG_IsOK(res1)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16224 }
16225 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj = 0;
16243 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16244 wxIcon *arg2 = 0 ;
16245 wxString const &arg3_defvalue = wxPyEmptyString ;
16246 wxString *arg3 = (wxString *) &arg3_defvalue ;
16247 bool result;
16248 void *argp1 = 0 ;
16249 int res1 = 0 ;
16250 void *argp2 = 0 ;
16251 int res2 = 0 ;
16252 bool temp3 = false ;
16253 PyObject * obj0 = 0 ;
16254 PyObject * obj1 = 0 ;
16255 PyObject * obj2 = 0 ;
16256 char * kwnames[] = {
16257 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16258 };
16259
16260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16262 if (!SWIG_IsOK(res1)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16264 }
16265 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16266 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16267 if (!SWIG_IsOK(res2)) {
16268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16269 }
16270 if (!argp2) {
16271 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16272 }
16273 arg2 = reinterpret_cast< wxIcon * >(argp2);
16274 if (obj2) {
16275 {
16276 arg3 = wxString_in_helper(obj2);
16277 if (arg3 == NULL) SWIG_fail;
16278 temp3 = true;
16279 }
16280 }
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 {
16288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16289 }
16290 {
16291 if (temp3)
16292 delete arg3;
16293 }
16294 return resultobj;
16295 fail:
16296 {
16297 if (temp3)
16298 delete arg3;
16299 }
16300 return NULL;
16301 }
16302
16303
16304 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16305 PyObject *resultobj = 0;
16306 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16307 bool result;
16308 void *argp1 = 0 ;
16309 int res1 = 0 ;
16310 PyObject *swig_obj[1] ;
16311
16312 if (!args) SWIG_fail;
16313 swig_obj[0] = args;
16314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16315 if (!SWIG_IsOK(res1)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16317 }
16318 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 result = (bool)(arg1)->RemoveIcon();
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 {
16326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16327 }
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj = 0;
16336 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16337 wxMenu *arg2 = (wxMenu *) 0 ;
16338 bool result;
16339 void *argp1 = 0 ;
16340 int res1 = 0 ;
16341 void *argp2 = 0 ;
16342 int res2 = 0 ;
16343 PyObject * obj0 = 0 ;
16344 PyObject * obj1 = 0 ;
16345 char * kwnames[] = {
16346 (char *) "self",(char *) "menu", NULL
16347 };
16348
16349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16351 if (!SWIG_IsOK(res1)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16353 }
16354 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16356 if (!SWIG_IsOK(res2)) {
16357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16358 }
16359 arg2 = reinterpret_cast< wxMenu * >(argp2);
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 result = (bool)(arg1)->PopupMenu(arg2);
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16376 PyObject *obj;
16377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16379 return SWIG_Py_Void();
16380 }
16381
16382 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16383 return SWIG_Python_InitShadowInstance(args);
16384 }
16385
16386 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj = 0;
16388 wxEventType arg1 ;
16389 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16390 wxTaskBarIconEvent *result = 0 ;
16391 int val1 ;
16392 int ecode1 = 0 ;
16393 void *argp2 = 0 ;
16394 int res2 = 0 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char * kwnames[] = {
16398 (char *) "evtType",(char *) "tbIcon", NULL
16399 };
16400
16401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16402 ecode1 = SWIG_AsVal_int(obj0, &val1);
16403 if (!SWIG_IsOK(ecode1)) {
16404 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16405 }
16406 arg1 = static_cast< wxEventType >(val1);
16407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16408 if (!SWIG_IsOK(res2)) {
16409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16410 }
16411 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16426 PyObject *obj;
16427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16428 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16429 return SWIG_Py_Void();
16430 }
16431
16432 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16433 return SWIG_Python_InitShadowInstance(args);
16434 }
16435
16436 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16437 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16438 return 1;
16439 }
16440
16441
16442 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16443 PyObject *pyobj = 0;
16444
16445 {
16446 #if wxUSE_UNICODE
16447 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16448 #else
16449 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16450 #endif
16451 }
16452 return pyobj;
16453 }
16454
16455
16456 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16457 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16458 return 1;
16459 }
16460
16461
16462 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16463 PyObject *pyobj = 0;
16464
16465 {
16466 #if wxUSE_UNICODE
16467 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16468 #else
16469 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16470 #endif
16471 }
16472 return pyobj;
16473 }
16474
16475
16476 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16477 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16478 return 1;
16479 }
16480
16481
16482 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16483 PyObject *pyobj = 0;
16484
16485 {
16486 #if wxUSE_UNICODE
16487 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16488 #else
16489 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16490 #endif
16491 }
16492 return pyobj;
16493 }
16494
16495
16496 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16497 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16498 return 1;
16499 }
16500
16501
16502 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16503 PyObject *pyobj = 0;
16504
16505 {
16506 #if wxUSE_UNICODE
16507 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16508 #else
16509 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16510 #endif
16511 }
16512 return pyobj;
16513 }
16514
16515
16516 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16517 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16518 return 1;
16519 }
16520
16521
16522 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16523 PyObject *pyobj = 0;
16524
16525 {
16526 #if wxUSE_UNICODE
16527 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16528 #else
16529 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16530 #endif
16531 }
16532 return pyobj;
16533 }
16534
16535
16536 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16537 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16538 return 1;
16539 }
16540
16541
16542 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16543 PyObject *pyobj = 0;
16544
16545 {
16546 #if wxUSE_UNICODE
16547 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16548 #else
16549 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16550 #endif
16551 }
16552 return pyobj;
16553 }
16554
16555
16556 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16557 PyObject *resultobj = 0;
16558 wxColourData *result = 0 ;
16559
16560 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (wxColourData *)new wxColourData();
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16575 PyObject *resultobj = 0;
16576 wxColourData *arg1 = (wxColourData *) 0 ;
16577 void *argp1 = 0 ;
16578 int res1 = 0 ;
16579 PyObject *swig_obj[1] ;
16580
16581 if (!args) SWIG_fail;
16582 swig_obj[0] = args;
16583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16584 if (!SWIG_IsOK(res1)) {
16585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16586 }
16587 arg1 = reinterpret_cast< wxColourData * >(argp1);
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 delete arg1;
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_Py_Void();
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16603 PyObject *resultobj = 0;
16604 wxColourData *arg1 = (wxColourData *) 0 ;
16605 bool result;
16606 void *argp1 = 0 ;
16607 int res1 = 0 ;
16608 PyObject *swig_obj[1] ;
16609
16610 if (!args) SWIG_fail;
16611 swig_obj[0] = args;
16612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16615 }
16616 arg1 = reinterpret_cast< wxColourData * >(argp1);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (bool)(arg1)->GetChooseFull();
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16625 }
16626 return resultobj;
16627 fail:
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633 PyObject *resultobj = 0;
16634 wxColourData *arg1 = (wxColourData *) 0 ;
16635 wxColour result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 PyObject *swig_obj[1] ;
16639
16640 if (!args) SWIG_fail;
16641 swig_obj[0] = args;
16642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16643 if (!SWIG_IsOK(res1)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16645 }
16646 arg1 = reinterpret_cast< wxColourData * >(argp1);
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (arg1)->GetColour();
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16654 return resultobj;
16655 fail:
16656 return NULL;
16657 }
16658
16659
16660 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj = 0;
16662 wxColourData *arg1 = (wxColourData *) 0 ;
16663 int arg2 ;
16664 wxColour result;
16665 void *argp1 = 0 ;
16666 int res1 = 0 ;
16667 int val2 ;
16668 int ecode2 = 0 ;
16669 PyObject * obj0 = 0 ;
16670 PyObject * obj1 = 0 ;
16671 char * kwnames[] = {
16672 (char *) "self",(char *) "i", NULL
16673 };
16674
16675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16677 if (!SWIG_IsOK(res1)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16679 }
16680 arg1 = reinterpret_cast< wxColourData * >(argp1);
16681 ecode2 = SWIG_AsVal_int(obj1, &val2);
16682 if (!SWIG_IsOK(ecode2)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16684 }
16685 arg2 = static_cast< int >(val2);
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (arg1)->GetCustomColour(arg2);
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj = 0;
16701 wxColourData *arg1 = (wxColourData *) 0 ;
16702 int arg2 ;
16703 void *argp1 = 0 ;
16704 int res1 = 0 ;
16705 int val2 ;
16706 int ecode2 = 0 ;
16707 PyObject * obj0 = 0 ;
16708 PyObject * obj1 = 0 ;
16709 char * kwnames[] = {
16710 (char *) "self",(char *) "flag", NULL
16711 };
16712
16713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16715 if (!SWIG_IsOK(res1)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16717 }
16718 arg1 = reinterpret_cast< wxColourData * >(argp1);
16719 ecode2 = SWIG_AsVal_int(obj1, &val2);
16720 if (!SWIG_IsOK(ecode2)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16722 }
16723 arg2 = static_cast< int >(val2);
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 (arg1)->SetChooseFull(arg2);
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 resultobj = SWIG_Py_Void();
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj = 0;
16739 wxColourData *arg1 = (wxColourData *) 0 ;
16740 wxColour *arg2 = 0 ;
16741 void *argp1 = 0 ;
16742 int res1 = 0 ;
16743 wxColour temp2 ;
16744 PyObject * obj0 = 0 ;
16745 PyObject * obj1 = 0 ;
16746 char * kwnames[] = {
16747 (char *) "self",(char *) "colour", NULL
16748 };
16749
16750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16752 if (!SWIG_IsOK(res1)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16754 }
16755 arg1 = reinterpret_cast< wxColourData * >(argp1);
16756 {
16757 arg2 = &temp2;
16758 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetColour((wxColour const &)*arg2);
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_Py_Void();
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj = 0;
16775 wxColourData *arg1 = (wxColourData *) 0 ;
16776 int arg2 ;
16777 wxColour *arg3 = 0 ;
16778 void *argp1 = 0 ;
16779 int res1 = 0 ;
16780 int val2 ;
16781 int ecode2 = 0 ;
16782 wxColour temp3 ;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 PyObject * obj2 = 0 ;
16786 char * kwnames[] = {
16787 (char *) "self",(char *) "i",(char *) "colour", NULL
16788 };
16789
16790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16792 if (!SWIG_IsOK(res1)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16794 }
16795 arg1 = reinterpret_cast< wxColourData * >(argp1);
16796 ecode2 = SWIG_AsVal_int(obj1, &val2);
16797 if (!SWIG_IsOK(ecode2)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16799 }
16800 arg2 = static_cast< int >(val2);
16801 {
16802 arg3 = &temp3;
16803 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16804 }
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_Py_Void();
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16819 PyObject *obj;
16820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16821 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16822 return SWIG_Py_Void();
16823 }
16824
16825 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16826 return SWIG_Python_InitShadowInstance(args);
16827 }
16828
16829 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj = 0;
16831 wxWindow *arg1 = (wxWindow *) 0 ;
16832 wxColourData *arg2 = (wxColourData *) NULL ;
16833 wxColourDialog *result = 0 ;
16834 void *argp1 = 0 ;
16835 int res1 = 0 ;
16836 void *argp2 = 0 ;
16837 int res2 = 0 ;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 char * kwnames[] = {
16841 (char *) "parent",(char *) "data", NULL
16842 };
16843
16844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16846 if (!SWIG_IsOK(res1)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16848 }
16849 arg1 = reinterpret_cast< wxWindow * >(argp1);
16850 if (obj1) {
16851 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16852 if (!SWIG_IsOK(res2)) {
16853 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16854 }
16855 arg2 = reinterpret_cast< wxColourData * >(argp2);
16856 }
16857 {
16858 if (!wxPyCheckForApp()) SWIG_fail;
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16872 PyObject *resultobj = 0;
16873 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16874 wxColourData *result = 0 ;
16875 void *argp1 = 0 ;
16876 int res1 = 0 ;
16877 PyObject *swig_obj[1] ;
16878
16879 if (!args) SWIG_fail;
16880 swig_obj[0] = args;
16881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16882 if (!SWIG_IsOK(res1)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16884 }
16885 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 {
16889 wxColourData &_result_ref = (arg1)->GetColourData();
16890 result = (wxColourData *) &_result_ref;
16891 }
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16903 PyObject *obj;
16904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16905 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16906 return SWIG_Py_Void();
16907 }
16908
16909 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16910 return SWIG_Python_InitShadowInstance(args);
16911 }
16912
16913 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj = 0;
16915 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16916 wxColour const &arg2_defvalue = wxNullColour ;
16917 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16918 wxString const &arg3_defvalue = wxPyEmptyString ;
16919 wxString *arg3 = (wxString *) &arg3_defvalue ;
16920 wxColour result;
16921 void *argp1 = 0 ;
16922 int res1 = 0 ;
16923 wxColour temp2 ;
16924 bool temp3 = false ;
16925 PyObject * obj0 = 0 ;
16926 PyObject * obj1 = 0 ;
16927 PyObject * obj2 = 0 ;
16928 char * kwnames[] = {
16929 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16930 };
16931
16932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16933 if (obj0) {
16934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16935 if (!SWIG_IsOK(res1)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16937 }
16938 arg1 = reinterpret_cast< wxWindow * >(argp1);
16939 }
16940 if (obj1) {
16941 {
16942 arg2 = &temp2;
16943 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16944 }
16945 }
16946 if (obj2) {
16947 {
16948 arg3 = wxString_in_helper(obj2);
16949 if (arg3 == NULL) SWIG_fail;
16950 temp3 = true;
16951 }
16952 }
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16960 {
16961 if (temp3)
16962 delete arg3;
16963 }
16964 return resultobj;
16965 fail:
16966 {
16967 if (temp3)
16968 delete arg3;
16969 }
16970 return NULL;
16971 }
16972
16973
16974 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj = 0;
16976 wxWindow *arg1 = (wxWindow *) 0 ;
16977 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16978 wxString *arg2 = (wxString *) &arg2_defvalue ;
16979 wxString const &arg3_defvalue = wxPyEmptyString ;
16980 wxString *arg3 = (wxString *) &arg3_defvalue ;
16981 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16982 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16983 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16984 wxSize const &arg6_defvalue = wxDefaultSize ;
16985 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16986 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16987 wxString *arg7 = (wxString *) &arg7_defvalue ;
16988 wxDirDialog *result = 0 ;
16989 void *argp1 = 0 ;
16990 int res1 = 0 ;
16991 bool temp2 = false ;
16992 bool temp3 = false ;
16993 long val4 ;
16994 int ecode4 = 0 ;
16995 wxPoint temp5 ;
16996 wxSize temp6 ;
16997 bool temp7 = false ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 PyObject * obj2 = 0 ;
17001 PyObject * obj3 = 0 ;
17002 PyObject * obj4 = 0 ;
17003 PyObject * obj5 = 0 ;
17004 PyObject * obj6 = 0 ;
17005 char * kwnames[] = {
17006 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17007 };
17008
17009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17011 if (!SWIG_IsOK(res1)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17013 }
17014 arg1 = reinterpret_cast< wxWindow * >(argp1);
17015 if (obj1) {
17016 {
17017 arg2 = wxString_in_helper(obj1);
17018 if (arg2 == NULL) SWIG_fail;
17019 temp2 = true;
17020 }
17021 }
17022 if (obj2) {
17023 {
17024 arg3 = wxString_in_helper(obj2);
17025 if (arg3 == NULL) SWIG_fail;
17026 temp3 = true;
17027 }
17028 }
17029 if (obj3) {
17030 ecode4 = SWIG_AsVal_long(obj3, &val4);
17031 if (!SWIG_IsOK(ecode4)) {
17032 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17033 }
17034 arg4 = static_cast< long >(val4);
17035 }
17036 if (obj4) {
17037 {
17038 arg5 = &temp5;
17039 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17040 }
17041 }
17042 if (obj5) {
17043 {
17044 arg6 = &temp6;
17045 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17046 }
17047 }
17048 if (obj6) {
17049 {
17050 arg7 = wxString_in_helper(obj6);
17051 if (arg7 == NULL) SWIG_fail;
17052 temp7 = true;
17053 }
17054 }
17055 {
17056 if (!wxPyCheckForApp()) SWIG_fail;
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17063 {
17064 if (temp2)
17065 delete arg2;
17066 }
17067 {
17068 if (temp3)
17069 delete arg3;
17070 }
17071 {
17072 if (temp7)
17073 delete arg7;
17074 }
17075 return resultobj;
17076 fail:
17077 {
17078 if (temp2)
17079 delete arg2;
17080 }
17081 {
17082 if (temp3)
17083 delete arg3;
17084 }
17085 {
17086 if (temp7)
17087 delete arg7;
17088 }
17089 return NULL;
17090 }
17091
17092
17093 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17094 PyObject *resultobj = 0;
17095 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17096 wxString result;
17097 void *argp1 = 0 ;
17098 int res1 = 0 ;
17099 PyObject *swig_obj[1] ;
17100
17101 if (!args) SWIG_fail;
17102 swig_obj[0] = args;
17103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17104 if (!SWIG_IsOK(res1)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17106 }
17107 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (arg1)->GetPath();
17111 wxPyEndAllowThreads(__tstate);
17112 if (PyErr_Occurred()) SWIG_fail;
17113 }
17114 {
17115 #if wxUSE_UNICODE
17116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17117 #else
17118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17119 #endif
17120 }
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17128 PyObject *resultobj = 0;
17129 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17130 wxString result;
17131 void *argp1 = 0 ;
17132 int res1 = 0 ;
17133 PyObject *swig_obj[1] ;
17134
17135 if (!args) SWIG_fail;
17136 swig_obj[0] = args;
17137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17138 if (!SWIG_IsOK(res1)) {
17139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17140 }
17141 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 result = (arg1)->GetMessage();
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 #if wxUSE_UNICODE
17150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17151 #else
17152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17153 #endif
17154 }
17155 return resultobj;
17156 fail:
17157 return NULL;
17158 }
17159
17160
17161 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj = 0;
17163 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17164 wxString *arg2 = 0 ;
17165 void *argp1 = 0 ;
17166 int res1 = 0 ;
17167 bool temp2 = false ;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 char * kwnames[] = {
17171 (char *) "self",(char *) "message", NULL
17172 };
17173
17174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17176 if (!SWIG_IsOK(res1)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17178 }
17179 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17180 {
17181 arg2 = wxString_in_helper(obj1);
17182 if (arg2 == NULL) SWIG_fail;
17183 temp2 = true;
17184 }
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 (arg1)->SetMessage((wxString const &)*arg2);
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 resultobj = SWIG_Py_Void();
17192 {
17193 if (temp2)
17194 delete arg2;
17195 }
17196 return resultobj;
17197 fail:
17198 {
17199 if (temp2)
17200 delete arg2;
17201 }
17202 return NULL;
17203 }
17204
17205
17206 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj = 0;
17208 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17209 wxString *arg2 = 0 ;
17210 void *argp1 = 0 ;
17211 int res1 = 0 ;
17212 bool temp2 = false ;
17213 PyObject * obj0 = 0 ;
17214 PyObject * obj1 = 0 ;
17215 char * kwnames[] = {
17216 (char *) "self",(char *) "path", NULL
17217 };
17218
17219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17221 if (!SWIG_IsOK(res1)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17223 }
17224 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17225 {
17226 arg2 = wxString_in_helper(obj1);
17227 if (arg2 == NULL) SWIG_fail;
17228 temp2 = true;
17229 }
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 (arg1)->SetPath((wxString const &)*arg2);
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 resultobj = SWIG_Py_Void();
17237 {
17238 if (temp2)
17239 delete arg2;
17240 }
17241 return resultobj;
17242 fail:
17243 {
17244 if (temp2)
17245 delete arg2;
17246 }
17247 return NULL;
17248 }
17249
17250
17251 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17252 PyObject *obj;
17253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17254 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17255 return SWIG_Py_Void();
17256 }
17257
17258 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17259 return SWIG_Python_InitShadowInstance(args);
17260 }
17261
17262 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17263 PyObject *resultobj = 0;
17264 wxWindow *arg1 = (wxWindow *) 0 ;
17265 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17266 wxString *arg2 = (wxString *) &arg2_defvalue ;
17267 wxString const &arg3_defvalue = wxPyEmptyString ;
17268 wxString *arg3 = (wxString *) &arg3_defvalue ;
17269 wxString const &arg4_defvalue = wxPyEmptyString ;
17270 wxString *arg4 = (wxString *) &arg4_defvalue ;
17271 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17272 wxString *arg5 = (wxString *) &arg5_defvalue ;
17273 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17274 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17275 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17276 wxFileDialog *result = 0 ;
17277 void *argp1 = 0 ;
17278 int res1 = 0 ;
17279 bool temp2 = false ;
17280 bool temp3 = false ;
17281 bool temp4 = false ;
17282 bool temp5 = false ;
17283 long val6 ;
17284 int ecode6 = 0 ;
17285 wxPoint temp7 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 PyObject * obj2 = 0 ;
17289 PyObject * obj3 = 0 ;
17290 PyObject * obj4 = 0 ;
17291 PyObject * obj5 = 0 ;
17292 PyObject * obj6 = 0 ;
17293 char * kwnames[] = {
17294 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17295 };
17296
17297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17299 if (!SWIG_IsOK(res1)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17301 }
17302 arg1 = reinterpret_cast< wxWindow * >(argp1);
17303 if (obj1) {
17304 {
17305 arg2 = wxString_in_helper(obj1);
17306 if (arg2 == NULL) SWIG_fail;
17307 temp2 = true;
17308 }
17309 }
17310 if (obj2) {
17311 {
17312 arg3 = wxString_in_helper(obj2);
17313 if (arg3 == NULL) SWIG_fail;
17314 temp3 = true;
17315 }
17316 }
17317 if (obj3) {
17318 {
17319 arg4 = wxString_in_helper(obj3);
17320 if (arg4 == NULL) SWIG_fail;
17321 temp4 = true;
17322 }
17323 }
17324 if (obj4) {
17325 {
17326 arg5 = wxString_in_helper(obj4);
17327 if (arg5 == NULL) SWIG_fail;
17328 temp5 = true;
17329 }
17330 }
17331 if (obj5) {
17332 ecode6 = SWIG_AsVal_long(obj5, &val6);
17333 if (!SWIG_IsOK(ecode6)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17335 }
17336 arg6 = static_cast< long >(val6);
17337 }
17338 if (obj6) {
17339 {
17340 arg7 = &temp7;
17341 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17342 }
17343 }
17344 {
17345 if (!wxPyCheckForApp()) SWIG_fail;
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17352 {
17353 if (temp2)
17354 delete arg2;
17355 }
17356 {
17357 if (temp3)
17358 delete arg3;
17359 }
17360 {
17361 if (temp4)
17362 delete arg4;
17363 }
17364 {
17365 if (temp5)
17366 delete arg5;
17367 }
17368 return resultobj;
17369 fail:
17370 {
17371 if (temp2)
17372 delete arg2;
17373 }
17374 {
17375 if (temp3)
17376 delete arg3;
17377 }
17378 {
17379 if (temp4)
17380 delete arg4;
17381 }
17382 {
17383 if (temp5)
17384 delete arg5;
17385 }
17386 return NULL;
17387 }
17388
17389
17390 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj = 0;
17392 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17393 wxString *arg2 = 0 ;
17394 void *argp1 = 0 ;
17395 int res1 = 0 ;
17396 bool temp2 = false ;
17397 PyObject * obj0 = 0 ;
17398 PyObject * obj1 = 0 ;
17399 char * kwnames[] = {
17400 (char *) "self",(char *) "message", NULL
17401 };
17402
17403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17405 if (!SWIG_IsOK(res1)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17407 }
17408 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17409 {
17410 arg2 = wxString_in_helper(obj1);
17411 if (arg2 == NULL) SWIG_fail;
17412 temp2 = true;
17413 }
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 (arg1)->SetMessage((wxString const &)*arg2);
17417 wxPyEndAllowThreads(__tstate);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 resultobj = SWIG_Py_Void();
17421 {
17422 if (temp2)
17423 delete arg2;
17424 }
17425 return resultobj;
17426 fail:
17427 {
17428 if (temp2)
17429 delete arg2;
17430 }
17431 return NULL;
17432 }
17433
17434
17435 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj = 0;
17437 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17438 wxString *arg2 = 0 ;
17439 void *argp1 = 0 ;
17440 int res1 = 0 ;
17441 bool temp2 = false ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 char * kwnames[] = {
17445 (char *) "self",(char *) "path", NULL
17446 };
17447
17448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17450 if (!SWIG_IsOK(res1)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17452 }
17453 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17454 {
17455 arg2 = wxString_in_helper(obj1);
17456 if (arg2 == NULL) SWIG_fail;
17457 temp2 = true;
17458 }
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 (arg1)->SetPath((wxString const &)*arg2);
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_Py_Void();
17466 {
17467 if (temp2)
17468 delete arg2;
17469 }
17470 return resultobj;
17471 fail:
17472 {
17473 if (temp2)
17474 delete arg2;
17475 }
17476 return NULL;
17477 }
17478
17479
17480 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj = 0;
17482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17483 wxString *arg2 = 0 ;
17484 void *argp1 = 0 ;
17485 int res1 = 0 ;
17486 bool temp2 = false ;
17487 PyObject * obj0 = 0 ;
17488 PyObject * obj1 = 0 ;
17489 char * kwnames[] = {
17490 (char *) "self",(char *) "dir", NULL
17491 };
17492
17493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17495 if (!SWIG_IsOK(res1)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17497 }
17498 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17499 {
17500 arg2 = wxString_in_helper(obj1);
17501 if (arg2 == NULL) SWIG_fail;
17502 temp2 = true;
17503 }
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 (arg1)->SetDirectory((wxString const &)*arg2);
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 resultobj = SWIG_Py_Void();
17511 {
17512 if (temp2)
17513 delete arg2;
17514 }
17515 return resultobj;
17516 fail:
17517 {
17518 if (temp2)
17519 delete arg2;
17520 }
17521 return NULL;
17522 }
17523
17524
17525 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj = 0;
17527 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17528 wxString *arg2 = 0 ;
17529 void *argp1 = 0 ;
17530 int res1 = 0 ;
17531 bool temp2 = false ;
17532 PyObject * obj0 = 0 ;
17533 PyObject * obj1 = 0 ;
17534 char * kwnames[] = {
17535 (char *) "self",(char *) "name", NULL
17536 };
17537
17538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17540 if (!SWIG_IsOK(res1)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17542 }
17543 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17544 {
17545 arg2 = wxString_in_helper(obj1);
17546 if (arg2 == NULL) SWIG_fail;
17547 temp2 = true;
17548 }
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 (arg1)->SetFilename((wxString const &)*arg2);
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 resultobj = SWIG_Py_Void();
17556 {
17557 if (temp2)
17558 delete arg2;
17559 }
17560 return resultobj;
17561 fail:
17562 {
17563 if (temp2)
17564 delete arg2;
17565 }
17566 return NULL;
17567 }
17568
17569
17570 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj = 0;
17572 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17573 wxString *arg2 = 0 ;
17574 void *argp1 = 0 ;
17575 int res1 = 0 ;
17576 bool temp2 = false ;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 char * kwnames[] = {
17580 (char *) "self",(char *) "wildCard", NULL
17581 };
17582
17583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17585 if (!SWIG_IsOK(res1)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17587 }
17588 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17589 {
17590 arg2 = wxString_in_helper(obj1);
17591 if (arg2 == NULL) SWIG_fail;
17592 temp2 = true;
17593 }
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 (arg1)->SetWildcard((wxString const &)*arg2);
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = SWIG_Py_Void();
17601 {
17602 if (temp2)
17603 delete arg2;
17604 }
17605 return resultobj;
17606 fail:
17607 {
17608 if (temp2)
17609 delete arg2;
17610 }
17611 return NULL;
17612 }
17613
17614
17615 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj = 0;
17617 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17618 int arg2 ;
17619 void *argp1 = 0 ;
17620 int res1 = 0 ;
17621 int val2 ;
17622 int ecode2 = 0 ;
17623 PyObject * obj0 = 0 ;
17624 PyObject * obj1 = 0 ;
17625 char * kwnames[] = {
17626 (char *) "self",(char *) "filterIndex", NULL
17627 };
17628
17629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17631 if (!SWIG_IsOK(res1)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17633 }
17634 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17635 ecode2 = SWIG_AsVal_int(obj1, &val2);
17636 if (!SWIG_IsOK(ecode2)) {
17637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17638 }
17639 arg2 = static_cast< int >(val2);
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 (arg1)->SetFilterIndex(arg2);
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 resultobj = SWIG_Py_Void();
17647 return resultobj;
17648 fail:
17649 return NULL;
17650 }
17651
17652
17653 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17654 PyObject *resultobj = 0;
17655 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17656 wxString result;
17657 void *argp1 = 0 ;
17658 int res1 = 0 ;
17659 PyObject *swig_obj[1] ;
17660
17661 if (!args) SWIG_fail;
17662 swig_obj[0] = args;
17663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17664 if (!SWIG_IsOK(res1)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17666 }
17667 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = ((wxFileDialog const *)arg1)->GetMessage();
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
17675 #if wxUSE_UNICODE
17676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17677 #else
17678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17679 #endif
17680 }
17681 return resultobj;
17682 fail:
17683 return NULL;
17684 }
17685
17686
17687 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17688 PyObject *resultobj = 0;
17689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17690 wxString result;
17691 void *argp1 = 0 ;
17692 int res1 = 0 ;
17693 PyObject *swig_obj[1] ;
17694
17695 if (!args) SWIG_fail;
17696 swig_obj[0] = args;
17697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17698 if (!SWIG_IsOK(res1)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17700 }
17701 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = ((wxFileDialog const *)arg1)->GetPath();
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 {
17709 #if wxUSE_UNICODE
17710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17711 #else
17712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17713 #endif
17714 }
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17722 PyObject *resultobj = 0;
17723 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17724 wxString result;
17725 void *argp1 = 0 ;
17726 int res1 = 0 ;
17727 PyObject *swig_obj[1] ;
17728
17729 if (!args) SWIG_fail;
17730 swig_obj[0] = args;
17731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17732 if (!SWIG_IsOK(res1)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17734 }
17735 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = ((wxFileDialog const *)arg1)->GetDirectory();
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 #if wxUSE_UNICODE
17744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17745 #else
17746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17747 #endif
17748 }
17749 return resultobj;
17750 fail:
17751 return NULL;
17752 }
17753
17754
17755 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17756 PyObject *resultobj = 0;
17757 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17758 wxString result;
17759 void *argp1 = 0 ;
17760 int res1 = 0 ;
17761 PyObject *swig_obj[1] ;
17762
17763 if (!args) SWIG_fail;
17764 swig_obj[0] = args;
17765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17766 if (!SWIG_IsOK(res1)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17768 }
17769 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = ((wxFileDialog const *)arg1)->GetFilename();
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 {
17777 #if wxUSE_UNICODE
17778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17779 #else
17780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17781 #endif
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17790 PyObject *resultobj = 0;
17791 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17792 wxString result;
17793 void *argp1 = 0 ;
17794 int res1 = 0 ;
17795 PyObject *swig_obj[1] ;
17796
17797 if (!args) SWIG_fail;
17798 swig_obj[0] = args;
17799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17800 if (!SWIG_IsOK(res1)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17802 }
17803 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = ((wxFileDialog const *)arg1)->GetWildcard();
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 {
17811 #if wxUSE_UNICODE
17812 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17813 #else
17814 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17815 #endif
17816 }
17817 return resultobj;
17818 fail:
17819 return NULL;
17820 }
17821
17822
17823 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17824 PyObject *resultobj = 0;
17825 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17826 int result;
17827 void *argp1 = 0 ;
17828 int res1 = 0 ;
17829 PyObject *swig_obj[1] ;
17830
17831 if (!args) SWIG_fail;
17832 swig_obj[0] = args;
17833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17834 if (!SWIG_IsOK(res1)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17836 }
17837 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17841 wxPyEndAllowThreads(__tstate);
17842 if (PyErr_Occurred()) SWIG_fail;
17843 }
17844 resultobj = SWIG_From_int(static_cast< int >(result));
17845 return resultobj;
17846 fail:
17847 return NULL;
17848 }
17849
17850
17851 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17852 PyObject *resultobj = 0;
17853 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17854 PyObject *result = 0 ;
17855 void *argp1 = 0 ;
17856 int res1 = 0 ;
17857 PyObject *swig_obj[1] ;
17858
17859 if (!args) SWIG_fail;
17860 swig_obj[0] = args;
17861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17862 if (!SWIG_IsOK(res1)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17864 }
17865 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 resultobj = result;
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17880 PyObject *resultobj = 0;
17881 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17882 PyObject *result = 0 ;
17883 void *argp1 = 0 ;
17884 int res1 = 0 ;
17885 PyObject *swig_obj[1] ;
17886
17887 if (!args) SWIG_fail;
17888 swig_obj[0] = args;
17889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17890 if (!SWIG_IsOK(res1)) {
17891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17892 }
17893 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 resultobj = result;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17908 PyObject *obj;
17909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17910 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17911 return SWIG_Py_Void();
17912 }
17913
17914 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17915 return SWIG_Python_InitShadowInstance(args);
17916 }
17917
17918 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj = 0;
17920 wxWindow *arg1 = (wxWindow *) 0 ;
17921 wxString *arg2 = 0 ;
17922 wxString *arg3 = 0 ;
17923 int arg4 = (int) 0 ;
17924 wxString *arg5 = (wxString *) NULL ;
17925 long arg6 = (long) wxCHOICEDLG_STYLE ;
17926 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17927 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17928 wxMultiChoiceDialog *result = 0 ;
17929 void *argp1 = 0 ;
17930 int res1 = 0 ;
17931 bool temp2 = false ;
17932 bool temp3 = false ;
17933 long val6 ;
17934 int ecode6 = 0 ;
17935 wxPoint temp7 ;
17936 PyObject * obj0 = 0 ;
17937 PyObject * obj1 = 0 ;
17938 PyObject * obj2 = 0 ;
17939 PyObject * obj3 = 0 ;
17940 PyObject * obj4 = 0 ;
17941 PyObject * obj5 = 0 ;
17942 char * kwnames[] = {
17943 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17944 };
17945
17946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17948 if (!SWIG_IsOK(res1)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17950 }
17951 arg1 = reinterpret_cast< wxWindow * >(argp1);
17952 {
17953 arg2 = wxString_in_helper(obj1);
17954 if (arg2 == NULL) SWIG_fail;
17955 temp2 = true;
17956 }
17957 {
17958 arg3 = wxString_in_helper(obj2);
17959 if (arg3 == NULL) SWIG_fail;
17960 temp3 = true;
17961 }
17962 if (obj3) {
17963 {
17964 arg4 = PyList_Size(obj3);
17965 arg5 = wxString_LIST_helper(obj3);
17966 if (arg5 == NULL) SWIG_fail;
17967 }
17968 }
17969 if (obj4) {
17970 ecode6 = SWIG_AsVal_long(obj4, &val6);
17971 if (!SWIG_IsOK(ecode6)) {
17972 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17973 }
17974 arg6 = static_cast< long >(val6);
17975 }
17976 if (obj5) {
17977 {
17978 arg7 = &temp7;
17979 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17980 }
17981 }
17982 {
17983 if (!wxPyCheckForApp()) SWIG_fail;
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17990 {
17991 if (temp2)
17992 delete arg2;
17993 }
17994 {
17995 if (temp3)
17996 delete arg3;
17997 }
17998 {
17999 if (arg5) delete [] arg5;
18000 }
18001 return resultobj;
18002 fail:
18003 {
18004 if (temp2)
18005 delete arg2;
18006 }
18007 {
18008 if (temp3)
18009 delete arg3;
18010 }
18011 {
18012 if (arg5) delete [] arg5;
18013 }
18014 return NULL;
18015 }
18016
18017
18018 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18019 PyObject *resultobj = 0;
18020 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18021 wxArrayInt *arg2 = 0 ;
18022 void *argp1 = 0 ;
18023 int res1 = 0 ;
18024 bool temp2 = false ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char * kwnames[] = {
18028 (char *) "self",(char *) "selections", NULL
18029 };
18030
18031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18033 if (!SWIG_IsOK(res1)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18035 }
18036 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18037 {
18038 if (! PySequence_Check(obj1)) {
18039 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18040 SWIG_fail;
18041 }
18042 arg2 = new wxArrayInt;
18043 temp2 = true;
18044 int i, len=PySequence_Length(obj1);
18045 for (i=0; i<len; i++) {
18046 PyObject* item = PySequence_GetItem(obj1, i);
18047 PyObject* number = PyNumber_Int(item);
18048 arg2->Add(PyInt_AS_LONG(number));
18049 Py_DECREF(item);
18050 Py_DECREF(number);
18051 }
18052 }
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = SWIG_Py_Void();
18060 {
18061 if (temp2) delete arg2;
18062 }
18063 return resultobj;
18064 fail:
18065 {
18066 if (temp2) delete arg2;
18067 }
18068 return NULL;
18069 }
18070
18071
18072 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18073 PyObject *resultobj = 0;
18074 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18075 PyObject *result = 0 ;
18076 void *argp1 = 0 ;
18077 int res1 = 0 ;
18078 PyObject *swig_obj[1] ;
18079
18080 if (!args) SWIG_fail;
18081 swig_obj[0] = args;
18082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18083 if (!SWIG_IsOK(res1)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18085 }
18086 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 resultobj = result;
18094 return resultobj;
18095 fail:
18096 return NULL;
18097 }
18098
18099
18100 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18101 PyObject *obj;
18102 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18103 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18104 return SWIG_Py_Void();
18105 }
18106
18107 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18108 return SWIG_Python_InitShadowInstance(args);
18109 }
18110
18111 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj = 0;
18113 wxWindow *arg1 = (wxWindow *) 0 ;
18114 wxString *arg2 = 0 ;
18115 wxString *arg3 = 0 ;
18116 int arg4 ;
18117 wxString *arg5 = (wxString *) 0 ;
18118 long arg6 = (long) wxCHOICEDLG_STYLE ;
18119 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18120 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18121 wxSingleChoiceDialog *result = 0 ;
18122 void *argp1 = 0 ;
18123 int res1 = 0 ;
18124 bool temp2 = false ;
18125 bool temp3 = false ;
18126 long val6 ;
18127 int ecode6 = 0 ;
18128 wxPoint temp7 ;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 PyObject * obj2 = 0 ;
18132 PyObject * obj3 = 0 ;
18133 PyObject * obj4 = 0 ;
18134 PyObject * obj5 = 0 ;
18135 char * kwnames[] = {
18136 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18137 };
18138
18139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18141 if (!SWIG_IsOK(res1)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18143 }
18144 arg1 = reinterpret_cast< wxWindow * >(argp1);
18145 {
18146 arg2 = wxString_in_helper(obj1);
18147 if (arg2 == NULL) SWIG_fail;
18148 temp2 = true;
18149 }
18150 {
18151 arg3 = wxString_in_helper(obj2);
18152 if (arg3 == NULL) SWIG_fail;
18153 temp3 = true;
18154 }
18155 {
18156 arg4 = PyList_Size(obj3);
18157 arg5 = wxString_LIST_helper(obj3);
18158 if (arg5 == NULL) SWIG_fail;
18159 }
18160 if (obj4) {
18161 ecode6 = SWIG_AsVal_long(obj4, &val6);
18162 if (!SWIG_IsOK(ecode6)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18164 }
18165 arg6 = static_cast< long >(val6);
18166 }
18167 if (obj5) {
18168 {
18169 arg7 = &temp7;
18170 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18171 }
18172 }
18173 {
18174 if (!wxPyCheckForApp()) SWIG_fail;
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18181 {
18182 if (temp2)
18183 delete arg2;
18184 }
18185 {
18186 if (temp3)
18187 delete arg3;
18188 }
18189 {
18190 if (arg5) delete [] arg5;
18191 }
18192 return resultobj;
18193 fail:
18194 {
18195 if (temp2)
18196 delete arg2;
18197 }
18198 {
18199 if (temp3)
18200 delete arg3;
18201 }
18202 {
18203 if (arg5) delete [] arg5;
18204 }
18205 return NULL;
18206 }
18207
18208
18209 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18210 PyObject *resultobj = 0;
18211 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18212 int result;
18213 void *argp1 = 0 ;
18214 int res1 = 0 ;
18215 PyObject *swig_obj[1] ;
18216
18217 if (!args) SWIG_fail;
18218 swig_obj[0] = args;
18219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18220 if (!SWIG_IsOK(res1)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18222 }
18223 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 result = (int)(arg1)->GetSelection();
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 resultobj = SWIG_From_int(static_cast< int >(result));
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18238 PyObject *resultobj = 0;
18239 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18240 wxString result;
18241 void *argp1 = 0 ;
18242 int res1 = 0 ;
18243 PyObject *swig_obj[1] ;
18244
18245 if (!args) SWIG_fail;
18246 swig_obj[0] = args;
18247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18248 if (!SWIG_IsOK(res1)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18250 }
18251 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (arg1)->GetStringSelection();
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 #if wxUSE_UNICODE
18260 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18261 #else
18262 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18263 #endif
18264 }
18265 return resultobj;
18266 fail:
18267 return NULL;
18268 }
18269
18270
18271 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj = 0;
18273 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18274 int arg2 ;
18275 void *argp1 = 0 ;
18276 int res1 = 0 ;
18277 int val2 ;
18278 int ecode2 = 0 ;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281 char * kwnames[] = {
18282 (char *) "self",(char *) "sel", NULL
18283 };
18284
18285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18287 if (!SWIG_IsOK(res1)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18289 }
18290 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18291 ecode2 = SWIG_AsVal_int(obj1, &val2);
18292 if (!SWIG_IsOK(ecode2)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18294 }
18295 arg2 = static_cast< int >(val2);
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 (arg1)->SetSelection(arg2);
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 resultobj = SWIG_Py_Void();
18303 return resultobj;
18304 fail:
18305 return NULL;
18306 }
18307
18308
18309 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18310 PyObject *obj;
18311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18312 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18313 return SWIG_Py_Void();
18314 }
18315
18316 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18317 return SWIG_Python_InitShadowInstance(args);
18318 }
18319
18320 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18321 PyObject *resultobj = 0;
18322 wxWindow *arg1 = (wxWindow *) 0 ;
18323 wxString *arg2 = 0 ;
18324 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18325 wxString *arg3 = (wxString *) &arg3_defvalue ;
18326 wxString const &arg4_defvalue = wxPyEmptyString ;
18327 wxString *arg4 = (wxString *) &arg4_defvalue ;
18328 long arg5 = (long) wxTextEntryDialogStyle ;
18329 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18330 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18331 wxTextEntryDialog *result = 0 ;
18332 void *argp1 = 0 ;
18333 int res1 = 0 ;
18334 bool temp2 = false ;
18335 bool temp3 = false ;
18336 bool temp4 = false ;
18337 long val5 ;
18338 int ecode5 = 0 ;
18339 wxPoint temp6 ;
18340 PyObject * obj0 = 0 ;
18341 PyObject * obj1 = 0 ;
18342 PyObject * obj2 = 0 ;
18343 PyObject * obj3 = 0 ;
18344 PyObject * obj4 = 0 ;
18345 PyObject * obj5 = 0 ;
18346 char * kwnames[] = {
18347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18348 };
18349
18350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18352 if (!SWIG_IsOK(res1)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18354 }
18355 arg1 = reinterpret_cast< wxWindow * >(argp1);
18356 {
18357 arg2 = wxString_in_helper(obj1);
18358 if (arg2 == NULL) SWIG_fail;
18359 temp2 = true;
18360 }
18361 if (obj2) {
18362 {
18363 arg3 = wxString_in_helper(obj2);
18364 if (arg3 == NULL) SWIG_fail;
18365 temp3 = true;
18366 }
18367 }
18368 if (obj3) {
18369 {
18370 arg4 = wxString_in_helper(obj3);
18371 if (arg4 == NULL) SWIG_fail;
18372 temp4 = true;
18373 }
18374 }
18375 if (obj4) {
18376 ecode5 = SWIG_AsVal_long(obj4, &val5);
18377 if (!SWIG_IsOK(ecode5)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18379 }
18380 arg5 = static_cast< long >(val5);
18381 }
18382 if (obj5) {
18383 {
18384 arg6 = &temp6;
18385 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18386 }
18387 }
18388 {
18389 if (!wxPyCheckForApp()) SWIG_fail;
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18396 {
18397 if (temp2)
18398 delete arg2;
18399 }
18400 {
18401 if (temp3)
18402 delete arg3;
18403 }
18404 {
18405 if (temp4)
18406 delete arg4;
18407 }
18408 return resultobj;
18409 fail:
18410 {
18411 if (temp2)
18412 delete arg2;
18413 }
18414 {
18415 if (temp3)
18416 delete arg3;
18417 }
18418 {
18419 if (temp4)
18420 delete arg4;
18421 }
18422 return NULL;
18423 }
18424
18425
18426 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18427 PyObject *resultobj = 0;
18428 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18429 wxString result;
18430 void *argp1 = 0 ;
18431 int res1 = 0 ;
18432 PyObject *swig_obj[1] ;
18433
18434 if (!args) SWIG_fail;
18435 swig_obj[0] = args;
18436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18437 if (!SWIG_IsOK(res1)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18439 }
18440 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (arg1)->GetValue();
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 {
18448 #if wxUSE_UNICODE
18449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18450 #else
18451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18452 #endif
18453 }
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj = 0;
18462 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18463 wxString *arg2 = 0 ;
18464 void *argp1 = 0 ;
18465 int res1 = 0 ;
18466 bool temp2 = false ;
18467 PyObject * obj0 = 0 ;
18468 PyObject * obj1 = 0 ;
18469 char * kwnames[] = {
18470 (char *) "self",(char *) "value", NULL
18471 };
18472
18473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18475 if (!SWIG_IsOK(res1)) {
18476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18477 }
18478 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18479 {
18480 arg2 = wxString_in_helper(obj1);
18481 if (arg2 == NULL) SWIG_fail;
18482 temp2 = true;
18483 }
18484 {
18485 PyThreadState* __tstate = wxPyBeginAllowThreads();
18486 (arg1)->SetValue((wxString const &)*arg2);
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 resultobj = SWIG_Py_Void();
18491 {
18492 if (temp2)
18493 delete arg2;
18494 }
18495 return resultobj;
18496 fail:
18497 {
18498 if (temp2)
18499 delete arg2;
18500 }
18501 return NULL;
18502 }
18503
18504
18505 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18506 PyObject *obj;
18507 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18508 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18509 return SWIG_Py_Void();
18510 }
18511
18512 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18513 return SWIG_Python_InitShadowInstance(args);
18514 }
18515
18516 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18517 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18518 return 1;
18519 }
18520
18521
18522 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18523 PyObject *pyobj = 0;
18524
18525 {
18526 #if wxUSE_UNICODE
18527 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18528 #else
18529 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18530 #endif
18531 }
18532 return pyobj;
18533 }
18534
18535
18536 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj = 0;
18538 wxWindow *arg1 = (wxWindow *) 0 ;
18539 wxString *arg2 = 0 ;
18540 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18541 wxString *arg3 = (wxString *) &arg3_defvalue ;
18542 wxString const &arg4_defvalue = wxPyEmptyString ;
18543 wxString *arg4 = (wxString *) &arg4_defvalue ;
18544 long arg5 = (long) wxTextEntryDialogStyle ;
18545 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18546 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18547 wxPasswordEntryDialog *result = 0 ;
18548 void *argp1 = 0 ;
18549 int res1 = 0 ;
18550 bool temp2 = false ;
18551 bool temp3 = false ;
18552 bool temp4 = false ;
18553 long val5 ;
18554 int ecode5 = 0 ;
18555 wxPoint temp6 ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 PyObject * obj2 = 0 ;
18559 PyObject * obj3 = 0 ;
18560 PyObject * obj4 = 0 ;
18561 PyObject * obj5 = 0 ;
18562 char * kwnames[] = {
18563 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18564 };
18565
18566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18568 if (!SWIG_IsOK(res1)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18570 }
18571 arg1 = reinterpret_cast< wxWindow * >(argp1);
18572 {
18573 arg2 = wxString_in_helper(obj1);
18574 if (arg2 == NULL) SWIG_fail;
18575 temp2 = true;
18576 }
18577 if (obj2) {
18578 {
18579 arg3 = wxString_in_helper(obj2);
18580 if (arg3 == NULL) SWIG_fail;
18581 temp3 = true;
18582 }
18583 }
18584 if (obj3) {
18585 {
18586 arg4 = wxString_in_helper(obj3);
18587 if (arg4 == NULL) SWIG_fail;
18588 temp4 = true;
18589 }
18590 }
18591 if (obj4) {
18592 ecode5 = SWIG_AsVal_long(obj4, &val5);
18593 if (!SWIG_IsOK(ecode5)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18595 }
18596 arg5 = static_cast< long >(val5);
18597 }
18598 if (obj5) {
18599 {
18600 arg6 = &temp6;
18601 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18602 }
18603 }
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18611 {
18612 if (temp2)
18613 delete arg2;
18614 }
18615 {
18616 if (temp3)
18617 delete arg3;
18618 }
18619 {
18620 if (temp4)
18621 delete arg4;
18622 }
18623 return resultobj;
18624 fail:
18625 {
18626 if (temp2)
18627 delete arg2;
18628 }
18629 {
18630 if (temp3)
18631 delete arg3;
18632 }
18633 {
18634 if (temp4)
18635 delete arg4;
18636 }
18637 return NULL;
18638 }
18639
18640
18641 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18642 PyObject *obj;
18643 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18645 return SWIG_Py_Void();
18646 }
18647
18648 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18649 return SWIG_Python_InitShadowInstance(args);
18650 }
18651
18652 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18653 PyObject *resultobj = 0;
18654 wxWindow *arg1 = (wxWindow *) 0 ;
18655 wxString *arg2 = 0 ;
18656 wxString *arg3 = 0 ;
18657 wxString *arg4 = 0 ;
18658 long arg5 ;
18659 long arg6 ;
18660 long arg7 ;
18661 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18662 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18663 wxNumberEntryDialog *result = 0 ;
18664 void *argp1 = 0 ;
18665 int res1 = 0 ;
18666 bool temp2 = false ;
18667 bool temp3 = false ;
18668 bool temp4 = false ;
18669 long val5 ;
18670 int ecode5 = 0 ;
18671 long val6 ;
18672 int ecode6 = 0 ;
18673 long val7 ;
18674 int ecode7 = 0 ;
18675 wxPoint temp8 ;
18676 PyObject * obj0 = 0 ;
18677 PyObject * obj1 = 0 ;
18678 PyObject * obj2 = 0 ;
18679 PyObject * obj3 = 0 ;
18680 PyObject * obj4 = 0 ;
18681 PyObject * obj5 = 0 ;
18682 PyObject * obj6 = 0 ;
18683 PyObject * obj7 = 0 ;
18684 char * kwnames[] = {
18685 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18686 };
18687
18688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18690 if (!SWIG_IsOK(res1)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18692 }
18693 arg1 = reinterpret_cast< wxWindow * >(argp1);
18694 {
18695 arg2 = wxString_in_helper(obj1);
18696 if (arg2 == NULL) SWIG_fail;
18697 temp2 = true;
18698 }
18699 {
18700 arg3 = wxString_in_helper(obj2);
18701 if (arg3 == NULL) SWIG_fail;
18702 temp3 = true;
18703 }
18704 {
18705 arg4 = wxString_in_helper(obj3);
18706 if (arg4 == NULL) SWIG_fail;
18707 temp4 = true;
18708 }
18709 ecode5 = SWIG_AsVal_long(obj4, &val5);
18710 if (!SWIG_IsOK(ecode5)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18712 }
18713 arg5 = static_cast< long >(val5);
18714 ecode6 = SWIG_AsVal_long(obj5, &val6);
18715 if (!SWIG_IsOK(ecode6)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18717 }
18718 arg6 = static_cast< long >(val6);
18719 ecode7 = SWIG_AsVal_long(obj6, &val7);
18720 if (!SWIG_IsOK(ecode7)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18722 }
18723 arg7 = static_cast< long >(val7);
18724 if (obj7) {
18725 {
18726 arg8 = &temp8;
18727 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18728 }
18729 }
18730 {
18731 if (!wxPyCheckForApp()) SWIG_fail;
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18738 {
18739 if (temp2)
18740 delete arg2;
18741 }
18742 {
18743 if (temp3)
18744 delete arg3;
18745 }
18746 {
18747 if (temp4)
18748 delete arg4;
18749 }
18750 return resultobj;
18751 fail:
18752 {
18753 if (temp2)
18754 delete arg2;
18755 }
18756 {
18757 if (temp3)
18758 delete arg3;
18759 }
18760 {
18761 if (temp4)
18762 delete arg4;
18763 }
18764 return NULL;
18765 }
18766
18767
18768 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18769 PyObject *resultobj = 0;
18770 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18771 long result;
18772 void *argp1 = 0 ;
18773 int res1 = 0 ;
18774 PyObject *swig_obj[1] ;
18775
18776 if (!args) SWIG_fail;
18777 swig_obj[0] = args;
18778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18779 if (!SWIG_IsOK(res1)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18781 }
18782 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 result = (long)(arg1)->GetValue();
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 resultobj = SWIG_From_long(static_cast< long >(result));
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18797 PyObject *obj;
18798 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18799 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18800 return SWIG_Py_Void();
18801 }
18802
18803 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18804 return SWIG_Python_InitShadowInstance(args);
18805 }
18806
18807 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18808 PyObject *resultobj = 0;
18809 wxFontData *result = 0 ;
18810
18811 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 result = (wxFontData *)new wxFontData();
18815 wxPyEndAllowThreads(__tstate);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18819 return resultobj;
18820 fail:
18821 return NULL;
18822 }
18823
18824
18825 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18826 PyObject *resultobj = 0;
18827 wxFontData *arg1 = (wxFontData *) 0 ;
18828 void *argp1 = 0 ;
18829 int res1 = 0 ;
18830 PyObject *swig_obj[1] ;
18831
18832 if (!args) SWIG_fail;
18833 swig_obj[0] = args;
18834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18835 if (!SWIG_IsOK(res1)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18837 }
18838 arg1 = reinterpret_cast< wxFontData * >(argp1);
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 delete arg1;
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 resultobj = SWIG_Py_Void();
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj = 0;
18855 wxFontData *arg1 = (wxFontData *) 0 ;
18856 bool arg2 ;
18857 void *argp1 = 0 ;
18858 int res1 = 0 ;
18859 bool val2 ;
18860 int ecode2 = 0 ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 char * kwnames[] = {
18864 (char *) "self",(char *) "enable", NULL
18865 };
18866
18867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18869 if (!SWIG_IsOK(res1)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18871 }
18872 arg1 = reinterpret_cast< wxFontData * >(argp1);
18873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18874 if (!SWIG_IsOK(ecode2)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18876 }
18877 arg2 = static_cast< bool >(val2);
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 (arg1)->EnableEffects(arg2);
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 resultobj = SWIG_Py_Void();
18885 return resultobj;
18886 fail:
18887 return NULL;
18888 }
18889
18890
18891 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18892 PyObject *resultobj = 0;
18893 wxFontData *arg1 = (wxFontData *) 0 ;
18894 bool result;
18895 void *argp1 = 0 ;
18896 int res1 = 0 ;
18897 PyObject *swig_obj[1] ;
18898
18899 if (!args) SWIG_fail;
18900 swig_obj[0] = args;
18901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18902 if (!SWIG_IsOK(res1)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18904 }
18905 arg1 = reinterpret_cast< wxFontData * >(argp1);
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 result = (bool)(arg1)->GetAllowSymbols();
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18914 }
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18922 PyObject *resultobj = 0;
18923 wxFontData *arg1 = (wxFontData *) 0 ;
18924 wxColour result;
18925 void *argp1 = 0 ;
18926 int res1 = 0 ;
18927 PyObject *swig_obj[1] ;
18928
18929 if (!args) SWIG_fail;
18930 swig_obj[0] = args;
18931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18934 }
18935 arg1 = reinterpret_cast< wxFontData * >(argp1);
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (arg1)->GetColour();
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18943 return resultobj;
18944 fail:
18945 return NULL;
18946 }
18947
18948
18949 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18950 PyObject *resultobj = 0;
18951 wxFontData *arg1 = (wxFontData *) 0 ;
18952 wxFont result;
18953 void *argp1 = 0 ;
18954 int res1 = 0 ;
18955 PyObject *swig_obj[1] ;
18956
18957 if (!args) SWIG_fail;
18958 swig_obj[0] = args;
18959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18960 if (!SWIG_IsOK(res1)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18962 }
18963 arg1 = reinterpret_cast< wxFontData * >(argp1);
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (arg1)->GetChosenFont();
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18978 PyObject *resultobj = 0;
18979 wxFontData *arg1 = (wxFontData *) 0 ;
18980 bool result;
18981 void *argp1 = 0 ;
18982 int res1 = 0 ;
18983 PyObject *swig_obj[1] ;
18984
18985 if (!args) SWIG_fail;
18986 swig_obj[0] = args;
18987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18988 if (!SWIG_IsOK(res1)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18990 }
18991 arg1 = reinterpret_cast< wxFontData * >(argp1);
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 result = (bool)(arg1)->GetEnableEffects();
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 {
18999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19000 }
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19008 PyObject *resultobj = 0;
19009 wxFontData *arg1 = (wxFontData *) 0 ;
19010 wxFont result;
19011 void *argp1 = 0 ;
19012 int res1 = 0 ;
19013 PyObject *swig_obj[1] ;
19014
19015 if (!args) SWIG_fail;
19016 swig_obj[0] = args;
19017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19018 if (!SWIG_IsOK(res1)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19020 }
19021 arg1 = reinterpret_cast< wxFontData * >(argp1);
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = (arg1)->GetInitialFont();
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19029 return resultobj;
19030 fail:
19031 return NULL;
19032 }
19033
19034
19035 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19036 PyObject *resultobj = 0;
19037 wxFontData *arg1 = (wxFontData *) 0 ;
19038 bool result;
19039 void *argp1 = 0 ;
19040 int res1 = 0 ;
19041 PyObject *swig_obj[1] ;
19042
19043 if (!args) SWIG_fail;
19044 swig_obj[0] = args;
19045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19046 if (!SWIG_IsOK(res1)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19048 }
19049 arg1 = reinterpret_cast< wxFontData * >(argp1);
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (bool)(arg1)->GetShowHelp();
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 {
19057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19058 }
19059 return resultobj;
19060 fail:
19061 return NULL;
19062 }
19063
19064
19065 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj = 0;
19067 wxFontData *arg1 = (wxFontData *) 0 ;
19068 bool arg2 ;
19069 void *argp1 = 0 ;
19070 int res1 = 0 ;
19071 bool val2 ;
19072 int ecode2 = 0 ;
19073 PyObject * obj0 = 0 ;
19074 PyObject * obj1 = 0 ;
19075 char * kwnames[] = {
19076 (char *) "self",(char *) "allowSymbols", NULL
19077 };
19078
19079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19081 if (!SWIG_IsOK(res1)) {
19082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19083 }
19084 arg1 = reinterpret_cast< wxFontData * >(argp1);
19085 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19086 if (!SWIG_IsOK(ecode2)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19088 }
19089 arg2 = static_cast< bool >(val2);
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 (arg1)->SetAllowSymbols(arg2);
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 resultobj = SWIG_Py_Void();
19097 return resultobj;
19098 fail:
19099 return NULL;
19100 }
19101
19102
19103 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj = 0;
19105 wxFontData *arg1 = (wxFontData *) 0 ;
19106 wxFont *arg2 = 0 ;
19107 void *argp1 = 0 ;
19108 int res1 = 0 ;
19109 void *argp2 = 0 ;
19110 int res2 = 0 ;
19111 PyObject * obj0 = 0 ;
19112 PyObject * obj1 = 0 ;
19113 char * kwnames[] = {
19114 (char *) "self",(char *) "font", NULL
19115 };
19116
19117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19119 if (!SWIG_IsOK(res1)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19121 }
19122 arg1 = reinterpret_cast< wxFontData * >(argp1);
19123 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19124 if (!SWIG_IsOK(res2)) {
19125 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19126 }
19127 if (!argp2) {
19128 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19129 }
19130 arg2 = reinterpret_cast< wxFont * >(argp2);
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 (arg1)->SetChosenFont((wxFont const &)*arg2);
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_Py_Void();
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj = 0;
19146 wxFontData *arg1 = (wxFontData *) 0 ;
19147 wxColour *arg2 = 0 ;
19148 void *argp1 = 0 ;
19149 int res1 = 0 ;
19150 wxColour temp2 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 char * kwnames[] = {
19154 (char *) "self",(char *) "colour", NULL
19155 };
19156
19157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19159 if (!SWIG_IsOK(res1)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19161 }
19162 arg1 = reinterpret_cast< wxFontData * >(argp1);
19163 {
19164 arg2 = &temp2;
19165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->SetColour((wxColour const &)*arg2);
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 resultobj = SWIG_Py_Void();
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj = 0;
19182 wxFontData *arg1 = (wxFontData *) 0 ;
19183 wxFont *arg2 = 0 ;
19184 void *argp1 = 0 ;
19185 int res1 = 0 ;
19186 void *argp2 = 0 ;
19187 int res2 = 0 ;
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char * kwnames[] = {
19191 (char *) "self",(char *) "font", NULL
19192 };
19193
19194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19196 if (!SWIG_IsOK(res1)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19198 }
19199 arg1 = reinterpret_cast< wxFontData * >(argp1);
19200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19201 if (!SWIG_IsOK(res2)) {
19202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19203 }
19204 if (!argp2) {
19205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19206 }
19207 arg2 = reinterpret_cast< wxFont * >(argp2);
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 (arg1)->SetInitialFont((wxFont const &)*arg2);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_Py_Void();
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj = 0;
19223 wxFontData *arg1 = (wxFontData *) 0 ;
19224 int arg2 ;
19225 int arg3 ;
19226 void *argp1 = 0 ;
19227 int res1 = 0 ;
19228 int val2 ;
19229 int ecode2 = 0 ;
19230 int val3 ;
19231 int ecode3 = 0 ;
19232 PyObject * obj0 = 0 ;
19233 PyObject * obj1 = 0 ;
19234 PyObject * obj2 = 0 ;
19235 char * kwnames[] = {
19236 (char *) "self",(char *) "min",(char *) "max", NULL
19237 };
19238
19239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19241 if (!SWIG_IsOK(res1)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19243 }
19244 arg1 = reinterpret_cast< wxFontData * >(argp1);
19245 ecode2 = SWIG_AsVal_int(obj1, &val2);
19246 if (!SWIG_IsOK(ecode2)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19248 }
19249 arg2 = static_cast< int >(val2);
19250 ecode3 = SWIG_AsVal_int(obj2, &val3);
19251 if (!SWIG_IsOK(ecode3)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19253 }
19254 arg3 = static_cast< int >(val3);
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 (arg1)->SetRange(arg2,arg3);
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_Py_Void();
19262 return resultobj;
19263 fail:
19264 return NULL;
19265 }
19266
19267
19268 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj = 0;
19270 wxFontData *arg1 = (wxFontData *) 0 ;
19271 bool arg2 ;
19272 void *argp1 = 0 ;
19273 int res1 = 0 ;
19274 bool val2 ;
19275 int ecode2 = 0 ;
19276 PyObject * obj0 = 0 ;
19277 PyObject * obj1 = 0 ;
19278 char * kwnames[] = {
19279 (char *) "self",(char *) "showHelp", NULL
19280 };
19281
19282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19284 if (!SWIG_IsOK(res1)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19286 }
19287 arg1 = reinterpret_cast< wxFontData * >(argp1);
19288 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19289 if (!SWIG_IsOK(ecode2)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19291 }
19292 arg2 = static_cast< bool >(val2);
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 (arg1)->SetShowHelp(arg2);
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
19299 resultobj = SWIG_Py_Void();
19300 return resultobj;
19301 fail:
19302 return NULL;
19303 }
19304
19305
19306 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19307 PyObject *obj;
19308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19310 return SWIG_Py_Void();
19311 }
19312
19313 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19314 return SWIG_Python_InitShadowInstance(args);
19315 }
19316
19317 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj = 0;
19319 wxWindow *arg1 = (wxWindow *) 0 ;
19320 wxFontData *arg2 = 0 ;
19321 wxFontDialog *result = 0 ;
19322 void *argp1 = 0 ;
19323 int res1 = 0 ;
19324 void *argp2 = 0 ;
19325 int res2 = 0 ;
19326 PyObject * obj0 = 0 ;
19327 PyObject * obj1 = 0 ;
19328 char * kwnames[] = {
19329 (char *) "parent",(char *) "data", NULL
19330 };
19331
19332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19334 if (!SWIG_IsOK(res1)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19336 }
19337 arg1 = reinterpret_cast< wxWindow * >(argp1);
19338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19339 if (!SWIG_IsOK(res2)) {
19340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19341 }
19342 if (!argp2) {
19343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19344 }
19345 arg2 = reinterpret_cast< wxFontData * >(argp2);
19346 {
19347 if (!wxPyCheckForApp()) SWIG_fail;
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19361 PyObject *resultobj = 0;
19362 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19363 wxFontData *result = 0 ;
19364 void *argp1 = 0 ;
19365 int res1 = 0 ;
19366 PyObject *swig_obj[1] ;
19367
19368 if (!args) SWIG_fail;
19369 swig_obj[0] = args;
19370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19371 if (!SWIG_IsOK(res1)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19373 }
19374 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 {
19378 wxFontData &_result_ref = (arg1)->GetFontData();
19379 result = (wxFontData *) &_result_ref;
19380 }
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19392 PyObject *obj;
19393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19395 return SWIG_Py_Void();
19396 }
19397
19398 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19399 return SWIG_Python_InitShadowInstance(args);
19400 }
19401
19402 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj = 0;
19404 wxWindow *arg1 = (wxWindow *) NULL ;
19405 wxFont const &arg2_defvalue = wxNullFont ;
19406 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19407 wxString const &arg3_defvalue = wxPyEmptyString ;
19408 wxString *arg3 = (wxString *) &arg3_defvalue ;
19409 wxFont result;
19410 void *argp1 = 0 ;
19411 int res1 = 0 ;
19412 void *argp2 = 0 ;
19413 int res2 = 0 ;
19414 bool temp3 = false ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 PyObject * obj2 = 0 ;
19418 char * kwnames[] = {
19419 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19420 };
19421
19422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19423 if (obj0) {
19424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19425 if (!SWIG_IsOK(res1)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19427 }
19428 arg1 = reinterpret_cast< wxWindow * >(argp1);
19429 }
19430 if (obj1) {
19431 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19432 if (!SWIG_IsOK(res2)) {
19433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19434 }
19435 if (!argp2) {
19436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19437 }
19438 arg2 = reinterpret_cast< wxFont * >(argp2);
19439 }
19440 if (obj2) {
19441 {
19442 arg3 = wxString_in_helper(obj2);
19443 if (arg3 == NULL) SWIG_fail;
19444 temp3 = true;
19445 }
19446 }
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19454 {
19455 if (temp3)
19456 delete arg3;
19457 }
19458 return resultobj;
19459 fail:
19460 {
19461 if (temp3)
19462 delete arg3;
19463 }
19464 return NULL;
19465 }
19466
19467
19468 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj = 0;
19470 wxWindow *arg1 = (wxWindow *) 0 ;
19471 wxString *arg2 = 0 ;
19472 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19473 wxString *arg3 = (wxString *) &arg3_defvalue ;
19474 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19475 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19476 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19477 wxMessageDialog *result = 0 ;
19478 void *argp1 = 0 ;
19479 int res1 = 0 ;
19480 bool temp2 = false ;
19481 bool temp3 = false ;
19482 long val4 ;
19483 int ecode4 = 0 ;
19484 wxPoint temp5 ;
19485 PyObject * obj0 = 0 ;
19486 PyObject * obj1 = 0 ;
19487 PyObject * obj2 = 0 ;
19488 PyObject * obj3 = 0 ;
19489 PyObject * obj4 = 0 ;
19490 char * kwnames[] = {
19491 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19492 };
19493
19494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19496 if (!SWIG_IsOK(res1)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19498 }
19499 arg1 = reinterpret_cast< wxWindow * >(argp1);
19500 {
19501 arg2 = wxString_in_helper(obj1);
19502 if (arg2 == NULL) SWIG_fail;
19503 temp2 = true;
19504 }
19505 if (obj2) {
19506 {
19507 arg3 = wxString_in_helper(obj2);
19508 if (arg3 == NULL) SWIG_fail;
19509 temp3 = true;
19510 }
19511 }
19512 if (obj3) {
19513 ecode4 = SWIG_AsVal_long(obj3, &val4);
19514 if (!SWIG_IsOK(ecode4)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19516 }
19517 arg4 = static_cast< long >(val4);
19518 }
19519 if (obj4) {
19520 {
19521 arg5 = &temp5;
19522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19523 }
19524 }
19525 {
19526 if (!wxPyCheckForApp()) SWIG_fail;
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19533 {
19534 if (temp2)
19535 delete arg2;
19536 }
19537 {
19538 if (temp3)
19539 delete arg3;
19540 }
19541 return resultobj;
19542 fail:
19543 {
19544 if (temp2)
19545 delete arg2;
19546 }
19547 {
19548 if (temp3)
19549 delete arg3;
19550 }
19551 return NULL;
19552 }
19553
19554
19555 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19556 PyObject *obj;
19557 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19558 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19559 return SWIG_Py_Void();
19560 }
19561
19562 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19563 return SWIG_Python_InitShadowInstance(args);
19564 }
19565
19566 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj = 0;
19568 wxString *arg1 = 0 ;
19569 wxString *arg2 = 0 ;
19570 int arg3 = (int) 100 ;
19571 wxWindow *arg4 = (wxWindow *) NULL ;
19572 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19573 wxProgressDialog *result = 0 ;
19574 bool temp1 = false ;
19575 bool temp2 = false ;
19576 int val3 ;
19577 int ecode3 = 0 ;
19578 void *argp4 = 0 ;
19579 int res4 = 0 ;
19580 int val5 ;
19581 int ecode5 = 0 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19584 PyObject * obj2 = 0 ;
19585 PyObject * obj3 = 0 ;
19586 PyObject * obj4 = 0 ;
19587 char * kwnames[] = {
19588 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19589 };
19590
19591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19592 {
19593 arg1 = wxString_in_helper(obj0);
19594 if (arg1 == NULL) SWIG_fail;
19595 temp1 = true;
19596 }
19597 {
19598 arg2 = wxString_in_helper(obj1);
19599 if (arg2 == NULL) SWIG_fail;
19600 temp2 = true;
19601 }
19602 if (obj2) {
19603 ecode3 = SWIG_AsVal_int(obj2, &val3);
19604 if (!SWIG_IsOK(ecode3)) {
19605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19606 }
19607 arg3 = static_cast< int >(val3);
19608 }
19609 if (obj3) {
19610 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19611 if (!SWIG_IsOK(res4)) {
19612 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19613 }
19614 arg4 = reinterpret_cast< wxWindow * >(argp4);
19615 }
19616 if (obj4) {
19617 ecode5 = SWIG_AsVal_int(obj4, &val5);
19618 if (!SWIG_IsOK(ecode5)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19620 }
19621 arg5 = static_cast< int >(val5);
19622 }
19623 {
19624 if (!wxPyCheckForApp()) SWIG_fail;
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19631 {
19632 if (temp1)
19633 delete arg1;
19634 }
19635 {
19636 if (temp2)
19637 delete arg2;
19638 }
19639 return resultobj;
19640 fail:
19641 {
19642 if (temp1)
19643 delete arg1;
19644 }
19645 {
19646 if (temp2)
19647 delete arg2;
19648 }
19649 return NULL;
19650 }
19651
19652
19653 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj = 0;
19655 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19656 int arg2 ;
19657 wxString const &arg3_defvalue = wxPyEmptyString ;
19658 wxString *arg3 = (wxString *) &arg3_defvalue ;
19659 bool *arg4 = (bool *) 0 ;
19660 bool result;
19661 void *argp1 = 0 ;
19662 int res1 = 0 ;
19663 int val2 ;
19664 int ecode2 = 0 ;
19665 bool temp3 = false ;
19666 bool temp4 ;
19667 int res4 = SWIG_TMPOBJ ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 PyObject * obj2 = 0 ;
19671 char * kwnames[] = {
19672 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19673 };
19674
19675 arg4 = &temp4;
19676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19678 if (!SWIG_IsOK(res1)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19680 }
19681 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19682 ecode2 = SWIG_AsVal_int(obj1, &val2);
19683 if (!SWIG_IsOK(ecode2)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19685 }
19686 arg2 = static_cast< int >(val2);
19687 if (obj2) {
19688 {
19689 arg3 = wxString_in_helper(obj2);
19690 if (arg3 == NULL) SWIG_fail;
19691 temp3 = true;
19692 }
19693 }
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19702 }
19703 if (SWIG_IsTmpObj(res4)) {
19704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19705 } else {
19706 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19708 }
19709 {
19710 if (temp3)
19711 delete arg3;
19712 }
19713 return resultobj;
19714 fail:
19715 {
19716 if (temp3)
19717 delete arg3;
19718 }
19719 return NULL;
19720 }
19721
19722
19723 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19724 PyObject *resultobj = 0;
19725 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19726 void *argp1 = 0 ;
19727 int res1 = 0 ;
19728 PyObject *swig_obj[1] ;
19729
19730 if (!args) SWIG_fail;
19731 swig_obj[0] = args;
19732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19733 if (!SWIG_IsOK(res1)) {
19734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19735 }
19736 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 (arg1)->Resume();
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = SWIG_Py_Void();
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19751 PyObject *obj;
19752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19753 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19754 return SWIG_Py_Void();
19755 }
19756
19757 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19758 return SWIG_Python_InitShadowInstance(args);
19759 }
19760
19761 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj = 0;
19763 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19764 int arg2 = (int) 0 ;
19765 wxFindDialogEvent *result = 0 ;
19766 int val1 ;
19767 int ecode1 = 0 ;
19768 int val2 ;
19769 int ecode2 = 0 ;
19770 PyObject * obj0 = 0 ;
19771 PyObject * obj1 = 0 ;
19772 char * kwnames[] = {
19773 (char *) "commandType",(char *) "id", NULL
19774 };
19775
19776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19777 if (obj0) {
19778 ecode1 = SWIG_AsVal_int(obj0, &val1);
19779 if (!SWIG_IsOK(ecode1)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19781 }
19782 arg1 = static_cast< wxEventType >(val1);
19783 }
19784 if (obj1) {
19785 ecode2 = SWIG_AsVal_int(obj1, &val2);
19786 if (!SWIG_IsOK(ecode2)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19788 }
19789 arg2 = static_cast< int >(val2);
19790 }
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19805 PyObject *resultobj = 0;
19806 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19807 int result;
19808 void *argp1 = 0 ;
19809 int res1 = 0 ;
19810 PyObject *swig_obj[1] ;
19811
19812 if (!args) SWIG_fail;
19813 swig_obj[0] = args;
19814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19815 if (!SWIG_IsOK(res1)) {
19816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19817 }
19818 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = (int)(arg1)->GetFlags();
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 resultobj = SWIG_From_int(static_cast< int >(result));
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19833 PyObject *resultobj = 0;
19834 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19835 wxString *result = 0 ;
19836 void *argp1 = 0 ;
19837 int res1 = 0 ;
19838 PyObject *swig_obj[1] ;
19839
19840 if (!args) SWIG_fail;
19841 swig_obj[0] = args;
19842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19843 if (!SWIG_IsOK(res1)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19845 }
19846 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 {
19850 wxString const &_result_ref = (arg1)->GetFindString();
19851 result = (wxString *) &_result_ref;
19852 }
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 #if wxUSE_UNICODE
19858 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19859 #else
19860 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19861 #endif
19862 }
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19870 PyObject *resultobj = 0;
19871 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19872 wxString *result = 0 ;
19873 void *argp1 = 0 ;
19874 int res1 = 0 ;
19875 PyObject *swig_obj[1] ;
19876
19877 if (!args) SWIG_fail;
19878 swig_obj[0] = args;
19879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19880 if (!SWIG_IsOK(res1)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19882 }
19883 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 {
19887 wxString const &_result_ref = (arg1)->GetReplaceString();
19888 result = (wxString *) &_result_ref;
19889 }
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 {
19894 #if wxUSE_UNICODE
19895 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19896 #else
19897 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19898 #endif
19899 }
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 PyObject *resultobj = 0;
19908 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19909 wxFindReplaceDialog *result = 0 ;
19910 void *argp1 = 0 ;
19911 int res1 = 0 ;
19912 PyObject *swig_obj[1] ;
19913
19914 if (!args) SWIG_fail;
19915 swig_obj[0] = args;
19916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19917 if (!SWIG_IsOK(res1)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19919 }
19920 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj = 0;
19936 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19937 int arg2 ;
19938 void *argp1 = 0 ;
19939 int res1 = 0 ;
19940 int val2 ;
19941 int ecode2 = 0 ;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char * kwnames[] = {
19945 (char *) "self",(char *) "flags", NULL
19946 };
19947
19948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19950 if (!SWIG_IsOK(res1)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19952 }
19953 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19954 ecode2 = SWIG_AsVal_int(obj1, &val2);
19955 if (!SWIG_IsOK(ecode2)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19957 }
19958 arg2 = static_cast< int >(val2);
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 (arg1)->SetFlags(arg2);
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 resultobj = SWIG_Py_Void();
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj = 0;
19974 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19975 wxString *arg2 = 0 ;
19976 void *argp1 = 0 ;
19977 int res1 = 0 ;
19978 bool temp2 = false ;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 char * kwnames[] = {
19982 (char *) "self",(char *) "str", NULL
19983 };
19984
19985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19987 if (!SWIG_IsOK(res1)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19989 }
19990 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19991 {
19992 arg2 = wxString_in_helper(obj1);
19993 if (arg2 == NULL) SWIG_fail;
19994 temp2 = true;
19995 }
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 (arg1)->SetFindString((wxString const &)*arg2);
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 resultobj = SWIG_Py_Void();
20003 {
20004 if (temp2)
20005 delete arg2;
20006 }
20007 return resultobj;
20008 fail:
20009 {
20010 if (temp2)
20011 delete arg2;
20012 }
20013 return NULL;
20014 }
20015
20016
20017 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj = 0;
20019 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20020 wxString *arg2 = 0 ;
20021 void *argp1 = 0 ;
20022 int res1 = 0 ;
20023 bool temp2 = false ;
20024 PyObject * obj0 = 0 ;
20025 PyObject * obj1 = 0 ;
20026 char * kwnames[] = {
20027 (char *) "self",(char *) "str", NULL
20028 };
20029
20030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20032 if (!SWIG_IsOK(res1)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20034 }
20035 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20036 {
20037 arg2 = wxString_in_helper(obj1);
20038 if (arg2 == NULL) SWIG_fail;
20039 temp2 = true;
20040 }
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 (arg1)->SetReplaceString((wxString const &)*arg2);
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 resultobj = SWIG_Py_Void();
20048 {
20049 if (temp2)
20050 delete arg2;
20051 }
20052 return resultobj;
20053 fail:
20054 {
20055 if (temp2)
20056 delete arg2;
20057 }
20058 return NULL;
20059 }
20060
20061
20062 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20063 PyObject *obj;
20064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20065 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20066 return SWIG_Py_Void();
20067 }
20068
20069 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20070 return SWIG_Python_InitShadowInstance(args);
20071 }
20072
20073 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj = 0;
20075 int arg1 = (int) 0 ;
20076 wxFindReplaceData *result = 0 ;
20077 int val1 ;
20078 int ecode1 = 0 ;
20079 PyObject * obj0 = 0 ;
20080 char * kwnames[] = {
20081 (char *) "flags", NULL
20082 };
20083
20084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20085 if (obj0) {
20086 ecode1 = SWIG_AsVal_int(obj0, &val1);
20087 if (!SWIG_IsOK(ecode1)) {
20088 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20089 }
20090 arg1 = static_cast< int >(val1);
20091 }
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20099 return resultobj;
20100 fail:
20101 return NULL;
20102 }
20103
20104
20105 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20106 PyObject *resultobj = 0;
20107 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20108 void *argp1 = 0 ;
20109 int res1 = 0 ;
20110 PyObject *swig_obj[1] ;
20111
20112 if (!args) SWIG_fail;
20113 swig_obj[0] = args;
20114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20115 if (!SWIG_IsOK(res1)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20117 }
20118 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 delete arg1;
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 resultobj = SWIG_Py_Void();
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20134 PyObject *resultobj = 0;
20135 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20136 wxString *result = 0 ;
20137 void *argp1 = 0 ;
20138 int res1 = 0 ;
20139 PyObject *swig_obj[1] ;
20140
20141 if (!args) SWIG_fail;
20142 swig_obj[0] = args;
20143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20144 if (!SWIG_IsOK(res1)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20146 }
20147 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 {
20151 wxString const &_result_ref = (arg1)->GetFindString();
20152 result = (wxString *) &_result_ref;
20153 }
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 {
20158 #if wxUSE_UNICODE
20159 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20160 #else
20161 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20162 #endif
20163 }
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20171 PyObject *resultobj = 0;
20172 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20173 wxString *result = 0 ;
20174 void *argp1 = 0 ;
20175 int res1 = 0 ;
20176 PyObject *swig_obj[1] ;
20177
20178 if (!args) SWIG_fail;
20179 swig_obj[0] = args;
20180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20181 if (!SWIG_IsOK(res1)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20183 }
20184 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 {
20188 wxString const &_result_ref = (arg1)->GetReplaceString();
20189 result = (wxString *) &_result_ref;
20190 }
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 #if wxUSE_UNICODE
20196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20197 #else
20198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20199 #endif
20200 }
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20208 PyObject *resultobj = 0;
20209 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20210 int result;
20211 void *argp1 = 0 ;
20212 int res1 = 0 ;
20213 PyObject *swig_obj[1] ;
20214
20215 if (!args) SWIG_fail;
20216 swig_obj[0] = args;
20217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20218 if (!SWIG_IsOK(res1)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20220 }
20221 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (int)(arg1)->GetFlags();
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 resultobj = SWIG_From_int(static_cast< int >(result));
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj = 0;
20237 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20238 int arg2 ;
20239 void *argp1 = 0 ;
20240 int res1 = 0 ;
20241 int val2 ;
20242 int ecode2 = 0 ;
20243 PyObject * obj0 = 0 ;
20244 PyObject * obj1 = 0 ;
20245 char * kwnames[] = {
20246 (char *) "self",(char *) "flags", NULL
20247 };
20248
20249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20251 if (!SWIG_IsOK(res1)) {
20252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20253 }
20254 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20255 ecode2 = SWIG_AsVal_int(obj1, &val2);
20256 if (!SWIG_IsOK(ecode2)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20258 }
20259 arg2 = static_cast< int >(val2);
20260 {
20261 PyThreadState* __tstate = wxPyBeginAllowThreads();
20262 (arg1)->SetFlags(arg2);
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 resultobj = SWIG_Py_Void();
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj = 0;
20275 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20276 wxString *arg2 = 0 ;
20277 void *argp1 = 0 ;
20278 int res1 = 0 ;
20279 bool temp2 = false ;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char * kwnames[] = {
20283 (char *) "self",(char *) "str", NULL
20284 };
20285
20286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20288 if (!SWIG_IsOK(res1)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20290 }
20291 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20292 {
20293 arg2 = wxString_in_helper(obj1);
20294 if (arg2 == NULL) SWIG_fail;
20295 temp2 = true;
20296 }
20297 {
20298 PyThreadState* __tstate = wxPyBeginAllowThreads();
20299 (arg1)->SetFindString((wxString const &)*arg2);
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_Py_Void();
20304 {
20305 if (temp2)
20306 delete arg2;
20307 }
20308 return resultobj;
20309 fail:
20310 {
20311 if (temp2)
20312 delete arg2;
20313 }
20314 return NULL;
20315 }
20316
20317
20318 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj = 0;
20320 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20321 wxString *arg2 = 0 ;
20322 void *argp1 = 0 ;
20323 int res1 = 0 ;
20324 bool temp2 = false ;
20325 PyObject * obj0 = 0 ;
20326 PyObject * obj1 = 0 ;
20327 char * kwnames[] = {
20328 (char *) "self",(char *) "str", NULL
20329 };
20330
20331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20333 if (!SWIG_IsOK(res1)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20335 }
20336 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20337 {
20338 arg2 = wxString_in_helper(obj1);
20339 if (arg2 == NULL) SWIG_fail;
20340 temp2 = true;
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 (arg1)->SetReplaceString((wxString const &)*arg2);
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 resultobj = SWIG_Py_Void();
20349 {
20350 if (temp2)
20351 delete arg2;
20352 }
20353 return resultobj;
20354 fail:
20355 {
20356 if (temp2)
20357 delete arg2;
20358 }
20359 return NULL;
20360 }
20361
20362
20363 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20364 PyObject *obj;
20365 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20366 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20367 return SWIG_Py_Void();
20368 }
20369
20370 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20371 return SWIG_Python_InitShadowInstance(args);
20372 }
20373
20374 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj = 0;
20376 wxWindow *arg1 = (wxWindow *) 0 ;
20377 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20378 wxString *arg3 = 0 ;
20379 int arg4 = (int) 0 ;
20380 wxFindReplaceDialog *result = 0 ;
20381 void *argp1 = 0 ;
20382 int res1 = 0 ;
20383 void *argp2 = 0 ;
20384 int res2 = 0 ;
20385 bool temp3 = false ;
20386 int val4 ;
20387 int ecode4 = 0 ;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 PyObject * obj2 = 0 ;
20391 PyObject * obj3 = 0 ;
20392 char * kwnames[] = {
20393 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20394 };
20395
20396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20398 if (!SWIG_IsOK(res1)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20400 }
20401 arg1 = reinterpret_cast< wxWindow * >(argp1);
20402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20403 if (!SWIG_IsOK(res2)) {
20404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20405 }
20406 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20407 {
20408 arg3 = wxString_in_helper(obj2);
20409 if (arg3 == NULL) SWIG_fail;
20410 temp3 = true;
20411 }
20412 if (obj3) {
20413 ecode4 = SWIG_AsVal_int(obj3, &val4);
20414 if (!SWIG_IsOK(ecode4)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20416 }
20417 arg4 = static_cast< int >(val4);
20418 }
20419 {
20420 if (!wxPyCheckForApp()) SWIG_fail;
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20427 {
20428 if (temp3)
20429 delete arg3;
20430 }
20431 return resultobj;
20432 fail:
20433 {
20434 if (temp3)
20435 delete arg3;
20436 }
20437 return NULL;
20438 }
20439
20440
20441 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20442 PyObject *resultobj = 0;
20443 wxFindReplaceDialog *result = 0 ;
20444
20445 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20446 {
20447 if (!wxPyCheckForApp()) SWIG_fail;
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj = 0;
20462 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20463 wxWindow *arg2 = (wxWindow *) 0 ;
20464 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20465 wxString *arg4 = 0 ;
20466 int arg5 = (int) 0 ;
20467 bool result;
20468 void *argp1 = 0 ;
20469 int res1 = 0 ;
20470 void *argp2 = 0 ;
20471 int res2 = 0 ;
20472 void *argp3 = 0 ;
20473 int res3 = 0 ;
20474 bool temp4 = false ;
20475 int val5 ;
20476 int ecode5 = 0 ;
20477 PyObject * obj0 = 0 ;
20478 PyObject * obj1 = 0 ;
20479 PyObject * obj2 = 0 ;
20480 PyObject * obj3 = 0 ;
20481 PyObject * obj4 = 0 ;
20482 char * kwnames[] = {
20483 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20484 };
20485
20486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20488 if (!SWIG_IsOK(res1)) {
20489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20490 }
20491 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20493 if (!SWIG_IsOK(res2)) {
20494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20495 }
20496 arg2 = reinterpret_cast< wxWindow * >(argp2);
20497 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20498 if (!SWIG_IsOK(res3)) {
20499 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20500 }
20501 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20502 {
20503 arg4 = wxString_in_helper(obj3);
20504 if (arg4 == NULL) SWIG_fail;
20505 temp4 = true;
20506 }
20507 if (obj4) {
20508 ecode5 = SWIG_AsVal_int(obj4, &val5);
20509 if (!SWIG_IsOK(ecode5)) {
20510 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20511 }
20512 arg5 = static_cast< int >(val5);
20513 }
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 {
20521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20522 }
20523 {
20524 if (temp4)
20525 delete arg4;
20526 }
20527 return resultobj;
20528 fail:
20529 {
20530 if (temp4)
20531 delete arg4;
20532 }
20533 return NULL;
20534 }
20535
20536
20537 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20538 PyObject *resultobj = 0;
20539 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20540 wxFindReplaceData *result = 0 ;
20541 void *argp1 = 0 ;
20542 int res1 = 0 ;
20543 PyObject *swig_obj[1] ;
20544
20545 if (!args) SWIG_fail;
20546 swig_obj[0] = args;
20547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20548 if (!SWIG_IsOK(res1)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20550 }
20551 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 result = (wxFindReplaceData *)(arg1)->GetData();
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj = 0;
20567 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20568 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20569 void *argp1 = 0 ;
20570 int res1 = 0 ;
20571 void *argp2 = 0 ;
20572 int res2 = 0 ;
20573 PyObject * obj0 = 0 ;
20574 PyObject * obj1 = 0 ;
20575 char * kwnames[] = {
20576 (char *) "self",(char *) "data", NULL
20577 };
20578
20579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20581 if (!SWIG_IsOK(res1)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20583 }
20584 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20586 if (!SWIG_IsOK(res2)) {
20587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20588 }
20589 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 (arg1)->SetData(arg2);
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 resultobj = SWIG_Py_Void();
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20604 PyObject *obj;
20605 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20606 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20607 return SWIG_Py_Void();
20608 }
20609
20610 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20611 return SWIG_Python_InitShadowInstance(args);
20612 }
20613
20614 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj = 0;
20616 wxWindow *arg1 = (wxWindow *) 0 ;
20617 int arg2 = (int) (int)-1 ;
20618 wxString const &arg3_defvalue = wxPyEmptyString ;
20619 wxString *arg3 = (wxString *) &arg3_defvalue ;
20620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20622 wxSize const &arg5_defvalue = wxDefaultSize ;
20623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20624 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20625 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20626 wxString *arg7 = (wxString *) &arg7_defvalue ;
20627 wxMDIParentFrame *result = 0 ;
20628 void *argp1 = 0 ;
20629 int res1 = 0 ;
20630 int val2 ;
20631 int ecode2 = 0 ;
20632 bool temp3 = false ;
20633 wxPoint temp4 ;
20634 wxSize temp5 ;
20635 long val6 ;
20636 int ecode6 = 0 ;
20637 bool temp7 = false ;
20638 PyObject * obj0 = 0 ;
20639 PyObject * obj1 = 0 ;
20640 PyObject * obj2 = 0 ;
20641 PyObject * obj3 = 0 ;
20642 PyObject * obj4 = 0 ;
20643 PyObject * obj5 = 0 ;
20644 PyObject * obj6 = 0 ;
20645 char * kwnames[] = {
20646 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20647 };
20648
20649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20651 if (!SWIG_IsOK(res1)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20653 }
20654 arg1 = reinterpret_cast< wxWindow * >(argp1);
20655 if (obj1) {
20656 ecode2 = SWIG_AsVal_int(obj1, &val2);
20657 if (!SWIG_IsOK(ecode2)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20659 }
20660 arg2 = static_cast< int >(val2);
20661 }
20662 if (obj2) {
20663 {
20664 arg3 = wxString_in_helper(obj2);
20665 if (arg3 == NULL) SWIG_fail;
20666 temp3 = true;
20667 }
20668 }
20669 if (obj3) {
20670 {
20671 arg4 = &temp4;
20672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20673 }
20674 }
20675 if (obj4) {
20676 {
20677 arg5 = &temp5;
20678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20679 }
20680 }
20681 if (obj5) {
20682 ecode6 = SWIG_AsVal_long(obj5, &val6);
20683 if (!SWIG_IsOK(ecode6)) {
20684 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20685 }
20686 arg6 = static_cast< long >(val6);
20687 }
20688 if (obj6) {
20689 {
20690 arg7 = wxString_in_helper(obj6);
20691 if (arg7 == NULL) SWIG_fail;
20692 temp7 = true;
20693 }
20694 }
20695 {
20696 if (!wxPyCheckForApp()) SWIG_fail;
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20703 {
20704 if (temp3)
20705 delete arg3;
20706 }
20707 {
20708 if (temp7)
20709 delete arg7;
20710 }
20711 return resultobj;
20712 fail:
20713 {
20714 if (temp3)
20715 delete arg3;
20716 }
20717 {
20718 if (temp7)
20719 delete arg7;
20720 }
20721 return NULL;
20722 }
20723
20724
20725 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20726 PyObject *resultobj = 0;
20727 wxMDIParentFrame *result = 0 ;
20728
20729 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20730 {
20731 if (!wxPyCheckForApp()) SWIG_fail;
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20738 return resultobj;
20739 fail:
20740 return NULL;
20741 }
20742
20743
20744 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj = 0;
20746 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20747 wxWindow *arg2 = (wxWindow *) 0 ;
20748 int arg3 = (int) (int)-1 ;
20749 wxString const &arg4_defvalue = wxPyEmptyString ;
20750 wxString *arg4 = (wxString *) &arg4_defvalue ;
20751 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20752 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20753 wxSize const &arg6_defvalue = wxDefaultSize ;
20754 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20755 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20756 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20757 wxString *arg8 = (wxString *) &arg8_defvalue ;
20758 bool result;
20759 void *argp1 = 0 ;
20760 int res1 = 0 ;
20761 void *argp2 = 0 ;
20762 int res2 = 0 ;
20763 int val3 ;
20764 int ecode3 = 0 ;
20765 bool temp4 = false ;
20766 wxPoint temp5 ;
20767 wxSize temp6 ;
20768 long val7 ;
20769 int ecode7 = 0 ;
20770 bool temp8 = false ;
20771 PyObject * obj0 = 0 ;
20772 PyObject * obj1 = 0 ;
20773 PyObject * obj2 = 0 ;
20774 PyObject * obj3 = 0 ;
20775 PyObject * obj4 = 0 ;
20776 PyObject * obj5 = 0 ;
20777 PyObject * obj6 = 0 ;
20778 PyObject * obj7 = 0 ;
20779 char * kwnames[] = {
20780 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20781 };
20782
20783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20785 if (!SWIG_IsOK(res1)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20787 }
20788 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20789 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20790 if (!SWIG_IsOK(res2)) {
20791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20792 }
20793 arg2 = reinterpret_cast< wxWindow * >(argp2);
20794 if (obj2) {
20795 ecode3 = SWIG_AsVal_int(obj2, &val3);
20796 if (!SWIG_IsOK(ecode3)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20798 }
20799 arg3 = static_cast< int >(val3);
20800 }
20801 if (obj3) {
20802 {
20803 arg4 = wxString_in_helper(obj3);
20804 if (arg4 == NULL) SWIG_fail;
20805 temp4 = true;
20806 }
20807 }
20808 if (obj4) {
20809 {
20810 arg5 = &temp5;
20811 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20812 }
20813 }
20814 if (obj5) {
20815 {
20816 arg6 = &temp6;
20817 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20818 }
20819 }
20820 if (obj6) {
20821 ecode7 = SWIG_AsVal_long(obj6, &val7);
20822 if (!SWIG_IsOK(ecode7)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20824 }
20825 arg7 = static_cast< long >(val7);
20826 }
20827 if (obj7) {
20828 {
20829 arg8 = wxString_in_helper(obj7);
20830 if (arg8 == NULL) SWIG_fail;
20831 temp8 = true;
20832 }
20833 }
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 {
20841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20842 }
20843 {
20844 if (temp4)
20845 delete arg4;
20846 }
20847 {
20848 if (temp8)
20849 delete arg8;
20850 }
20851 return resultobj;
20852 fail:
20853 {
20854 if (temp4)
20855 delete arg4;
20856 }
20857 {
20858 if (temp8)
20859 delete arg8;
20860 }
20861 return NULL;
20862 }
20863
20864
20865 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20866 PyObject *resultobj = 0;
20867 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20868 void *argp1 = 0 ;
20869 int res1 = 0 ;
20870 PyObject *swig_obj[1] ;
20871
20872 if (!args) SWIG_fail;
20873 swig_obj[0] = args;
20874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20875 if (!SWIG_IsOK(res1)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20877 }
20878 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 (arg1)->ActivateNext();
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_Py_Void();
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20893 PyObject *resultobj = 0;
20894 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20895 void *argp1 = 0 ;
20896 int res1 = 0 ;
20897 PyObject *swig_obj[1] ;
20898
20899 if (!args) SWIG_fail;
20900 swig_obj[0] = args;
20901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20902 if (!SWIG_IsOK(res1)) {
20903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20904 }
20905 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 (arg1)->ActivatePrevious();
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_Py_Void();
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20920 PyObject *resultobj = 0;
20921 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20922 void *argp1 = 0 ;
20923 int res1 = 0 ;
20924 PyObject *swig_obj[1] ;
20925
20926 if (!args) SWIG_fail;
20927 swig_obj[0] = args;
20928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20929 if (!SWIG_IsOK(res1)) {
20930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20931 }
20932 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 (arg1)->ArrangeIcons();
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 resultobj = SWIG_Py_Void();
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20947 PyObject *resultobj = 0;
20948 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20949 void *argp1 = 0 ;
20950 int res1 = 0 ;
20951 PyObject *swig_obj[1] ;
20952
20953 if (!args) SWIG_fail;
20954 swig_obj[0] = args;
20955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20956 if (!SWIG_IsOK(res1)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20958 }
20959 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 (arg1)->Cascade();
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 resultobj = SWIG_Py_Void();
20967 return resultobj;
20968 fail:
20969 return NULL;
20970 }
20971
20972
20973 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20974 PyObject *resultobj = 0;
20975 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20976 wxMDIChildFrame *result = 0 ;
20977 void *argp1 = 0 ;
20978 int res1 = 0 ;
20979 PyObject *swig_obj[1] ;
20980
20981 if (!args) SWIG_fail;
20982 swig_obj[0] = args;
20983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20984 if (!SWIG_IsOK(res1)) {
20985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20986 }
20987 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 {
20995 resultobj = wxPyMake_wxObject(result, (bool)0);
20996 }
20997 return resultobj;
20998 fail:
20999 return NULL;
21000 }
21001
21002
21003 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21004 PyObject *resultobj = 0;
21005 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21006 wxMDIClientWindow *result = 0 ;
21007 void *argp1 = 0 ;
21008 int res1 = 0 ;
21009 PyObject *swig_obj[1] ;
21010
21011 if (!args) SWIG_fail;
21012 swig_obj[0] = args;
21013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21014 if (!SWIG_IsOK(res1)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21016 }
21017 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 {
21025 resultobj = wxPyMake_wxObject(result, (bool)0);
21026 }
21027 return resultobj;
21028 fail:
21029 return NULL;
21030 }
21031
21032
21033 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21034 PyObject *resultobj = 0;
21035 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21036 wxWindow *result = 0 ;
21037 void *argp1 = 0 ;
21038 int res1 = 0 ;
21039 PyObject *swig_obj[1] ;
21040
21041 if (!args) SWIG_fail;
21042 swig_obj[0] = args;
21043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21044 if (!SWIG_IsOK(res1)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21046 }
21047 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (wxWindow *)(arg1)->GetToolBar();
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
21054 {
21055 resultobj = wxPyMake_wxObject(result, 0);
21056 }
21057 return resultobj;
21058 fail:
21059 return NULL;
21060 }
21061
21062
21063 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21064 PyObject *resultobj = 0;
21065 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21066 wxMenu *result = 0 ;
21067 void *argp1 = 0 ;
21068 int res1 = 0 ;
21069 PyObject *swig_obj[1] ;
21070
21071 if (!args) SWIG_fail;
21072 swig_obj[0] = args;
21073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21074 if (!SWIG_IsOK(res1)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21076 }
21077 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 result = (wxMenu *)(arg1)->GetWindowMenu();
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 {
21085 resultobj = wxPyMake_wxObject(result, 0);
21086 }
21087 return resultobj;
21088 fail:
21089 return NULL;
21090 }
21091
21092
21093 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21094 PyObject *resultobj = 0;
21095 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21096 wxMenu *arg2 = (wxMenu *) 0 ;
21097 void *argp1 = 0 ;
21098 int res1 = 0 ;
21099 void *argp2 = 0 ;
21100 int res2 = 0 ;
21101 PyObject * obj0 = 0 ;
21102 PyObject * obj1 = 0 ;
21103 char * kwnames[] = {
21104 (char *) "self",(char *) "menu", NULL
21105 };
21106
21107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21109 if (!SWIG_IsOK(res1)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21111 }
21112 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21113 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21114 if (!SWIG_IsOK(res2)) {
21115 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21116 }
21117 arg2 = reinterpret_cast< wxMenu * >(argp2);
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 (arg1)->SetWindowMenu(arg2);
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_Py_Void();
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj = 0;
21133 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21134 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21135 void *argp1 = 0 ;
21136 int res1 = 0 ;
21137 int val2 ;
21138 int ecode2 = 0 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char * kwnames[] = {
21142 (char *) "self",(char *) "orient", NULL
21143 };
21144
21145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21147 if (!SWIG_IsOK(res1)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21149 }
21150 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21151 if (obj1) {
21152 ecode2 = SWIG_AsVal_int(obj1, &val2);
21153 if (!SWIG_IsOK(ecode2)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21155 }
21156 arg2 = static_cast< wxOrientation >(val2);
21157 }
21158 {
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 (arg1)->Tile(arg2);
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 resultobj = SWIG_Py_Void();
21165 return resultobj;
21166 fail:
21167 return NULL;
21168 }
21169
21170
21171 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21172 PyObject *obj;
21173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21174 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21175 return SWIG_Py_Void();
21176 }
21177
21178 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21179 return SWIG_Python_InitShadowInstance(args);
21180 }
21181
21182 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj = 0;
21184 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21185 int arg2 = (int) (int)-1 ;
21186 wxString const &arg3_defvalue = wxPyEmptyString ;
21187 wxString *arg3 = (wxString *) &arg3_defvalue ;
21188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21190 wxSize const &arg5_defvalue = wxDefaultSize ;
21191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21192 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21193 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21194 wxString *arg7 = (wxString *) &arg7_defvalue ;
21195 wxMDIChildFrame *result = 0 ;
21196 void *argp1 = 0 ;
21197 int res1 = 0 ;
21198 int val2 ;
21199 int ecode2 = 0 ;
21200 bool temp3 = false ;
21201 wxPoint temp4 ;
21202 wxSize temp5 ;
21203 long val6 ;
21204 int ecode6 = 0 ;
21205 bool temp7 = false ;
21206 PyObject * obj0 = 0 ;
21207 PyObject * obj1 = 0 ;
21208 PyObject * obj2 = 0 ;
21209 PyObject * obj3 = 0 ;
21210 PyObject * obj4 = 0 ;
21211 PyObject * obj5 = 0 ;
21212 PyObject * obj6 = 0 ;
21213 char * kwnames[] = {
21214 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21215 };
21216
21217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21219 if (!SWIG_IsOK(res1)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21221 }
21222 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21223 if (obj1) {
21224 ecode2 = SWIG_AsVal_int(obj1, &val2);
21225 if (!SWIG_IsOK(ecode2)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21227 }
21228 arg2 = static_cast< int >(val2);
21229 }
21230 if (obj2) {
21231 {
21232 arg3 = wxString_in_helper(obj2);
21233 if (arg3 == NULL) SWIG_fail;
21234 temp3 = true;
21235 }
21236 }
21237 if (obj3) {
21238 {
21239 arg4 = &temp4;
21240 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21241 }
21242 }
21243 if (obj4) {
21244 {
21245 arg5 = &temp5;
21246 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21247 }
21248 }
21249 if (obj5) {
21250 ecode6 = SWIG_AsVal_long(obj5, &val6);
21251 if (!SWIG_IsOK(ecode6)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21253 }
21254 arg6 = static_cast< long >(val6);
21255 }
21256 if (obj6) {
21257 {
21258 arg7 = wxString_in_helper(obj6);
21259 if (arg7 == NULL) SWIG_fail;
21260 temp7 = true;
21261 }
21262 }
21263 {
21264 if (!wxPyCheckForApp()) SWIG_fail;
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21271 {
21272 if (temp3)
21273 delete arg3;
21274 }
21275 {
21276 if (temp7)
21277 delete arg7;
21278 }
21279 return resultobj;
21280 fail:
21281 {
21282 if (temp3)
21283 delete arg3;
21284 }
21285 {
21286 if (temp7)
21287 delete arg7;
21288 }
21289 return NULL;
21290 }
21291
21292
21293 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21294 PyObject *resultobj = 0;
21295 wxMDIChildFrame *result = 0 ;
21296
21297 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21298 {
21299 if (!wxPyCheckForApp()) SWIG_fail;
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj = 0;
21314 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21315 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21316 int arg3 = (int) (int)-1 ;
21317 wxString const &arg4_defvalue = wxPyEmptyString ;
21318 wxString *arg4 = (wxString *) &arg4_defvalue ;
21319 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21320 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21321 wxSize const &arg6_defvalue = wxDefaultSize ;
21322 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21323 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21324 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21325 wxString *arg8 = (wxString *) &arg8_defvalue ;
21326 bool result;
21327 void *argp1 = 0 ;
21328 int res1 = 0 ;
21329 void *argp2 = 0 ;
21330 int res2 = 0 ;
21331 int val3 ;
21332 int ecode3 = 0 ;
21333 bool temp4 = false ;
21334 wxPoint temp5 ;
21335 wxSize temp6 ;
21336 long val7 ;
21337 int ecode7 = 0 ;
21338 bool temp8 = false ;
21339 PyObject * obj0 = 0 ;
21340 PyObject * obj1 = 0 ;
21341 PyObject * obj2 = 0 ;
21342 PyObject * obj3 = 0 ;
21343 PyObject * obj4 = 0 ;
21344 PyObject * obj5 = 0 ;
21345 PyObject * obj6 = 0 ;
21346 PyObject * obj7 = 0 ;
21347 char * kwnames[] = {
21348 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21349 };
21350
21351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21353 if (!SWIG_IsOK(res1)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21355 }
21356 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21357 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21358 if (!SWIG_IsOK(res2)) {
21359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21360 }
21361 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21362 if (obj2) {
21363 ecode3 = SWIG_AsVal_int(obj2, &val3);
21364 if (!SWIG_IsOK(ecode3)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21366 }
21367 arg3 = static_cast< int >(val3);
21368 }
21369 if (obj3) {
21370 {
21371 arg4 = wxString_in_helper(obj3);
21372 if (arg4 == NULL) SWIG_fail;
21373 temp4 = true;
21374 }
21375 }
21376 if (obj4) {
21377 {
21378 arg5 = &temp5;
21379 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21380 }
21381 }
21382 if (obj5) {
21383 {
21384 arg6 = &temp6;
21385 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21386 }
21387 }
21388 if (obj6) {
21389 ecode7 = SWIG_AsVal_long(obj6, &val7);
21390 if (!SWIG_IsOK(ecode7)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21392 }
21393 arg7 = static_cast< long >(val7);
21394 }
21395 if (obj7) {
21396 {
21397 arg8 = wxString_in_helper(obj7);
21398 if (arg8 == NULL) SWIG_fail;
21399 temp8 = true;
21400 }
21401 }
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21410 }
21411 {
21412 if (temp4)
21413 delete arg4;
21414 }
21415 {
21416 if (temp8)
21417 delete arg8;
21418 }
21419 return resultobj;
21420 fail:
21421 {
21422 if (temp4)
21423 delete arg4;
21424 }
21425 {
21426 if (temp8)
21427 delete arg8;
21428 }
21429 return NULL;
21430 }
21431
21432
21433 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21434 PyObject *resultobj = 0;
21435 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21436 void *argp1 = 0 ;
21437 int res1 = 0 ;
21438 PyObject *swig_obj[1] ;
21439
21440 if (!args) SWIG_fail;
21441 swig_obj[0] = args;
21442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21443 if (!SWIG_IsOK(res1)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21445 }
21446 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 (arg1)->Activate();
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 resultobj = SWIG_Py_Void();
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21461 PyObject *obj;
21462 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21463 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21464 return SWIG_Py_Void();
21465 }
21466
21467 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21468 return SWIG_Python_InitShadowInstance(args);
21469 }
21470
21471 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj = 0;
21473 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21474 long arg2 = (long) 0 ;
21475 wxMDIClientWindow *result = 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 long val2 ;
21479 int ecode2 = 0 ;
21480 PyObject * obj0 = 0 ;
21481 PyObject * obj1 = 0 ;
21482 char * kwnames[] = {
21483 (char *) "parent",(char *) "style", NULL
21484 };
21485
21486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21488 if (!SWIG_IsOK(res1)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21490 }
21491 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21492 if (obj1) {
21493 ecode2 = SWIG_AsVal_long(obj1, &val2);
21494 if (!SWIG_IsOK(ecode2)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21496 }
21497 arg2 = static_cast< long >(val2);
21498 }
21499 {
21500 if (!wxPyCheckForApp()) SWIG_fail;
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21514 PyObject *resultobj = 0;
21515 wxMDIClientWindow *result = 0 ;
21516
21517 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21518 {
21519 if (!wxPyCheckForApp()) SWIG_fail;
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj = 0;
21534 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21535 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21536 long arg3 = (long) 0 ;
21537 bool result;
21538 void *argp1 = 0 ;
21539 int res1 = 0 ;
21540 void *argp2 = 0 ;
21541 int res2 = 0 ;
21542 long val3 ;
21543 int ecode3 = 0 ;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 PyObject * obj2 = 0 ;
21547 char * kwnames[] = {
21548 (char *) "self",(char *) "parent",(char *) "style", NULL
21549 };
21550
21551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21553 if (!SWIG_IsOK(res1)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21555 }
21556 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21558 if (!SWIG_IsOK(res2)) {
21559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21560 }
21561 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21562 if (obj2) {
21563 ecode3 = SWIG_AsVal_long(obj2, &val3);
21564 if (!SWIG_IsOK(ecode3)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21566 }
21567 arg3 = static_cast< long >(val3);
21568 }
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 result = (bool)(arg1)->Create(arg2,arg3);
21572 wxPyEndAllowThreads(__tstate);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 }
21575 {
21576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581 }
21582
21583
21584 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21585 PyObject *obj;
21586 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21587 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21588 return SWIG_Py_Void();
21589 }
21590
21591 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21592 return SWIG_Python_InitShadowInstance(args);
21593 }
21594
21595 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj = 0;
21597 wxWindow *arg1 = (wxWindow *) 0 ;
21598 int arg2 = (int) (int)-1 ;
21599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21601 wxSize const &arg4_defvalue = wxDefaultSize ;
21602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21603 long arg5 = (long) 0 ;
21604 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21605 wxString *arg6 = (wxString *) &arg6_defvalue ;
21606 wxPyWindow *result = 0 ;
21607 void *argp1 = 0 ;
21608 int res1 = 0 ;
21609 int val2 ;
21610 int ecode2 = 0 ;
21611 wxPoint temp3 ;
21612 wxSize temp4 ;
21613 long val5 ;
21614 int ecode5 = 0 ;
21615 bool temp6 = false ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
21619 PyObject * obj3 = 0 ;
21620 PyObject * obj4 = 0 ;
21621 PyObject * obj5 = 0 ;
21622 char * kwnames[] = {
21623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21624 };
21625
21626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21628 if (!SWIG_IsOK(res1)) {
21629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21630 }
21631 arg1 = reinterpret_cast< wxWindow * >(argp1);
21632 if (obj1) {
21633 ecode2 = SWIG_AsVal_int(obj1, &val2);
21634 if (!SWIG_IsOK(ecode2)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21636 }
21637 arg2 = static_cast< int >(val2);
21638 }
21639 if (obj2) {
21640 {
21641 arg3 = &temp3;
21642 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21643 }
21644 }
21645 if (obj3) {
21646 {
21647 arg4 = &temp4;
21648 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21649 }
21650 }
21651 if (obj4) {
21652 ecode5 = SWIG_AsVal_long(obj4, &val5);
21653 if (!SWIG_IsOK(ecode5)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21655 }
21656 arg5 = static_cast< long >(val5);
21657 }
21658 if (obj5) {
21659 {
21660 arg6 = wxString_in_helper(obj5);
21661 if (arg6 == NULL) SWIG_fail;
21662 temp6 = true;
21663 }
21664 }
21665 {
21666 if (!wxPyCheckForApp()) SWIG_fail;
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21673 {
21674 if (temp6)
21675 delete arg6;
21676 }
21677 return resultobj;
21678 fail:
21679 {
21680 if (temp6)
21681 delete arg6;
21682 }
21683 return NULL;
21684 }
21685
21686
21687 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21688 PyObject *resultobj = 0;
21689 wxPyWindow *result = 0 ;
21690
21691 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21692 {
21693 if (!wxPyCheckForApp()) SWIG_fail;
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = (wxPyWindow *)new wxPyWindow();
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj = 0;
21708 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21709 PyObject *arg2 = (PyObject *) 0 ;
21710 PyObject *arg3 = (PyObject *) 0 ;
21711 void *argp1 = 0 ;
21712 int res1 = 0 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 PyObject * obj2 = 0 ;
21716 char * kwnames[] = {
21717 (char *) "self",(char *) "self",(char *) "_class", NULL
21718 };
21719
21720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21722 if (!SWIG_IsOK(res1)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21724 }
21725 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21726 arg2 = obj1;
21727 arg3 = obj2;
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->_setCallbackInfo(arg2,arg3);
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 resultobj = SWIG_Py_Void();
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21742 PyObject *resultobj = 0;
21743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21744 wxSize *arg2 = 0 ;
21745 void *argp1 = 0 ;
21746 int res1 = 0 ;
21747 wxSize temp2 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char * kwnames[] = {
21751 (char *) "self",(char *) "size", NULL
21752 };
21753
21754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21756 if (!SWIG_IsOK(res1)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21758 }
21759 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21760 {
21761 arg2 = &temp2;
21762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21763 }
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 (arg1)->SetBestSize((wxSize const &)*arg2);
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
21770 resultobj = SWIG_Py_Void();
21771 return resultobj;
21772 fail:
21773 return NULL;
21774 }
21775
21776
21777 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21778 PyObject *resultobj = 0;
21779 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21780 wxDC *arg2 = (wxDC *) 0 ;
21781 bool result;
21782 void *argp1 = 0 ;
21783 int res1 = 0 ;
21784 void *argp2 = 0 ;
21785 int res2 = 0 ;
21786 PyObject * obj0 = 0 ;
21787 PyObject * obj1 = 0 ;
21788 char * kwnames[] = {
21789 (char *) "self",(char *) "dc", NULL
21790 };
21791
21792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21794 if (!SWIG_IsOK(res1)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21796 }
21797 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21798 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21799 if (!SWIG_IsOK(res2)) {
21800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21801 }
21802 arg2 = reinterpret_cast< wxDC * >(argp2);
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 result = (bool)(arg1)->DoEraseBackground(arg2);
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 {
21810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21811 }
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj = 0;
21820 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21821 int arg2 ;
21822 int arg3 ;
21823 int arg4 ;
21824 int arg5 ;
21825 void *argp1 = 0 ;
21826 int res1 = 0 ;
21827 int val2 ;
21828 int ecode2 = 0 ;
21829 int val3 ;
21830 int ecode3 = 0 ;
21831 int val4 ;
21832 int ecode4 = 0 ;
21833 int val5 ;
21834 int ecode5 = 0 ;
21835 PyObject * obj0 = 0 ;
21836 PyObject * obj1 = 0 ;
21837 PyObject * obj2 = 0 ;
21838 PyObject * obj3 = 0 ;
21839 PyObject * obj4 = 0 ;
21840 char * kwnames[] = {
21841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21842 };
21843
21844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21846 if (!SWIG_IsOK(res1)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21848 }
21849 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21850 ecode2 = SWIG_AsVal_int(obj1, &val2);
21851 if (!SWIG_IsOK(ecode2)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21853 }
21854 arg2 = static_cast< int >(val2);
21855 ecode3 = SWIG_AsVal_int(obj2, &val3);
21856 if (!SWIG_IsOK(ecode3)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21858 }
21859 arg3 = static_cast< int >(val3);
21860 ecode4 = SWIG_AsVal_int(obj3, &val4);
21861 if (!SWIG_IsOK(ecode4)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21863 }
21864 arg4 = static_cast< int >(val4);
21865 ecode5 = SWIG_AsVal_int(obj4, &val5);
21866 if (!SWIG_IsOK(ecode5)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21868 }
21869 arg5 = static_cast< int >(val5);
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_Py_Void();
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj = 0;
21885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21886 int arg2 ;
21887 int arg3 ;
21888 int arg4 ;
21889 int arg5 ;
21890 int arg6 = (int) wxSIZE_AUTO ;
21891 void *argp1 = 0 ;
21892 int res1 = 0 ;
21893 int val2 ;
21894 int ecode2 = 0 ;
21895 int val3 ;
21896 int ecode3 = 0 ;
21897 int val4 ;
21898 int ecode4 = 0 ;
21899 int val5 ;
21900 int ecode5 = 0 ;
21901 int val6 ;
21902 int ecode6 = 0 ;
21903 PyObject * obj0 = 0 ;
21904 PyObject * obj1 = 0 ;
21905 PyObject * obj2 = 0 ;
21906 PyObject * obj3 = 0 ;
21907 PyObject * obj4 = 0 ;
21908 PyObject * obj5 = 0 ;
21909 char * kwnames[] = {
21910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21911 };
21912
21913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21915 if (!SWIG_IsOK(res1)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21917 }
21918 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21919 ecode2 = SWIG_AsVal_int(obj1, &val2);
21920 if (!SWIG_IsOK(ecode2)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21922 }
21923 arg2 = static_cast< int >(val2);
21924 ecode3 = SWIG_AsVal_int(obj2, &val3);
21925 if (!SWIG_IsOK(ecode3)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21927 }
21928 arg3 = static_cast< int >(val3);
21929 ecode4 = SWIG_AsVal_int(obj3, &val4);
21930 if (!SWIG_IsOK(ecode4)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21932 }
21933 arg4 = static_cast< int >(val4);
21934 ecode5 = SWIG_AsVal_int(obj4, &val5);
21935 if (!SWIG_IsOK(ecode5)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21937 }
21938 arg5 = static_cast< int >(val5);
21939 if (obj5) {
21940 ecode6 = SWIG_AsVal_int(obj5, &val6);
21941 if (!SWIG_IsOK(ecode6)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21943 }
21944 arg6 = static_cast< int >(val6);
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 resultobj = SWIG_Py_Void();
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj = 0;
21961 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21962 int arg2 ;
21963 int arg3 ;
21964 void *argp1 = 0 ;
21965 int res1 = 0 ;
21966 int val2 ;
21967 int ecode2 = 0 ;
21968 int val3 ;
21969 int ecode3 = 0 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char * kwnames[] = {
21974 (char *) "self",(char *) "width",(char *) "height", NULL
21975 };
21976
21977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21979 if (!SWIG_IsOK(res1)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21981 }
21982 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21983 ecode2 = SWIG_AsVal_int(obj1, &val2);
21984 if (!SWIG_IsOK(ecode2)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21986 }
21987 arg2 = static_cast< int >(val2);
21988 ecode3 = SWIG_AsVal_int(obj2, &val3);
21989 if (!SWIG_IsOK(ecode3)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21991 }
21992 arg3 = static_cast< int >(val3);
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 (arg1)->DoSetClientSize(arg2,arg3);
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 resultobj = SWIG_Py_Void();
22000 return resultobj;
22001 fail:
22002 return NULL;
22003 }
22004
22005
22006 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22007 PyObject *resultobj = 0;
22008 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22009 int arg2 ;
22010 int arg3 ;
22011 void *argp1 = 0 ;
22012 int res1 = 0 ;
22013 int val2 ;
22014 int ecode2 = 0 ;
22015 int val3 ;
22016 int ecode3 = 0 ;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 PyObject * obj2 = 0 ;
22020 char * kwnames[] = {
22021 (char *) "self",(char *) "x",(char *) "y", NULL
22022 };
22023
22024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22026 if (!SWIG_IsOK(res1)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22028 }
22029 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22030 ecode2 = SWIG_AsVal_int(obj1, &val2);
22031 if (!SWIG_IsOK(ecode2)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22033 }
22034 arg2 = static_cast< int >(val2);
22035 ecode3 = SWIG_AsVal_int(obj2, &val3);
22036 if (!SWIG_IsOK(ecode3)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22038 }
22039 arg3 = static_cast< int >(val3);
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->DoSetVirtualSize(arg2,arg3);
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 resultobj = SWIG_Py_Void();
22047 return resultobj;
22048 fail:
22049 return NULL;
22050 }
22051
22052
22053 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22054 PyObject *resultobj = 0;
22055 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22056 int *arg2 = (int *) 0 ;
22057 int *arg3 = (int *) 0 ;
22058 void *argp1 = 0 ;
22059 int res1 = 0 ;
22060 int temp2 ;
22061 int res2 = SWIG_TMPOBJ ;
22062 int temp3 ;
22063 int res3 = SWIG_TMPOBJ ;
22064 PyObject *swig_obj[1] ;
22065
22066 arg2 = &temp2;
22067 arg3 = &temp3;
22068 if (!args) SWIG_fail;
22069 swig_obj[0] = args;
22070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22071 if (!SWIG_IsOK(res1)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22073 }
22074 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 resultobj = SWIG_Py_Void();
22082 if (SWIG_IsTmpObj(res2)) {
22083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22084 } else {
22085 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22087 }
22088 if (SWIG_IsTmpObj(res3)) {
22089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22090 } else {
22091 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22093 }
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22101 PyObject *resultobj = 0;
22102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22103 int *arg2 = (int *) 0 ;
22104 int *arg3 = (int *) 0 ;
22105 void *argp1 = 0 ;
22106 int res1 = 0 ;
22107 int temp2 ;
22108 int res2 = SWIG_TMPOBJ ;
22109 int temp3 ;
22110 int res3 = SWIG_TMPOBJ ;
22111 PyObject *swig_obj[1] ;
22112
22113 arg2 = &temp2;
22114 arg3 = &temp3;
22115 if (!args) SWIG_fail;
22116 swig_obj[0] = args;
22117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22118 if (!SWIG_IsOK(res1)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22120 }
22121 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = SWIG_Py_Void();
22129 if (SWIG_IsTmpObj(res2)) {
22130 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22131 } else {
22132 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22133 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22134 }
22135 if (SWIG_IsTmpObj(res3)) {
22136 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22137 } else {
22138 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22148 PyObject *resultobj = 0;
22149 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22150 int *arg2 = (int *) 0 ;
22151 int *arg3 = (int *) 0 ;
22152 void *argp1 = 0 ;
22153 int res1 = 0 ;
22154 int temp2 ;
22155 int res2 = SWIG_TMPOBJ ;
22156 int temp3 ;
22157 int res3 = SWIG_TMPOBJ ;
22158 PyObject *swig_obj[1] ;
22159
22160 arg2 = &temp2;
22161 arg3 = &temp3;
22162 if (!args) SWIG_fail;
22163 swig_obj[0] = args;
22164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22165 if (!SWIG_IsOK(res1)) {
22166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22167 }
22168 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22171 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 resultobj = SWIG_Py_Void();
22176 if (SWIG_IsTmpObj(res2)) {
22177 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22178 } else {
22179 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22181 }
22182 if (SWIG_IsTmpObj(res3)) {
22183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22184 } else {
22185 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22187 }
22188 return resultobj;
22189 fail:
22190 return NULL;
22191 }
22192
22193
22194 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22195 PyObject *resultobj = 0;
22196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22197 wxSize result;
22198 void *argp1 = 0 ;
22199 int res1 = 0 ;
22200 PyObject *swig_obj[1] ;
22201
22202 if (!args) SWIG_fail;
22203 swig_obj[0] = args;
22204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22205 if (!SWIG_IsOK(res1)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22207 }
22208 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22216 return resultobj;
22217 fail:
22218 return NULL;
22219 }
22220
22221
22222 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22223 PyObject *resultobj = 0;
22224 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22225 wxSize result;
22226 void *argp1 = 0 ;
22227 int res1 = 0 ;
22228 PyObject *swig_obj[1] ;
22229
22230 if (!args) SWIG_fail;
22231 swig_obj[0] = args;
22232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22233 if (!SWIG_IsOK(res1)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22235 }
22236 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22237 {
22238 PyThreadState* __tstate = wxPyBeginAllowThreads();
22239 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22244 return resultobj;
22245 fail:
22246 return NULL;
22247 }
22248
22249
22250 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22251 PyObject *resultobj = 0;
22252 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22253 SwigValueWrapper<wxVisualAttributes > result;
22254 void *argp1 = 0 ;
22255 int res1 = 0 ;
22256 PyObject *swig_obj[1] ;
22257
22258 if (!args) SWIG_fail;
22259 swig_obj[0] = args;
22260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22261 if (!SWIG_IsOK(res1)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22263 }
22264 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (arg1)->GetDefaultAttributes();
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22279 PyObject *resultobj = 0;
22280 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22281 void *argp1 = 0 ;
22282 int res1 = 0 ;
22283 PyObject *swig_obj[1] ;
22284
22285 if (!args) SWIG_fail;
22286 swig_obj[0] = args;
22287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22288 if (!SWIG_IsOK(res1)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22290 }
22291 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22292 {
22293 PyThreadState* __tstate = wxPyBeginAllowThreads();
22294 (arg1)->OnInternalIdle();
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 resultobj = SWIG_Py_Void();
22299 return resultobj;
22300 fail:
22301 return NULL;
22302 }
22303
22304
22305 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22306 PyObject *obj;
22307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22309 return SWIG_Py_Void();
22310 }
22311
22312 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22313 return SWIG_Python_InitShadowInstance(args);
22314 }
22315
22316 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj = 0;
22318 wxWindow *arg1 = (wxWindow *) 0 ;
22319 int arg2 = (int) (int)-1 ;
22320 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22321 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22322 wxSize const &arg4_defvalue = wxDefaultSize ;
22323 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22324 long arg5 = (long) 0 ;
22325 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22326 wxString *arg6 = (wxString *) &arg6_defvalue ;
22327 wxPyPanel *result = 0 ;
22328 void *argp1 = 0 ;
22329 int res1 = 0 ;
22330 int val2 ;
22331 int ecode2 = 0 ;
22332 wxPoint temp3 ;
22333 wxSize temp4 ;
22334 long val5 ;
22335 int ecode5 = 0 ;
22336 bool temp6 = false ;
22337 PyObject * obj0 = 0 ;
22338 PyObject * obj1 = 0 ;
22339 PyObject * obj2 = 0 ;
22340 PyObject * obj3 = 0 ;
22341 PyObject * obj4 = 0 ;
22342 PyObject * obj5 = 0 ;
22343 char * kwnames[] = {
22344 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22345 };
22346
22347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22349 if (!SWIG_IsOK(res1)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22351 }
22352 arg1 = reinterpret_cast< wxWindow * >(argp1);
22353 if (obj1) {
22354 ecode2 = SWIG_AsVal_int(obj1, &val2);
22355 if (!SWIG_IsOK(ecode2)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22357 }
22358 arg2 = static_cast< int >(val2);
22359 }
22360 if (obj2) {
22361 {
22362 arg3 = &temp3;
22363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22364 }
22365 }
22366 if (obj3) {
22367 {
22368 arg4 = &temp4;
22369 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22370 }
22371 }
22372 if (obj4) {
22373 ecode5 = SWIG_AsVal_long(obj4, &val5);
22374 if (!SWIG_IsOK(ecode5)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22376 }
22377 arg5 = static_cast< long >(val5);
22378 }
22379 if (obj5) {
22380 {
22381 arg6 = wxString_in_helper(obj5);
22382 if (arg6 == NULL) SWIG_fail;
22383 temp6 = true;
22384 }
22385 }
22386 {
22387 if (!wxPyCheckForApp()) SWIG_fail;
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22394 {
22395 if (temp6)
22396 delete arg6;
22397 }
22398 return resultobj;
22399 fail:
22400 {
22401 if (temp6)
22402 delete arg6;
22403 }
22404 return NULL;
22405 }
22406
22407
22408 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22409 PyObject *resultobj = 0;
22410 wxPyPanel *result = 0 ;
22411
22412 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22413 {
22414 if (!wxPyCheckForApp()) SWIG_fail;
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 result = (wxPyPanel *)new wxPyPanel();
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj = 0;
22429 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22430 PyObject *arg2 = (PyObject *) 0 ;
22431 PyObject *arg3 = (PyObject *) 0 ;
22432 void *argp1 = 0 ;
22433 int res1 = 0 ;
22434 PyObject * obj0 = 0 ;
22435 PyObject * obj1 = 0 ;
22436 PyObject * obj2 = 0 ;
22437 char * kwnames[] = {
22438 (char *) "self",(char *) "self",(char *) "_class", NULL
22439 };
22440
22441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22443 if (!SWIG_IsOK(res1)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22445 }
22446 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22447 arg2 = obj1;
22448 arg3 = obj2;
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 (arg1)->_setCallbackInfo(arg2,arg3);
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_Py_Void();
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj = 0;
22464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22465 wxSize *arg2 = 0 ;
22466 void *argp1 = 0 ;
22467 int res1 = 0 ;
22468 wxSize temp2 ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char * kwnames[] = {
22472 (char *) "self",(char *) "size", NULL
22473 };
22474
22475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22477 if (!SWIG_IsOK(res1)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22479 }
22480 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22481 {
22482 arg2 = &temp2;
22483 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22484 }
22485 {
22486 PyThreadState* __tstate = wxPyBeginAllowThreads();
22487 (arg1)->SetBestSize((wxSize const &)*arg2);
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 resultobj = SWIG_Py_Void();
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj = 0;
22500 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22501 wxDC *arg2 = (wxDC *) 0 ;
22502 bool result;
22503 void *argp1 = 0 ;
22504 int res1 = 0 ;
22505 void *argp2 = 0 ;
22506 int res2 = 0 ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char * kwnames[] = {
22510 (char *) "self",(char *) "dc", NULL
22511 };
22512
22513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22515 if (!SWIG_IsOK(res1)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22517 }
22518 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22520 if (!SWIG_IsOK(res2)) {
22521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22522 }
22523 arg2 = reinterpret_cast< wxDC * >(argp2);
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (bool)(arg1)->DoEraseBackground(arg2);
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 {
22531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22532 }
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj = 0;
22541 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22542 int arg2 ;
22543 int arg3 ;
22544 int arg4 ;
22545 int arg5 ;
22546 void *argp1 = 0 ;
22547 int res1 = 0 ;
22548 int val2 ;
22549 int ecode2 = 0 ;
22550 int val3 ;
22551 int ecode3 = 0 ;
22552 int val4 ;
22553 int ecode4 = 0 ;
22554 int val5 ;
22555 int ecode5 = 0 ;
22556 PyObject * obj0 = 0 ;
22557 PyObject * obj1 = 0 ;
22558 PyObject * obj2 = 0 ;
22559 PyObject * obj3 = 0 ;
22560 PyObject * obj4 = 0 ;
22561 char * kwnames[] = {
22562 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22563 };
22564
22565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22567 if (!SWIG_IsOK(res1)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22569 }
22570 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22571 ecode2 = SWIG_AsVal_int(obj1, &val2);
22572 if (!SWIG_IsOK(ecode2)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22574 }
22575 arg2 = static_cast< int >(val2);
22576 ecode3 = SWIG_AsVal_int(obj2, &val3);
22577 if (!SWIG_IsOK(ecode3)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22579 }
22580 arg3 = static_cast< int >(val3);
22581 ecode4 = SWIG_AsVal_int(obj3, &val4);
22582 if (!SWIG_IsOK(ecode4)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22584 }
22585 arg4 = static_cast< int >(val4);
22586 ecode5 = SWIG_AsVal_int(obj4, &val5);
22587 if (!SWIG_IsOK(ecode5)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22589 }
22590 arg5 = static_cast< int >(val5);
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_Py_Void();
22598 return resultobj;
22599 fail:
22600 return NULL;
22601 }
22602
22603
22604 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj = 0;
22606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22607 int arg2 ;
22608 int arg3 ;
22609 int arg4 ;
22610 int arg5 ;
22611 int arg6 = (int) wxSIZE_AUTO ;
22612 void *argp1 = 0 ;
22613 int res1 = 0 ;
22614 int val2 ;
22615 int ecode2 = 0 ;
22616 int val3 ;
22617 int ecode3 = 0 ;
22618 int val4 ;
22619 int ecode4 = 0 ;
22620 int val5 ;
22621 int ecode5 = 0 ;
22622 int val6 ;
22623 int ecode6 = 0 ;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 PyObject * obj2 = 0 ;
22627 PyObject * obj3 = 0 ;
22628 PyObject * obj4 = 0 ;
22629 PyObject * obj5 = 0 ;
22630 char * kwnames[] = {
22631 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22632 };
22633
22634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22636 if (!SWIG_IsOK(res1)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22638 }
22639 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22640 ecode2 = SWIG_AsVal_int(obj1, &val2);
22641 if (!SWIG_IsOK(ecode2)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22643 }
22644 arg2 = static_cast< int >(val2);
22645 ecode3 = SWIG_AsVal_int(obj2, &val3);
22646 if (!SWIG_IsOK(ecode3)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22648 }
22649 arg3 = static_cast< int >(val3);
22650 ecode4 = SWIG_AsVal_int(obj3, &val4);
22651 if (!SWIG_IsOK(ecode4)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22653 }
22654 arg4 = static_cast< int >(val4);
22655 ecode5 = SWIG_AsVal_int(obj4, &val5);
22656 if (!SWIG_IsOK(ecode5)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22658 }
22659 arg5 = static_cast< int >(val5);
22660 if (obj5) {
22661 ecode6 = SWIG_AsVal_int(obj5, &val6);
22662 if (!SWIG_IsOK(ecode6)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22664 }
22665 arg6 = static_cast< int >(val6);
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 resultobj = SWIG_Py_Void();
22674 return resultobj;
22675 fail:
22676 return NULL;
22677 }
22678
22679
22680 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22681 PyObject *resultobj = 0;
22682 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22683 int arg2 ;
22684 int arg3 ;
22685 void *argp1 = 0 ;
22686 int res1 = 0 ;
22687 int val2 ;
22688 int ecode2 = 0 ;
22689 int val3 ;
22690 int ecode3 = 0 ;
22691 PyObject * obj0 = 0 ;
22692 PyObject * obj1 = 0 ;
22693 PyObject * obj2 = 0 ;
22694 char * kwnames[] = {
22695 (char *) "self",(char *) "width",(char *) "height", NULL
22696 };
22697
22698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22700 if (!SWIG_IsOK(res1)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22702 }
22703 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22704 ecode2 = SWIG_AsVal_int(obj1, &val2);
22705 if (!SWIG_IsOK(ecode2)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22707 }
22708 arg2 = static_cast< int >(val2);
22709 ecode3 = SWIG_AsVal_int(obj2, &val3);
22710 if (!SWIG_IsOK(ecode3)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22712 }
22713 arg3 = static_cast< int >(val3);
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 (arg1)->DoSetClientSize(arg2,arg3);
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 resultobj = SWIG_Py_Void();
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj = 0;
22729 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22730 int arg2 ;
22731 int arg3 ;
22732 void *argp1 = 0 ;
22733 int res1 = 0 ;
22734 int val2 ;
22735 int ecode2 = 0 ;
22736 int val3 ;
22737 int ecode3 = 0 ;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 PyObject * obj2 = 0 ;
22741 char * kwnames[] = {
22742 (char *) "self",(char *) "x",(char *) "y", NULL
22743 };
22744
22745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22747 if (!SWIG_IsOK(res1)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22749 }
22750 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22751 ecode2 = SWIG_AsVal_int(obj1, &val2);
22752 if (!SWIG_IsOK(ecode2)) {
22753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22754 }
22755 arg2 = static_cast< int >(val2);
22756 ecode3 = SWIG_AsVal_int(obj2, &val3);
22757 if (!SWIG_IsOK(ecode3)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22759 }
22760 arg3 = static_cast< int >(val3);
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 (arg1)->DoSetVirtualSize(arg2,arg3);
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 resultobj = SWIG_Py_Void();
22768 return resultobj;
22769 fail:
22770 return NULL;
22771 }
22772
22773
22774 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22775 PyObject *resultobj = 0;
22776 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22777 int *arg2 = (int *) 0 ;
22778 int *arg3 = (int *) 0 ;
22779 void *argp1 = 0 ;
22780 int res1 = 0 ;
22781 int temp2 ;
22782 int res2 = SWIG_TMPOBJ ;
22783 int temp3 ;
22784 int res3 = SWIG_TMPOBJ ;
22785 PyObject *swig_obj[1] ;
22786
22787 arg2 = &temp2;
22788 arg3 = &temp3;
22789 if (!args) SWIG_fail;
22790 swig_obj[0] = args;
22791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22792 if (!SWIG_IsOK(res1)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22794 }
22795 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22796 {
22797 PyThreadState* __tstate = wxPyBeginAllowThreads();
22798 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
22802 resultobj = SWIG_Py_Void();
22803 if (SWIG_IsTmpObj(res2)) {
22804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22805 } else {
22806 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22808 }
22809 if (SWIG_IsTmpObj(res3)) {
22810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22811 } else {
22812 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22822 PyObject *resultobj = 0;
22823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22824 int *arg2 = (int *) 0 ;
22825 int *arg3 = (int *) 0 ;
22826 void *argp1 = 0 ;
22827 int res1 = 0 ;
22828 int temp2 ;
22829 int res2 = SWIG_TMPOBJ ;
22830 int temp3 ;
22831 int res3 = SWIG_TMPOBJ ;
22832 PyObject *swig_obj[1] ;
22833
22834 arg2 = &temp2;
22835 arg3 = &temp3;
22836 if (!args) SWIG_fail;
22837 swig_obj[0] = args;
22838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22839 if (!SWIG_IsOK(res1)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22841 }
22842 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 resultobj = SWIG_Py_Void();
22850 if (SWIG_IsTmpObj(res2)) {
22851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22852 } else {
22853 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22855 }
22856 if (SWIG_IsTmpObj(res3)) {
22857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22858 } else {
22859 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22861 }
22862 return resultobj;
22863 fail:
22864 return NULL;
22865 }
22866
22867
22868 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22869 PyObject *resultobj = 0;
22870 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22871 int *arg2 = (int *) 0 ;
22872 int *arg3 = (int *) 0 ;
22873 void *argp1 = 0 ;
22874 int res1 = 0 ;
22875 int temp2 ;
22876 int res2 = SWIG_TMPOBJ ;
22877 int temp3 ;
22878 int res3 = SWIG_TMPOBJ ;
22879 PyObject *swig_obj[1] ;
22880
22881 arg2 = &temp2;
22882 arg3 = &temp3;
22883 if (!args) SWIG_fail;
22884 swig_obj[0] = args;
22885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22886 if (!SWIG_IsOK(res1)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22888 }
22889 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 resultobj = SWIG_Py_Void();
22897 if (SWIG_IsTmpObj(res2)) {
22898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22899 } else {
22900 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22902 }
22903 if (SWIG_IsTmpObj(res3)) {
22904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22905 } else {
22906 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22907 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22908 }
22909 return resultobj;
22910 fail:
22911 return NULL;
22912 }
22913
22914
22915 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22916 PyObject *resultobj = 0;
22917 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22918 wxSize result;
22919 void *argp1 = 0 ;
22920 int res1 = 0 ;
22921 PyObject *swig_obj[1] ;
22922
22923 if (!args) SWIG_fail;
22924 swig_obj[0] = args;
22925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22926 if (!SWIG_IsOK(res1)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22928 }
22929 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22937 return resultobj;
22938 fail:
22939 return NULL;
22940 }
22941
22942
22943 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22944 PyObject *resultobj = 0;
22945 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22946 wxSize result;
22947 void *argp1 = 0 ;
22948 int res1 = 0 ;
22949 PyObject *swig_obj[1] ;
22950
22951 if (!args) SWIG_fail;
22952 swig_obj[0] = args;
22953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22954 if (!SWIG_IsOK(res1)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22956 }
22957 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22972 PyObject *resultobj = 0;
22973 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22974 SwigValueWrapper<wxVisualAttributes > result;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 PyObject *swig_obj[1] ;
22978
22979 if (!args) SWIG_fail;
22980 swig_obj[0] = args;
22981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22982 if (!SWIG_IsOK(res1)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22984 }
22985 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22986 {
22987 PyThreadState* __tstate = wxPyBeginAllowThreads();
22988 result = (arg1)->GetDefaultAttributes();
22989 wxPyEndAllowThreads(__tstate);
22990 if (PyErr_Occurred()) SWIG_fail;
22991 }
22992 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22993 return resultobj;
22994 fail:
22995 return NULL;
22996 }
22997
22998
22999 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23000 PyObject *resultobj = 0;
23001 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23002 void *argp1 = 0 ;
23003 int res1 = 0 ;
23004 PyObject *swig_obj[1] ;
23005
23006 if (!args) SWIG_fail;
23007 swig_obj[0] = args;
23008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23009 if (!SWIG_IsOK(res1)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23011 }
23012 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 (arg1)->OnInternalIdle();
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 resultobj = SWIG_Py_Void();
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23027 PyObject *obj;
23028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23030 return SWIG_Py_Void();
23031 }
23032
23033 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23034 return SWIG_Python_InitShadowInstance(args);
23035 }
23036
23037 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj = 0;
23039 wxWindow *arg1 = (wxWindow *) 0 ;
23040 int arg2 = (int) (int)-1 ;
23041 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23042 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23043 wxSize const &arg4_defvalue = wxDefaultSize ;
23044 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23045 long arg5 = (long) 0 ;
23046 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23047 wxString *arg6 = (wxString *) &arg6_defvalue ;
23048 wxPyScrolledWindow *result = 0 ;
23049 void *argp1 = 0 ;
23050 int res1 = 0 ;
23051 int val2 ;
23052 int ecode2 = 0 ;
23053 wxPoint temp3 ;
23054 wxSize temp4 ;
23055 long val5 ;
23056 int ecode5 = 0 ;
23057 bool temp6 = false ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 PyObject * obj2 = 0 ;
23061 PyObject * obj3 = 0 ;
23062 PyObject * obj4 = 0 ;
23063 PyObject * obj5 = 0 ;
23064 char * kwnames[] = {
23065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23066 };
23067
23068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23070 if (!SWIG_IsOK(res1)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23072 }
23073 arg1 = reinterpret_cast< wxWindow * >(argp1);
23074 if (obj1) {
23075 ecode2 = SWIG_AsVal_int(obj1, &val2);
23076 if (!SWIG_IsOK(ecode2)) {
23077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23078 }
23079 arg2 = static_cast< int >(val2);
23080 }
23081 if (obj2) {
23082 {
23083 arg3 = &temp3;
23084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23085 }
23086 }
23087 if (obj3) {
23088 {
23089 arg4 = &temp4;
23090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23091 }
23092 }
23093 if (obj4) {
23094 ecode5 = SWIG_AsVal_long(obj4, &val5);
23095 if (!SWIG_IsOK(ecode5)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23097 }
23098 arg5 = static_cast< long >(val5);
23099 }
23100 if (obj5) {
23101 {
23102 arg6 = wxString_in_helper(obj5);
23103 if (arg6 == NULL) SWIG_fail;
23104 temp6 = true;
23105 }
23106 }
23107 {
23108 if (!wxPyCheckForApp()) SWIG_fail;
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23115 {
23116 if (temp6)
23117 delete arg6;
23118 }
23119 return resultobj;
23120 fail:
23121 {
23122 if (temp6)
23123 delete arg6;
23124 }
23125 return NULL;
23126 }
23127
23128
23129 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23130 PyObject *resultobj = 0;
23131 wxPyScrolledWindow *result = 0 ;
23132
23133 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23134 {
23135 if (!wxPyCheckForApp()) SWIG_fail;
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj = 0;
23150 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23151 PyObject *arg2 = (PyObject *) 0 ;
23152 PyObject *arg3 = (PyObject *) 0 ;
23153 void *argp1 = 0 ;
23154 int res1 = 0 ;
23155 PyObject * obj0 = 0 ;
23156 PyObject * obj1 = 0 ;
23157 PyObject * obj2 = 0 ;
23158 char * kwnames[] = {
23159 (char *) "self",(char *) "self",(char *) "_class", NULL
23160 };
23161
23162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23164 if (!SWIG_IsOK(res1)) {
23165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23166 }
23167 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23168 arg2 = obj1;
23169 arg3 = obj2;
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 (arg1)->_setCallbackInfo(arg2,arg3);
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 resultobj = SWIG_Py_Void();
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj = 0;
23185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23186 wxSize *arg2 = 0 ;
23187 void *argp1 = 0 ;
23188 int res1 = 0 ;
23189 wxSize temp2 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 char * kwnames[] = {
23193 (char *) "self",(char *) "size", NULL
23194 };
23195
23196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23198 if (!SWIG_IsOK(res1)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23200 }
23201 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23202 {
23203 arg2 = &temp2;
23204 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 (arg1)->SetBestSize((wxSize const &)*arg2);
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 resultobj = SWIG_Py_Void();
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj = 0;
23221 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23222 wxDC *arg2 = (wxDC *) 0 ;
23223 bool result;
23224 void *argp1 = 0 ;
23225 int res1 = 0 ;
23226 void *argp2 = 0 ;
23227 int res2 = 0 ;
23228 PyObject * obj0 = 0 ;
23229 PyObject * obj1 = 0 ;
23230 char * kwnames[] = {
23231 (char *) "self",(char *) "dc", NULL
23232 };
23233
23234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23236 if (!SWIG_IsOK(res1)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23238 }
23239 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23240 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23241 if (!SWIG_IsOK(res2)) {
23242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23243 }
23244 arg2 = reinterpret_cast< wxDC * >(argp2);
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (bool)(arg1)->DoEraseBackground(arg2);
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 {
23252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23253 }
23254 return resultobj;
23255 fail:
23256 return NULL;
23257 }
23258
23259
23260 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23261 PyObject *resultobj = 0;
23262 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23263 int arg2 ;
23264 int arg3 ;
23265 int arg4 ;
23266 int arg5 ;
23267 void *argp1 = 0 ;
23268 int res1 = 0 ;
23269 int val2 ;
23270 int ecode2 = 0 ;
23271 int val3 ;
23272 int ecode3 = 0 ;
23273 int val4 ;
23274 int ecode4 = 0 ;
23275 int val5 ;
23276 int ecode5 = 0 ;
23277 PyObject * obj0 = 0 ;
23278 PyObject * obj1 = 0 ;
23279 PyObject * obj2 = 0 ;
23280 PyObject * obj3 = 0 ;
23281 PyObject * obj4 = 0 ;
23282 char * kwnames[] = {
23283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23284 };
23285
23286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23288 if (!SWIG_IsOK(res1)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23290 }
23291 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23292 ecode2 = SWIG_AsVal_int(obj1, &val2);
23293 if (!SWIG_IsOK(ecode2)) {
23294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23295 }
23296 arg2 = static_cast< int >(val2);
23297 ecode3 = SWIG_AsVal_int(obj2, &val3);
23298 if (!SWIG_IsOK(ecode3)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23300 }
23301 arg3 = static_cast< int >(val3);
23302 ecode4 = SWIG_AsVal_int(obj3, &val4);
23303 if (!SWIG_IsOK(ecode4)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23305 }
23306 arg4 = static_cast< int >(val4);
23307 ecode5 = SWIG_AsVal_int(obj4, &val5);
23308 if (!SWIG_IsOK(ecode5)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23310 }
23311 arg5 = static_cast< int >(val5);
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 resultobj = SWIG_Py_Void();
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj = 0;
23327 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23328 int arg2 ;
23329 int arg3 ;
23330 int arg4 ;
23331 int arg5 ;
23332 int arg6 = (int) wxSIZE_AUTO ;
23333 void *argp1 = 0 ;
23334 int res1 = 0 ;
23335 int val2 ;
23336 int ecode2 = 0 ;
23337 int val3 ;
23338 int ecode3 = 0 ;
23339 int val4 ;
23340 int ecode4 = 0 ;
23341 int val5 ;
23342 int ecode5 = 0 ;
23343 int val6 ;
23344 int ecode6 = 0 ;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 PyObject * obj2 = 0 ;
23348 PyObject * obj3 = 0 ;
23349 PyObject * obj4 = 0 ;
23350 PyObject * obj5 = 0 ;
23351 char * kwnames[] = {
23352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23353 };
23354
23355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23357 if (!SWIG_IsOK(res1)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23359 }
23360 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23361 ecode2 = SWIG_AsVal_int(obj1, &val2);
23362 if (!SWIG_IsOK(ecode2)) {
23363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23364 }
23365 arg2 = static_cast< int >(val2);
23366 ecode3 = SWIG_AsVal_int(obj2, &val3);
23367 if (!SWIG_IsOK(ecode3)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23369 }
23370 arg3 = static_cast< int >(val3);
23371 ecode4 = SWIG_AsVal_int(obj3, &val4);
23372 if (!SWIG_IsOK(ecode4)) {
23373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23374 }
23375 arg4 = static_cast< int >(val4);
23376 ecode5 = SWIG_AsVal_int(obj4, &val5);
23377 if (!SWIG_IsOK(ecode5)) {
23378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23379 }
23380 arg5 = static_cast< int >(val5);
23381 if (obj5) {
23382 ecode6 = SWIG_AsVal_int(obj5, &val6);
23383 if (!SWIG_IsOK(ecode6)) {
23384 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23385 }
23386 arg6 = static_cast< int >(val6);
23387 }
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 resultobj = SWIG_Py_Void();
23395 return resultobj;
23396 fail:
23397 return NULL;
23398 }
23399
23400
23401 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj = 0;
23403 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23404 int arg2 ;
23405 int arg3 ;
23406 void *argp1 = 0 ;
23407 int res1 = 0 ;
23408 int val2 ;
23409 int ecode2 = 0 ;
23410 int val3 ;
23411 int ecode3 = 0 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 PyObject * obj2 = 0 ;
23415 char * kwnames[] = {
23416 (char *) "self",(char *) "width",(char *) "height", NULL
23417 };
23418
23419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23421 if (!SWIG_IsOK(res1)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23423 }
23424 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23425 ecode2 = SWIG_AsVal_int(obj1, &val2);
23426 if (!SWIG_IsOK(ecode2)) {
23427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23428 }
23429 arg2 = static_cast< int >(val2);
23430 ecode3 = SWIG_AsVal_int(obj2, &val3);
23431 if (!SWIG_IsOK(ecode3)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23433 }
23434 arg3 = static_cast< int >(val3);
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 (arg1)->DoSetClientSize(arg2,arg3);
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 resultobj = SWIG_Py_Void();
23442 return resultobj;
23443 fail:
23444 return NULL;
23445 }
23446
23447
23448 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj = 0;
23450 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23451 int arg2 ;
23452 int arg3 ;
23453 void *argp1 = 0 ;
23454 int res1 = 0 ;
23455 int val2 ;
23456 int ecode2 = 0 ;
23457 int val3 ;
23458 int ecode3 = 0 ;
23459 PyObject * obj0 = 0 ;
23460 PyObject * obj1 = 0 ;
23461 PyObject * obj2 = 0 ;
23462 char * kwnames[] = {
23463 (char *) "self",(char *) "x",(char *) "y", NULL
23464 };
23465
23466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23468 if (!SWIG_IsOK(res1)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23470 }
23471 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23472 ecode2 = SWIG_AsVal_int(obj1, &val2);
23473 if (!SWIG_IsOK(ecode2)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23475 }
23476 arg2 = static_cast< int >(val2);
23477 ecode3 = SWIG_AsVal_int(obj2, &val3);
23478 if (!SWIG_IsOK(ecode3)) {
23479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23480 }
23481 arg3 = static_cast< int >(val3);
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 (arg1)->DoSetVirtualSize(arg2,arg3);
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 resultobj = SWIG_Py_Void();
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23496 PyObject *resultobj = 0;
23497 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23498 int *arg2 = (int *) 0 ;
23499 int *arg3 = (int *) 0 ;
23500 void *argp1 = 0 ;
23501 int res1 = 0 ;
23502 int temp2 ;
23503 int res2 = SWIG_TMPOBJ ;
23504 int temp3 ;
23505 int res3 = SWIG_TMPOBJ ;
23506 PyObject *swig_obj[1] ;
23507
23508 arg2 = &temp2;
23509 arg3 = &temp3;
23510 if (!args) SWIG_fail;
23511 swig_obj[0] = args;
23512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23513 if (!SWIG_IsOK(res1)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23515 }
23516 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 resultobj = SWIG_Py_Void();
23524 if (SWIG_IsTmpObj(res2)) {
23525 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23526 } else {
23527 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23528 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23529 }
23530 if (SWIG_IsTmpObj(res3)) {
23531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23532 } else {
23533 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23535 }
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23543 PyObject *resultobj = 0;
23544 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23545 int *arg2 = (int *) 0 ;
23546 int *arg3 = (int *) 0 ;
23547 void *argp1 = 0 ;
23548 int res1 = 0 ;
23549 int temp2 ;
23550 int res2 = SWIG_TMPOBJ ;
23551 int temp3 ;
23552 int res3 = SWIG_TMPOBJ ;
23553 PyObject *swig_obj[1] ;
23554
23555 arg2 = &temp2;
23556 arg3 = &temp3;
23557 if (!args) SWIG_fail;
23558 swig_obj[0] = args;
23559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23560 if (!SWIG_IsOK(res1)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23562 }
23563 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 resultobj = SWIG_Py_Void();
23571 if (SWIG_IsTmpObj(res2)) {
23572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23573 } else {
23574 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23576 }
23577 if (SWIG_IsTmpObj(res3)) {
23578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23579 } else {
23580 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23582 }
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23590 PyObject *resultobj = 0;
23591 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23592 int *arg2 = (int *) 0 ;
23593 int *arg3 = (int *) 0 ;
23594 void *argp1 = 0 ;
23595 int res1 = 0 ;
23596 int temp2 ;
23597 int res2 = SWIG_TMPOBJ ;
23598 int temp3 ;
23599 int res3 = SWIG_TMPOBJ ;
23600 PyObject *swig_obj[1] ;
23601
23602 arg2 = &temp2;
23603 arg3 = &temp3;
23604 if (!args) SWIG_fail;
23605 swig_obj[0] = args;
23606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23607 if (!SWIG_IsOK(res1)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23609 }
23610 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 resultobj = SWIG_Py_Void();
23618 if (SWIG_IsTmpObj(res2)) {
23619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23620 } else {
23621 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23623 }
23624 if (SWIG_IsTmpObj(res3)) {
23625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23626 } else {
23627 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23629 }
23630 return resultobj;
23631 fail:
23632 return NULL;
23633 }
23634
23635
23636 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23637 PyObject *resultobj = 0;
23638 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23639 wxSize result;
23640 void *argp1 = 0 ;
23641 int res1 = 0 ;
23642 PyObject *swig_obj[1] ;
23643
23644 if (!args) SWIG_fail;
23645 swig_obj[0] = args;
23646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23647 if (!SWIG_IsOK(res1)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23649 }
23650 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23665 PyObject *resultobj = 0;
23666 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23667 wxSize result;
23668 void *argp1 = 0 ;
23669 int res1 = 0 ;
23670 PyObject *swig_obj[1] ;
23671
23672 if (!args) SWIG_fail;
23673 swig_obj[0] = args;
23674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23675 if (!SWIG_IsOK(res1)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23677 }
23678 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23686 return resultobj;
23687 fail:
23688 return NULL;
23689 }
23690
23691
23692 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23693 PyObject *resultobj = 0;
23694 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23695 SwigValueWrapper<wxVisualAttributes > result;
23696 void *argp1 = 0 ;
23697 int res1 = 0 ;
23698 PyObject *swig_obj[1] ;
23699
23700 if (!args) SWIG_fail;
23701 swig_obj[0] = args;
23702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23703 if (!SWIG_IsOK(res1)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23705 }
23706 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (arg1)->GetDefaultAttributes();
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23721 PyObject *resultobj = 0;
23722 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23723 void *argp1 = 0 ;
23724 int res1 = 0 ;
23725 PyObject *swig_obj[1] ;
23726
23727 if (!args) SWIG_fail;
23728 swig_obj[0] = args;
23729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23730 if (!SWIG_IsOK(res1)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23732 }
23733 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 (arg1)->OnInternalIdle();
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = SWIG_Py_Void();
23741 return resultobj;
23742 fail:
23743 return NULL;
23744 }
23745
23746
23747 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23748 PyObject *obj;
23749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23750 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23751 return SWIG_Py_Void();
23752 }
23753
23754 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23755 return SWIG_Python_InitShadowInstance(args);
23756 }
23757
23758 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23759 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23760 return 1;
23761 }
23762
23763
23764 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23765 PyObject *pyobj = 0;
23766
23767 {
23768 #if wxUSE_UNICODE
23769 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23770 #else
23771 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23772 #endif
23773 }
23774 return pyobj;
23775 }
23776
23777
23778 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23779 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23780 return 1;
23781 }
23782
23783
23784 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23785 PyObject *pyobj = 0;
23786
23787 {
23788 #if wxUSE_UNICODE
23789 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23790 #else
23791 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23792 #endif
23793 }
23794 return pyobj;
23795 }
23796
23797
23798 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23799 PyObject *resultobj = 0;
23800 wxPrintData *result = 0 ;
23801
23802 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 result = (wxPrintData *)new wxPrintData();
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23817 PyObject *resultobj = 0;
23818 wxPrintData *arg1 = 0 ;
23819 wxPrintData *result = 0 ;
23820 void *argp1 = 0 ;
23821 int res1 = 0 ;
23822
23823 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23825 if (!SWIG_IsOK(res1)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23827 }
23828 if (!argp1) {
23829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23830 }
23831 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23839 return resultobj;
23840 fail:
23841 return NULL;
23842 }
23843
23844
23845 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23846 int argc;
23847 PyObject *argv[2];
23848
23849 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23850 --argc;
23851 if (argc == 0) {
23852 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23853 }
23854 if (argc == 1) {
23855 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23856 }
23857
23858 fail:
23859 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23860 return NULL;
23861 }
23862
23863
23864 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23865 PyObject *resultobj = 0;
23866 wxPrintData *arg1 = (wxPrintData *) 0 ;
23867 void *argp1 = 0 ;
23868 int res1 = 0 ;
23869 PyObject *swig_obj[1] ;
23870
23871 if (!args) SWIG_fail;
23872 swig_obj[0] = args;
23873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23874 if (!SWIG_IsOK(res1)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23876 }
23877 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 delete arg1;
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_Py_Void();
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23893 PyObject *resultobj = 0;
23894 wxPrintData *arg1 = (wxPrintData *) 0 ;
23895 int result;
23896 void *argp1 = 0 ;
23897 int res1 = 0 ;
23898 PyObject *swig_obj[1] ;
23899
23900 if (!args) SWIG_fail;
23901 swig_obj[0] = args;
23902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23903 if (!SWIG_IsOK(res1)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23905 }
23906 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (int)(arg1)->GetNoCopies();
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_From_int(static_cast< int >(result));
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23921 PyObject *resultobj = 0;
23922 wxPrintData *arg1 = (wxPrintData *) 0 ;
23923 bool result;
23924 void *argp1 = 0 ;
23925 int res1 = 0 ;
23926 PyObject *swig_obj[1] ;
23927
23928 if (!args) SWIG_fail;
23929 swig_obj[0] = args;
23930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23931 if (!SWIG_IsOK(res1)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23933 }
23934 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (bool)(arg1)->GetCollate();
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 {
23942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23943 }
23944 return resultobj;
23945 fail:
23946 return NULL;
23947 }
23948
23949
23950 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23951 PyObject *resultobj = 0;
23952 wxPrintData *arg1 = (wxPrintData *) 0 ;
23953 int result;
23954 void *argp1 = 0 ;
23955 int res1 = 0 ;
23956 PyObject *swig_obj[1] ;
23957
23958 if (!args) SWIG_fail;
23959 swig_obj[0] = args;
23960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23961 if (!SWIG_IsOK(res1)) {
23962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23963 }
23964 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 result = (int)(arg1)->GetOrientation();
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 resultobj = SWIG_From_int(static_cast< int >(result));
23972 return resultobj;
23973 fail:
23974 return NULL;
23975 }
23976
23977
23978 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23979 PyObject *resultobj = 0;
23980 wxPrintData *arg1 = (wxPrintData *) 0 ;
23981 bool result;
23982 void *argp1 = 0 ;
23983 int res1 = 0 ;
23984 PyObject *swig_obj[1] ;
23985
23986 if (!args) SWIG_fail;
23987 swig_obj[0] = args;
23988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23989 if (!SWIG_IsOK(res1)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23991 }
23992 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 result = (bool)(arg1)->Ok();
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 {
24000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24001 }
24002 return resultobj;
24003 fail:
24004 return NULL;
24005 }
24006
24007
24008 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24009 PyObject *resultobj = 0;
24010 wxPrintData *arg1 = (wxPrintData *) 0 ;
24011 wxString *result = 0 ;
24012 void *argp1 = 0 ;
24013 int res1 = 0 ;
24014 PyObject *swig_obj[1] ;
24015
24016 if (!args) SWIG_fail;
24017 swig_obj[0] = args;
24018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24019 if (!SWIG_IsOK(res1)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24021 }
24022 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 {
24026 wxString const &_result_ref = (arg1)->GetPrinterName();
24027 result = (wxString *) &_result_ref;
24028 }
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 {
24033 #if wxUSE_UNICODE
24034 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24035 #else
24036 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24037 #endif
24038 }
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24046 PyObject *resultobj = 0;
24047 wxPrintData *arg1 = (wxPrintData *) 0 ;
24048 bool result;
24049 void *argp1 = 0 ;
24050 int res1 = 0 ;
24051 PyObject *swig_obj[1] ;
24052
24053 if (!args) SWIG_fail;
24054 swig_obj[0] = args;
24055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24056 if (!SWIG_IsOK(res1)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24058 }
24059 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (bool)(arg1)->GetColour();
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 {
24067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24068 }
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24076 PyObject *resultobj = 0;
24077 wxPrintData *arg1 = (wxPrintData *) 0 ;
24078 wxDuplexMode result;
24079 void *argp1 = 0 ;
24080 int res1 = 0 ;
24081 PyObject *swig_obj[1] ;
24082
24083 if (!args) SWIG_fail;
24084 swig_obj[0] = args;
24085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24086 if (!SWIG_IsOK(res1)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24088 }
24089 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (wxDuplexMode)(arg1)->GetDuplex();
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 resultobj = SWIG_From_int(static_cast< int >(result));
24097 return resultobj;
24098 fail:
24099 return NULL;
24100 }
24101
24102
24103 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24104 PyObject *resultobj = 0;
24105 wxPrintData *arg1 = (wxPrintData *) 0 ;
24106 wxPaperSize result;
24107 void *argp1 = 0 ;
24108 int res1 = 0 ;
24109 PyObject *swig_obj[1] ;
24110
24111 if (!args) SWIG_fail;
24112 swig_obj[0] = args;
24113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24114 if (!SWIG_IsOK(res1)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24116 }
24117 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (wxPaperSize)(arg1)->GetPaperId();
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 resultobj = SWIG_From_int(static_cast< int >(result));
24125 return resultobj;
24126 fail:
24127 return NULL;
24128 }
24129
24130
24131 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24132 PyObject *resultobj = 0;
24133 wxPrintData *arg1 = (wxPrintData *) 0 ;
24134 wxSize *result = 0 ;
24135 void *argp1 = 0 ;
24136 int res1 = 0 ;
24137 PyObject *swig_obj[1] ;
24138
24139 if (!args) SWIG_fail;
24140 swig_obj[0] = args;
24141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24142 if (!SWIG_IsOK(res1)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24144 }
24145 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 {
24149 wxSize const &_result_ref = (arg1)->GetPaperSize();
24150 result = (wxSize *) &_result_ref;
24151 }
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24156 return resultobj;
24157 fail:
24158 return NULL;
24159 }
24160
24161
24162 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24163 PyObject *resultobj = 0;
24164 wxPrintData *arg1 = (wxPrintData *) 0 ;
24165 int result;
24166 void *argp1 = 0 ;
24167 int res1 = 0 ;
24168 PyObject *swig_obj[1] ;
24169
24170 if (!args) SWIG_fail;
24171 swig_obj[0] = args;
24172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24173 if (!SWIG_IsOK(res1)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24175 }
24176 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 result = (int)(arg1)->GetQuality();
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 resultobj = SWIG_From_int(static_cast< int >(result));
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24191 PyObject *resultobj = 0;
24192 wxPrintData *arg1 = (wxPrintData *) 0 ;
24193 wxPrintBin result;
24194 void *argp1 = 0 ;
24195 int res1 = 0 ;
24196 PyObject *swig_obj[1] ;
24197
24198 if (!args) SWIG_fail;
24199 swig_obj[0] = args;
24200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24201 if (!SWIG_IsOK(res1)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24203 }
24204 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (wxPrintBin)(arg1)->GetBin();
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 resultobj = SWIG_From_int(static_cast< int >(result));
24212 return resultobj;
24213 fail:
24214 return NULL;
24215 }
24216
24217
24218 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24219 PyObject *resultobj = 0;
24220 wxPrintData *arg1 = (wxPrintData *) 0 ;
24221 wxPrintMode result;
24222 void *argp1 = 0 ;
24223 int res1 = 0 ;
24224 PyObject *swig_obj[1] ;
24225
24226 if (!args) SWIG_fail;
24227 swig_obj[0] = args;
24228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24229 if (!SWIG_IsOK(res1)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24231 }
24232 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 resultobj = SWIG_From_int(static_cast< int >(result));
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj = 0;
24248 wxPrintData *arg1 = (wxPrintData *) 0 ;
24249 int arg2 ;
24250 void *argp1 = 0 ;
24251 int res1 = 0 ;
24252 int val2 ;
24253 int ecode2 = 0 ;
24254 PyObject * obj0 = 0 ;
24255 PyObject * obj1 = 0 ;
24256 char * kwnames[] = {
24257 (char *) "self",(char *) "v", NULL
24258 };
24259
24260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24262 if (!SWIG_IsOK(res1)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24264 }
24265 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24266 ecode2 = SWIG_AsVal_int(obj1, &val2);
24267 if (!SWIG_IsOK(ecode2)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24269 }
24270 arg2 = static_cast< int >(val2);
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 (arg1)->SetNoCopies(arg2);
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = SWIG_Py_Void();
24278 return resultobj;
24279 fail:
24280 return NULL;
24281 }
24282
24283
24284 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj = 0;
24286 wxPrintData *arg1 = (wxPrintData *) 0 ;
24287 bool arg2 ;
24288 void *argp1 = 0 ;
24289 int res1 = 0 ;
24290 bool val2 ;
24291 int ecode2 = 0 ;
24292 PyObject * obj0 = 0 ;
24293 PyObject * obj1 = 0 ;
24294 char * kwnames[] = {
24295 (char *) "self",(char *) "flag", NULL
24296 };
24297
24298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24300 if (!SWIG_IsOK(res1)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24302 }
24303 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24304 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24305 if (!SWIG_IsOK(ecode2)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24307 }
24308 arg2 = static_cast< bool >(val2);
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 (arg1)->SetCollate(arg2);
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 resultobj = SWIG_Py_Void();
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj = 0;
24324 wxPrintData *arg1 = (wxPrintData *) 0 ;
24325 int arg2 ;
24326 void *argp1 = 0 ;
24327 int res1 = 0 ;
24328 int val2 ;
24329 int ecode2 = 0 ;
24330 PyObject * obj0 = 0 ;
24331 PyObject * obj1 = 0 ;
24332 char * kwnames[] = {
24333 (char *) "self",(char *) "orient", NULL
24334 };
24335
24336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24338 if (!SWIG_IsOK(res1)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24340 }
24341 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24342 ecode2 = SWIG_AsVal_int(obj1, &val2);
24343 if (!SWIG_IsOK(ecode2)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24345 }
24346 arg2 = static_cast< int >(val2);
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 (arg1)->SetOrientation(arg2);
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 resultobj = SWIG_Py_Void();
24354 return resultobj;
24355 fail:
24356 return NULL;
24357 }
24358
24359
24360 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj = 0;
24362 wxPrintData *arg1 = (wxPrintData *) 0 ;
24363 wxString *arg2 = 0 ;
24364 void *argp1 = 0 ;
24365 int res1 = 0 ;
24366 bool temp2 = false ;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 char * kwnames[] = {
24370 (char *) "self",(char *) "name", NULL
24371 };
24372
24373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24375 if (!SWIG_IsOK(res1)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24377 }
24378 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24379 {
24380 arg2 = wxString_in_helper(obj1);
24381 if (arg2 == NULL) SWIG_fail;
24382 temp2 = true;
24383 }
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 (arg1)->SetPrinterName((wxString const &)*arg2);
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 resultobj = SWIG_Py_Void();
24391 {
24392 if (temp2)
24393 delete arg2;
24394 }
24395 return resultobj;
24396 fail:
24397 {
24398 if (temp2)
24399 delete arg2;
24400 }
24401 return NULL;
24402 }
24403
24404
24405 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj = 0;
24407 wxPrintData *arg1 = (wxPrintData *) 0 ;
24408 bool arg2 ;
24409 void *argp1 = 0 ;
24410 int res1 = 0 ;
24411 bool val2 ;
24412 int ecode2 = 0 ;
24413 PyObject * obj0 = 0 ;
24414 PyObject * obj1 = 0 ;
24415 char * kwnames[] = {
24416 (char *) "self",(char *) "colour", NULL
24417 };
24418
24419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24421 if (!SWIG_IsOK(res1)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24423 }
24424 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24425 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24426 if (!SWIG_IsOK(ecode2)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24428 }
24429 arg2 = static_cast< bool >(val2);
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 (arg1)->SetColour(arg2);
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 resultobj = SWIG_Py_Void();
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj = 0;
24445 wxPrintData *arg1 = (wxPrintData *) 0 ;
24446 wxDuplexMode arg2 ;
24447 void *argp1 = 0 ;
24448 int res1 = 0 ;
24449 int val2 ;
24450 int ecode2 = 0 ;
24451 PyObject * obj0 = 0 ;
24452 PyObject * obj1 = 0 ;
24453 char * kwnames[] = {
24454 (char *) "self",(char *) "duplex", NULL
24455 };
24456
24457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24459 if (!SWIG_IsOK(res1)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24461 }
24462 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24463 ecode2 = SWIG_AsVal_int(obj1, &val2);
24464 if (!SWIG_IsOK(ecode2)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24466 }
24467 arg2 = static_cast< wxDuplexMode >(val2);
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 (arg1)->SetDuplex(arg2);
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 resultobj = SWIG_Py_Void();
24475 return resultobj;
24476 fail:
24477 return NULL;
24478 }
24479
24480
24481 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj = 0;
24483 wxPrintData *arg1 = (wxPrintData *) 0 ;
24484 wxPaperSize arg2 ;
24485 void *argp1 = 0 ;
24486 int res1 = 0 ;
24487 int val2 ;
24488 int ecode2 = 0 ;
24489 PyObject * obj0 = 0 ;
24490 PyObject * obj1 = 0 ;
24491 char * kwnames[] = {
24492 (char *) "self",(char *) "sizeId", NULL
24493 };
24494
24495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24497 if (!SWIG_IsOK(res1)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24499 }
24500 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24501 ecode2 = SWIG_AsVal_int(obj1, &val2);
24502 if (!SWIG_IsOK(ecode2)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24504 }
24505 arg2 = static_cast< wxPaperSize >(val2);
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 (arg1)->SetPaperId(arg2);
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 resultobj = SWIG_Py_Void();
24513 return resultobj;
24514 fail:
24515 return NULL;
24516 }
24517
24518
24519 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24520 PyObject *resultobj = 0;
24521 wxPrintData *arg1 = (wxPrintData *) 0 ;
24522 wxSize *arg2 = 0 ;
24523 void *argp1 = 0 ;
24524 int res1 = 0 ;
24525 wxSize temp2 ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 char * kwnames[] = {
24529 (char *) "self",(char *) "sz", NULL
24530 };
24531
24532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24534 if (!SWIG_IsOK(res1)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24536 }
24537 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24538 {
24539 arg2 = &temp2;
24540 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24541 }
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 (arg1)->SetPaperSize((wxSize const &)*arg2);
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 resultobj = SWIG_Py_Void();
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj = 0;
24557 wxPrintData *arg1 = (wxPrintData *) 0 ;
24558 int arg2 ;
24559 void *argp1 = 0 ;
24560 int res1 = 0 ;
24561 int val2 ;
24562 int ecode2 = 0 ;
24563 PyObject * obj0 = 0 ;
24564 PyObject * obj1 = 0 ;
24565 char * kwnames[] = {
24566 (char *) "self",(char *) "quality", NULL
24567 };
24568
24569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24571 if (!SWIG_IsOK(res1)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24573 }
24574 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24575 ecode2 = SWIG_AsVal_int(obj1, &val2);
24576 if (!SWIG_IsOK(ecode2)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24578 }
24579 arg2 = static_cast< int >(val2);
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 (arg1)->SetQuality(arg2);
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 resultobj = SWIG_Py_Void();
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj = 0;
24595 wxPrintData *arg1 = (wxPrintData *) 0 ;
24596 wxPrintBin arg2 ;
24597 void *argp1 = 0 ;
24598 int res1 = 0 ;
24599 int val2 ;
24600 int ecode2 = 0 ;
24601 PyObject * obj0 = 0 ;
24602 PyObject * obj1 = 0 ;
24603 char * kwnames[] = {
24604 (char *) "self",(char *) "bin", NULL
24605 };
24606
24607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24611 }
24612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24613 ecode2 = SWIG_AsVal_int(obj1, &val2);
24614 if (!SWIG_IsOK(ecode2)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24616 }
24617 arg2 = static_cast< wxPrintBin >(val2);
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 (arg1)->SetBin(arg2);
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 resultobj = SWIG_Py_Void();
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj = 0;
24633 wxPrintData *arg1 = (wxPrintData *) 0 ;
24634 wxPrintMode arg2 ;
24635 void *argp1 = 0 ;
24636 int res1 = 0 ;
24637 int val2 ;
24638 int ecode2 = 0 ;
24639 PyObject * obj0 = 0 ;
24640 PyObject * obj1 = 0 ;
24641 char * kwnames[] = {
24642 (char *) "self",(char *) "printMode", NULL
24643 };
24644
24645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24647 if (!SWIG_IsOK(res1)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24649 }
24650 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24651 ecode2 = SWIG_AsVal_int(obj1, &val2);
24652 if (!SWIG_IsOK(ecode2)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24654 }
24655 arg2 = static_cast< wxPrintMode >(val2);
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->SetPrintMode(arg2);
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 resultobj = SWIG_Py_Void();
24663 return resultobj;
24664 fail:
24665 return NULL;
24666 }
24667
24668
24669 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24670 PyObject *resultobj = 0;
24671 wxPrintData *arg1 = (wxPrintData *) 0 ;
24672 wxString result;
24673 void *argp1 = 0 ;
24674 int res1 = 0 ;
24675 PyObject *swig_obj[1] ;
24676
24677 if (!args) SWIG_fail;
24678 swig_obj[0] = args;
24679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24682 }
24683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = ((wxPrintData const *)arg1)->GetFilename();
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 {
24691 #if wxUSE_UNICODE
24692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24693 #else
24694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24695 #endif
24696 }
24697 return resultobj;
24698 fail:
24699 return NULL;
24700 }
24701
24702
24703 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj = 0;
24705 wxPrintData *arg1 = (wxPrintData *) 0 ;
24706 wxString *arg2 = 0 ;
24707 void *argp1 = 0 ;
24708 int res1 = 0 ;
24709 bool temp2 = false ;
24710 PyObject * obj0 = 0 ;
24711 PyObject * obj1 = 0 ;
24712 char * kwnames[] = {
24713 (char *) "self",(char *) "filename", NULL
24714 };
24715
24716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24718 if (!SWIG_IsOK(res1)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24720 }
24721 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24722 {
24723 arg2 = wxString_in_helper(obj1);
24724 if (arg2 == NULL) SWIG_fail;
24725 temp2 = true;
24726 }
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->SetFilename((wxString const &)*arg2);
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 resultobj = SWIG_Py_Void();
24734 {
24735 if (temp2)
24736 delete arg2;
24737 }
24738 return resultobj;
24739 fail:
24740 {
24741 if (temp2)
24742 delete arg2;
24743 }
24744 return NULL;
24745 }
24746
24747
24748 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24749 PyObject *resultobj = 0;
24750 wxPrintData *arg1 = (wxPrintData *) 0 ;
24751 PyObject *result = 0 ;
24752 void *argp1 = 0 ;
24753 int res1 = 0 ;
24754 PyObject *swig_obj[1] ;
24755
24756 if (!args) SWIG_fail;
24757 swig_obj[0] = args;
24758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24759 if (!SWIG_IsOK(res1)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24761 }
24762 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 resultobj = result;
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj = 0;
24778 wxPrintData *arg1 = (wxPrintData *) 0 ;
24779 PyObject *arg2 = (PyObject *) 0 ;
24780 void *argp1 = 0 ;
24781 int res1 = 0 ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 char * kwnames[] = {
24785 (char *) "self",(char *) "data", NULL
24786 };
24787
24788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24790 if (!SWIG_IsOK(res1)) {
24791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24792 }
24793 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24794 arg2 = obj1;
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 wxPrintData_SetPrivData(arg1,arg2);
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 resultobj = SWIG_Py_Void();
24802 return resultobj;
24803 fail:
24804 return NULL;
24805 }
24806
24807
24808 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24809 PyObject *obj;
24810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24811 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24812 return SWIG_Py_Void();
24813 }
24814
24815 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24816 return SWIG_Python_InitShadowInstance(args);
24817 }
24818
24819 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24820 PyObject *resultobj = 0;
24821 wxPageSetupDialogData *result = 0 ;
24822
24823 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24831 return resultobj;
24832 fail:
24833 return NULL;
24834 }
24835
24836
24837 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24838 PyObject *resultobj = 0;
24839 wxPageSetupDialogData *arg1 = 0 ;
24840 wxPageSetupDialogData *result = 0 ;
24841 void *argp1 = 0 ;
24842 int res1 = 0 ;
24843
24844 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24846 if (!SWIG_IsOK(res1)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24848 }
24849 if (!argp1) {
24850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24851 }
24852 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24867 PyObject *resultobj = 0;
24868 wxPrintData *arg1 = 0 ;
24869 wxPageSetupDialogData *result = 0 ;
24870 void *argp1 = 0 ;
24871 int res1 = 0 ;
24872
24873 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24875 if (!SWIG_IsOK(res1)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24877 }
24878 if (!argp1) {
24879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24880 }
24881 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24889 return resultobj;
24890 fail:
24891 return NULL;
24892 }
24893
24894
24895 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24896 int argc;
24897 PyObject *argv[2];
24898
24899 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24900 --argc;
24901 if (argc == 0) {
24902 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24903 }
24904 if (argc == 1) {
24905 int _v = 0;
24906 {
24907 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24908 _v = SWIG_CheckState(res);
24909 }
24910 if (!_v) goto check_2;
24911 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24912 }
24913 check_2:
24914
24915 if (argc == 1) {
24916 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24917 }
24918
24919 fail:
24920 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24921 return NULL;
24922 }
24923
24924
24925 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24926 PyObject *resultobj = 0;
24927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24928 void *argp1 = 0 ;
24929 int res1 = 0 ;
24930 PyObject *swig_obj[1] ;
24931
24932 if (!args) SWIG_fail;
24933 swig_obj[0] = args;
24934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24935 if (!SWIG_IsOK(res1)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24937 }
24938 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24939 {
24940 PyThreadState* __tstate = wxPyBeginAllowThreads();
24941 delete arg1;
24942
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
24946 resultobj = SWIG_Py_Void();
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj = 0;
24955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24956 bool arg2 ;
24957 void *argp1 = 0 ;
24958 int res1 = 0 ;
24959 bool val2 ;
24960 int ecode2 = 0 ;
24961 PyObject * obj0 = 0 ;
24962 PyObject * obj1 = 0 ;
24963 char * kwnames[] = {
24964 (char *) "self",(char *) "flag", NULL
24965 };
24966
24967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24969 if (!SWIG_IsOK(res1)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24971 }
24972 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24973 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24974 if (!SWIG_IsOK(ecode2)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24976 }
24977 arg2 = static_cast< bool >(val2);
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 (arg1)->EnableHelp(arg2);
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 resultobj = SWIG_Py_Void();
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj = 0;
24993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24994 bool arg2 ;
24995 void *argp1 = 0 ;
24996 int res1 = 0 ;
24997 bool val2 ;
24998 int ecode2 = 0 ;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 char * kwnames[] = {
25002 (char *) "self",(char *) "flag", NULL
25003 };
25004
25005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25007 if (!SWIG_IsOK(res1)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 }
25010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25011 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25012 if (!SWIG_IsOK(ecode2)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25014 }
25015 arg2 = static_cast< bool >(val2);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->EnableMargins(arg2);
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = SWIG_Py_Void();
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj = 0;
25031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25032 bool arg2 ;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 bool val2 ;
25036 int ecode2 = 0 ;
25037 PyObject * obj0 = 0 ;
25038 PyObject * obj1 = 0 ;
25039 char * kwnames[] = {
25040 (char *) "self",(char *) "flag", NULL
25041 };
25042
25043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25045 if (!SWIG_IsOK(res1)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25047 }
25048 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25049 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25050 if (!SWIG_IsOK(ecode2)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25052 }
25053 arg2 = static_cast< bool >(val2);
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 (arg1)->EnableOrientation(arg2);
25057 wxPyEndAllowThreads(__tstate);
25058 if (PyErr_Occurred()) SWIG_fail;
25059 }
25060 resultobj = SWIG_Py_Void();
25061 return resultobj;
25062 fail:
25063 return NULL;
25064 }
25065
25066
25067 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25068 PyObject *resultobj = 0;
25069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25070 bool arg2 ;
25071 void *argp1 = 0 ;
25072 int res1 = 0 ;
25073 bool val2 ;
25074 int ecode2 = 0 ;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 char * kwnames[] = {
25078 (char *) "self",(char *) "flag", NULL
25079 };
25080
25081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25083 if (!SWIG_IsOK(res1)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25085 }
25086 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25088 if (!SWIG_IsOK(ecode2)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25090 }
25091 arg2 = static_cast< bool >(val2);
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 (arg1)->EnablePaper(arg2);
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_Py_Void();
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj = 0;
25107 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25108 bool arg2 ;
25109 void *argp1 = 0 ;
25110 int res1 = 0 ;
25111 bool val2 ;
25112 int ecode2 = 0 ;
25113 PyObject * obj0 = 0 ;
25114 PyObject * obj1 = 0 ;
25115 char * kwnames[] = {
25116 (char *) "self",(char *) "flag", NULL
25117 };
25118
25119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25121 if (!SWIG_IsOK(res1)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25123 }
25124 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25125 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25126 if (!SWIG_IsOK(ecode2)) {
25127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25128 }
25129 arg2 = static_cast< bool >(val2);
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 (arg1)->EnablePrinter(arg2);
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_Py_Void();
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *resultobj = 0;
25145 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25146 bool result;
25147 void *argp1 = 0 ;
25148 int res1 = 0 ;
25149 PyObject *swig_obj[1] ;
25150
25151 if (!args) SWIG_fail;
25152 swig_obj[0] = args;
25153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25154 if (!SWIG_IsOK(res1)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 }
25157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (bool)(arg1)->GetDefaultMinMargins();
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 {
25165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25166 }
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25174 PyObject *resultobj = 0;
25175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25176 bool result;
25177 void *argp1 = 0 ;
25178 int res1 = 0 ;
25179 PyObject *swig_obj[1] ;
25180
25181 if (!args) SWIG_fail;
25182 swig_obj[0] = args;
25183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25184 if (!SWIG_IsOK(res1)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25186 }
25187 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (bool)(arg1)->GetEnableMargins();
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 {
25195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25196 }
25197 return resultobj;
25198 fail:
25199 return NULL;
25200 }
25201
25202
25203 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25204 PyObject *resultobj = 0;
25205 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25206 bool result;
25207 void *argp1 = 0 ;
25208 int res1 = 0 ;
25209 PyObject *swig_obj[1] ;
25210
25211 if (!args) SWIG_fail;
25212 swig_obj[0] = args;
25213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25214 if (!SWIG_IsOK(res1)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25216 }
25217 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (bool)(arg1)->GetEnableOrientation();
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 {
25225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230 }
25231
25232
25233 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25234 PyObject *resultobj = 0;
25235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25236 bool result;
25237 void *argp1 = 0 ;
25238 int res1 = 0 ;
25239 PyObject *swig_obj[1] ;
25240
25241 if (!args) SWIG_fail;
25242 swig_obj[0] = args;
25243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25244 if (!SWIG_IsOK(res1)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25246 }
25247 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 result = (bool)(arg1)->GetEnablePaper();
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 {
25255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25256 }
25257 return resultobj;
25258 fail:
25259 return NULL;
25260 }
25261
25262
25263 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25264 PyObject *resultobj = 0;
25265 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25266 bool result;
25267 void *argp1 = 0 ;
25268 int res1 = 0 ;
25269 PyObject *swig_obj[1] ;
25270
25271 if (!args) SWIG_fail;
25272 swig_obj[0] = args;
25273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25274 if (!SWIG_IsOK(res1)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25276 }
25277 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (bool)(arg1)->GetEnablePrinter();
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 {
25285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25286 }
25287 return resultobj;
25288 fail:
25289 return NULL;
25290 }
25291
25292
25293 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25294 PyObject *resultobj = 0;
25295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25296 bool result;
25297 void *argp1 = 0 ;
25298 int res1 = 0 ;
25299 PyObject *swig_obj[1] ;
25300
25301 if (!args) SWIG_fail;
25302 swig_obj[0] = args;
25303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25304 if (!SWIG_IsOK(res1)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25306 }
25307 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25308 {
25309 PyThreadState* __tstate = wxPyBeginAllowThreads();
25310 result = (bool)(arg1)->GetEnableHelp();
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 {
25315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25316 }
25317 return resultobj;
25318 fail:
25319 return NULL;
25320 }
25321
25322
25323 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25324 PyObject *resultobj = 0;
25325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25326 bool result;
25327 void *argp1 = 0 ;
25328 int res1 = 0 ;
25329 PyObject *swig_obj[1] ;
25330
25331 if (!args) SWIG_fail;
25332 swig_obj[0] = args;
25333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25334 if (!SWIG_IsOK(res1)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25336 }
25337 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 result = (bool)(arg1)->GetDefaultInfo();
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 {
25345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25346 }
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25354 PyObject *resultobj = 0;
25355 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25356 wxPoint result;
25357 void *argp1 = 0 ;
25358 int res1 = 0 ;
25359 PyObject *swig_obj[1] ;
25360
25361 if (!args) SWIG_fail;
25362 swig_obj[0] = args;
25363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25364 if (!SWIG_IsOK(res1)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25366 }
25367 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 result = (arg1)->GetMarginTopLeft();
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25382 PyObject *resultobj = 0;
25383 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25384 wxPoint result;
25385 void *argp1 = 0 ;
25386 int res1 = 0 ;
25387 PyObject *swig_obj[1] ;
25388
25389 if (!args) SWIG_fail;
25390 swig_obj[0] = args;
25391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25392 if (!SWIG_IsOK(res1)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25394 }
25395 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 result = (arg1)->GetMarginBottomRight();
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25410 PyObject *resultobj = 0;
25411 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25412 wxPoint result;
25413 void *argp1 = 0 ;
25414 int res1 = 0 ;
25415 PyObject *swig_obj[1] ;
25416
25417 if (!args) SWIG_fail;
25418 swig_obj[0] = args;
25419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25420 if (!SWIG_IsOK(res1)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25422 }
25423 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (arg1)->GetMinMarginTopLeft();
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25438 PyObject *resultobj = 0;
25439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25440 wxPoint result;
25441 void *argp1 = 0 ;
25442 int res1 = 0 ;
25443 PyObject *swig_obj[1] ;
25444
25445 if (!args) SWIG_fail;
25446 swig_obj[0] = args;
25447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25448 if (!SWIG_IsOK(res1)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25450 }
25451 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 result = (arg1)->GetMinMarginBottomRight();
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25459 return resultobj;
25460 fail:
25461 return NULL;
25462 }
25463
25464
25465 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25466 PyObject *resultobj = 0;
25467 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25468 wxPaperSize result;
25469 void *argp1 = 0 ;
25470 int res1 = 0 ;
25471 PyObject *swig_obj[1] ;
25472
25473 if (!args) SWIG_fail;
25474 swig_obj[0] = args;
25475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25476 if (!SWIG_IsOK(res1)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25478 }
25479 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (wxPaperSize)(arg1)->GetPaperId();
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = SWIG_From_int(static_cast< int >(result));
25487 return resultobj;
25488 fail:
25489 return NULL;
25490 }
25491
25492
25493 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25494 PyObject *resultobj = 0;
25495 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25496 wxSize result;
25497 void *argp1 = 0 ;
25498 int res1 = 0 ;
25499 PyObject *swig_obj[1] ;
25500
25501 if (!args) SWIG_fail;
25502 swig_obj[0] = args;
25503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25504 if (!SWIG_IsOK(res1)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25506 }
25507 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (arg1)->GetPaperSize();
25511 wxPyEndAllowThreads(__tstate);
25512 if (PyErr_Occurred()) SWIG_fail;
25513 }
25514 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25515 return resultobj;
25516 fail:
25517 return NULL;
25518 }
25519
25520
25521 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25522 PyObject *resultobj = 0;
25523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25524 wxPrintData *result = 0 ;
25525 void *argp1 = 0 ;
25526 int res1 = 0 ;
25527 PyObject *swig_obj[1] ;
25528
25529 if (!args) SWIG_fail;
25530 swig_obj[0] = args;
25531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25532 if (!SWIG_IsOK(res1)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25534 }
25535 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 {
25539 wxPrintData &_result_ref = (arg1)->GetPrintData();
25540 result = (wxPrintData *) &_result_ref;
25541 }
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25546 return resultobj;
25547 fail:
25548 return NULL;
25549 }
25550
25551
25552 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25553 PyObject *resultobj = 0;
25554 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25555 bool result;
25556 void *argp1 = 0 ;
25557 int res1 = 0 ;
25558 PyObject *swig_obj[1] ;
25559
25560 if (!args) SWIG_fail;
25561 swig_obj[0] = args;
25562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25563 if (!SWIG_IsOK(res1)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25565 }
25566 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (bool)(arg1)->Ok();
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25575 }
25576 return resultobj;
25577 fail:
25578 return NULL;
25579 }
25580
25581
25582 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj = 0;
25584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25585 bool arg2 ;
25586 void *argp1 = 0 ;
25587 int res1 = 0 ;
25588 bool val2 ;
25589 int ecode2 = 0 ;
25590 PyObject * obj0 = 0 ;
25591 PyObject * obj1 = 0 ;
25592 char * kwnames[] = {
25593 (char *) "self",(char *) "flag", NULL
25594 };
25595
25596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25600 }
25601 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25602 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25603 if (!SWIG_IsOK(ecode2)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25605 }
25606 arg2 = static_cast< bool >(val2);
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 (arg1)->SetDefaultInfo(arg2);
25610 wxPyEndAllowThreads(__tstate);
25611 if (PyErr_Occurred()) SWIG_fail;
25612 }
25613 resultobj = SWIG_Py_Void();
25614 return resultobj;
25615 fail:
25616 return NULL;
25617 }
25618
25619
25620 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj = 0;
25622 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25623 bool arg2 ;
25624 void *argp1 = 0 ;
25625 int res1 = 0 ;
25626 bool val2 ;
25627 int ecode2 = 0 ;
25628 PyObject * obj0 = 0 ;
25629 PyObject * obj1 = 0 ;
25630 char * kwnames[] = {
25631 (char *) "self",(char *) "flag", NULL
25632 };
25633
25634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25636 if (!SWIG_IsOK(res1)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25638 }
25639 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25640 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25641 if (!SWIG_IsOK(ecode2)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25643 }
25644 arg2 = static_cast< bool >(val2);
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 (arg1)->SetDefaultMinMargins(arg2);
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 resultobj = SWIG_Py_Void();
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj = 0;
25660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25661 wxPoint *arg2 = 0 ;
25662 void *argp1 = 0 ;
25663 int res1 = 0 ;
25664 wxPoint temp2 ;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 char * kwnames[] = {
25668 (char *) "self",(char *) "pt", NULL
25669 };
25670
25671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25673 if (!SWIG_IsOK(res1)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25675 }
25676 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25677 {
25678 arg2 = &temp2;
25679 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25680 }
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 resultobj = SWIG_Py_Void();
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj = 0;
25696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25697 wxPoint *arg2 = 0 ;
25698 void *argp1 = 0 ;
25699 int res1 = 0 ;
25700 wxPoint temp2 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char * kwnames[] = {
25704 (char *) "self",(char *) "pt", NULL
25705 };
25706
25707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25709 if (!SWIG_IsOK(res1)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25711 }
25712 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25713 {
25714 arg2 = &temp2;
25715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25716 }
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_Py_Void();
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj = 0;
25732 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25733 wxPoint *arg2 = 0 ;
25734 void *argp1 = 0 ;
25735 int res1 = 0 ;
25736 wxPoint temp2 ;
25737 PyObject * obj0 = 0 ;
25738 PyObject * obj1 = 0 ;
25739 char * kwnames[] = {
25740 (char *) "self",(char *) "pt", NULL
25741 };
25742
25743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25747 }
25748 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25749 {
25750 arg2 = &temp2;
25751 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25752 }
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 resultobj = SWIG_Py_Void();
25760 return resultobj;
25761 fail:
25762 return NULL;
25763 }
25764
25765
25766 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25767 PyObject *resultobj = 0;
25768 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25769 wxPoint *arg2 = 0 ;
25770 void *argp1 = 0 ;
25771 int res1 = 0 ;
25772 wxPoint temp2 ;
25773 PyObject * obj0 = 0 ;
25774 PyObject * obj1 = 0 ;
25775 char * kwnames[] = {
25776 (char *) "self",(char *) "pt", NULL
25777 };
25778
25779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25781 if (!SWIG_IsOK(res1)) {
25782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25783 }
25784 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25785 {
25786 arg2 = &temp2;
25787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25788 }
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 resultobj = SWIG_Py_Void();
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj = 0;
25804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25805 wxPaperSize arg2 ;
25806 void *argp1 = 0 ;
25807 int res1 = 0 ;
25808 int val2 ;
25809 int ecode2 = 0 ;
25810 PyObject * obj0 = 0 ;
25811 PyObject * obj1 = 0 ;
25812 char * kwnames[] = {
25813 (char *) "self",(char *) "id", NULL
25814 };
25815
25816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25818 if (!SWIG_IsOK(res1)) {
25819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25820 }
25821 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25822 ecode2 = SWIG_AsVal_int(obj1, &val2);
25823 if (!SWIG_IsOK(ecode2)) {
25824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25825 }
25826 arg2 = static_cast< wxPaperSize >(val2);
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 (arg1)->SetPaperId(arg2);
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 resultobj = SWIG_Py_Void();
25834 return resultobj;
25835 fail:
25836 return NULL;
25837 }
25838
25839
25840 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25841 PyObject *resultobj = 0;
25842 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25843 wxSize *arg2 = 0 ;
25844 void *argp1 = 0 ;
25845 int res1 = 0 ;
25846 wxSize temp2 ;
25847 PyObject * obj0 = 0 ;
25848 PyObject * obj1 = 0 ;
25849 char * kwnames[] = {
25850 (char *) "self",(char *) "size", NULL
25851 };
25852
25853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25855 if (!SWIG_IsOK(res1)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25857 }
25858 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25859 {
25860 arg2 = &temp2;
25861 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25862 }
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 (arg1)->SetPaperSize((wxSize const &)*arg2);
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 resultobj = SWIG_Py_Void();
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25877 PyObject *resultobj = 0;
25878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25879 wxPrintData *arg2 = 0 ;
25880 void *argp1 = 0 ;
25881 int res1 = 0 ;
25882 void *argp2 = 0 ;
25883 int res2 = 0 ;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 char * kwnames[] = {
25887 (char *) "self",(char *) "printData", NULL
25888 };
25889
25890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25892 if (!SWIG_IsOK(res1)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25894 }
25895 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25896 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25897 if (!SWIG_IsOK(res2)) {
25898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25899 }
25900 if (!argp2) {
25901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25902 }
25903 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25904 {
25905 PyThreadState* __tstate = wxPyBeginAllowThreads();
25906 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25907 wxPyEndAllowThreads(__tstate);
25908 if (PyErr_Occurred()) SWIG_fail;
25909 }
25910 resultobj = SWIG_Py_Void();
25911 return resultobj;
25912 fail:
25913 return NULL;
25914 }
25915
25916
25917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25918 PyObject *resultobj = 0;
25919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25920 void *argp1 = 0 ;
25921 int res1 = 0 ;
25922 PyObject *swig_obj[1] ;
25923
25924 if (!args) SWIG_fail;
25925 swig_obj[0] = args;
25926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25927 if (!SWIG_IsOK(res1)) {
25928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25929 }
25930 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 (arg1)->CalculateIdFromPaperSize();
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_Py_Void();
25938 return resultobj;
25939 fail:
25940 return NULL;
25941 }
25942
25943
25944 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25945 PyObject *resultobj = 0;
25946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25947 void *argp1 = 0 ;
25948 int res1 = 0 ;
25949 PyObject *swig_obj[1] ;
25950
25951 if (!args) SWIG_fail;
25952 swig_obj[0] = args;
25953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25954 if (!SWIG_IsOK(res1)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25956 }
25957 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 (arg1)->CalculatePaperSizeFromId();
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 resultobj = SWIG_Py_Void();
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25972 PyObject *obj;
25973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25974 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25975 return SWIG_Py_Void();
25976 }
25977
25978 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25979 return SWIG_Python_InitShadowInstance(args);
25980 }
25981
25982 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj = 0;
25984 wxWindow *arg1 = (wxWindow *) 0 ;
25985 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25986 wxPageSetupDialog *result = 0 ;
25987 void *argp1 = 0 ;
25988 int res1 = 0 ;
25989 void *argp2 = 0 ;
25990 int res2 = 0 ;
25991 PyObject * obj0 = 0 ;
25992 PyObject * obj1 = 0 ;
25993 char * kwnames[] = {
25994 (char *) "parent",(char *) "data", NULL
25995 };
25996
25997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25999 if (!SWIG_IsOK(res1)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26001 }
26002 arg1 = reinterpret_cast< wxWindow * >(argp1);
26003 if (obj1) {
26004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26005 if (!SWIG_IsOK(res2)) {
26006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26007 }
26008 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26009 }
26010 {
26011 if (!wxPyCheckForApp()) SWIG_fail;
26012 PyThreadState* __tstate = wxPyBeginAllowThreads();
26013 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26025 PyObject *resultobj = 0;
26026 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26027 void *argp1 = 0 ;
26028 int res1 = 0 ;
26029 PyObject *swig_obj[1] ;
26030
26031 if (!args) SWIG_fail;
26032 swig_obj[0] = args;
26033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26034 if (!SWIG_IsOK(res1)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26036 }
26037 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 delete arg1;
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 resultobj = SWIG_Py_Void();
26046 return resultobj;
26047 fail:
26048 return NULL;
26049 }
26050
26051
26052 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26053 PyObject *resultobj = 0;
26054 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26055 wxPageSetupDialogData *result = 0 ;
26056 void *argp1 = 0 ;
26057 int res1 = 0 ;
26058 PyObject *swig_obj[1] ;
26059
26060 if (!args) SWIG_fail;
26061 swig_obj[0] = args;
26062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26063 if (!SWIG_IsOK(res1)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26065 }
26066 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 {
26070 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26071 result = (wxPageSetupDialogData *) &_result_ref;
26072 }
26073 wxPyEndAllowThreads(__tstate);
26074 if (PyErr_Occurred()) SWIG_fail;
26075 }
26076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26077 return resultobj;
26078 fail:
26079 return NULL;
26080 }
26081
26082
26083 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26084 PyObject *resultobj = 0;
26085 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26086 wxPageSetupDialogData *result = 0 ;
26087 void *argp1 = 0 ;
26088 int res1 = 0 ;
26089 PyObject *swig_obj[1] ;
26090
26091 if (!args) SWIG_fail;
26092 swig_obj[0] = args;
26093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26094 if (!SWIG_IsOK(res1)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26096 }
26097 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 {
26101 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26102 result = (wxPageSetupDialogData *) &_result_ref;
26103 }
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26115 PyObject *resultobj = 0;
26116 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26117 int result;
26118 void *argp1 = 0 ;
26119 int res1 = 0 ;
26120 PyObject *swig_obj[1] ;
26121
26122 if (!args) SWIG_fail;
26123 swig_obj[0] = args;
26124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26125 if (!SWIG_IsOK(res1)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26127 }
26128 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 result = (int)(arg1)->ShowModal();
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 resultobj = SWIG_From_int(static_cast< int >(result));
26136 return resultobj;
26137 fail:
26138 return NULL;
26139 }
26140
26141
26142 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26143 PyObject *obj;
26144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26146 return SWIG_Py_Void();
26147 }
26148
26149 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26150 return SWIG_Python_InitShadowInstance(args);
26151 }
26152
26153 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26154 PyObject *resultobj = 0;
26155 wxPrintDialogData *result = 0 ;
26156
26157 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26158 {
26159 PyThreadState* __tstate = wxPyBeginAllowThreads();
26160 result = (wxPrintDialogData *)new wxPrintDialogData();
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26165 return resultobj;
26166 fail:
26167 return NULL;
26168 }
26169
26170
26171 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26172 PyObject *resultobj = 0;
26173 wxPrintData *arg1 = 0 ;
26174 wxPrintDialogData *result = 0 ;
26175 void *argp1 = 0 ;
26176 int res1 = 0 ;
26177
26178 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26180 if (!SWIG_IsOK(res1)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26182 }
26183 if (!argp1) {
26184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26185 }
26186 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26190 wxPyEndAllowThreads(__tstate);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 }
26193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26194 return resultobj;
26195 fail:
26196 return NULL;
26197 }
26198
26199
26200 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26201 PyObject *resultobj = 0;
26202 wxPrintDialogData *arg1 = 0 ;
26203 wxPrintDialogData *result = 0 ;
26204 void *argp1 = 0 ;
26205 int res1 = 0 ;
26206
26207 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26209 if (!SWIG_IsOK(res1)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26211 }
26212 if (!argp1) {
26213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26214 }
26215 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26216 {
26217 PyThreadState* __tstate = wxPyBeginAllowThreads();
26218 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26230 int argc;
26231 PyObject *argv[2];
26232
26233 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26234 --argc;
26235 if (argc == 0) {
26236 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26237 }
26238 if (argc == 1) {
26239 int _v = 0;
26240 {
26241 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26242 _v = SWIG_CheckState(res);
26243 }
26244 if (!_v) goto check_2;
26245 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26246 }
26247 check_2:
26248
26249 if (argc == 1) {
26250 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26251 }
26252
26253 fail:
26254 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26255 return NULL;
26256 }
26257
26258
26259 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26260 PyObject *resultobj = 0;
26261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26262 void *argp1 = 0 ;
26263 int res1 = 0 ;
26264 PyObject *swig_obj[1] ;
26265
26266 if (!args) SWIG_fail;
26267 swig_obj[0] = args;
26268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26269 if (!SWIG_IsOK(res1)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26271 }
26272 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 delete arg1;
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 resultobj = SWIG_Py_Void();
26281 return resultobj;
26282 fail:
26283 return NULL;
26284 }
26285
26286
26287 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26288 PyObject *resultobj = 0;
26289 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26290 int result;
26291 void *argp1 = 0 ;
26292 int res1 = 0 ;
26293 PyObject *swig_obj[1] ;
26294
26295 if (!args) SWIG_fail;
26296 swig_obj[0] = args;
26297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26298 if (!SWIG_IsOK(res1)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26300 }
26301 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 resultobj = SWIG_From_int(static_cast< int >(result));
26309 return resultobj;
26310 fail:
26311 return NULL;
26312 }
26313
26314
26315 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26316 PyObject *resultobj = 0;
26317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26318 int result;
26319 void *argp1 = 0 ;
26320 int res1 = 0 ;
26321 PyObject *swig_obj[1] ;
26322
26323 if (!args) SWIG_fail;
26324 swig_obj[0] = args;
26325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26326 if (!SWIG_IsOK(res1)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26328 }
26329 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 resultobj = SWIG_From_int(static_cast< int >(result));
26337 return resultobj;
26338 fail:
26339 return NULL;
26340 }
26341
26342
26343 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26344 PyObject *resultobj = 0;
26345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26346 int result;
26347 void *argp1 = 0 ;
26348 int res1 = 0 ;
26349 PyObject *swig_obj[1] ;
26350
26351 if (!args) SWIG_fail;
26352 swig_obj[0] = args;
26353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26354 if (!SWIG_IsOK(res1)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26356 }
26357 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = SWIG_From_int(static_cast< int >(result));
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26372 PyObject *resultobj = 0;
26373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26374 int result;
26375 void *argp1 = 0 ;
26376 int res1 = 0 ;
26377 PyObject *swig_obj[1] ;
26378
26379 if (!args) SWIG_fail;
26380 swig_obj[0] = args;
26381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26382 if (!SWIG_IsOK(res1)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26384 }
26385 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 resultobj = SWIG_From_int(static_cast< int >(result));
26393 return resultobj;
26394 fail:
26395 return NULL;
26396 }
26397
26398
26399 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26400 PyObject *resultobj = 0;
26401 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26402 int result;
26403 void *argp1 = 0 ;
26404 int res1 = 0 ;
26405 PyObject *swig_obj[1] ;
26406
26407 if (!args) SWIG_fail;
26408 swig_obj[0] = args;
26409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26410 if (!SWIG_IsOK(res1)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26412 }
26413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26417 wxPyEndAllowThreads(__tstate);
26418 if (PyErr_Occurred()) SWIG_fail;
26419 }
26420 resultobj = SWIG_From_int(static_cast< int >(result));
26421 return resultobj;
26422 fail:
26423 return NULL;
26424 }
26425
26426
26427 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26428 PyObject *resultobj = 0;
26429 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26430 bool result;
26431 void *argp1 = 0 ;
26432 int res1 = 0 ;
26433 PyObject *swig_obj[1] ;
26434
26435 if (!args) SWIG_fail;
26436 swig_obj[0] = args;
26437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26438 if (!SWIG_IsOK(res1)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26440 }
26441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 {
26449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26450 }
26451 return resultobj;
26452 fail:
26453 return NULL;
26454 }
26455
26456
26457 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26458 PyObject *resultobj = 0;
26459 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26460 bool result;
26461 void *argp1 = 0 ;
26462 int res1 = 0 ;
26463 PyObject *swig_obj[1] ;
26464
26465 if (!args) SWIG_fail;
26466 swig_obj[0] = args;
26467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26468 if (!SWIG_IsOK(res1)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26470 }
26471 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26472 {
26473 PyThreadState* __tstate = wxPyBeginAllowThreads();
26474 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 {
26479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26480 }
26481 return resultobj;
26482 fail:
26483 return NULL;
26484 }
26485
26486
26487 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26488 PyObject *resultobj = 0;
26489 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26490 bool result;
26491 void *argp1 = 0 ;
26492 int res1 = 0 ;
26493 PyObject *swig_obj[1] ;
26494
26495 if (!args) SWIG_fail;
26496 swig_obj[0] = args;
26497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26498 if (!SWIG_IsOK(res1)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26500 }
26501 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 {
26509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26510 }
26511 return resultobj;
26512 fail:
26513 return NULL;
26514 }
26515
26516
26517 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26518 PyObject *resultobj = 0;
26519 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26520 bool result;
26521 void *argp1 = 0 ;
26522 int res1 = 0 ;
26523 PyObject *swig_obj[1] ;
26524
26525 if (!args) SWIG_fail;
26526 swig_obj[0] = args;
26527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26528 if (!SWIG_IsOK(res1)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26530 }
26531 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 {
26539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26540 }
26541 return resultobj;
26542 fail:
26543 return NULL;
26544 }
26545
26546
26547 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj = 0;
26549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26550 int arg2 ;
26551 void *argp1 = 0 ;
26552 int res1 = 0 ;
26553 int val2 ;
26554 int ecode2 = 0 ;
26555 PyObject * obj0 = 0 ;
26556 PyObject * obj1 = 0 ;
26557 char * kwnames[] = {
26558 (char *) "self",(char *) "v", NULL
26559 };
26560
26561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26563 if (!SWIG_IsOK(res1)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26565 }
26566 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26567 ecode2 = SWIG_AsVal_int(obj1, &val2);
26568 if (!SWIG_IsOK(ecode2)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26570 }
26571 arg2 = static_cast< int >(val2);
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->SetFromPage(arg2);
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
26578 resultobj = SWIG_Py_Void();
26579 return resultobj;
26580 fail:
26581 return NULL;
26582 }
26583
26584
26585 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj = 0;
26587 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26588 int arg2 ;
26589 void *argp1 = 0 ;
26590 int res1 = 0 ;
26591 int val2 ;
26592 int ecode2 = 0 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char * kwnames[] = {
26596 (char *) "self",(char *) "v", NULL
26597 };
26598
26599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 }
26604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26605 ecode2 = SWIG_AsVal_int(obj1, &val2);
26606 if (!SWIG_IsOK(ecode2)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26608 }
26609 arg2 = static_cast< int >(val2);
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 (arg1)->SetToPage(arg2);
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_Py_Void();
26617 return resultobj;
26618 fail:
26619 return NULL;
26620 }
26621
26622
26623 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj = 0;
26625 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26626 int arg2 ;
26627 void *argp1 = 0 ;
26628 int res1 = 0 ;
26629 int val2 ;
26630 int ecode2 = 0 ;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 char * kwnames[] = {
26634 (char *) "self",(char *) "v", NULL
26635 };
26636
26637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26639 if (!SWIG_IsOK(res1)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26641 }
26642 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26643 ecode2 = SWIG_AsVal_int(obj1, &val2);
26644 if (!SWIG_IsOK(ecode2)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26646 }
26647 arg2 = static_cast< int >(val2);
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->SetMinPage(arg2);
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_Py_Void();
26655 return resultobj;
26656 fail:
26657 return NULL;
26658 }
26659
26660
26661 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26662 PyObject *resultobj = 0;
26663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26664 int arg2 ;
26665 void *argp1 = 0 ;
26666 int res1 = 0 ;
26667 int val2 ;
26668 int ecode2 = 0 ;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 char * kwnames[] = {
26672 (char *) "self",(char *) "v", NULL
26673 };
26674
26675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26677 if (!SWIG_IsOK(res1)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26679 }
26680 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26681 ecode2 = SWIG_AsVal_int(obj1, &val2);
26682 if (!SWIG_IsOK(ecode2)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26684 }
26685 arg2 = static_cast< int >(val2);
26686 {
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 (arg1)->SetMaxPage(arg2);
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 resultobj = SWIG_Py_Void();
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj = 0;
26701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26702 int arg2 ;
26703 void *argp1 = 0 ;
26704 int res1 = 0 ;
26705 int val2 ;
26706 int ecode2 = 0 ;
26707 PyObject * obj0 = 0 ;
26708 PyObject * obj1 = 0 ;
26709 char * kwnames[] = {
26710 (char *) "self",(char *) "v", NULL
26711 };
26712
26713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26715 if (!SWIG_IsOK(res1)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26717 }
26718 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26719 ecode2 = SWIG_AsVal_int(obj1, &val2);
26720 if (!SWIG_IsOK(ecode2)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26722 }
26723 arg2 = static_cast< int >(val2);
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 (arg1)->SetNoCopies(arg2);
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 resultobj = SWIG_Py_Void();
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj = 0;
26739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26740 bool arg2 ;
26741 void *argp1 = 0 ;
26742 int res1 = 0 ;
26743 bool val2 ;
26744 int ecode2 = 0 ;
26745 PyObject * obj0 = 0 ;
26746 PyObject * obj1 = 0 ;
26747 char * kwnames[] = {
26748 (char *) "self",(char *) "flag", NULL
26749 };
26750
26751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26753 if (!SWIG_IsOK(res1)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26755 }
26756 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26757 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26758 if (!SWIG_IsOK(ecode2)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26760 }
26761 arg2 = static_cast< bool >(val2);
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 (arg1)->SetAllPages(arg2);
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 resultobj = SWIG_Py_Void();
26769 return resultobj;
26770 fail:
26771 return NULL;
26772 }
26773
26774
26775 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj = 0;
26777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26778 bool arg2 ;
26779 void *argp1 = 0 ;
26780 int res1 = 0 ;
26781 bool val2 ;
26782 int ecode2 = 0 ;
26783 PyObject * obj0 = 0 ;
26784 PyObject * obj1 = 0 ;
26785 char * kwnames[] = {
26786 (char *) "self",(char *) "flag", NULL
26787 };
26788
26789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26791 if (!SWIG_IsOK(res1)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26793 }
26794 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26796 if (!SWIG_IsOK(ecode2)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26798 }
26799 arg2 = static_cast< bool >(val2);
26800 {
26801 PyThreadState* __tstate = wxPyBeginAllowThreads();
26802 (arg1)->SetSelection(arg2);
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 resultobj = SWIG_Py_Void();
26807 return resultobj;
26808 fail:
26809 return NULL;
26810 }
26811
26812
26813 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj = 0;
26815 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26816 bool arg2 ;
26817 void *argp1 = 0 ;
26818 int res1 = 0 ;
26819 bool val2 ;
26820 int ecode2 = 0 ;
26821 PyObject * obj0 = 0 ;
26822 PyObject * obj1 = 0 ;
26823 char * kwnames[] = {
26824 (char *) "self",(char *) "flag", NULL
26825 };
26826
26827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26829 if (!SWIG_IsOK(res1)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26831 }
26832 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26833 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26834 if (!SWIG_IsOK(ecode2)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26836 }
26837 arg2 = static_cast< bool >(val2);
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 (arg1)->SetCollate(arg2);
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 resultobj = SWIG_Py_Void();
26845 return resultobj;
26846 fail:
26847 return NULL;
26848 }
26849
26850
26851 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26852 PyObject *resultobj = 0;
26853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26854 bool arg2 ;
26855 void *argp1 = 0 ;
26856 int res1 = 0 ;
26857 bool val2 ;
26858 int ecode2 = 0 ;
26859 PyObject * obj0 = 0 ;
26860 PyObject * obj1 = 0 ;
26861 char * kwnames[] = {
26862 (char *) "self",(char *) "flag", NULL
26863 };
26864
26865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26867 if (!SWIG_IsOK(res1)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26869 }
26870 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26871 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26872 if (!SWIG_IsOK(ecode2)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26874 }
26875 arg2 = static_cast< bool >(val2);
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 (arg1)->SetPrintToFile(arg2);
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 resultobj = SWIG_Py_Void();
26883 return resultobj;
26884 fail:
26885 return NULL;
26886 }
26887
26888
26889 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26890 PyObject *resultobj = 0;
26891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26892 bool arg2 ;
26893 void *argp1 = 0 ;
26894 int res1 = 0 ;
26895 bool val2 ;
26896 int ecode2 = 0 ;
26897 PyObject * obj0 = 0 ;
26898 PyObject * obj1 = 0 ;
26899 char * kwnames[] = {
26900 (char *) "self",(char *) "flag", NULL
26901 };
26902
26903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26905 if (!SWIG_IsOK(res1)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26907 }
26908 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26909 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26910 if (!SWIG_IsOK(ecode2)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26912 }
26913 arg2 = static_cast< bool >(val2);
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 (arg1)->EnablePrintToFile(arg2);
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 resultobj = SWIG_Py_Void();
26921 return resultobj;
26922 fail:
26923 return NULL;
26924 }
26925
26926
26927 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26928 PyObject *resultobj = 0;
26929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26930 bool arg2 ;
26931 void *argp1 = 0 ;
26932 int res1 = 0 ;
26933 bool val2 ;
26934 int ecode2 = 0 ;
26935 PyObject * obj0 = 0 ;
26936 PyObject * obj1 = 0 ;
26937 char * kwnames[] = {
26938 (char *) "self",(char *) "flag", NULL
26939 };
26940
26941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26943 if (!SWIG_IsOK(res1)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26945 }
26946 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26948 if (!SWIG_IsOK(ecode2)) {
26949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26950 }
26951 arg2 = static_cast< bool >(val2);
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->EnableSelection(arg2);
26955 wxPyEndAllowThreads(__tstate);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 resultobj = SWIG_Py_Void();
26959 return resultobj;
26960 fail:
26961 return NULL;
26962 }
26963
26964
26965 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26966 PyObject *resultobj = 0;
26967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26968 bool arg2 ;
26969 void *argp1 = 0 ;
26970 int res1 = 0 ;
26971 bool val2 ;
26972 int ecode2 = 0 ;
26973 PyObject * obj0 = 0 ;
26974 PyObject * obj1 = 0 ;
26975 char * kwnames[] = {
26976 (char *) "self",(char *) "flag", NULL
26977 };
26978
26979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26981 if (!SWIG_IsOK(res1)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26983 }
26984 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26985 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26986 if (!SWIG_IsOK(ecode2)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26988 }
26989 arg2 = static_cast< bool >(val2);
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 (arg1)->EnablePageNumbers(arg2);
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 resultobj = SWIG_Py_Void();
26997 return resultobj;
26998 fail:
26999 return NULL;
27000 }
27001
27002
27003 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27004 PyObject *resultobj = 0;
27005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27006 bool arg2 ;
27007 void *argp1 = 0 ;
27008 int res1 = 0 ;
27009 bool val2 ;
27010 int ecode2 = 0 ;
27011 PyObject * obj0 = 0 ;
27012 PyObject * obj1 = 0 ;
27013 char * kwnames[] = {
27014 (char *) "self",(char *) "flag", NULL
27015 };
27016
27017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27019 if (!SWIG_IsOK(res1)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27021 }
27022 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27023 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27024 if (!SWIG_IsOK(ecode2)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27026 }
27027 arg2 = static_cast< bool >(val2);
27028 {
27029 PyThreadState* __tstate = wxPyBeginAllowThreads();
27030 (arg1)->EnableHelp(arg2);
27031 wxPyEndAllowThreads(__tstate);
27032 if (PyErr_Occurred()) SWIG_fail;
27033 }
27034 resultobj = SWIG_Py_Void();
27035 return resultobj;
27036 fail:
27037 return NULL;
27038 }
27039
27040
27041 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27042 PyObject *resultobj = 0;
27043 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27044 bool result;
27045 void *argp1 = 0 ;
27046 int res1 = 0 ;
27047 PyObject *swig_obj[1] ;
27048
27049 if (!args) SWIG_fail;
27050 swig_obj[0] = args;
27051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27052 if (!SWIG_IsOK(res1)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27054 }
27055 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 {
27063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27064 }
27065 return resultobj;
27066 fail:
27067 return NULL;
27068 }
27069
27070
27071 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27072 PyObject *resultobj = 0;
27073 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27074 bool result;
27075 void *argp1 = 0 ;
27076 int res1 = 0 ;
27077 PyObject *swig_obj[1] ;
27078
27079 if (!args) SWIG_fail;
27080 swig_obj[0] = args;
27081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27082 if (!SWIG_IsOK(res1)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27084 }
27085 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27086 {
27087 PyThreadState* __tstate = wxPyBeginAllowThreads();
27088 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 {
27093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27094 }
27095 return resultobj;
27096 fail:
27097 return NULL;
27098 }
27099
27100
27101 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27102 PyObject *resultobj = 0;
27103 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27104 bool result;
27105 void *argp1 = 0 ;
27106 int res1 = 0 ;
27107 PyObject *swig_obj[1] ;
27108
27109 if (!args) SWIG_fail;
27110 swig_obj[0] = args;
27111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27112 if (!SWIG_IsOK(res1)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27114 }
27115 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 {
27123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27124 }
27125 return resultobj;
27126 fail:
27127 return NULL;
27128 }
27129
27130
27131 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27132 PyObject *resultobj = 0;
27133 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27134 bool result;
27135 void *argp1 = 0 ;
27136 int res1 = 0 ;
27137 PyObject *swig_obj[1] ;
27138
27139 if (!args) SWIG_fail;
27140 swig_obj[0] = args;
27141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27142 if (!SWIG_IsOK(res1)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27144 }
27145 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 {
27153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27154 }
27155 return resultobj;
27156 fail:
27157 return NULL;
27158 }
27159
27160
27161 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27162 PyObject *resultobj = 0;
27163 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27164 bool result;
27165 void *argp1 = 0 ;
27166 int res1 = 0 ;
27167 PyObject *swig_obj[1] ;
27168
27169 if (!args) SWIG_fail;
27170 swig_obj[0] = args;
27171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27172 if (!SWIG_IsOK(res1)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27174 }
27175 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27179 wxPyEndAllowThreads(__tstate);
27180 if (PyErr_Occurred()) SWIG_fail;
27181 }
27182 {
27183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27184 }
27185 return resultobj;
27186 fail:
27187 return NULL;
27188 }
27189
27190
27191 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27192 PyObject *resultobj = 0;
27193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27194 wxPrintData *result = 0 ;
27195 void *argp1 = 0 ;
27196 int res1 = 0 ;
27197 PyObject *swig_obj[1] ;
27198
27199 if (!args) SWIG_fail;
27200 swig_obj[0] = args;
27201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27202 if (!SWIG_IsOK(res1)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27204 }
27205 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27206 {
27207 PyThreadState* __tstate = wxPyBeginAllowThreads();
27208 {
27209 wxPrintData &_result_ref = (arg1)->GetPrintData();
27210 result = (wxPrintData *) &_result_ref;
27211 }
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27216 return resultobj;
27217 fail:
27218 return NULL;
27219 }
27220
27221
27222 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27223 PyObject *resultobj = 0;
27224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27225 wxPrintData *arg2 = 0 ;
27226 void *argp1 = 0 ;
27227 int res1 = 0 ;
27228 void *argp2 = 0 ;
27229 int res2 = 0 ;
27230 PyObject * obj0 = 0 ;
27231 PyObject * obj1 = 0 ;
27232 char * kwnames[] = {
27233 (char *) "self",(char *) "printData", NULL
27234 };
27235
27236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27240 }
27241 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27243 if (!SWIG_IsOK(res2)) {
27244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27245 }
27246 if (!argp2) {
27247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27248 }
27249 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 resultobj = SWIG_Py_Void();
27257 return resultobj;
27258 fail:
27259 return NULL;
27260 }
27261
27262
27263 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27264 PyObject *obj;
27265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27267 return SWIG_Py_Void();
27268 }
27269
27270 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27271 return SWIG_Python_InitShadowInstance(args);
27272 }
27273
27274 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj = 0;
27276 wxWindow *arg1 = (wxWindow *) 0 ;
27277 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27278 wxPrintDialog *result = 0 ;
27279 void *argp1 = 0 ;
27280 int res1 = 0 ;
27281 void *argp2 = 0 ;
27282 int res2 = 0 ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 char * kwnames[] = {
27286 (char *) "parent",(char *) "data", NULL
27287 };
27288
27289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27291 if (!SWIG_IsOK(res1)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27293 }
27294 arg1 = reinterpret_cast< wxWindow * >(argp1);
27295 if (obj1) {
27296 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27297 if (!SWIG_IsOK(res2)) {
27298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27299 }
27300 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27301 }
27302 {
27303 if (!wxPyCheckForApp()) SWIG_fail;
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27317 PyObject *resultobj = 0;
27318 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27319 void *argp1 = 0 ;
27320 int res1 = 0 ;
27321 PyObject *swig_obj[1] ;
27322
27323 if (!args) SWIG_fail;
27324 swig_obj[0] = args;
27325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27326 if (!SWIG_IsOK(res1)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27328 }
27329 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 delete arg1;
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 resultobj = SWIG_Py_Void();
27338 return resultobj;
27339 fail:
27340 return NULL;
27341 }
27342
27343
27344 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27345 PyObject *resultobj = 0;
27346 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27347 int result;
27348 void *argp1 = 0 ;
27349 int res1 = 0 ;
27350 PyObject *swig_obj[1] ;
27351
27352 if (!args) SWIG_fail;
27353 swig_obj[0] = args;
27354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27355 if (!SWIG_IsOK(res1)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27357 }
27358 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27359 {
27360 PyThreadState* __tstate = wxPyBeginAllowThreads();
27361 result = (int)(arg1)->ShowModal();
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 resultobj = SWIG_From_int(static_cast< int >(result));
27366 return resultobj;
27367 fail:
27368 return NULL;
27369 }
27370
27371
27372 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27373 PyObject *resultobj = 0;
27374 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27375 wxPrintDialogData *result = 0 ;
27376 void *argp1 = 0 ;
27377 int res1 = 0 ;
27378 PyObject *swig_obj[1] ;
27379
27380 if (!args) SWIG_fail;
27381 swig_obj[0] = args;
27382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27383 if (!SWIG_IsOK(res1)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27385 }
27386 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 {
27390 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27391 result = (wxPrintDialogData *) &_result_ref;
27392 }
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27397 return resultobj;
27398 fail:
27399 return NULL;
27400 }
27401
27402
27403 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27404 PyObject *resultobj = 0;
27405 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27406 wxPrintData *result = 0 ;
27407 void *argp1 = 0 ;
27408 int res1 = 0 ;
27409 PyObject *swig_obj[1] ;
27410
27411 if (!args) SWIG_fail;
27412 swig_obj[0] = args;
27413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27416 }
27417 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 {
27421 wxPrintData &_result_ref = (arg1)->GetPrintData();
27422 result = (wxPrintData *) &_result_ref;
27423 }
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27428 return resultobj;
27429 fail:
27430 return NULL;
27431 }
27432
27433
27434 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27435 PyObject *resultobj = 0;
27436 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27437 wxDC *result = 0 ;
27438 void *argp1 = 0 ;
27439 int res1 = 0 ;
27440 PyObject *swig_obj[1] ;
27441
27442 if (!args) SWIG_fail;
27443 swig_obj[0] = args;
27444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27445 if (!SWIG_IsOK(res1)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27447 }
27448 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (wxDC *)(arg1)->GetPrintDC();
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 {
27456 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27457 }
27458 return resultobj;
27459 fail:
27460 return NULL;
27461 }
27462
27463
27464 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27465 PyObject *obj;
27466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27467 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27468 return SWIG_Py_Void();
27469 }
27470
27471 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27472 return SWIG_Python_InitShadowInstance(args);
27473 }
27474
27475 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27476 PyObject *resultobj = 0;
27477 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27478 wxPrinter *result = 0 ;
27479 void *argp1 = 0 ;
27480 int res1 = 0 ;
27481 PyObject * obj0 = 0 ;
27482 char * kwnames[] = {
27483 (char *) "data", NULL
27484 };
27485
27486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27487 if (obj0) {
27488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27489 if (!SWIG_IsOK(res1)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27491 }
27492 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27493 }
27494 {
27495 if (!wxPyCheckForApp()) SWIG_fail;
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = (wxPrinter *)new wxPrinter(arg1);
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27502 return resultobj;
27503 fail:
27504 return NULL;
27505 }
27506
27507
27508 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27509 PyObject *resultobj = 0;
27510 wxPrinter *arg1 = (wxPrinter *) 0 ;
27511 void *argp1 = 0 ;
27512 int res1 = 0 ;
27513 PyObject *swig_obj[1] ;
27514
27515 if (!args) SWIG_fail;
27516 swig_obj[0] = args;
27517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27518 if (!SWIG_IsOK(res1)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27520 }
27521 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27522 {
27523 PyThreadState* __tstate = wxPyBeginAllowThreads();
27524 delete arg1;
27525
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 resultobj = SWIG_Py_Void();
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27537 PyObject *resultobj = 0;
27538 wxPrinter *arg1 = (wxPrinter *) 0 ;
27539 wxWindow *arg2 = (wxWindow *) 0 ;
27540 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27541 wxWindow *result = 0 ;
27542 void *argp1 = 0 ;
27543 int res1 = 0 ;
27544 void *argp2 = 0 ;
27545 int res2 = 0 ;
27546 void *argp3 = 0 ;
27547 int res3 = 0 ;
27548 PyObject * obj0 = 0 ;
27549 PyObject * obj1 = 0 ;
27550 PyObject * obj2 = 0 ;
27551 char * kwnames[] = {
27552 (char *) "self",(char *) "parent",(char *) "printout", NULL
27553 };
27554
27555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27557 if (!SWIG_IsOK(res1)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27559 }
27560 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27561 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27562 if (!SWIG_IsOK(res2)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27564 }
27565 arg2 = reinterpret_cast< wxWindow * >(argp2);
27566 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27567 if (!SWIG_IsOK(res3)) {
27568 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27569 }
27570 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 {
27578 resultobj = wxPyMake_wxObject(result, 0);
27579 }
27580 return resultobj;
27581 fail:
27582 return NULL;
27583 }
27584
27585
27586 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27587 PyObject *resultobj = 0;
27588 wxPrinter *arg1 = (wxPrinter *) 0 ;
27589 wxWindow *arg2 = (wxWindow *) 0 ;
27590 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27591 wxString *arg4 = 0 ;
27592 void *argp1 = 0 ;
27593 int res1 = 0 ;
27594 void *argp2 = 0 ;
27595 int res2 = 0 ;
27596 void *argp3 = 0 ;
27597 int res3 = 0 ;
27598 bool temp4 = false ;
27599 PyObject * obj0 = 0 ;
27600 PyObject * obj1 = 0 ;
27601 PyObject * obj2 = 0 ;
27602 PyObject * obj3 = 0 ;
27603 char * kwnames[] = {
27604 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27605 };
27606
27607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27609 if (!SWIG_IsOK(res1)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27611 }
27612 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27614 if (!SWIG_IsOK(res2)) {
27615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27616 }
27617 arg2 = reinterpret_cast< wxWindow * >(argp2);
27618 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27619 if (!SWIG_IsOK(res3)) {
27620 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27621 }
27622 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27623 {
27624 arg4 = wxString_in_helper(obj3);
27625 if (arg4 == NULL) SWIG_fail;
27626 temp4 = true;
27627 }
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 resultobj = SWIG_Py_Void();
27635 {
27636 if (temp4)
27637 delete arg4;
27638 }
27639 return resultobj;
27640 fail:
27641 {
27642 if (temp4)
27643 delete arg4;
27644 }
27645 return NULL;
27646 }
27647
27648
27649 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj = 0;
27651 wxPrinter *arg1 = (wxPrinter *) 0 ;
27652 wxWindow *arg2 = (wxWindow *) 0 ;
27653 bool result;
27654 void *argp1 = 0 ;
27655 int res1 = 0 ;
27656 void *argp2 = 0 ;
27657 int res2 = 0 ;
27658 PyObject * obj0 = 0 ;
27659 PyObject * obj1 = 0 ;
27660 char * kwnames[] = {
27661 (char *) "self",(char *) "parent", NULL
27662 };
27663
27664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27666 if (!SWIG_IsOK(res1)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27668 }
27669 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27670 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27671 if (!SWIG_IsOK(res2)) {
27672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27673 }
27674 arg2 = reinterpret_cast< wxWindow * >(argp2);
27675 {
27676 PyThreadState* __tstate = wxPyBeginAllowThreads();
27677 result = (bool)(arg1)->Setup(arg2);
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 {
27682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27683 }
27684 return resultobj;
27685 fail:
27686 return NULL;
27687 }
27688
27689
27690 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27691 PyObject *resultobj = 0;
27692 wxPrinter *arg1 = (wxPrinter *) 0 ;
27693 wxWindow *arg2 = (wxWindow *) 0 ;
27694 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27695 bool arg4 = (bool) true ;
27696 bool result;
27697 void *argp1 = 0 ;
27698 int res1 = 0 ;
27699 void *argp2 = 0 ;
27700 int res2 = 0 ;
27701 void *argp3 = 0 ;
27702 int res3 = 0 ;
27703 bool val4 ;
27704 int ecode4 = 0 ;
27705 PyObject * obj0 = 0 ;
27706 PyObject * obj1 = 0 ;
27707 PyObject * obj2 = 0 ;
27708 PyObject * obj3 = 0 ;
27709 char * kwnames[] = {
27710 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27711 };
27712
27713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27715 if (!SWIG_IsOK(res1)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27717 }
27718 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27720 if (!SWIG_IsOK(res2)) {
27721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27722 }
27723 arg2 = reinterpret_cast< wxWindow * >(argp2);
27724 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27725 if (!SWIG_IsOK(res3)) {
27726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27727 }
27728 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27729 if (obj3) {
27730 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27731 if (!SWIG_IsOK(ecode4)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27733 }
27734 arg4 = static_cast< bool >(val4);
27735 }
27736 {
27737 PyThreadState* __tstate = wxPyBeginAllowThreads();
27738 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27739 wxPyEndAllowThreads(__tstate);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 }
27742 {
27743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27744 }
27745 return resultobj;
27746 fail:
27747 return NULL;
27748 }
27749
27750
27751 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj = 0;
27753 wxPrinter *arg1 = (wxPrinter *) 0 ;
27754 wxWindow *arg2 = (wxWindow *) 0 ;
27755 wxDC *result = 0 ;
27756 void *argp1 = 0 ;
27757 int res1 = 0 ;
27758 void *argp2 = 0 ;
27759 int res2 = 0 ;
27760 PyObject * obj0 = 0 ;
27761 PyObject * obj1 = 0 ;
27762 char * kwnames[] = {
27763 (char *) "self",(char *) "parent", NULL
27764 };
27765
27766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27768 if (!SWIG_IsOK(res1)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27770 }
27771 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27773 if (!SWIG_IsOK(res2)) {
27774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27775 }
27776 arg2 = reinterpret_cast< wxWindow * >(argp2);
27777 {
27778 PyThreadState* __tstate = wxPyBeginAllowThreads();
27779 result = (wxDC *)(arg1)->PrintDialog(arg2);
27780 wxPyEndAllowThreads(__tstate);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 }
27783 {
27784 resultobj = wxPyMake_wxObject(result, (bool)0);
27785 }
27786 return resultobj;
27787 fail:
27788 return NULL;
27789 }
27790
27791
27792 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27793 PyObject *resultobj = 0;
27794 wxPrinter *arg1 = (wxPrinter *) 0 ;
27795 wxPrintDialogData *result = 0 ;
27796 void *argp1 = 0 ;
27797 int res1 = 0 ;
27798 PyObject *swig_obj[1] ;
27799
27800 if (!args) SWIG_fail;
27801 swig_obj[0] = args;
27802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27803 if (!SWIG_IsOK(res1)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27805 }
27806 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27807 {
27808 PyThreadState* __tstate = wxPyBeginAllowThreads();
27809 {
27810 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27811 result = (wxPrintDialogData *) &_result_ref;
27812 }
27813 wxPyEndAllowThreads(__tstate);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27817 return resultobj;
27818 fail:
27819 return NULL;
27820 }
27821
27822
27823 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27824 PyObject *resultobj = 0;
27825 wxPrinter *arg1 = (wxPrinter *) 0 ;
27826 bool result;
27827 void *argp1 = 0 ;
27828 int res1 = 0 ;
27829 PyObject *swig_obj[1] ;
27830
27831 if (!args) SWIG_fail;
27832 swig_obj[0] = args;
27833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27834 if (!SWIG_IsOK(res1)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27836 }
27837 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27838 {
27839 PyThreadState* __tstate = wxPyBeginAllowThreads();
27840 result = (bool)(arg1)->GetAbort();
27841 wxPyEndAllowThreads(__tstate);
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 {
27845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27846 }
27847 return resultobj;
27848 fail:
27849 return NULL;
27850 }
27851
27852
27853 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27854 PyObject *resultobj = 0;
27855 wxPrinterError result;
27856
27857 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 result = (wxPrinterError)wxPrinter::GetLastError();
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 resultobj = SWIG_From_int(static_cast< int >(result));
27865 return resultobj;
27866 fail:
27867 return NULL;
27868 }
27869
27870
27871 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27872 PyObject *obj;
27873 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27874 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27875 return SWIG_Py_Void();
27876 }
27877
27878 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27879 return SWIG_Python_InitShadowInstance(args);
27880 }
27881
27882 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj = 0;
27884 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27885 wxString *arg1 = (wxString *) &arg1_defvalue ;
27886 wxPyPrintout *result = 0 ;
27887 bool temp1 = false ;
27888 PyObject * obj0 = 0 ;
27889 char * kwnames[] = {
27890 (char *) "title", NULL
27891 };
27892
27893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27894 if (obj0) {
27895 {
27896 arg1 = wxString_in_helper(obj0);
27897 if (arg1 == NULL) SWIG_fail;
27898 temp1 = true;
27899 }
27900 }
27901 {
27902 if (!wxPyCheckForApp()) SWIG_fail;
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27909 {
27910 if (temp1)
27911 delete arg1;
27912 }
27913 return resultobj;
27914 fail:
27915 {
27916 if (temp1)
27917 delete arg1;
27918 }
27919 return NULL;
27920 }
27921
27922
27923 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27924 PyObject *resultobj = 0;
27925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27926 void *argp1 = 0 ;
27927 int res1 = 0 ;
27928 PyObject *swig_obj[1] ;
27929
27930 if (!args) SWIG_fail;
27931 swig_obj[0] = args;
27932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27933 if (!SWIG_IsOK(res1)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27935 }
27936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27937 {
27938 PyThreadState* __tstate = wxPyBeginAllowThreads();
27939 delete arg1;
27940
27941 wxPyEndAllowThreads(__tstate);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 }
27944 resultobj = SWIG_Py_Void();
27945 return resultobj;
27946 fail:
27947 return NULL;
27948 }
27949
27950
27951 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj = 0;
27953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27954 PyObject *arg2 = (PyObject *) 0 ;
27955 PyObject *arg3 = (PyObject *) 0 ;
27956 void *argp1 = 0 ;
27957 int res1 = 0 ;
27958 PyObject * obj0 = 0 ;
27959 PyObject * obj1 = 0 ;
27960 PyObject * obj2 = 0 ;
27961 char * kwnames[] = {
27962 (char *) "self",(char *) "self",(char *) "_class", NULL
27963 };
27964
27965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27967 if (!SWIG_IsOK(res1)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27969 }
27970 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27971 arg2 = obj1;
27972 arg3 = obj2;
27973 {
27974 PyThreadState* __tstate = wxPyBeginAllowThreads();
27975 (arg1)->_setCallbackInfo(arg2,arg3);
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 resultobj = SWIG_Py_Void();
27980 return resultobj;
27981 fail:
27982 return NULL;
27983 }
27984
27985
27986 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27987 PyObject *resultobj = 0;
27988 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27989 wxString result;
27990 void *argp1 = 0 ;
27991 int res1 = 0 ;
27992 PyObject *swig_obj[1] ;
27993
27994 if (!args) SWIG_fail;
27995 swig_obj[0] = args;
27996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27997 if (!SWIG_IsOK(res1)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27999 }
28000 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 result = ((wxPyPrintout const *)arg1)->GetTitle();
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 {
28008 #if wxUSE_UNICODE
28009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28010 #else
28011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28012 #endif
28013 }
28014 return resultobj;
28015 fail:
28016 return NULL;
28017 }
28018
28019
28020 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28021 PyObject *resultobj = 0;
28022 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28023 wxDC *result = 0 ;
28024 void *argp1 = 0 ;
28025 int res1 = 0 ;
28026 PyObject *swig_obj[1] ;
28027
28028 if (!args) SWIG_fail;
28029 swig_obj[0] = args;
28030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28031 if (!SWIG_IsOK(res1)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28033 }
28034 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 result = (wxDC *)(arg1)->GetDC();
28038 wxPyEndAllowThreads(__tstate);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
28041 {
28042 resultobj = wxPyMake_wxObject(result, (bool)0);
28043 }
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj = 0;
28052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28053 wxDC *arg2 = (wxDC *) 0 ;
28054 void *argp1 = 0 ;
28055 int res1 = 0 ;
28056 void *argp2 = 0 ;
28057 int res2 = 0 ;
28058 PyObject * obj0 = 0 ;
28059 PyObject * obj1 = 0 ;
28060 char * kwnames[] = {
28061 (char *) "self",(char *) "dc", NULL
28062 };
28063
28064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28066 if (!SWIG_IsOK(res1)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28068 }
28069 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28071 if (!SWIG_IsOK(res2)) {
28072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28073 }
28074 arg2 = reinterpret_cast< wxDC * >(argp2);
28075 {
28076 PyThreadState* __tstate = wxPyBeginAllowThreads();
28077 (arg1)->SetDC(arg2);
28078 wxPyEndAllowThreads(__tstate);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
28081 resultobj = SWIG_Py_Void();
28082 return resultobj;
28083 fail:
28084 return NULL;
28085 }
28086
28087
28088 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj = 0;
28090 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28091 int arg2 ;
28092 int arg3 ;
28093 void *argp1 = 0 ;
28094 int res1 = 0 ;
28095 int val2 ;
28096 int ecode2 = 0 ;
28097 int val3 ;
28098 int ecode3 = 0 ;
28099 PyObject * obj0 = 0 ;
28100 PyObject * obj1 = 0 ;
28101 PyObject * obj2 = 0 ;
28102 char * kwnames[] = {
28103 (char *) "self",(char *) "w",(char *) "h", NULL
28104 };
28105
28106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28112 ecode2 = SWIG_AsVal_int(obj1, &val2);
28113 if (!SWIG_IsOK(ecode2)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28115 }
28116 arg2 = static_cast< int >(val2);
28117 ecode3 = SWIG_AsVal_int(obj2, &val3);
28118 if (!SWIG_IsOK(ecode3)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28120 }
28121 arg3 = static_cast< int >(val3);
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 (arg1)->SetPageSizePixels(arg2,arg3);
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 resultobj = SWIG_Py_Void();
28129 return resultobj;
28130 fail:
28131 return NULL;
28132 }
28133
28134
28135 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28136 PyObject *resultobj = 0;
28137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28138 int *arg2 = (int *) 0 ;
28139 int *arg3 = (int *) 0 ;
28140 void *argp1 = 0 ;
28141 int res1 = 0 ;
28142 int temp2 ;
28143 int res2 = SWIG_TMPOBJ ;
28144 int temp3 ;
28145 int res3 = SWIG_TMPOBJ ;
28146 PyObject *swig_obj[1] ;
28147
28148 arg2 = &temp2;
28149 arg3 = &temp3;
28150 if (!args) SWIG_fail;
28151 swig_obj[0] = args;
28152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28153 if (!SWIG_IsOK(res1)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28155 }
28156 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 (arg1)->GetPageSizePixels(arg2,arg3);
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
28163 resultobj = SWIG_Py_Void();
28164 if (SWIG_IsTmpObj(res2)) {
28165 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28166 } else {
28167 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28168 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28169 }
28170 if (SWIG_IsTmpObj(res3)) {
28171 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28172 } else {
28173 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28174 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28175 }
28176 return resultobj;
28177 fail:
28178 return NULL;
28179 }
28180
28181
28182 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28183 PyObject *resultobj = 0;
28184 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28185 int arg2 ;
28186 int arg3 ;
28187 void *argp1 = 0 ;
28188 int res1 = 0 ;
28189 int val2 ;
28190 int ecode2 = 0 ;
28191 int val3 ;
28192 int ecode3 = 0 ;
28193 PyObject * obj0 = 0 ;
28194 PyObject * obj1 = 0 ;
28195 PyObject * obj2 = 0 ;
28196 char * kwnames[] = {
28197 (char *) "self",(char *) "w",(char *) "h", NULL
28198 };
28199
28200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28202 if (!SWIG_IsOK(res1)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28204 }
28205 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28206 ecode2 = SWIG_AsVal_int(obj1, &val2);
28207 if (!SWIG_IsOK(ecode2)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28209 }
28210 arg2 = static_cast< int >(val2);
28211 ecode3 = SWIG_AsVal_int(obj2, &val3);
28212 if (!SWIG_IsOK(ecode3)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28214 }
28215 arg3 = static_cast< int >(val3);
28216 {
28217 PyThreadState* __tstate = wxPyBeginAllowThreads();
28218 (arg1)->SetPageSizeMM(arg2,arg3);
28219 wxPyEndAllowThreads(__tstate);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
28222 resultobj = SWIG_Py_Void();
28223 return resultobj;
28224 fail:
28225 return NULL;
28226 }
28227
28228
28229 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28230 PyObject *resultobj = 0;
28231 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28232 int *arg2 = (int *) 0 ;
28233 int *arg3 = (int *) 0 ;
28234 void *argp1 = 0 ;
28235 int res1 = 0 ;
28236 int temp2 ;
28237 int res2 = SWIG_TMPOBJ ;
28238 int temp3 ;
28239 int res3 = SWIG_TMPOBJ ;
28240 PyObject *swig_obj[1] ;
28241
28242 arg2 = &temp2;
28243 arg3 = &temp3;
28244 if (!args) SWIG_fail;
28245 swig_obj[0] = args;
28246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28247 if (!SWIG_IsOK(res1)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28249 }
28250 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->GetPageSizeMM(arg2,arg3);
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 resultobj = SWIG_Py_Void();
28258 if (SWIG_IsTmpObj(res2)) {
28259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28260 } else {
28261 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28263 }
28264 if (SWIG_IsTmpObj(res3)) {
28265 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28266 } else {
28267 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28269 }
28270 return resultobj;
28271 fail:
28272 return NULL;
28273 }
28274
28275
28276 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28277 PyObject *resultobj = 0;
28278 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28279 int arg2 ;
28280 int arg3 ;
28281 void *argp1 = 0 ;
28282 int res1 = 0 ;
28283 int val2 ;
28284 int ecode2 = 0 ;
28285 int val3 ;
28286 int ecode3 = 0 ;
28287 PyObject * obj0 = 0 ;
28288 PyObject * obj1 = 0 ;
28289 PyObject * obj2 = 0 ;
28290 char * kwnames[] = {
28291 (char *) "self",(char *) "x",(char *) "y", NULL
28292 };
28293
28294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28296 if (!SWIG_IsOK(res1)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28298 }
28299 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28300 ecode2 = SWIG_AsVal_int(obj1, &val2);
28301 if (!SWIG_IsOK(ecode2)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28303 }
28304 arg2 = static_cast< int >(val2);
28305 ecode3 = SWIG_AsVal_int(obj2, &val3);
28306 if (!SWIG_IsOK(ecode3)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28308 }
28309 arg3 = static_cast< int >(val3);
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 (arg1)->SetPPIScreen(arg2,arg3);
28313 wxPyEndAllowThreads(__tstate);
28314 if (PyErr_Occurred()) SWIG_fail;
28315 }
28316 resultobj = SWIG_Py_Void();
28317 return resultobj;
28318 fail:
28319 return NULL;
28320 }
28321
28322
28323 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28324 PyObject *resultobj = 0;
28325 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28326 int *arg2 = (int *) 0 ;
28327 int *arg3 = (int *) 0 ;
28328 void *argp1 = 0 ;
28329 int res1 = 0 ;
28330 int temp2 ;
28331 int res2 = SWIG_TMPOBJ ;
28332 int temp3 ;
28333 int res3 = SWIG_TMPOBJ ;
28334 PyObject *swig_obj[1] ;
28335
28336 arg2 = &temp2;
28337 arg3 = &temp3;
28338 if (!args) SWIG_fail;
28339 swig_obj[0] = args;
28340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28341 if (!SWIG_IsOK(res1)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28343 }
28344 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 (arg1)->GetPPIScreen(arg2,arg3);
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 resultobj = SWIG_Py_Void();
28352 if (SWIG_IsTmpObj(res2)) {
28353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28354 } else {
28355 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28357 }
28358 if (SWIG_IsTmpObj(res3)) {
28359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28360 } else {
28361 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28363 }
28364 return resultobj;
28365 fail:
28366 return NULL;
28367 }
28368
28369
28370 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28371 PyObject *resultobj = 0;
28372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28373 int arg2 ;
28374 int arg3 ;
28375 void *argp1 = 0 ;
28376 int res1 = 0 ;
28377 int val2 ;
28378 int ecode2 = 0 ;
28379 int val3 ;
28380 int ecode3 = 0 ;
28381 PyObject * obj0 = 0 ;
28382 PyObject * obj1 = 0 ;
28383 PyObject * obj2 = 0 ;
28384 char * kwnames[] = {
28385 (char *) "self",(char *) "x",(char *) "y", NULL
28386 };
28387
28388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28390 if (!SWIG_IsOK(res1)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28392 }
28393 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28394 ecode2 = SWIG_AsVal_int(obj1, &val2);
28395 if (!SWIG_IsOK(ecode2)) {
28396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28397 }
28398 arg2 = static_cast< int >(val2);
28399 ecode3 = SWIG_AsVal_int(obj2, &val3);
28400 if (!SWIG_IsOK(ecode3)) {
28401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28402 }
28403 arg3 = static_cast< int >(val3);
28404 {
28405 PyThreadState* __tstate = wxPyBeginAllowThreads();
28406 (arg1)->SetPPIPrinter(arg2,arg3);
28407 wxPyEndAllowThreads(__tstate);
28408 if (PyErr_Occurred()) SWIG_fail;
28409 }
28410 resultobj = SWIG_Py_Void();
28411 return resultobj;
28412 fail:
28413 return NULL;
28414 }
28415
28416
28417 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28418 PyObject *resultobj = 0;
28419 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28420 int *arg2 = (int *) 0 ;
28421 int *arg3 = (int *) 0 ;
28422 void *argp1 = 0 ;
28423 int res1 = 0 ;
28424 int temp2 ;
28425 int res2 = SWIG_TMPOBJ ;
28426 int temp3 ;
28427 int res3 = SWIG_TMPOBJ ;
28428 PyObject *swig_obj[1] ;
28429
28430 arg2 = &temp2;
28431 arg3 = &temp3;
28432 if (!args) SWIG_fail;
28433 swig_obj[0] = args;
28434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28435 if (!SWIG_IsOK(res1)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28437 }
28438 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 (arg1)->GetPPIPrinter(arg2,arg3);
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 resultobj = SWIG_Py_Void();
28446 if (SWIG_IsTmpObj(res2)) {
28447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28448 } else {
28449 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28451 }
28452 if (SWIG_IsTmpObj(res3)) {
28453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28454 } else {
28455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28457 }
28458 return resultobj;
28459 fail:
28460 return NULL;
28461 }
28462
28463
28464 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28465 PyObject *resultobj = 0;
28466 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28467 bool result;
28468 void *argp1 = 0 ;
28469 int res1 = 0 ;
28470 PyObject *swig_obj[1] ;
28471
28472 if (!args) SWIG_fail;
28473 swig_obj[0] = args;
28474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28475 if (!SWIG_IsOK(res1)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28477 }
28478 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28479 {
28480 PyThreadState* __tstate = wxPyBeginAllowThreads();
28481 result = (bool)(arg1)->IsPreview();
28482 wxPyEndAllowThreads(__tstate);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
28485 {
28486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28487 }
28488 return resultobj;
28489 fail:
28490 return NULL;
28491 }
28492
28493
28494 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28495 PyObject *resultobj = 0;
28496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28497 bool arg2 ;
28498 void *argp1 = 0 ;
28499 int res1 = 0 ;
28500 bool val2 ;
28501 int ecode2 = 0 ;
28502 PyObject * obj0 = 0 ;
28503 PyObject * obj1 = 0 ;
28504 char * kwnames[] = {
28505 (char *) "self",(char *) "p", NULL
28506 };
28507
28508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28510 if (!SWIG_IsOK(res1)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28512 }
28513 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28514 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28515 if (!SWIG_IsOK(ecode2)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28517 }
28518 arg2 = static_cast< bool >(val2);
28519 {
28520 PyThreadState* __tstate = wxPyBeginAllowThreads();
28521 (arg1)->SetIsPreview(arg2);
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 resultobj = SWIG_Py_Void();
28526 return resultobj;
28527 fail:
28528 return NULL;
28529 }
28530
28531
28532 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28533 PyObject *resultobj = 0;
28534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28535 int arg2 ;
28536 int arg3 ;
28537 bool result;
28538 void *argp1 = 0 ;
28539 int res1 = 0 ;
28540 int val2 ;
28541 int ecode2 = 0 ;
28542 int val3 ;
28543 int ecode3 = 0 ;
28544 PyObject * obj0 = 0 ;
28545 PyObject * obj1 = 0 ;
28546 PyObject * obj2 = 0 ;
28547 char * kwnames[] = {
28548 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28549 };
28550
28551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28553 if (!SWIG_IsOK(res1)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28555 }
28556 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28557 ecode2 = SWIG_AsVal_int(obj1, &val2);
28558 if (!SWIG_IsOK(ecode2)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28560 }
28561 arg2 = static_cast< int >(val2);
28562 ecode3 = SWIG_AsVal_int(obj2, &val3);
28563 if (!SWIG_IsOK(ecode3)) {
28564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28565 }
28566 arg3 = static_cast< int >(val3);
28567 {
28568 PyThreadState* __tstate = wxPyBeginAllowThreads();
28569 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 {
28574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28575 }
28576 return resultobj;
28577 fail:
28578 return NULL;
28579 }
28580
28581
28582 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28583 PyObject *resultobj = 0;
28584 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28585 void *argp1 = 0 ;
28586 int res1 = 0 ;
28587 PyObject *swig_obj[1] ;
28588
28589 if (!args) SWIG_fail;
28590 swig_obj[0] = args;
28591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28592 if (!SWIG_IsOK(res1)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28594 }
28595 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28596 {
28597 PyThreadState* __tstate = wxPyBeginAllowThreads();
28598 (arg1)->OnEndDocument();
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 resultobj = SWIG_Py_Void();
28603 return resultobj;
28604 fail:
28605 return NULL;
28606 }
28607
28608
28609 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28610 PyObject *resultobj = 0;
28611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28612 void *argp1 = 0 ;
28613 int res1 = 0 ;
28614 PyObject *swig_obj[1] ;
28615
28616 if (!args) SWIG_fail;
28617 swig_obj[0] = args;
28618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28619 if (!SWIG_IsOK(res1)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28621 }
28622 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28623 {
28624 PyThreadState* __tstate = wxPyBeginAllowThreads();
28625 (arg1)->OnBeginPrinting();
28626 wxPyEndAllowThreads(__tstate);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 }
28629 resultobj = SWIG_Py_Void();
28630 return resultobj;
28631 fail:
28632 return NULL;
28633 }
28634
28635
28636 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28637 PyObject *resultobj = 0;
28638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28639 void *argp1 = 0 ;
28640 int res1 = 0 ;
28641 PyObject *swig_obj[1] ;
28642
28643 if (!args) SWIG_fail;
28644 swig_obj[0] = args;
28645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28646 if (!SWIG_IsOK(res1)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28648 }
28649 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28650 {
28651 PyThreadState* __tstate = wxPyBeginAllowThreads();
28652 (arg1)->OnEndPrinting();
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 resultobj = SWIG_Py_Void();
28657 return resultobj;
28658 fail:
28659 return NULL;
28660 }
28661
28662
28663 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28664 PyObject *resultobj = 0;
28665 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28666 void *argp1 = 0 ;
28667 int res1 = 0 ;
28668 PyObject *swig_obj[1] ;
28669
28670 if (!args) SWIG_fail;
28671 swig_obj[0] = args;
28672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28673 if (!SWIG_IsOK(res1)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28675 }
28676 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 (arg1)->OnPreparePrinting();
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
28683 resultobj = SWIG_Py_Void();
28684 return resultobj;
28685 fail:
28686 return NULL;
28687 }
28688
28689
28690 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj = 0;
28692 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28693 int arg2 ;
28694 bool result;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 int val2 ;
28698 int ecode2 = 0 ;
28699 PyObject * obj0 = 0 ;
28700 PyObject * obj1 = 0 ;
28701 char * kwnames[] = {
28702 (char *) "self",(char *) "page", NULL
28703 };
28704
28705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28707 if (!SWIG_IsOK(res1)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28709 }
28710 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28711 ecode2 = SWIG_AsVal_int(obj1, &val2);
28712 if (!SWIG_IsOK(ecode2)) {
28713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28714 }
28715 arg2 = static_cast< int >(val2);
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = (bool)(arg1)->HasPage(arg2);
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 {
28723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28724 }
28725 return resultobj;
28726 fail:
28727 return NULL;
28728 }
28729
28730
28731 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28732 PyObject *resultobj = 0;
28733 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28734 int *arg2 = (int *) 0 ;
28735 int *arg3 = (int *) 0 ;
28736 int *arg4 = (int *) 0 ;
28737 int *arg5 = (int *) 0 ;
28738 void *argp1 = 0 ;
28739 int res1 = 0 ;
28740 int temp2 ;
28741 int res2 = SWIG_TMPOBJ ;
28742 int temp3 ;
28743 int res3 = SWIG_TMPOBJ ;
28744 int temp4 ;
28745 int res4 = SWIG_TMPOBJ ;
28746 int temp5 ;
28747 int res5 = SWIG_TMPOBJ ;
28748 PyObject *swig_obj[1] ;
28749
28750 arg2 = &temp2;
28751 arg3 = &temp3;
28752 arg4 = &temp4;
28753 arg5 = &temp5;
28754 if (!args) SWIG_fail;
28755 swig_obj[0] = args;
28756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28757 if (!SWIG_IsOK(res1)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28759 }
28760 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28761 {
28762 PyThreadState* __tstate = wxPyBeginAllowThreads();
28763 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28764 wxPyEndAllowThreads(__tstate);
28765 if (PyErr_Occurred()) SWIG_fail;
28766 }
28767 resultobj = SWIG_Py_Void();
28768 if (SWIG_IsTmpObj(res2)) {
28769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28770 } else {
28771 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28773 }
28774 if (SWIG_IsTmpObj(res3)) {
28775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28776 } else {
28777 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28779 }
28780 if (SWIG_IsTmpObj(res4)) {
28781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28782 } else {
28783 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28784 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28785 }
28786 if (SWIG_IsTmpObj(res5)) {
28787 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28788 } else {
28789 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28790 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28791 }
28792 return resultobj;
28793 fail:
28794 return NULL;
28795 }
28796
28797
28798 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28799 PyObject *obj;
28800 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28802 return SWIG_Py_Void();
28803 }
28804
28805 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28806 return SWIG_Python_InitShadowInstance(args);
28807 }
28808
28809 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28810 PyObject *resultobj = 0;
28811 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28812 wxWindow *arg2 = (wxWindow *) 0 ;
28813 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28814 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28815 wxSize const &arg4_defvalue = wxDefaultSize ;
28816 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28817 long arg5 = (long) 0 ;
28818 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28819 wxString *arg6 = (wxString *) &arg6_defvalue ;
28820 wxPreviewCanvas *result = 0 ;
28821 void *argp1 = 0 ;
28822 int res1 = 0 ;
28823 void *argp2 = 0 ;
28824 int res2 = 0 ;
28825 wxPoint temp3 ;
28826 wxSize temp4 ;
28827 long val5 ;
28828 int ecode5 = 0 ;
28829 bool temp6 = false ;
28830 PyObject * obj0 = 0 ;
28831 PyObject * obj1 = 0 ;
28832 PyObject * obj2 = 0 ;
28833 PyObject * obj3 = 0 ;
28834 PyObject * obj4 = 0 ;
28835 PyObject * obj5 = 0 ;
28836 char * kwnames[] = {
28837 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28838 };
28839
28840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28842 if (!SWIG_IsOK(res1)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28844 }
28845 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28846 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28847 if (!SWIG_IsOK(res2)) {
28848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28849 }
28850 arg2 = reinterpret_cast< wxWindow * >(argp2);
28851 if (obj2) {
28852 {
28853 arg3 = &temp3;
28854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28855 }
28856 }
28857 if (obj3) {
28858 {
28859 arg4 = &temp4;
28860 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28861 }
28862 }
28863 if (obj4) {
28864 ecode5 = SWIG_AsVal_long(obj4, &val5);
28865 if (!SWIG_IsOK(ecode5)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28867 }
28868 arg5 = static_cast< long >(val5);
28869 }
28870 if (obj5) {
28871 {
28872 arg6 = wxString_in_helper(obj5);
28873 if (arg6 == NULL) SWIG_fail;
28874 temp6 = true;
28875 }
28876 }
28877 {
28878 if (!wxPyCheckForApp()) SWIG_fail;
28879 PyThreadState* __tstate = wxPyBeginAllowThreads();
28880 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28881 wxPyEndAllowThreads(__tstate);
28882 if (PyErr_Occurred()) SWIG_fail;
28883 }
28884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28885 {
28886 if (temp6)
28887 delete arg6;
28888 }
28889 return resultobj;
28890 fail:
28891 {
28892 if (temp6)
28893 delete arg6;
28894 }
28895 return NULL;
28896 }
28897
28898
28899 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28900 PyObject *obj;
28901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28903 return SWIG_Py_Void();
28904 }
28905
28906 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28907 return SWIG_Python_InitShadowInstance(args);
28908 }
28909
28910 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28911 PyObject *resultobj = 0;
28912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28913 wxFrame *arg2 = (wxFrame *) 0 ;
28914 wxString *arg3 = 0 ;
28915 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28916 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28917 wxSize const &arg5_defvalue = wxDefaultSize ;
28918 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28919 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28920 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28921 wxString *arg7 = (wxString *) &arg7_defvalue ;
28922 wxPreviewFrame *result = 0 ;
28923 int res1 = 0 ;
28924 void *argp2 = 0 ;
28925 int res2 = 0 ;
28926 bool temp3 = false ;
28927 wxPoint temp4 ;
28928 wxSize temp5 ;
28929 long val6 ;
28930 int ecode6 = 0 ;
28931 bool temp7 = false ;
28932 PyObject * obj0 = 0 ;
28933 PyObject * obj1 = 0 ;
28934 PyObject * obj2 = 0 ;
28935 PyObject * obj3 = 0 ;
28936 PyObject * obj4 = 0 ;
28937 PyObject * obj5 = 0 ;
28938 PyObject * obj6 = 0 ;
28939 char * kwnames[] = {
28940 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28941 };
28942
28943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28944 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28945 if (!SWIG_IsOK(res1)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28947 }
28948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28949 if (!SWIG_IsOK(res2)) {
28950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28951 }
28952 arg2 = reinterpret_cast< wxFrame * >(argp2);
28953 {
28954 arg3 = wxString_in_helper(obj2);
28955 if (arg3 == NULL) SWIG_fail;
28956 temp3 = true;
28957 }
28958 if (obj3) {
28959 {
28960 arg4 = &temp4;
28961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28962 }
28963 }
28964 if (obj4) {
28965 {
28966 arg5 = &temp5;
28967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28968 }
28969 }
28970 if (obj5) {
28971 ecode6 = SWIG_AsVal_long(obj5, &val6);
28972 if (!SWIG_IsOK(ecode6)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28974 }
28975 arg6 = static_cast< long >(val6);
28976 }
28977 if (obj6) {
28978 {
28979 arg7 = wxString_in_helper(obj6);
28980 if (arg7 == NULL) SWIG_fail;
28981 temp7 = true;
28982 }
28983 }
28984 {
28985 if (!wxPyCheckForApp()) SWIG_fail;
28986 PyThreadState* __tstate = wxPyBeginAllowThreads();
28987 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28988 wxPyEndAllowThreads(__tstate);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
28991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28992 {
28993 if (temp3)
28994 delete arg3;
28995 }
28996 {
28997 if (temp7)
28998 delete arg7;
28999 }
29000 return resultobj;
29001 fail:
29002 {
29003 if (temp3)
29004 delete arg3;
29005 }
29006 {
29007 if (temp7)
29008 delete arg7;
29009 }
29010 return NULL;
29011 }
29012
29013
29014 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29015 PyObject *resultobj = 0;
29016 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29017 void *argp1 = 0 ;
29018 int res1 = 0 ;
29019 PyObject *swig_obj[1] ;
29020
29021 if (!args) SWIG_fail;
29022 swig_obj[0] = args;
29023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29024 if (!SWIG_IsOK(res1)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29026 }
29027 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29028 {
29029 PyThreadState* __tstate = wxPyBeginAllowThreads();
29030 (arg1)->Initialize();
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 resultobj = SWIG_Py_Void();
29035 return resultobj;
29036 fail:
29037 return NULL;
29038 }
29039
29040
29041 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29042 PyObject *resultobj = 0;
29043 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29044 void *argp1 = 0 ;
29045 int res1 = 0 ;
29046 PyObject *swig_obj[1] ;
29047
29048 if (!args) SWIG_fail;
29049 swig_obj[0] = args;
29050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29051 if (!SWIG_IsOK(res1)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29053 }
29054 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29055 {
29056 PyThreadState* __tstate = wxPyBeginAllowThreads();
29057 (arg1)->CreateControlBar();
29058 wxPyEndAllowThreads(__tstate);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 }
29061 resultobj = SWIG_Py_Void();
29062 return resultobj;
29063 fail:
29064 return NULL;
29065 }
29066
29067
29068 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29069 PyObject *resultobj = 0;
29070 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29071 void *argp1 = 0 ;
29072 int res1 = 0 ;
29073 PyObject *swig_obj[1] ;
29074
29075 if (!args) SWIG_fail;
29076 swig_obj[0] = args;
29077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29078 if (!SWIG_IsOK(res1)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29080 }
29081 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29082 {
29083 PyThreadState* __tstate = wxPyBeginAllowThreads();
29084 (arg1)->CreateCanvas();
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 resultobj = SWIG_Py_Void();
29089 return resultobj;
29090 fail:
29091 return NULL;
29092 }
29093
29094
29095 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29096 PyObject *resultobj = 0;
29097 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29098 wxPreviewControlBar *result = 0 ;
29099 void *argp1 = 0 ;
29100 int res1 = 0 ;
29101 PyObject *swig_obj[1] ;
29102
29103 if (!args) SWIG_fail;
29104 swig_obj[0] = args;
29105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29106 if (!SWIG_IsOK(res1)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29108 }
29109 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29117 return resultobj;
29118 fail:
29119 return NULL;
29120 }
29121
29122
29123 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29124 PyObject *obj;
29125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29126 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29127 return SWIG_Py_Void();
29128 }
29129
29130 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29131 return SWIG_Python_InitShadowInstance(args);
29132 }
29133
29134 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29135 PyObject *resultobj = 0;
29136 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29137 long arg2 ;
29138 wxWindow *arg3 = (wxWindow *) 0 ;
29139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29141 wxSize const &arg5_defvalue = wxDefaultSize ;
29142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29143 long arg6 = (long) wxTAB_TRAVERSAL ;
29144 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29145 wxString *arg7 = (wxString *) &arg7_defvalue ;
29146 wxPreviewControlBar *result = 0 ;
29147 void *argp1 = 0 ;
29148 int res1 = 0 ;
29149 long val2 ;
29150 int ecode2 = 0 ;
29151 void *argp3 = 0 ;
29152 int res3 = 0 ;
29153 wxPoint temp4 ;
29154 wxSize temp5 ;
29155 long val6 ;
29156 int ecode6 = 0 ;
29157 bool temp7 = false ;
29158 PyObject * obj0 = 0 ;
29159 PyObject * obj1 = 0 ;
29160 PyObject * obj2 = 0 ;
29161 PyObject * obj3 = 0 ;
29162 PyObject * obj4 = 0 ;
29163 PyObject * obj5 = 0 ;
29164 PyObject * obj6 = 0 ;
29165 char * kwnames[] = {
29166 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29167 };
29168
29169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29171 if (!SWIG_IsOK(res1)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29173 }
29174 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29175 ecode2 = SWIG_AsVal_long(obj1, &val2);
29176 if (!SWIG_IsOK(ecode2)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29178 }
29179 arg2 = static_cast< long >(val2);
29180 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29181 if (!SWIG_IsOK(res3)) {
29182 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29183 }
29184 arg3 = reinterpret_cast< wxWindow * >(argp3);
29185 if (obj3) {
29186 {
29187 arg4 = &temp4;
29188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29189 }
29190 }
29191 if (obj4) {
29192 {
29193 arg5 = &temp5;
29194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29195 }
29196 }
29197 if (obj5) {
29198 ecode6 = SWIG_AsVal_long(obj5, &val6);
29199 if (!SWIG_IsOK(ecode6)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29201 }
29202 arg6 = static_cast< long >(val6);
29203 }
29204 if (obj6) {
29205 {
29206 arg7 = wxString_in_helper(obj6);
29207 if (arg7 == NULL) SWIG_fail;
29208 temp7 = true;
29209 }
29210 }
29211 {
29212 if (!wxPyCheckForApp()) SWIG_fail;
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29215 wxPyEndAllowThreads(__tstate);
29216 if (PyErr_Occurred()) SWIG_fail;
29217 }
29218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29219 {
29220 if (temp7)
29221 delete arg7;
29222 }
29223 return resultobj;
29224 fail:
29225 {
29226 if (temp7)
29227 delete arg7;
29228 }
29229 return NULL;
29230 }
29231
29232
29233 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29234 PyObject *resultobj = 0;
29235 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29236 int result;
29237 void *argp1 = 0 ;
29238 int res1 = 0 ;
29239 PyObject *swig_obj[1] ;
29240
29241 if (!args) SWIG_fail;
29242 swig_obj[0] = args;
29243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29244 if (!SWIG_IsOK(res1)) {
29245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29246 }
29247 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 result = (int)(arg1)->GetZoomControl();
29251 wxPyEndAllowThreads(__tstate);
29252 if (PyErr_Occurred()) SWIG_fail;
29253 }
29254 resultobj = SWIG_From_int(static_cast< int >(result));
29255 return resultobj;
29256 fail:
29257 return NULL;
29258 }
29259
29260
29261 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29262 PyObject *resultobj = 0;
29263 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29264 int arg2 ;
29265 void *argp1 = 0 ;
29266 int res1 = 0 ;
29267 int val2 ;
29268 int ecode2 = 0 ;
29269 PyObject * obj0 = 0 ;
29270 PyObject * obj1 = 0 ;
29271 char * kwnames[] = {
29272 (char *) "self",(char *) "zoom", NULL
29273 };
29274
29275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29277 if (!SWIG_IsOK(res1)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29279 }
29280 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29281 ecode2 = SWIG_AsVal_int(obj1, &val2);
29282 if (!SWIG_IsOK(ecode2)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29284 }
29285 arg2 = static_cast< int >(val2);
29286 {
29287 PyThreadState* __tstate = wxPyBeginAllowThreads();
29288 (arg1)->SetZoomControl(arg2);
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 resultobj = SWIG_Py_Void();
29293 return resultobj;
29294 fail:
29295 return NULL;
29296 }
29297
29298
29299 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29300 PyObject *resultobj = 0;
29301 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29302 wxPrintPreview *result = 0 ;
29303 void *argp1 = 0 ;
29304 int res1 = 0 ;
29305 PyObject *swig_obj[1] ;
29306
29307 if (!args) SWIG_fail;
29308 swig_obj[0] = args;
29309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29310 if (!SWIG_IsOK(res1)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29312 }
29313 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29314 {
29315 PyThreadState* __tstate = wxPyBeginAllowThreads();
29316 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29321 return resultobj;
29322 fail:
29323 return NULL;
29324 }
29325
29326
29327 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29328 PyObject *resultobj = 0;
29329 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29330 void *argp1 = 0 ;
29331 int res1 = 0 ;
29332 PyObject *swig_obj[1] ;
29333
29334 if (!args) SWIG_fail;
29335 swig_obj[0] = args;
29336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29337 if (!SWIG_IsOK(res1)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29339 }
29340 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29341 {
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 (arg1)->OnNext();
29344 wxPyEndAllowThreads(__tstate);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 }
29347 resultobj = SWIG_Py_Void();
29348 return resultobj;
29349 fail:
29350 return NULL;
29351 }
29352
29353
29354 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29355 PyObject *resultobj = 0;
29356 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29357 void *argp1 = 0 ;
29358 int res1 = 0 ;
29359 PyObject *swig_obj[1] ;
29360
29361 if (!args) SWIG_fail;
29362 swig_obj[0] = args;
29363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29364 if (!SWIG_IsOK(res1)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29366 }
29367 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29368 {
29369 PyThreadState* __tstate = wxPyBeginAllowThreads();
29370 (arg1)->OnPrevious();
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 resultobj = SWIG_Py_Void();
29375 return resultobj;
29376 fail:
29377 return NULL;
29378 }
29379
29380
29381 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29382 PyObject *resultobj = 0;
29383 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29384 void *argp1 = 0 ;
29385 int res1 = 0 ;
29386 PyObject *swig_obj[1] ;
29387
29388 if (!args) SWIG_fail;
29389 swig_obj[0] = args;
29390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29391 if (!SWIG_IsOK(res1)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29393 }
29394 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 (arg1)->OnFirst();
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 resultobj = SWIG_Py_Void();
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29409 PyObject *resultobj = 0;
29410 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29411 void *argp1 = 0 ;
29412 int res1 = 0 ;
29413 PyObject *swig_obj[1] ;
29414
29415 if (!args) SWIG_fail;
29416 swig_obj[0] = args;
29417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29418 if (!SWIG_IsOK(res1)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29420 }
29421 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 (arg1)->OnLast();
29425 wxPyEndAllowThreads(__tstate);
29426 if (PyErr_Occurred()) SWIG_fail;
29427 }
29428 resultobj = SWIG_Py_Void();
29429 return resultobj;
29430 fail:
29431 return NULL;
29432 }
29433
29434
29435 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29436 PyObject *resultobj = 0;
29437 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29438 void *argp1 = 0 ;
29439 int res1 = 0 ;
29440 PyObject *swig_obj[1] ;
29441
29442 if (!args) SWIG_fail;
29443 swig_obj[0] = args;
29444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29445 if (!SWIG_IsOK(res1)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29447 }
29448 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29449 {
29450 PyThreadState* __tstate = wxPyBeginAllowThreads();
29451 (arg1)->OnGoto();
29452 wxPyEndAllowThreads(__tstate);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 }
29455 resultobj = SWIG_Py_Void();
29456 return resultobj;
29457 fail:
29458 return NULL;
29459 }
29460
29461
29462 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29463 PyObject *obj;
29464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29465 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29466 return SWIG_Py_Void();
29467 }
29468
29469 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29470 return SWIG_Python_InitShadowInstance(args);
29471 }
29472
29473 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29474 PyObject *resultobj = 0;
29475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29476 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29477 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29478 wxPrintPreview *result = 0 ;
29479 int res1 = 0 ;
29480 int res2 = 0 ;
29481 void *argp3 = 0 ;
29482 int res3 = 0 ;
29483
29484 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29485 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29486 if (!SWIG_IsOK(res1)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29488 }
29489 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29490 if (!SWIG_IsOK(res2)) {
29491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29492 }
29493 if (swig_obj[2]) {
29494 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29495 if (!SWIG_IsOK(res3)) {
29496 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29497 }
29498 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29499 }
29500 {
29501 if (!wxPyCheckForApp()) SWIG_fail;
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29508 return resultobj;
29509 fail:
29510 return NULL;
29511 }
29512
29513
29514 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29515 PyObject *resultobj = 0;
29516 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29517 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29518 wxPrintData *arg3 = (wxPrintData *) 0 ;
29519 wxPrintPreview *result = 0 ;
29520 int res1 = 0 ;
29521 int res2 = 0 ;
29522 void *argp3 = 0 ;
29523 int res3 = 0 ;
29524
29525 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29526 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29527 if (!SWIG_IsOK(res1)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29529 }
29530 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29531 if (!SWIG_IsOK(res2)) {
29532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29533 }
29534 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29535 if (!SWIG_IsOK(res3)) {
29536 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29537 }
29538 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29539 {
29540 if (!wxPyCheckForApp()) SWIG_fail;
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
29546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29547 return resultobj;
29548 fail:
29549 return NULL;
29550 }
29551
29552
29553 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29554 int argc;
29555 PyObject *argv[4];
29556
29557 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29558 --argc;
29559 if ((argc >= 2) && (argc <= 3)) {
29560 int _v = 0;
29561 if (argc > 2) {
29562 {
29563 void *vptr = 0;
29564 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29565 _v = SWIG_CheckState(res);
29566 }
29567 if (!_v) goto check_1;
29568 }
29569 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29570 }
29571 check_1:
29572
29573 if (argc == 3) {
29574 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29575 }
29576
29577 fail:
29578 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *resultobj = 0;
29585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29586 void *argp1 = 0 ;
29587 int res1 = 0 ;
29588 PyObject *swig_obj[1] ;
29589
29590 if (!args) SWIG_fail;
29591 swig_obj[0] = args;
29592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29593 if (!SWIG_IsOK(res1)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29595 }
29596 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 delete arg1;
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = SWIG_Py_Void();
29605 return resultobj;
29606 fail:
29607 return NULL;
29608 }
29609
29610
29611 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29612 PyObject *resultobj = 0;
29613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29614 int arg2 ;
29615 bool result;
29616 void *argp1 = 0 ;
29617 int res1 = 0 ;
29618 int val2 ;
29619 int ecode2 = 0 ;
29620 PyObject * obj0 = 0 ;
29621 PyObject * obj1 = 0 ;
29622 char * kwnames[] = {
29623 (char *) "self",(char *) "pageNum", NULL
29624 };
29625
29626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29628 if (!SWIG_IsOK(res1)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29630 }
29631 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29632 ecode2 = SWIG_AsVal_int(obj1, &val2);
29633 if (!SWIG_IsOK(ecode2)) {
29634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29635 }
29636 arg2 = static_cast< int >(val2);
29637 {
29638 PyThreadState* __tstate = wxPyBeginAllowThreads();
29639 result = (bool)(arg1)->SetCurrentPage(arg2);
29640 wxPyEndAllowThreads(__tstate);
29641 if (PyErr_Occurred()) SWIG_fail;
29642 }
29643 {
29644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29645 }
29646 return resultobj;
29647 fail:
29648 return NULL;
29649 }
29650
29651
29652 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29653 PyObject *resultobj = 0;
29654 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29655 int result;
29656 void *argp1 = 0 ;
29657 int res1 = 0 ;
29658 PyObject *swig_obj[1] ;
29659
29660 if (!args) SWIG_fail;
29661 swig_obj[0] = args;
29662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29663 if (!SWIG_IsOK(res1)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29665 }
29666 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = (int)(arg1)->GetCurrentPage();
29670 wxPyEndAllowThreads(__tstate);
29671 if (PyErr_Occurred()) SWIG_fail;
29672 }
29673 resultobj = SWIG_From_int(static_cast< int >(result));
29674 return resultobj;
29675 fail:
29676 return NULL;
29677 }
29678
29679
29680 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29681 PyObject *resultobj = 0;
29682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29683 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29684 void *argp1 = 0 ;
29685 int res1 = 0 ;
29686 int res2 = 0 ;
29687 PyObject * obj0 = 0 ;
29688 PyObject * obj1 = 0 ;
29689 char * kwnames[] = {
29690 (char *) "self",(char *) "printout", NULL
29691 };
29692
29693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29695 if (!SWIG_IsOK(res1)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29697 }
29698 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29699 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29700 if (!SWIG_IsOK(res2)) {
29701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29702 }
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 (arg1)->SetPrintout(arg2);
29706 wxPyEndAllowThreads(__tstate);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 resultobj = SWIG_Py_Void();
29710 return resultobj;
29711 fail:
29712 return NULL;
29713 }
29714
29715
29716 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29717 PyObject *resultobj = 0;
29718 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29719 wxPyPrintout *result = 0 ;
29720 void *argp1 = 0 ;
29721 int res1 = 0 ;
29722 PyObject *swig_obj[1] ;
29723
29724 if (!args) SWIG_fail;
29725 swig_obj[0] = args;
29726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29727 if (!SWIG_IsOK(res1)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29729 }
29730 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 result = (wxPyPrintout *)(arg1)->GetPrintout();
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
29737 {
29738 resultobj = wxPyMake_wxObject(result, 0);
29739 }
29740 return resultobj;
29741 fail:
29742 return NULL;
29743 }
29744
29745
29746 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29747 PyObject *resultobj = 0;
29748 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29749 wxPyPrintout *result = 0 ;
29750 void *argp1 = 0 ;
29751 int res1 = 0 ;
29752 PyObject *swig_obj[1] ;
29753
29754 if (!args) SWIG_fail;
29755 swig_obj[0] = args;
29756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29757 if (!SWIG_IsOK(res1)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29759 }
29760 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29761 {
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 {
29768 resultobj = wxPyMake_wxObject(result, 0);
29769 }
29770 return resultobj;
29771 fail:
29772 return NULL;
29773 }
29774
29775
29776 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29777 PyObject *resultobj = 0;
29778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29779 wxFrame *arg2 = (wxFrame *) 0 ;
29780 void *argp1 = 0 ;
29781 int res1 = 0 ;
29782 void *argp2 = 0 ;
29783 int res2 = 0 ;
29784 PyObject * obj0 = 0 ;
29785 PyObject * obj1 = 0 ;
29786 char * kwnames[] = {
29787 (char *) "self",(char *) "frame", NULL
29788 };
29789
29790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29792 if (!SWIG_IsOK(res1)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29794 }
29795 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29797 if (!SWIG_IsOK(res2)) {
29798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29799 }
29800 arg2 = reinterpret_cast< wxFrame * >(argp2);
29801 {
29802 PyThreadState* __tstate = wxPyBeginAllowThreads();
29803 (arg1)->SetFrame(arg2);
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 resultobj = SWIG_Py_Void();
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29815 PyObject *resultobj = 0;
29816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29817 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29818 void *argp1 = 0 ;
29819 int res1 = 0 ;
29820 void *argp2 = 0 ;
29821 int res2 = 0 ;
29822 PyObject * obj0 = 0 ;
29823 PyObject * obj1 = 0 ;
29824 char * kwnames[] = {
29825 (char *) "self",(char *) "canvas", NULL
29826 };
29827
29828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29830 if (!SWIG_IsOK(res1)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29832 }
29833 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29835 if (!SWIG_IsOK(res2)) {
29836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29837 }
29838 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29839 {
29840 PyThreadState* __tstate = wxPyBeginAllowThreads();
29841 (arg1)->SetCanvas(arg2);
29842 wxPyEndAllowThreads(__tstate);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 }
29845 resultobj = SWIG_Py_Void();
29846 return resultobj;
29847 fail:
29848 return NULL;
29849 }
29850
29851
29852 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29853 PyObject *resultobj = 0;
29854 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29855 wxFrame *result = 0 ;
29856 void *argp1 = 0 ;
29857 int res1 = 0 ;
29858 PyObject *swig_obj[1] ;
29859
29860 if (!args) SWIG_fail;
29861 swig_obj[0] = args;
29862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29863 if (!SWIG_IsOK(res1)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29865 }
29866 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29867 {
29868 PyThreadState* __tstate = wxPyBeginAllowThreads();
29869 result = (wxFrame *)(arg1)->GetFrame();
29870 wxPyEndAllowThreads(__tstate);
29871 if (PyErr_Occurred()) SWIG_fail;
29872 }
29873 {
29874 resultobj = wxPyMake_wxObject(result, 0);
29875 }
29876 return resultobj;
29877 fail:
29878 return NULL;
29879 }
29880
29881
29882 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29883 PyObject *resultobj = 0;
29884 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29885 wxPreviewCanvas *result = 0 ;
29886 void *argp1 = 0 ;
29887 int res1 = 0 ;
29888 PyObject *swig_obj[1] ;
29889
29890 if (!args) SWIG_fail;
29891 swig_obj[0] = args;
29892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29893 if (!SWIG_IsOK(res1)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29895 }
29896 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29904 return resultobj;
29905 fail:
29906 return NULL;
29907 }
29908
29909
29910 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29911 PyObject *resultobj = 0;
29912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29913 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29914 wxDC *arg3 = 0 ;
29915 bool result;
29916 void *argp1 = 0 ;
29917 int res1 = 0 ;
29918 void *argp2 = 0 ;
29919 int res2 = 0 ;
29920 void *argp3 = 0 ;
29921 int res3 = 0 ;
29922 PyObject * obj0 = 0 ;
29923 PyObject * obj1 = 0 ;
29924 PyObject * obj2 = 0 ;
29925 char * kwnames[] = {
29926 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29927 };
29928
29929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29931 if (!SWIG_IsOK(res1)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29933 }
29934 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29936 if (!SWIG_IsOK(res2)) {
29937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29938 }
29939 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29940 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29941 if (!SWIG_IsOK(res3)) {
29942 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29943 }
29944 if (!argp3) {
29945 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29946 }
29947 arg3 = reinterpret_cast< wxDC * >(argp3);
29948 {
29949 PyThreadState* __tstate = wxPyBeginAllowThreads();
29950 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29951 wxPyEndAllowThreads(__tstate);
29952 if (PyErr_Occurred()) SWIG_fail;
29953 }
29954 {
29955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29956 }
29957 return resultobj;
29958 fail:
29959 return NULL;
29960 }
29961
29962
29963 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29964 PyObject *resultobj = 0;
29965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29966 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29967 wxDC *arg3 = 0 ;
29968 bool result;
29969 void *argp1 = 0 ;
29970 int res1 = 0 ;
29971 void *argp2 = 0 ;
29972 int res2 = 0 ;
29973 void *argp3 = 0 ;
29974 int res3 = 0 ;
29975 PyObject * obj0 = 0 ;
29976 PyObject * obj1 = 0 ;
29977 PyObject * obj2 = 0 ;
29978 char * kwnames[] = {
29979 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29980 };
29981
29982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29984 if (!SWIG_IsOK(res1)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29986 }
29987 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29989 if (!SWIG_IsOK(res2)) {
29990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29991 }
29992 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29993 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29994 if (!SWIG_IsOK(res3)) {
29995 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29996 }
29997 if (!argp3) {
29998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29999 }
30000 arg3 = reinterpret_cast< wxDC * >(argp3);
30001 {
30002 PyThreadState* __tstate = wxPyBeginAllowThreads();
30003 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30004 wxPyEndAllowThreads(__tstate);
30005 if (PyErr_Occurred()) SWIG_fail;
30006 }
30007 {
30008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30009 }
30010 return resultobj;
30011 fail:
30012 return NULL;
30013 }
30014
30015
30016 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30017 PyObject *resultobj = 0;
30018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30019 int arg2 ;
30020 bool result;
30021 void *argp1 = 0 ;
30022 int res1 = 0 ;
30023 int val2 ;
30024 int ecode2 = 0 ;
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 char * kwnames[] = {
30028 (char *) "self",(char *) "pageNum", NULL
30029 };
30030
30031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30033 if (!SWIG_IsOK(res1)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30035 }
30036 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30037 ecode2 = SWIG_AsVal_int(obj1, &val2);
30038 if (!SWIG_IsOK(ecode2)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30040 }
30041 arg2 = static_cast< int >(val2);
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 result = (bool)(arg1)->RenderPage(arg2);
30045 wxPyEndAllowThreads(__tstate);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 }
30048 {
30049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30050 }
30051 return resultobj;
30052 fail:
30053 return NULL;
30054 }
30055
30056
30057 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30058 PyObject *resultobj = 0;
30059 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30060 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30061 void *argp1 = 0 ;
30062 int res1 = 0 ;
30063 void *argp2 = 0 ;
30064 int res2 = 0 ;
30065 PyObject * obj0 = 0 ;
30066 PyObject * obj1 = 0 ;
30067 char * kwnames[] = {
30068 (char *) "self",(char *) "canvas", NULL
30069 };
30070
30071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30073 if (!SWIG_IsOK(res1)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30075 }
30076 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30078 if (!SWIG_IsOK(res2)) {
30079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30080 }
30081 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30082 {
30083 PyThreadState* __tstate = wxPyBeginAllowThreads();
30084 (arg1)->AdjustScrollbars(arg2);
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 resultobj = SWIG_Py_Void();
30089 return resultobj;
30090 fail:
30091 return NULL;
30092 }
30093
30094
30095 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30096 PyObject *resultobj = 0;
30097 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30098 wxPrintDialogData *result = 0 ;
30099 void *argp1 = 0 ;
30100 int res1 = 0 ;
30101 PyObject *swig_obj[1] ;
30102
30103 if (!args) SWIG_fail;
30104 swig_obj[0] = args;
30105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30106 if (!SWIG_IsOK(res1)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30108 }
30109 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30110 {
30111 PyThreadState* __tstate = wxPyBeginAllowThreads();
30112 {
30113 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30114 result = (wxPrintDialogData *) &_result_ref;
30115 }
30116 wxPyEndAllowThreads(__tstate);
30117 if (PyErr_Occurred()) SWIG_fail;
30118 }
30119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30120 return resultobj;
30121 fail:
30122 return NULL;
30123 }
30124
30125
30126 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30127 PyObject *resultobj = 0;
30128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30129 int arg2 ;
30130 void *argp1 = 0 ;
30131 int res1 = 0 ;
30132 int val2 ;
30133 int ecode2 = 0 ;
30134 PyObject * obj0 = 0 ;
30135 PyObject * obj1 = 0 ;
30136 char * kwnames[] = {
30137 (char *) "self",(char *) "percent", NULL
30138 };
30139
30140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30142 if (!SWIG_IsOK(res1)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30144 }
30145 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30146 ecode2 = SWIG_AsVal_int(obj1, &val2);
30147 if (!SWIG_IsOK(ecode2)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30149 }
30150 arg2 = static_cast< int >(val2);
30151 {
30152 PyThreadState* __tstate = wxPyBeginAllowThreads();
30153 (arg1)->SetZoom(arg2);
30154 wxPyEndAllowThreads(__tstate);
30155 if (PyErr_Occurred()) SWIG_fail;
30156 }
30157 resultobj = SWIG_Py_Void();
30158 return resultobj;
30159 fail:
30160 return NULL;
30161 }
30162
30163
30164 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30165 PyObject *resultobj = 0;
30166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30167 int result;
30168 void *argp1 = 0 ;
30169 int res1 = 0 ;
30170 PyObject *swig_obj[1] ;
30171
30172 if (!args) SWIG_fail;
30173 swig_obj[0] = args;
30174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30175 if (!SWIG_IsOK(res1)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30177 }
30178 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 result = (int)(arg1)->GetZoom();
30182 wxPyEndAllowThreads(__tstate);
30183 if (PyErr_Occurred()) SWIG_fail;
30184 }
30185 resultobj = SWIG_From_int(static_cast< int >(result));
30186 return resultobj;
30187 fail:
30188 return NULL;
30189 }
30190
30191
30192 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30193 PyObject *resultobj = 0;
30194 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30195 int result;
30196 void *argp1 = 0 ;
30197 int res1 = 0 ;
30198 PyObject *swig_obj[1] ;
30199
30200 if (!args) SWIG_fail;
30201 swig_obj[0] = args;
30202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30203 if (!SWIG_IsOK(res1)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30205 }
30206 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30207 {
30208 PyThreadState* __tstate = wxPyBeginAllowThreads();
30209 result = (int)(arg1)->GetMaxPage();
30210 wxPyEndAllowThreads(__tstate);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 }
30213 resultobj = SWIG_From_int(static_cast< int >(result));
30214 return resultobj;
30215 fail:
30216 return NULL;
30217 }
30218
30219
30220 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30221 PyObject *resultobj = 0;
30222 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30223 int result;
30224 void *argp1 = 0 ;
30225 int res1 = 0 ;
30226 PyObject *swig_obj[1] ;
30227
30228 if (!args) SWIG_fail;
30229 swig_obj[0] = args;
30230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30231 if (!SWIG_IsOK(res1)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30233 }
30234 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 result = (int)(arg1)->GetMinPage();
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 resultobj = SWIG_From_int(static_cast< int >(result));
30242 return resultobj;
30243 fail:
30244 return NULL;
30245 }
30246
30247
30248 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30249 PyObject *resultobj = 0;
30250 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30251 bool result;
30252 void *argp1 = 0 ;
30253 int res1 = 0 ;
30254 PyObject *swig_obj[1] ;
30255
30256 if (!args) SWIG_fail;
30257 swig_obj[0] = args;
30258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30259 if (!SWIG_IsOK(res1)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30261 }
30262 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30263 {
30264 PyThreadState* __tstate = wxPyBeginAllowThreads();
30265 result = (bool)(arg1)->Ok();
30266 wxPyEndAllowThreads(__tstate);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 }
30269 {
30270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30271 }
30272 return resultobj;
30273 fail:
30274 return NULL;
30275 }
30276
30277
30278 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30279 PyObject *resultobj = 0;
30280 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30281 bool arg2 ;
30282 void *argp1 = 0 ;
30283 int res1 = 0 ;
30284 bool val2 ;
30285 int ecode2 = 0 ;
30286 PyObject * obj0 = 0 ;
30287 PyObject * obj1 = 0 ;
30288 char * kwnames[] = {
30289 (char *) "self",(char *) "ok", NULL
30290 };
30291
30292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30294 if (!SWIG_IsOK(res1)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30296 }
30297 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30298 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30299 if (!SWIG_IsOK(ecode2)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30301 }
30302 arg2 = static_cast< bool >(val2);
30303 {
30304 PyThreadState* __tstate = wxPyBeginAllowThreads();
30305 (arg1)->SetOk(arg2);
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
30309 resultobj = SWIG_Py_Void();
30310 return resultobj;
30311 fail:
30312 return NULL;
30313 }
30314
30315
30316 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30317 PyObject *resultobj = 0;
30318 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30319 bool arg2 ;
30320 bool result;
30321 void *argp1 = 0 ;
30322 int res1 = 0 ;
30323 bool val2 ;
30324 int ecode2 = 0 ;
30325 PyObject * obj0 = 0 ;
30326 PyObject * obj1 = 0 ;
30327 char * kwnames[] = {
30328 (char *) "self",(char *) "interactive", NULL
30329 };
30330
30331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30333 if (!SWIG_IsOK(res1)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30335 }
30336 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30337 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30338 if (!SWIG_IsOK(ecode2)) {
30339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30340 }
30341 arg2 = static_cast< bool >(val2);
30342 {
30343 PyThreadState* __tstate = wxPyBeginAllowThreads();
30344 result = (bool)(arg1)->Print(arg2);
30345 wxPyEndAllowThreads(__tstate);
30346 if (PyErr_Occurred()) SWIG_fail;
30347 }
30348 {
30349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30350 }
30351 return resultobj;
30352 fail:
30353 return NULL;
30354 }
30355
30356
30357 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30358 PyObject *resultobj = 0;
30359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30360 void *argp1 = 0 ;
30361 int res1 = 0 ;
30362 PyObject *swig_obj[1] ;
30363
30364 if (!args) SWIG_fail;
30365 swig_obj[0] = args;
30366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30367 if (!SWIG_IsOK(res1)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30369 }
30370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30371 {
30372 PyThreadState* __tstate = wxPyBeginAllowThreads();
30373 (arg1)->DetermineScaling();
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 resultobj = SWIG_Py_Void();
30378 return resultobj;
30379 fail:
30380 return NULL;
30381 }
30382
30383
30384 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30385 PyObject *obj;
30386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30388 return SWIG_Py_Void();
30389 }
30390
30391 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30392 return SWIG_Python_InitShadowInstance(args);
30393 }
30394
30395 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30396 PyObject *resultobj = 0;
30397 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30398 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30399 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30400 wxPyPrintPreview *result = 0 ;
30401 int res1 = 0 ;
30402 int res2 = 0 ;
30403 void *argp3 = 0 ;
30404 int res3 = 0 ;
30405
30406 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30407 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30408 if (!SWIG_IsOK(res1)) {
30409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30410 }
30411 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30412 if (!SWIG_IsOK(res2)) {
30413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30414 }
30415 if (swig_obj[2]) {
30416 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30417 if (!SWIG_IsOK(res3)) {
30418 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30419 }
30420 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30421 }
30422 {
30423 if (!wxPyCheckForApp()) SWIG_fail;
30424 PyThreadState* __tstate = wxPyBeginAllowThreads();
30425 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30437 PyObject *resultobj = 0;
30438 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30439 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30440 wxPrintData *arg3 = (wxPrintData *) 0 ;
30441 wxPyPrintPreview *result = 0 ;
30442 int res1 = 0 ;
30443 int res2 = 0 ;
30444 void *argp3 = 0 ;
30445 int res3 = 0 ;
30446
30447 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30448 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30449 if (!SWIG_IsOK(res1)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30451 }
30452 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30453 if (!SWIG_IsOK(res2)) {
30454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30455 }
30456 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30457 if (!SWIG_IsOK(res3)) {
30458 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30459 }
30460 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30461 {
30462 if (!wxPyCheckForApp()) SWIG_fail;
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30465 wxPyEndAllowThreads(__tstate);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 }
30468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30469 return resultobj;
30470 fail:
30471 return NULL;
30472 }
30473
30474
30475 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30476 int argc;
30477 PyObject *argv[4];
30478
30479 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30480 --argc;
30481 if ((argc >= 2) && (argc <= 3)) {
30482 int _v = 0;
30483 if (argc > 2) {
30484 {
30485 void *vptr = 0;
30486 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30487 _v = SWIG_CheckState(res);
30488 }
30489 if (!_v) goto check_1;
30490 }
30491 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30492 }
30493 check_1:
30494
30495 if (argc == 3) {
30496 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30497 }
30498
30499 fail:
30500 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30501 return NULL;
30502 }
30503
30504
30505 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30506 PyObject *resultobj = 0;
30507 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30508 PyObject *arg2 = (PyObject *) 0 ;
30509 PyObject *arg3 = (PyObject *) 0 ;
30510 void *argp1 = 0 ;
30511 int res1 = 0 ;
30512 PyObject * obj0 = 0 ;
30513 PyObject * obj1 = 0 ;
30514 PyObject * obj2 = 0 ;
30515 char * kwnames[] = {
30516 (char *) "self",(char *) "self",(char *) "_class", NULL
30517 };
30518
30519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30521 if (!SWIG_IsOK(res1)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30523 }
30524 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30525 arg2 = obj1;
30526 arg3 = obj2;
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->_setCallbackInfo(arg2,arg3);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 resultobj = SWIG_Py_Void();
30534 return resultobj;
30535 fail:
30536 return NULL;
30537 }
30538
30539
30540 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30541 PyObject *obj;
30542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30544 return SWIG_Py_Void();
30545 }
30546
30547 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30548 return SWIG_Python_InitShadowInstance(args);
30549 }
30550
30551 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30552 PyObject *resultobj = 0;
30553 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30554 wxFrame *arg2 = (wxFrame *) 0 ;
30555 wxString *arg3 = 0 ;
30556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30558 wxSize const &arg5_defvalue = wxDefaultSize ;
30559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30560 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30561 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30562 wxString *arg7 = (wxString *) &arg7_defvalue ;
30563 wxPyPreviewFrame *result = 0 ;
30564 void *argp1 = 0 ;
30565 int res1 = 0 ;
30566 void *argp2 = 0 ;
30567 int res2 = 0 ;
30568 bool temp3 = false ;
30569 wxPoint temp4 ;
30570 wxSize temp5 ;
30571 long val6 ;
30572 int ecode6 = 0 ;
30573 bool temp7 = false ;
30574 PyObject * obj0 = 0 ;
30575 PyObject * obj1 = 0 ;
30576 PyObject * obj2 = 0 ;
30577 PyObject * obj3 = 0 ;
30578 PyObject * obj4 = 0 ;
30579 PyObject * obj5 = 0 ;
30580 PyObject * obj6 = 0 ;
30581 char * kwnames[] = {
30582 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30583 };
30584
30585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30587 if (!SWIG_IsOK(res1)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30589 }
30590 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30591 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30592 if (!SWIG_IsOK(res2)) {
30593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30594 }
30595 arg2 = reinterpret_cast< wxFrame * >(argp2);
30596 {
30597 arg3 = wxString_in_helper(obj2);
30598 if (arg3 == NULL) SWIG_fail;
30599 temp3 = true;
30600 }
30601 if (obj3) {
30602 {
30603 arg4 = &temp4;
30604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30605 }
30606 }
30607 if (obj4) {
30608 {
30609 arg5 = &temp5;
30610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30611 }
30612 }
30613 if (obj5) {
30614 ecode6 = SWIG_AsVal_long(obj5, &val6);
30615 if (!SWIG_IsOK(ecode6)) {
30616 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30617 }
30618 arg6 = static_cast< long >(val6);
30619 }
30620 if (obj6) {
30621 {
30622 arg7 = wxString_in_helper(obj6);
30623 if (arg7 == NULL) SWIG_fail;
30624 temp7 = true;
30625 }
30626 }
30627 {
30628 if (!wxPyCheckForApp()) SWIG_fail;
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
30634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30635 {
30636 if (temp3)
30637 delete arg3;
30638 }
30639 {
30640 if (temp7)
30641 delete arg7;
30642 }
30643 return resultobj;
30644 fail:
30645 {
30646 if (temp3)
30647 delete arg3;
30648 }
30649 {
30650 if (temp7)
30651 delete arg7;
30652 }
30653 return NULL;
30654 }
30655
30656
30657 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30658 PyObject *resultobj = 0;
30659 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30660 PyObject *arg2 = (PyObject *) 0 ;
30661 PyObject *arg3 = (PyObject *) 0 ;
30662 void *argp1 = 0 ;
30663 int res1 = 0 ;
30664 PyObject * obj0 = 0 ;
30665 PyObject * obj1 = 0 ;
30666 PyObject * obj2 = 0 ;
30667 char * kwnames[] = {
30668 (char *) "self",(char *) "self",(char *) "_class", NULL
30669 };
30670
30671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30673 if (!SWIG_IsOK(res1)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30675 }
30676 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30677 arg2 = obj1;
30678 arg3 = obj2;
30679 {
30680 PyThreadState* __tstate = wxPyBeginAllowThreads();
30681 (arg1)->_setCallbackInfo(arg2,arg3);
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 resultobj = SWIG_Py_Void();
30686 return resultobj;
30687 fail:
30688 return NULL;
30689 }
30690
30691
30692 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30693 PyObject *resultobj = 0;
30694 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30695 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30696 void *argp1 = 0 ;
30697 int res1 = 0 ;
30698 void *argp2 = 0 ;
30699 int res2 = 0 ;
30700 PyObject * obj0 = 0 ;
30701 PyObject * obj1 = 0 ;
30702 char * kwnames[] = {
30703 (char *) "self",(char *) "canvas", NULL
30704 };
30705
30706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30708 if (!SWIG_IsOK(res1)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30710 }
30711 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30713 if (!SWIG_IsOK(res2)) {
30714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30715 }
30716 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30717 {
30718 PyThreadState* __tstate = wxPyBeginAllowThreads();
30719 (arg1)->SetPreviewCanvas(arg2);
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
30723 resultobj = SWIG_Py_Void();
30724 return resultobj;
30725 fail:
30726 return NULL;
30727 }
30728
30729
30730 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30731 PyObject *resultobj = 0;
30732 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30733 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30734 void *argp1 = 0 ;
30735 int res1 = 0 ;
30736 void *argp2 = 0 ;
30737 int res2 = 0 ;
30738 PyObject * obj0 = 0 ;
30739 PyObject * obj1 = 0 ;
30740 char * kwnames[] = {
30741 (char *) "self",(char *) "bar", NULL
30742 };
30743
30744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30746 if (!SWIG_IsOK(res1)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30748 }
30749 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30750 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30751 if (!SWIG_IsOK(res2)) {
30752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30753 }
30754 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30755 {
30756 PyThreadState* __tstate = wxPyBeginAllowThreads();
30757 (arg1)->SetControlBar(arg2);
30758 wxPyEndAllowThreads(__tstate);
30759 if (PyErr_Occurred()) SWIG_fail;
30760 }
30761 resultobj = SWIG_Py_Void();
30762 return resultobj;
30763 fail:
30764 return NULL;
30765 }
30766
30767
30768 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30769 PyObject *resultobj = 0;
30770 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30771 void *argp1 = 0 ;
30772 int res1 = 0 ;
30773 PyObject *swig_obj[1] ;
30774
30775 if (!args) SWIG_fail;
30776 swig_obj[0] = args;
30777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30778 if (!SWIG_IsOK(res1)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30780 }
30781 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30782 {
30783 PyThreadState* __tstate = wxPyBeginAllowThreads();
30784 (arg1)->Initialize();
30785 wxPyEndAllowThreads(__tstate);
30786 if (PyErr_Occurred()) SWIG_fail;
30787 }
30788 resultobj = SWIG_Py_Void();
30789 return resultobj;
30790 fail:
30791 return NULL;
30792 }
30793
30794
30795 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30796 PyObject *resultobj = 0;
30797 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30798 void *argp1 = 0 ;
30799 int res1 = 0 ;
30800 PyObject *swig_obj[1] ;
30801
30802 if (!args) SWIG_fail;
30803 swig_obj[0] = args;
30804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30805 if (!SWIG_IsOK(res1)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30807 }
30808 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30809 {
30810 PyThreadState* __tstate = wxPyBeginAllowThreads();
30811 (arg1)->CreateCanvas();
30812 wxPyEndAllowThreads(__tstate);
30813 if (PyErr_Occurred()) SWIG_fail;
30814 }
30815 resultobj = SWIG_Py_Void();
30816 return resultobj;
30817 fail:
30818 return NULL;
30819 }
30820
30821
30822 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30823 PyObject *resultobj = 0;
30824 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30825 void *argp1 = 0 ;
30826 int res1 = 0 ;
30827 PyObject *swig_obj[1] ;
30828
30829 if (!args) SWIG_fail;
30830 swig_obj[0] = args;
30831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30832 if (!SWIG_IsOK(res1)) {
30833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30834 }
30835 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30836 {
30837 PyThreadState* __tstate = wxPyBeginAllowThreads();
30838 (arg1)->CreateControlBar();
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
30842 resultobj = SWIG_Py_Void();
30843 return resultobj;
30844 fail:
30845 return NULL;
30846 }
30847
30848
30849 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30850 PyObject *obj;
30851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30852 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30853 return SWIG_Py_Void();
30854 }
30855
30856 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30857 return SWIG_Python_InitShadowInstance(args);
30858 }
30859
30860 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30861 PyObject *resultobj = 0;
30862 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30863 long arg2 ;
30864 wxWindow *arg3 = (wxWindow *) 0 ;
30865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30867 wxSize const &arg5_defvalue = wxDefaultSize ;
30868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30869 long arg6 = (long) 0 ;
30870 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30871 wxString *arg7 = (wxString *) &arg7_defvalue ;
30872 wxPyPreviewControlBar *result = 0 ;
30873 void *argp1 = 0 ;
30874 int res1 = 0 ;
30875 long val2 ;
30876 int ecode2 = 0 ;
30877 void *argp3 = 0 ;
30878 int res3 = 0 ;
30879 wxPoint temp4 ;
30880 wxSize temp5 ;
30881 long val6 ;
30882 int ecode6 = 0 ;
30883 bool temp7 = false ;
30884 PyObject * obj0 = 0 ;
30885 PyObject * obj1 = 0 ;
30886 PyObject * obj2 = 0 ;
30887 PyObject * obj3 = 0 ;
30888 PyObject * obj4 = 0 ;
30889 PyObject * obj5 = 0 ;
30890 PyObject * obj6 = 0 ;
30891 char * kwnames[] = {
30892 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30893 };
30894
30895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30897 if (!SWIG_IsOK(res1)) {
30898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30899 }
30900 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30901 ecode2 = SWIG_AsVal_long(obj1, &val2);
30902 if (!SWIG_IsOK(ecode2)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30904 }
30905 arg2 = static_cast< long >(val2);
30906 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30907 if (!SWIG_IsOK(res3)) {
30908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30909 }
30910 arg3 = reinterpret_cast< wxWindow * >(argp3);
30911 if (obj3) {
30912 {
30913 arg4 = &temp4;
30914 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30915 }
30916 }
30917 if (obj4) {
30918 {
30919 arg5 = &temp5;
30920 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30921 }
30922 }
30923 if (obj5) {
30924 ecode6 = SWIG_AsVal_long(obj5, &val6);
30925 if (!SWIG_IsOK(ecode6)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30927 }
30928 arg6 = static_cast< long >(val6);
30929 }
30930 if (obj6) {
30931 {
30932 arg7 = wxString_in_helper(obj6);
30933 if (arg7 == NULL) SWIG_fail;
30934 temp7 = true;
30935 }
30936 }
30937 {
30938 if (!wxPyCheckForApp()) SWIG_fail;
30939 PyThreadState* __tstate = wxPyBeginAllowThreads();
30940 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30941 wxPyEndAllowThreads(__tstate);
30942 if (PyErr_Occurred()) SWIG_fail;
30943 }
30944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30945 {
30946 if (temp7)
30947 delete arg7;
30948 }
30949 return resultobj;
30950 fail:
30951 {
30952 if (temp7)
30953 delete arg7;
30954 }
30955 return NULL;
30956 }
30957
30958
30959 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30960 PyObject *resultobj = 0;
30961 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30962 PyObject *arg2 = (PyObject *) 0 ;
30963 PyObject *arg3 = (PyObject *) 0 ;
30964 void *argp1 = 0 ;
30965 int res1 = 0 ;
30966 PyObject * obj0 = 0 ;
30967 PyObject * obj1 = 0 ;
30968 PyObject * obj2 = 0 ;
30969 char * kwnames[] = {
30970 (char *) "self",(char *) "self",(char *) "_class", NULL
30971 };
30972
30973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30975 if (!SWIG_IsOK(res1)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30977 }
30978 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30979 arg2 = obj1;
30980 arg3 = obj2;
30981 {
30982 PyThreadState* __tstate = wxPyBeginAllowThreads();
30983 (arg1)->_setCallbackInfo(arg2,arg3);
30984 wxPyEndAllowThreads(__tstate);
30985 if (PyErr_Occurred()) SWIG_fail;
30986 }
30987 resultobj = SWIG_Py_Void();
30988 return resultobj;
30989 fail:
30990 return NULL;
30991 }
30992
30993
30994 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30995 PyObject *resultobj = 0;
30996 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30997 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30998 void *argp1 = 0 ;
30999 int res1 = 0 ;
31000 void *argp2 = 0 ;
31001 int res2 = 0 ;
31002 PyObject * obj0 = 0 ;
31003 PyObject * obj1 = 0 ;
31004 char * kwnames[] = {
31005 (char *) "self",(char *) "preview", NULL
31006 };
31007
31008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31010 if (!SWIG_IsOK(res1)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31012 }
31013 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31015 if (!SWIG_IsOK(res2)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31017 }
31018 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31019 {
31020 PyThreadState* __tstate = wxPyBeginAllowThreads();
31021 (arg1)->SetPrintPreview(arg2);
31022 wxPyEndAllowThreads(__tstate);
31023 if (PyErr_Occurred()) SWIG_fail;
31024 }
31025 resultobj = SWIG_Py_Void();
31026 return resultobj;
31027 fail:
31028 return NULL;
31029 }
31030
31031
31032 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31033 PyObject *resultobj = 0;
31034 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31035 void *argp1 = 0 ;
31036 int res1 = 0 ;
31037 PyObject *swig_obj[1] ;
31038
31039 if (!args) SWIG_fail;
31040 swig_obj[0] = args;
31041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31042 if (!SWIG_IsOK(res1)) {
31043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31044 }
31045 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31046 {
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 (arg1)->CreateButtons();
31049 wxPyEndAllowThreads(__tstate);
31050 if (PyErr_Occurred()) SWIG_fail;
31051 }
31052 resultobj = SWIG_Py_Void();
31053 return resultobj;
31054 fail:
31055 return NULL;
31056 }
31057
31058
31059 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31060 PyObject *resultobj = 0;
31061 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31062 int arg2 ;
31063 void *argp1 = 0 ;
31064 int res1 = 0 ;
31065 int val2 ;
31066 int ecode2 = 0 ;
31067 PyObject * obj0 = 0 ;
31068 PyObject * obj1 = 0 ;
31069 char * kwnames[] = {
31070 (char *) "self",(char *) "zoom", NULL
31071 };
31072
31073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31075 if (!SWIG_IsOK(res1)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31077 }
31078 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31079 ecode2 = SWIG_AsVal_int(obj1, &val2);
31080 if (!SWIG_IsOK(ecode2)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31082 }
31083 arg2 = static_cast< int >(val2);
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 (arg1)->SetZoomControl(arg2);
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 resultobj = SWIG_Py_Void();
31091 return resultobj;
31092 fail:
31093 return NULL;
31094 }
31095
31096
31097 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31098 PyObject *obj;
31099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31101 return SWIG_Py_Void();
31102 }
31103
31104 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31105 return SWIG_Python_InitShadowInstance(args);
31106 }
31107
31108 static PyMethodDef SwigMethods[] = {
31109 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31111 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31113 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31115 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31116 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31118 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31125 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31127 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31129 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31130 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31131 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31132 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31133 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31136 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31138 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31141 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31142 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31144 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31146 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31147 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31148 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31149 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31153 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31155 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31158 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31160 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
31164 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31165 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31168 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31169 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31171 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31173 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31175 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31178 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31185 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31187 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31192 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31193 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31195 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31198 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31200 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31202 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31206 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31207 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31210 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31211 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31213 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31215 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31216 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31219 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31220 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31221 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31223 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31224 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31225 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31226 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31227 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31229 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31232 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31241 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31242 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31244 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31245 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31247 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31249 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31250 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31252 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31258 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31259 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31262 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31263 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31265 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31267 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31269 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31271 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31273 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31275 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31276 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31279 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31280 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31281 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31282 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31283 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31284 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31286 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31294 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31296 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31299 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31300 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31303 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31304 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31306 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31307 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31308 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31311 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31313 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31315 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31316 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31317 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31320 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31322 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31324 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31326 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31328 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31329 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31330 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31333 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31335 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31336 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31337 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31339 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31341 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31342 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31346 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31347 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31348 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31349 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31353 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31354 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31356 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31359 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31360 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31362 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31363 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31365 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31366 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31367 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31370 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31371 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31372 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31374 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31383 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31384 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31385 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31386 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31388 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31389 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31392 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31393 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31395 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31398 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31399 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31400 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31403 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31404 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31406 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31407 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31409 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31414 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31415 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31421 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31422 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31424 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31428 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31430 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31431 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31432 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31433 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31435 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31436 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31437 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31439 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31441 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31442 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31444 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31445 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31446 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31447 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31448 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31449 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31454 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31455 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31457 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31458 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31459 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31462 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31463 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31466 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31467 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31475 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31476 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31477 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31478 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31479 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31480 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31481 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31482 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31483 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31484 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31487 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31488 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31489 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31491 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31492 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31494 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31495 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31497 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31499 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31500 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31502 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31503 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31505 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31506 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31507 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31508 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31509 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31511 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31512 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31513 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31514 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31515 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31516 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31523 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31524 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31526 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31527 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31528 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31531 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31532 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31535 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31536 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31537 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31539 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31540 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31541 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31542 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31546 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31547 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31549 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31550 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31551 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31552 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31556 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31557 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31559 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31561 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31563 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31564 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31566 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31568 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31569 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31570 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31571 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31572 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31573 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31574 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31575 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31578 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31579 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31581 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31583 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31584 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31585 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31587 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31589 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31590 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31592 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31600 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31601 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31602 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31603 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31604 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31605 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31606 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31607 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31608 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31610 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31618 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31619 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31620 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31621 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31622 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31623 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31624 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31625 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31626 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31628 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31636 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31637 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31638 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31639 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31640 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31641 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31642 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31643 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31644 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31645 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31646 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31647 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31648 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31649 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31650 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31651 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31652 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31653 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31654 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31655 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31656 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31657 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31658 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31670 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31672 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31674 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31675 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31676 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31677 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31683 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31684 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31685 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31686 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31687 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31688 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31689 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31690 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31691 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31692 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31693 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31694 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31695 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31696 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31697 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31707 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31708 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31709 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31710 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31712 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31713 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31714 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31715 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31716 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31717 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31718 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31719 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31720 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31721 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31722 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31723 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31724 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31725 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31726 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31727 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31728 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31742 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31743 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31744 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31745 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31746 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31747 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31749 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31750 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31752 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31753 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31754 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31755 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31756 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31757 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31758 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31760 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31766 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31767 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31768 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31769 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31770 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31772 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31774 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31775 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31778 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31780 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31782 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31784 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31785 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31788 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31789 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31790 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31791 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31793 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31794 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31795 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31797 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31798 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31800 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31801 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31802 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31803 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31804 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31805 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31807 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31809 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31810 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31811 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31812 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31813 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31814 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31815 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31816 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31817 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31818 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31820 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31822 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31823 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31826 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31827 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31832 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31834 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31835 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31836 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31837 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31840 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31841 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31843 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31845 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31846 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31851 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31852 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31853 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31854 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31855 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31859 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31861 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31862 { NULL, NULL, 0, NULL }
31863 };
31864
31865
31866 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31867
31868 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31869 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31870 }
31871 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31873 }
31874 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31875 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31876 }
31877 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31878 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31879 }
31880 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31881 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31882 }
31883 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31884 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31885 }
31886 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31887 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31888 }
31889 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31890 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31891 }
31892 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31893 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31894 }
31895 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31896 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31897 }
31898 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31899 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31900 }
31901 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31903 }
31904 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31905 return (void *)((wxEvent *) ((wxPyEvent *) x));
31906 }
31907 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31908 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31909 }
31910 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31911 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31912 }
31913 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31914 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31915 }
31916 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31917 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31918 }
31919 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31920 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31921 }
31922 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31923 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31924 }
31925 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31926 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31927 }
31928 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31929 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31930 }
31931 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31932 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31933 }
31934 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31935 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31936 }
31937 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31939 }
31940 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31941 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31942 }
31943 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31944 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31945 }
31946 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31947 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31948 }
31949 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31950 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31951 }
31952 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31953 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31954 }
31955 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31956 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31957 }
31958 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31959 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31960 }
31961 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31962 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31963 }
31964 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31965 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31966 }
31967 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31968 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31969 }
31970 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31972 }
31973 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31974 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31975 }
31976 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31977 return (void *)((wxEvent *) ((wxShowEvent *) x));
31978 }
31979 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31980 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31981 }
31982 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31983 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31984 }
31985 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31987 }
31988 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31989 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31990 }
31991 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31992 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31993 }
31994 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31995 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31996 }
31997 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31998 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31999 }
32000 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32001 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32002 }
32003 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32004 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32005 }
32006 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32007 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32008 }
32009 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32010 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32011 }
32012 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32013 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32014 }
32015 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32016 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32017 }
32018 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32019 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32020 }
32021 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32022 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32023 }
32024 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32025 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32026 }
32027 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32028 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32029 }
32030 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32031 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32032 }
32033 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32034 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32035 }
32036 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32037 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32038 }
32039 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32040 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32041 }
32042 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32043 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32044 }
32045 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32046 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32047 }
32048 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32049 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32050 }
32051 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32052 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32053 }
32054 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32055 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32056 }
32057 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32058 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32059 }
32060 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32061 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32062 }
32063 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32064 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32065 }
32066 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32067 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32068 }
32069 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32071 }
32072 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32073 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32074 }
32075 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32076 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32077 }
32078 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32079 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32080 }
32081 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32082 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32083 }
32084 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32085 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32086 }
32087 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32088 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32089 }
32090 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32091 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32092 }
32093 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32094 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32095 }
32096 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32097 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32098 }
32099 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32100 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32101 }
32102 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32103 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32104 }
32105 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32106 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32107 }
32108 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32109 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32110 }
32111 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32112 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32113 }
32114 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32116 }
32117 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32118 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32119 }
32120 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32121 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32122 }
32123 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32124 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32125 }
32126 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32127 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32128 }
32129 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32130 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32131 }
32132 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32133 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32134 }
32135 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32136 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32137 }
32138 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32140 }
32141 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32143 }
32144 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32146 }
32147 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32149 }
32150 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32151 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32152 }
32153 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32154 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32155 }
32156 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32157 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32158 }
32159 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32160 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32161 }
32162 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32163 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32164 }
32165 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32166 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32167 }
32168 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32169 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32170 }
32171 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32172 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32173 }
32174 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32175 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32176 }
32177 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32178 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32179 }
32180 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32181 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32182 }
32183 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32184 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32185 }
32186 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32188 }
32189 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32191 }
32192 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32193 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32194 }
32195 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32196 return (void *)((wxObject *) ((wxSizerItem *) x));
32197 }
32198 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32200 }
32201 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32202 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32203 }
32204 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32205 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32206 }
32207 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32208 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32209 }
32210 static void *_p_wxSizerTo_p_wxObject(void *x) {
32211 return (void *)((wxObject *) ((wxSizer *) x));
32212 }
32213 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32214 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32215 }
32216 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32218 }
32219 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32221 }
32222 static void *_p_wxEventTo_p_wxObject(void *x) {
32223 return (void *)((wxObject *) ((wxEvent *) x));
32224 }
32225 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32226 return (void *)((wxObject *) ((wxFontData *) x));
32227 }
32228 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32229 return (void *)((wxObject *) ((wxPrintData *) x));
32230 }
32231 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32232 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32233 }
32234 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32235 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32236 }
32237 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32238 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32239 }
32240 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32241 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32242 }
32243 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32244 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32245 }
32246 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32248 }
32249 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32251 }
32252 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32253 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32254 }
32255 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32256 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32257 }
32258 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32259 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32260 }
32261 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32262 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32263 }
32264 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32265 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32266 }
32267 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32268 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32269 }
32270 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32272 }
32273 static void *_p_wxControlTo_p_wxObject(void *x) {
32274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32275 }
32276 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32277 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32278 }
32279 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32280 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32281 }
32282 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32283 return (void *)((wxObject *) ((wxFSFile *) x));
32284 }
32285 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32286 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32287 }
32288 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32289 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32290 }
32291 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32293 }
32294 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32295 return (void *)((wxObject *) ((wxColourData *) x));
32296 }
32297 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32298 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32299 }
32300 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32301 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32302 }
32303 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32305 }
32306 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32308 }
32309 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32311 }
32312 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32314 }
32315 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32317 }
32318 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32320 }
32321 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32323 }
32324 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32326 }
32327 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32329 }
32330 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32332 }
32333 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32335 }
32336 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32337 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32338 }
32339 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32340 return (void *)((wxObject *) ((wxPrinter *) x));
32341 }
32342 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32343 return (void *)((wxObject *) ((wxMenuItem *) x));
32344 }
32345 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32346 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32347 }
32348 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32349 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32350 }
32351 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32353 }
32354 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32355 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32356 }
32357 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32358 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32359 }
32360 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32361 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32362 }
32363 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32364 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32365 }
32366 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32367 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32368 }
32369 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32370 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32371 }
32372 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32373 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32374 }
32375 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32376 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32377 }
32378 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32379 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32380 }
32381 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32382 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32383 }
32384 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32385 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32386 }
32387 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32388 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32389 }
32390 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32391 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32392 }
32393 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32394 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32395 }
32396 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32397 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32398 }
32399 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32400 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32401 }
32402 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32403 return (void *)((wxObject *) ((wxImageHandler *) x));
32404 }
32405 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32406 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32407 }
32408 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32409 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32410 }
32411 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32412 return (void *)((wxObject *) ((wxEvtHandler *) x));
32413 }
32414 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32415 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32416 }
32417 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32419 }
32420 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32422 }
32423 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32424 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32425 }
32426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32427 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32428 }
32429 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32431 }
32432 static void *_p_wxImageTo_p_wxObject(void *x) {
32433 return (void *)((wxObject *) ((wxImage *) x));
32434 }
32435 static void *_p_wxFrameTo_p_wxObject(void *x) {
32436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32437 }
32438 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32439 return (void *)((wxObject *) ((wxPyPrintout *) x));
32440 }
32441 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32442 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32443 }
32444 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32445 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32446 }
32447 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32449 }
32450 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32452 }
32453 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32455 }
32456 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32457 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32458 }
32459 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32460 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32461 }
32462 static void *_p_wxWindowTo_p_wxObject(void *x) {
32463 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32464 }
32465 static void *_p_wxMenuTo_p_wxObject(void *x) {
32466 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32467 }
32468 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32470 }
32471 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32473 }
32474 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32476 }
32477 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32479 }
32480 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32482 }
32483 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32485 }
32486 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32488 }
32489 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32491 }
32492 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32494 }
32495 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32497 }
32498 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32500 }
32501 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32503 }
32504 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32506 }
32507 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32509 }
32510 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32511 return (void *)((wxObject *) ((wxPrintPreview *) x));
32512 }
32513 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32514 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32515 }
32516 static void *_p_wxPanelTo_p_wxObject(void *x) {
32517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32518 }
32519 static void *_p_wxDialogTo_p_wxObject(void *x) {
32520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32521 }
32522 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32524 }
32525 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32527 }
32528 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32530 }
32531 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32532 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32533 }
32534 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32535 return (void *)((wxObject *) ((wxPrintDialog *) x));
32536 }
32537 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32538 return (void *)((wxObject *) ((wxFileSystem *) x));
32539 }
32540 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32542 }
32543 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32544 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32545 }
32546 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32547 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32548 }
32549 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32550 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32551 }
32552 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32553 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32554 }
32555 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32556 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32557 }
32558 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32560 }
32561 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32562 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32563 }
32564 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32566 }
32567 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32569 }
32570 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32571 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32572 }
32573 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32574 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32575 }
32576 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32577 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32578 }
32579 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32581 }
32582 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32583 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32584 }
32585 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32586 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32587 }
32588 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32589 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32590 }
32591 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32592 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32593 }
32594 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32595 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32596 }
32597 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32598 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32599 }
32600 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32601 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32602 }
32603 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32604 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32605 }
32606 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32607 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32608 }
32609 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32610 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32611 }
32612 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32613 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32614 }
32615 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32616 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32617 }
32618 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32619 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32620 }
32621 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32622 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32623 }
32624 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32625 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32626 }
32627 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32628 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32629 }
32630 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32631 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32632 }
32633 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32634 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32635 }
32636 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32637 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32638 }
32639 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32640 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32641 }
32642 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32643 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32644 }
32645 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32646 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32647 }
32648 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32649 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32650 }
32651 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32652 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32653 }
32654 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32655 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32656 }
32657 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32658 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32659 }
32660 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32661 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32662 }
32663 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32664 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32665 }
32666 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32667 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32668 }
32669 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32670 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32671 }
32672 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32673 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32674 }
32675 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32676 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32677 }
32678 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32679 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32680 }
32681 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32682 return (void *)((wxWindow *) ((wxMenuBar *) x));
32683 }
32684 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32685 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32686 }
32687 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32688 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32689 }
32690 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32691 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32692 }
32693 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32694 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32695 }
32696 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32697 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32698 }
32699 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32700 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32701 }
32702 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32703 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32704 }
32705 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32706 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32707 }
32708 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32709 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32710 }
32711 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32712 return (void *)((wxWindow *) ((wxPanel *) x));
32713 }
32714 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32715 return (void *)((wxWindow *) ((wxStatusBar *) x));
32716 }
32717 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32718 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32719 }
32720 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32721 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32722 }
32723 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32724 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32725 }
32726 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32727 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32728 }
32729 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32730 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32731 }
32732 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32733 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32734 }
32735 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32736 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32737 }
32738 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32739 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32740 }
32741 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32742 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32743 }
32744 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32745 return (void *)((wxWindow *) ((wxSashWindow *) x));
32746 }
32747 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32748 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32749 }
32750 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32751 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32752 }
32753 static void *_p_wxControlTo_p_wxWindow(void *x) {
32754 return (void *)((wxWindow *) ((wxControl *) x));
32755 }
32756 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32758 }
32759 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32761 }
32762 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32764 }
32765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32766 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32767 }
32768 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32769 return (void *)((wxWindow *) ((wxPyWindow *) x));
32770 }
32771 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32772 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32773 }
32774 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32775 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32776 }
32777 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32778 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32779 }
32780 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32781 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32782 }
32783 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32784 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32785 }
32786 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32787 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32788 }
32789 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32791 }
32792 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32794 }
32795 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32797 }
32798 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32799 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32800 }
32801 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32802 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32803 }
32804 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32805 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32806 }
32807 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32808 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32809 }
32810 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32811 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32812 }
32813 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32814 return (void *)((wxDialog *) ((wxColourDialog *) x));
32815 }
32816 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32817 return (void *)((wxDialog *) ((wxDirDialog *) x));
32818 }
32819 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32820 return (void *)((wxDialog *) ((wxFontDialog *) x));
32821 }
32822 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32823 return (void *)((wxDialog *) ((wxFileDialog *) x));
32824 }
32825 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32826 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32827 }
32828 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32829 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32830 }
32831 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32832 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32833 }
32834 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32835 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32836 }
32837 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32838 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32839 }
32840 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32841 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32842 }
32843 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32844 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32845 }
32846 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32847 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32848 }
32849 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32850 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32851 }
32852 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32853 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32854 }
32855 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32856 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32857 }
32858 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32859 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32860 }
32861 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32862 return (void *)((wxPanel *) ((wxPyPanel *) x));
32863 }
32864 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32865 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32866 }
32867 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32868 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32869 }
32870 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32871 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32872 }
32873 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32874 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32875 }
32876 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32877 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32878 }
32879 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32880 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32881 }
32882 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32883 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32884 }
32885 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32886 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32887 }
32888 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32889 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32890 }
32891 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32892 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32893 }
32894 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32895 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32896 }
32897 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32898 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32899 }
32900 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32901 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32902 }
32903 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32904 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32905 }
32906 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32907 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32908 }
32909 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32910 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32911 }
32912 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32913 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32914 }
32915 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32917 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};
32918 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32930 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32931 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32932 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32933 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32934 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32935 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32936 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32940 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32941 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32942 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32943 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32945 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32946 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32947 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32948 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32949 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32950 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32951 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32952 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32953 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32954 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32955 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32956 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32957 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32958 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32959 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32960 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32961 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32962 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32963 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32964 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32965 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32966 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32967 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32968 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32969 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32970 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32971 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32972 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32973 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32974 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32975 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32976 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32977 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32978 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32979 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32980 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32981 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32982 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32983 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32984 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32985 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32986 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32987 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32988 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32989 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32990 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32991 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32992 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32993 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32994 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32995 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32996 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32997 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32998 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32999 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33000 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33001 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33002 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33003 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33004 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33005 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33006 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33007 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33008 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33009 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33010 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33011 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33012 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33013 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33014 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33015 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33016 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33017 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33018 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33019 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33020 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33021 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33022 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33023 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33024 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33025 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33026 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33027 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33028 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33029 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33030 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33031 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33032 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33033 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33034 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33049 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33050 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33051 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33052 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33053 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33054 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33055 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33056 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33057 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33058 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33059 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33060 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33061 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33062 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33063 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33064 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33065 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33066 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33067 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33068 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33069 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33070 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33071 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33072 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33073 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33074 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33075 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33076 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33077 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33079
33080 static swig_type_info *swig_type_initial[] = {
33081 &_swigt__p_bool,
33082 &_swigt__p_char,
33083 &_swigt__p_form_ops_t,
33084 &_swigt__p_int,
33085 &_swigt__p_unsigned_char,
33086 &_swigt__p_unsigned_int,
33087 &_swigt__p_unsigned_long,
33088 &_swigt__p_wxANIHandler,
33089 &_swigt__p_wxAcceleratorTable,
33090 &_swigt__p_wxActivateEvent,
33091 &_swigt__p_wxArrayInt,
33092 &_swigt__p_wxBMPHandler,
33093 &_swigt__p_wxBitmap,
33094 &_swigt__p_wxBoxSizer,
33095 &_swigt__p_wxCURHandler,
33096 &_swigt__p_wxCalculateLayoutEvent,
33097 &_swigt__p_wxChildFocusEvent,
33098 &_swigt__p_wxClipboardTextEvent,
33099 &_swigt__p_wxCloseEvent,
33100 &_swigt__p_wxColour,
33101 &_swigt__p_wxColourData,
33102 &_swigt__p_wxColourDialog,
33103 &_swigt__p_wxCommandEvent,
33104 &_swigt__p_wxContextMenuEvent,
33105 &_swigt__p_wxControl,
33106 &_swigt__p_wxControlWithItems,
33107 &_swigt__p_wxDC,
33108 &_swigt__p_wxDateEvent,
33109 &_swigt__p_wxDialog,
33110 &_swigt__p_wxDirDialog,
33111 &_swigt__p_wxDisplayChangedEvent,
33112 &_swigt__p_wxDropFilesEvent,
33113 &_swigt__p_wxDuplexMode,
33114 &_swigt__p_wxEraseEvent,
33115 &_swigt__p_wxEvent,
33116 &_swigt__p_wxEvtHandler,
33117 &_swigt__p_wxFSFile,
33118 &_swigt__p_wxFileDialog,
33119 &_swigt__p_wxFileSystem,
33120 &_swigt__p_wxFindDialogEvent,
33121 &_swigt__p_wxFindReplaceData,
33122 &_swigt__p_wxFindReplaceDialog,
33123 &_swigt__p_wxFlexGridSizer,
33124 &_swigt__p_wxFocusEvent,
33125 &_swigt__p_wxFont,
33126 &_swigt__p_wxFontData,
33127 &_swigt__p_wxFontDialog,
33128 &_swigt__p_wxFrame,
33129 &_swigt__p_wxGBSizerItem,
33130 &_swigt__p_wxGIFHandler,
33131 &_swigt__p_wxGridBagSizer,
33132 &_swigt__p_wxGridSizer,
33133 &_swigt__p_wxHtmlLinkInfo,
33134 &_swigt__p_wxICOHandler,
33135 &_swigt__p_wxIcon,
33136 &_swigt__p_wxIconBundle,
33137 &_swigt__p_wxIconizeEvent,
33138 &_swigt__p_wxIdleEvent,
33139 &_swigt__p_wxImage,
33140 &_swigt__p_wxImageHandler,
33141 &_swigt__p_wxIndividualLayoutConstraint,
33142 &_swigt__p_wxInitDialogEvent,
33143 &_swigt__p_wxJPEGHandler,
33144 &_swigt__p_wxKeyEvent,
33145 &_swigt__p_wxLayoutAlgorithm,
33146 &_swigt__p_wxLayoutConstraints,
33147 &_swigt__p_wxMDIChildFrame,
33148 &_swigt__p_wxMDIClientWindow,
33149 &_swigt__p_wxMDIParentFrame,
33150 &_swigt__p_wxMaximizeEvent,
33151 &_swigt__p_wxMenu,
33152 &_swigt__p_wxMenuBar,
33153 &_swigt__p_wxMenuEvent,
33154 &_swigt__p_wxMenuItem,
33155 &_swigt__p_wxMessageDialog,
33156 &_swigt__p_wxMiniFrame,
33157 &_swigt__p_wxMouseCaptureChangedEvent,
33158 &_swigt__p_wxMouseEvent,
33159 &_swigt__p_wxMoveEvent,
33160 &_swigt__p_wxMultiChoiceDialog,
33161 &_swigt__p_wxNavigationKeyEvent,
33162 &_swigt__p_wxNcPaintEvent,
33163 &_swigt__p_wxNotifyEvent,
33164 &_swigt__p_wxNumberEntryDialog,
33165 &_swigt__p_wxObject,
33166 &_swigt__p_wxPCXHandler,
33167 &_swigt__p_wxPNGHandler,
33168 &_swigt__p_wxPNMHandler,
33169 &_swigt__p_wxPageSetupDialog,
33170 &_swigt__p_wxPageSetupDialogData,
33171 &_swigt__p_wxPaintEvent,
33172 &_swigt__p_wxPaletteChangedEvent,
33173 &_swigt__p_wxPanel,
33174 &_swigt__p_wxPaperSize,
33175 &_swigt__p_wxPasswordEntryDialog,
33176 &_swigt__p_wxPoint,
33177 &_swigt__p_wxPopupWindow,
33178 &_swigt__p_wxPreviewCanvas,
33179 &_swigt__p_wxPreviewControlBar,
33180 &_swigt__p_wxPreviewFrame,
33181 &_swigt__p_wxPrintData,
33182 &_swigt__p_wxPrintDialog,
33183 &_swigt__p_wxPrintDialogData,
33184 &_swigt__p_wxPrintPreview,
33185 &_swigt__p_wxPrinter,
33186 &_swigt__p_wxProgressDialog,
33187 &_swigt__p_wxPyApp,
33188 &_swigt__p_wxPyCommandEvent,
33189 &_swigt__p_wxPyEvent,
33190 &_swigt__p_wxPyHtmlListBox,
33191 &_swigt__p_wxPyImageHandler,
33192 &_swigt__p_wxPyPanel,
33193 &_swigt__p_wxPyPopupTransientWindow,
33194 &_swigt__p_wxPyPreviewControlBar,
33195 &_swigt__p_wxPyPreviewFrame,
33196 &_swigt__p_wxPyPrintPreview,
33197 &_swigt__p_wxPyPrintout,
33198 &_swigt__p_wxPyScrolledWindow,
33199 &_swigt__p_wxPySizer,
33200 &_swigt__p_wxPyTaskBarIcon,
33201 &_swigt__p_wxPyVListBox,
33202 &_swigt__p_wxPyVScrolledWindow,
33203 &_swigt__p_wxPyValidator,
33204 &_swigt__p_wxPyWindow,
33205 &_swigt__p_wxQueryLayoutInfoEvent,
33206 &_swigt__p_wxQueryNewPaletteEvent,
33207 &_swigt__p_wxRect,
33208 &_swigt__p_wxRegion,
33209 &_swigt__p_wxSashEvent,
33210 &_swigt__p_wxSashLayoutWindow,
33211 &_swigt__p_wxSashWindow,
33212 &_swigt__p_wxScrollEvent,
33213 &_swigt__p_wxScrollWinEvent,
33214 &_swigt__p_wxScrolledWindow,
33215 &_swigt__p_wxSetCursorEvent,
33216 &_swigt__p_wxShowEvent,
33217 &_swigt__p_wxSingleChoiceDialog,
33218 &_swigt__p_wxSize,
33219 &_swigt__p_wxSizeEvent,
33220 &_swigt__p_wxSizer,
33221 &_swigt__p_wxSizerItem,
33222 &_swigt__p_wxSplashScreen,
33223 &_swigt__p_wxSplashScreenWindow,
33224 &_swigt__p_wxSplitterEvent,
33225 &_swigt__p_wxSplitterWindow,
33226 &_swigt__p_wxStaticBoxSizer,
33227 &_swigt__p_wxStatusBar,
33228 &_swigt__p_wxStdDialogButtonSizer,
33229 &_swigt__p_wxString,
33230 &_swigt__p_wxSysColourChangedEvent,
33231 &_swigt__p_wxTIFFHandler,
33232 &_swigt__p_wxTaskBarIcon,
33233 &_swigt__p_wxTaskBarIconEvent,
33234 &_swigt__p_wxTextEntryDialog,
33235 &_swigt__p_wxTipWindow,
33236 &_swigt__p_wxToolBar,
33237 &_swigt__p_wxTopLevelWindow,
33238 &_swigt__p_wxUpdateUIEvent,
33239 &_swigt__p_wxValidator,
33240 &_swigt__p_wxVisualAttributes,
33241 &_swigt__p_wxWindow,
33242 &_swigt__p_wxWindowCreateEvent,
33243 &_swigt__p_wxWindowDestroyEvent,
33244 &_swigt__p_wxXPMHandler,
33245 };
33246
33247 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33269 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}};
33270 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33271 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}};
33272 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33278 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33279 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33280 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33281 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33286 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33287 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33297 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33298 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33299 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33300 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33305 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}};
33306 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33309 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33310 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33311 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33314 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}};
33315 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33316 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33324 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33325 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33327 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}};
33328 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33330 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33336 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33337 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33338 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33339 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33340 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33343 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33344 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33347 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33348 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33349 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33350 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33351 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33354 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33355 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33359 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33360 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}};
33361 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33363 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33364 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}};
33365 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33366 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}};
33367 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}};
33368 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33370 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33371 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}};
33372 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33374 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33375 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33376 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}};
33377 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33378 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33380 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33381 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33382 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33383 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}};
33384 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}};
33385 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33386 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33387 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33388 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33389 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33390 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33391 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}};
33392 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33393 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}};
33394 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33395 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33396 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33397 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33398 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33399 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33400 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33401 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33402 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33403 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33404 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33405 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}};
33406 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33407 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33408 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}};
33409 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33410 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}};
33411
33412 static swig_cast_info *swig_cast_initial[] = {
33413 _swigc__p_bool,
33414 _swigc__p_char,
33415 _swigc__p_form_ops_t,
33416 _swigc__p_int,
33417 _swigc__p_unsigned_char,
33418 _swigc__p_unsigned_int,
33419 _swigc__p_unsigned_long,
33420 _swigc__p_wxANIHandler,
33421 _swigc__p_wxAcceleratorTable,
33422 _swigc__p_wxActivateEvent,
33423 _swigc__p_wxArrayInt,
33424 _swigc__p_wxBMPHandler,
33425 _swigc__p_wxBitmap,
33426 _swigc__p_wxBoxSizer,
33427 _swigc__p_wxCURHandler,
33428 _swigc__p_wxCalculateLayoutEvent,
33429 _swigc__p_wxChildFocusEvent,
33430 _swigc__p_wxClipboardTextEvent,
33431 _swigc__p_wxCloseEvent,
33432 _swigc__p_wxColour,
33433 _swigc__p_wxColourData,
33434 _swigc__p_wxColourDialog,
33435 _swigc__p_wxCommandEvent,
33436 _swigc__p_wxContextMenuEvent,
33437 _swigc__p_wxControl,
33438 _swigc__p_wxControlWithItems,
33439 _swigc__p_wxDC,
33440 _swigc__p_wxDateEvent,
33441 _swigc__p_wxDialog,
33442 _swigc__p_wxDirDialog,
33443 _swigc__p_wxDisplayChangedEvent,
33444 _swigc__p_wxDropFilesEvent,
33445 _swigc__p_wxDuplexMode,
33446 _swigc__p_wxEraseEvent,
33447 _swigc__p_wxEvent,
33448 _swigc__p_wxEvtHandler,
33449 _swigc__p_wxFSFile,
33450 _swigc__p_wxFileDialog,
33451 _swigc__p_wxFileSystem,
33452 _swigc__p_wxFindDialogEvent,
33453 _swigc__p_wxFindReplaceData,
33454 _swigc__p_wxFindReplaceDialog,
33455 _swigc__p_wxFlexGridSizer,
33456 _swigc__p_wxFocusEvent,
33457 _swigc__p_wxFont,
33458 _swigc__p_wxFontData,
33459 _swigc__p_wxFontDialog,
33460 _swigc__p_wxFrame,
33461 _swigc__p_wxGBSizerItem,
33462 _swigc__p_wxGIFHandler,
33463 _swigc__p_wxGridBagSizer,
33464 _swigc__p_wxGridSizer,
33465 _swigc__p_wxHtmlLinkInfo,
33466 _swigc__p_wxICOHandler,
33467 _swigc__p_wxIcon,
33468 _swigc__p_wxIconBundle,
33469 _swigc__p_wxIconizeEvent,
33470 _swigc__p_wxIdleEvent,
33471 _swigc__p_wxImage,
33472 _swigc__p_wxImageHandler,
33473 _swigc__p_wxIndividualLayoutConstraint,
33474 _swigc__p_wxInitDialogEvent,
33475 _swigc__p_wxJPEGHandler,
33476 _swigc__p_wxKeyEvent,
33477 _swigc__p_wxLayoutAlgorithm,
33478 _swigc__p_wxLayoutConstraints,
33479 _swigc__p_wxMDIChildFrame,
33480 _swigc__p_wxMDIClientWindow,
33481 _swigc__p_wxMDIParentFrame,
33482 _swigc__p_wxMaximizeEvent,
33483 _swigc__p_wxMenu,
33484 _swigc__p_wxMenuBar,
33485 _swigc__p_wxMenuEvent,
33486 _swigc__p_wxMenuItem,
33487 _swigc__p_wxMessageDialog,
33488 _swigc__p_wxMiniFrame,
33489 _swigc__p_wxMouseCaptureChangedEvent,
33490 _swigc__p_wxMouseEvent,
33491 _swigc__p_wxMoveEvent,
33492 _swigc__p_wxMultiChoiceDialog,
33493 _swigc__p_wxNavigationKeyEvent,
33494 _swigc__p_wxNcPaintEvent,
33495 _swigc__p_wxNotifyEvent,
33496 _swigc__p_wxNumberEntryDialog,
33497 _swigc__p_wxObject,
33498 _swigc__p_wxPCXHandler,
33499 _swigc__p_wxPNGHandler,
33500 _swigc__p_wxPNMHandler,
33501 _swigc__p_wxPageSetupDialog,
33502 _swigc__p_wxPageSetupDialogData,
33503 _swigc__p_wxPaintEvent,
33504 _swigc__p_wxPaletteChangedEvent,
33505 _swigc__p_wxPanel,
33506 _swigc__p_wxPaperSize,
33507 _swigc__p_wxPasswordEntryDialog,
33508 _swigc__p_wxPoint,
33509 _swigc__p_wxPopupWindow,
33510 _swigc__p_wxPreviewCanvas,
33511 _swigc__p_wxPreviewControlBar,
33512 _swigc__p_wxPreviewFrame,
33513 _swigc__p_wxPrintData,
33514 _swigc__p_wxPrintDialog,
33515 _swigc__p_wxPrintDialogData,
33516 _swigc__p_wxPrintPreview,
33517 _swigc__p_wxPrinter,
33518 _swigc__p_wxProgressDialog,
33519 _swigc__p_wxPyApp,
33520 _swigc__p_wxPyCommandEvent,
33521 _swigc__p_wxPyEvent,
33522 _swigc__p_wxPyHtmlListBox,
33523 _swigc__p_wxPyImageHandler,
33524 _swigc__p_wxPyPanel,
33525 _swigc__p_wxPyPopupTransientWindow,
33526 _swigc__p_wxPyPreviewControlBar,
33527 _swigc__p_wxPyPreviewFrame,
33528 _swigc__p_wxPyPrintPreview,
33529 _swigc__p_wxPyPrintout,
33530 _swigc__p_wxPyScrolledWindow,
33531 _swigc__p_wxPySizer,
33532 _swigc__p_wxPyTaskBarIcon,
33533 _swigc__p_wxPyVListBox,
33534 _swigc__p_wxPyVScrolledWindow,
33535 _swigc__p_wxPyValidator,
33536 _swigc__p_wxPyWindow,
33537 _swigc__p_wxQueryLayoutInfoEvent,
33538 _swigc__p_wxQueryNewPaletteEvent,
33539 _swigc__p_wxRect,
33540 _swigc__p_wxRegion,
33541 _swigc__p_wxSashEvent,
33542 _swigc__p_wxSashLayoutWindow,
33543 _swigc__p_wxSashWindow,
33544 _swigc__p_wxScrollEvent,
33545 _swigc__p_wxScrollWinEvent,
33546 _swigc__p_wxScrolledWindow,
33547 _swigc__p_wxSetCursorEvent,
33548 _swigc__p_wxShowEvent,
33549 _swigc__p_wxSingleChoiceDialog,
33550 _swigc__p_wxSize,
33551 _swigc__p_wxSizeEvent,
33552 _swigc__p_wxSizer,
33553 _swigc__p_wxSizerItem,
33554 _swigc__p_wxSplashScreen,
33555 _swigc__p_wxSplashScreenWindow,
33556 _swigc__p_wxSplitterEvent,
33557 _swigc__p_wxSplitterWindow,
33558 _swigc__p_wxStaticBoxSizer,
33559 _swigc__p_wxStatusBar,
33560 _swigc__p_wxStdDialogButtonSizer,
33561 _swigc__p_wxString,
33562 _swigc__p_wxSysColourChangedEvent,
33563 _swigc__p_wxTIFFHandler,
33564 _swigc__p_wxTaskBarIcon,
33565 _swigc__p_wxTaskBarIconEvent,
33566 _swigc__p_wxTextEntryDialog,
33567 _swigc__p_wxTipWindow,
33568 _swigc__p_wxToolBar,
33569 _swigc__p_wxTopLevelWindow,
33570 _swigc__p_wxUpdateUIEvent,
33571 _swigc__p_wxValidator,
33572 _swigc__p_wxVisualAttributes,
33573 _swigc__p_wxWindow,
33574 _swigc__p_wxWindowCreateEvent,
33575 _swigc__p_wxWindowDestroyEvent,
33576 _swigc__p_wxXPMHandler,
33577 };
33578
33579
33580 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33581
33582 static swig_const_info swig_const_table[] = {
33583 {0, 0, 0, 0.0, 0, 0}};
33584
33585 #ifdef __cplusplus
33586 }
33587 #endif
33588 /* -----------------------------------------------------------------------------
33589 * Type initialization:
33590 * This problem is tough by the requirement that no dynamic
33591 * memory is used. Also, since swig_type_info structures store pointers to
33592 * swig_cast_info structures and swig_cast_info structures store pointers back
33593 * to swig_type_info structures, we need some lookup code at initialization.
33594 * The idea is that swig generates all the structures that are needed.
33595 * The runtime then collects these partially filled structures.
33596 * The SWIG_InitializeModule function takes these initial arrays out of
33597 * swig_module, and does all the lookup, filling in the swig_module.types
33598 * array with the correct data and linking the correct swig_cast_info
33599 * structures together.
33600 *
33601 * The generated swig_type_info structures are assigned staticly to an initial
33602 * array. We just loop though that array, and handle each type individually.
33603 * First we lookup if this type has been already loaded, and if so, use the
33604 * loaded structure instead of the generated one. Then we have to fill in the
33605 * cast linked list. The cast data is initially stored in something like a
33606 * two-dimensional array. Each row corresponds to a type (there are the same
33607 * number of rows as there are in the swig_type_initial array). Each entry in
33608 * a column is one of the swig_cast_info structures for that type.
33609 * The cast_initial array is actually an array of arrays, because each row has
33610 * a variable number of columns. So to actually build the cast linked list,
33611 * we find the array of casts associated with the type, and loop through it
33612 * adding the casts to the list. The one last trick we need to do is making
33613 * sure the type pointer in the swig_cast_info struct is correct.
33614 *
33615 * First off, we lookup the cast->type name to see if it is already loaded.
33616 * There are three cases to handle:
33617 * 1) If the cast->type has already been loaded AND the type we are adding
33618 * casting info to has not been loaded (it is in this module), THEN we
33619 * replace the cast->type pointer with the type pointer that has already
33620 * been loaded.
33621 * 2) If BOTH types (the one we are adding casting info to, and the
33622 * cast->type) are loaded, THEN the cast info has already been loaded by
33623 * the previous module so we just ignore it.
33624 * 3) Finally, if cast->type has not already been loaded, then we add that
33625 * swig_cast_info to the linked list (because the cast->type) pointer will
33626 * be correct.
33627 * ----------------------------------------------------------------------------- */
33628
33629 #ifdef __cplusplus
33630 extern "C" {
33631 #if 0
33632 } /* c-mode */
33633 #endif
33634 #endif
33635
33636 #if 0
33637 #define SWIGRUNTIME_DEBUG
33638 #endif
33639
33640 SWIGRUNTIME void
33641 SWIG_InitializeModule(void *clientdata) {
33642 size_t i;
33643 swig_module_info *module_head;
33644 static int init_run = 0;
33645
33646 clientdata = clientdata;
33647
33648 if (init_run) return;
33649 init_run = 1;
33650
33651 /* Initialize the swig_module */
33652 swig_module.type_initial = swig_type_initial;
33653 swig_module.cast_initial = swig_cast_initial;
33654
33655 /* Try and load any already created modules */
33656 module_head = SWIG_GetModule(clientdata);
33657 if (module_head) {
33658 swig_module.next = module_head->next;
33659 module_head->next = &swig_module;
33660 } else {
33661 /* This is the first module loaded */
33662 swig_module.next = &swig_module;
33663 SWIG_SetModule(clientdata, &swig_module);
33664 }
33665
33666 /* Now work on filling in swig_module.types */
33667 #ifdef SWIGRUNTIME_DEBUG
33668 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33669 #endif
33670 for (i = 0; i < swig_module.size; ++i) {
33671 swig_type_info *type = 0;
33672 swig_type_info *ret;
33673 swig_cast_info *cast;
33674
33675 #ifdef SWIGRUNTIME_DEBUG
33676 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33677 #endif
33678
33679 /* if there is another module already loaded */
33680 if (swig_module.next != &swig_module) {
33681 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33682 }
33683 if (type) {
33684 /* Overwrite clientdata field */
33685 #ifdef SWIGRUNTIME_DEBUG
33686 printf("SWIG_InitializeModule: found type %s\n", type->name);
33687 #endif
33688 if (swig_module.type_initial[i]->clientdata) {
33689 type->clientdata = swig_module.type_initial[i]->clientdata;
33690 #ifdef SWIGRUNTIME_DEBUG
33691 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33692 #endif
33693 }
33694 } else {
33695 type = swig_module.type_initial[i];
33696 }
33697
33698 /* Insert casting types */
33699 cast = swig_module.cast_initial[i];
33700 while (cast->type) {
33701 /* Don't need to add information already in the list */
33702 ret = 0;
33703 #ifdef SWIGRUNTIME_DEBUG
33704 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33705 #endif
33706 if (swig_module.next != &swig_module) {
33707 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33708 #ifdef SWIGRUNTIME_DEBUG
33709 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33710 #endif
33711 }
33712 if (ret) {
33713 if (type == swig_module.type_initial[i]) {
33714 #ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33716 #endif
33717 cast->type = ret;
33718 ret = 0;
33719 } else {
33720 /* Check for casting already in the list */
33721 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33722 #ifdef SWIGRUNTIME_DEBUG
33723 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33724 #endif
33725 if (!ocast) ret = 0;
33726 }
33727 }
33728
33729 if (!ret) {
33730 #ifdef SWIGRUNTIME_DEBUG
33731 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33732 #endif
33733 if (type->cast) {
33734 type->cast->prev = cast;
33735 cast->next = type->cast;
33736 }
33737 type->cast = cast;
33738 }
33739 cast++;
33740 }
33741 /* Set entry in modules->types array equal to the type */
33742 swig_module.types[i] = type;
33743 }
33744 swig_module.types[i] = 0;
33745
33746 #ifdef SWIGRUNTIME_DEBUG
33747 printf("**** SWIG_InitializeModule: Cast List ******\n");
33748 for (i = 0; i < swig_module.size; ++i) {
33749 int j = 0;
33750 swig_cast_info *cast = swig_module.cast_initial[i];
33751 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33752 while (cast->type) {
33753 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33754 cast++;
33755 ++j;
33756 }
33757 printf("---- Total casts: %d\n",j);
33758 }
33759 printf("**** SWIG_InitializeModule: Cast List ******\n");
33760 #endif
33761 }
33762
33763 /* This function will propagate the clientdata field of type to
33764 * any new swig_type_info structures that have been added into the list
33765 * of equivalent types. It is like calling
33766 * SWIG_TypeClientData(type, clientdata) a second time.
33767 */
33768 SWIGRUNTIME void
33769 SWIG_PropagateClientData(void) {
33770 size_t i;
33771 swig_cast_info *equiv;
33772 static int init_run = 0;
33773
33774 if (init_run) return;
33775 init_run = 1;
33776
33777 for (i = 0; i < swig_module.size; i++) {
33778 if (swig_module.types[i]->clientdata) {
33779 equiv = swig_module.types[i]->cast;
33780 while (equiv) {
33781 if (!equiv->converter) {
33782 if (equiv->type && !equiv->type->clientdata)
33783 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33784 }
33785 equiv = equiv->next;
33786 }
33787 }
33788 }
33789 }
33790
33791 #ifdef __cplusplus
33792 #if 0
33793 {
33794 /* c-mode */
33795 #endif
33796 }
33797 #endif
33798
33799
33800
33801 #ifdef __cplusplus
33802 extern "C" {
33803 #endif
33804
33805 /* Python-specific SWIG API */
33806 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33807 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33808 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33809
33810 /* -----------------------------------------------------------------------------
33811 * global variable support code.
33812 * ----------------------------------------------------------------------------- */
33813
33814 typedef struct swig_globalvar {
33815 char *name; /* Name of global variable */
33816 PyObject *(*get_attr)(void); /* Return the current value */
33817 int (*set_attr)(PyObject *); /* Set the value */
33818 struct swig_globalvar *next;
33819 } swig_globalvar;
33820
33821 typedef struct swig_varlinkobject {
33822 PyObject_HEAD
33823 swig_globalvar *vars;
33824 } swig_varlinkobject;
33825
33826 SWIGINTERN PyObject *
33827 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33828 return PyString_FromString("<Swig global variables>");
33829 }
33830
33831 SWIGINTERN PyObject *
33832 swig_varlink_str(swig_varlinkobject *v) {
33833 PyObject *str = PyString_FromString("(");
33834 swig_globalvar *var;
33835 for (var = v->vars; var; var=var->next) {
33836 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33837 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33838 }
33839 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33840 return str;
33841 }
33842
33843 SWIGINTERN int
33844 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33845 PyObject *str = swig_varlink_str(v);
33846 fprintf(fp,"Swig global variables ");
33847 fprintf(fp,"%s\n", PyString_AsString(str));
33848 Py_DECREF(str);
33849 return 0;
33850 }
33851
33852 SWIGINTERN void
33853 swig_varlink_dealloc(swig_varlinkobject *v) {
33854 swig_globalvar *var = v->vars;
33855 while (var) {
33856 swig_globalvar *n = var->next;
33857 free(var->name);
33858 free(var);
33859 var = n;
33860 }
33861 }
33862
33863 SWIGINTERN PyObject *
33864 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33865 PyObject *res = NULL;
33866 swig_globalvar *var = v->vars;
33867 while (var) {
33868 if (strcmp(var->name,n) == 0) {
33869 res = (*var->get_attr)();
33870 break;
33871 }
33872 var = var->next;
33873 }
33874 if (res == NULL && !PyErr_Occurred()) {
33875 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33876 }
33877 return res;
33878 }
33879
33880 SWIGINTERN int
33881 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33882 int res = 1;
33883 swig_globalvar *var = v->vars;
33884 while (var) {
33885 if (strcmp(var->name,n) == 0) {
33886 res = (*var->set_attr)(p);
33887 break;
33888 }
33889 var = var->next;
33890 }
33891 if (res == 1 && !PyErr_Occurred()) {
33892 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33893 }
33894 return res;
33895 }
33896
33897 SWIGINTERN PyTypeObject*
33898 swig_varlink_type(void) {
33899 static char varlink__doc__[] = "Swig var link object";
33900 static PyTypeObject varlink_type;
33901 static int type_init = 0;
33902 if (!type_init) {
33903 const PyTypeObject tmp
33904 = {
33905 PyObject_HEAD_INIT(NULL)
33906 0, /* Number of items in variable part (ob_size) */
33907 (char *)"swigvarlink", /* Type name (tp_name) */
33908 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33909 0, /* Itemsize (tp_itemsize) */
33910 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33911 (printfunc) swig_varlink_print, /* Print (tp_print) */
33912 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33913 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33914 0, /* tp_compare */
33915 (reprfunc) swig_varlink_repr, /* tp_repr */
33916 0, /* tp_as_number */
33917 0, /* tp_as_sequence */
33918 0, /* tp_as_mapping */
33919 0, /* tp_hash */
33920 0, /* tp_call */
33921 (reprfunc)swig_varlink_str, /* tp_str */
33922 0, /* tp_getattro */
33923 0, /* tp_setattro */
33924 0, /* tp_as_buffer */
33925 0, /* tp_flags */
33926 varlink__doc__, /* tp_doc */
33927 0, /* tp_traverse */
33928 0, /* tp_clear */
33929 0, /* tp_richcompare */
33930 0, /* tp_weaklistoffset */
33931 #if PY_VERSION_HEX >= 0x02020000
33932 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33933 #endif
33934 #if PY_VERSION_HEX >= 0x02030000
33935 0, /* tp_del */
33936 #endif
33937 #ifdef COUNT_ALLOCS
33938 0,0,0,0 /* tp_alloc -> tp_next */
33939 #endif
33940 };
33941 varlink_type = tmp;
33942 varlink_type.ob_type = &PyType_Type;
33943 type_init = 1;
33944 }
33945 return &varlink_type;
33946 }
33947
33948 /* Create a variable linking object for use later */
33949 SWIGINTERN PyObject *
33950 SWIG_Python_newvarlink(void) {
33951 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33952 if (result) {
33953 result->vars = 0;
33954 }
33955 return ((PyObject*) result);
33956 }
33957
33958 SWIGINTERN void
33959 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33960 swig_varlinkobject *v = (swig_varlinkobject *) p;
33961 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33962 if (gv) {
33963 size_t size = strlen(name)+1;
33964 gv->name = (char *)malloc(size);
33965 if (gv->name) {
33966 strncpy(gv->name,name,size);
33967 gv->get_attr = get_attr;
33968 gv->set_attr = set_attr;
33969 gv->next = v->vars;
33970 }
33971 }
33972 v->vars = gv;
33973 }
33974
33975 SWIGINTERN PyObject *
33976 SWIG_globals() {
33977 static PyObject *_SWIG_globals = 0;
33978 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33979 return _SWIG_globals;
33980 }
33981
33982 /* -----------------------------------------------------------------------------
33983 * constants/methods manipulation
33984 * ----------------------------------------------------------------------------- */
33985
33986 /* Install Constants */
33987 SWIGINTERN void
33988 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33989 PyObject *obj = 0;
33990 size_t i;
33991 for (i = 0; constants[i].type; ++i) {
33992 switch(constants[i].type) {
33993 case SWIG_PY_POINTER:
33994 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33995 break;
33996 case SWIG_PY_BINARY:
33997 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33998 break;
33999 default:
34000 obj = 0;
34001 break;
34002 }
34003 if (obj) {
34004 PyDict_SetItemString(d, constants[i].name, obj);
34005 Py_DECREF(obj);
34006 }
34007 }
34008 }
34009
34010 /* -----------------------------------------------------------------------------*/
34011 /* Fix SwigMethods to carry the callback ptrs when needed */
34012 /* -----------------------------------------------------------------------------*/
34013
34014 SWIGINTERN void
34015 SWIG_Python_FixMethods(PyMethodDef *methods,
34016 swig_const_info *const_table,
34017 swig_type_info **types,
34018 swig_type_info **types_initial) {
34019 size_t i;
34020 for (i = 0; methods[i].ml_name; ++i) {
34021 const char *c = methods[i].ml_doc;
34022 if (c && (c = strstr(c, "swig_ptr: "))) {
34023 int j;
34024 swig_const_info *ci = 0;
34025 const char *name = c + 10;
34026 for (j = 0; const_table[j].type; ++j) {
34027 if (strncmp(const_table[j].name, name,
34028 strlen(const_table[j].name)) == 0) {
34029 ci = &(const_table[j]);
34030 break;
34031 }
34032 }
34033 if (ci) {
34034 size_t shift = (ci->ptype) - types;
34035 swig_type_info *ty = types_initial[shift];
34036 size_t ldoc = (c - methods[i].ml_doc);
34037 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34038 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34039 if (ndoc) {
34040 char *buff = ndoc;
34041 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34042 if (ptr) {
34043 strncpy(buff, methods[i].ml_doc, ldoc);
34044 buff += ldoc;
34045 strncpy(buff, "swig_ptr: ", 10);
34046 buff += 10;
34047 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34048 methods[i].ml_doc = ndoc;
34049 }
34050 }
34051 }
34052 }
34053 }
34054 }
34055
34056 #ifdef __cplusplus
34057 }
34058 #endif
34059
34060 /* -----------------------------------------------------------------------------*
34061 * Partial Init method
34062 * -----------------------------------------------------------------------------*/
34063
34064 #ifdef __cplusplus
34065 extern "C"
34066 #endif
34067 SWIGEXPORT void SWIG_init(void) {
34068 PyObject *m, *d;
34069
34070 /* Fix SwigMethods to carry the callback ptrs when needed */
34071 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34072
34073 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34074 d = PyModule_GetDict(m);
34075
34076 SWIG_InitializeModule(0);
34077 SWIG_InstallConstants(d,swig_const_table);
34078
34079
34080 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34081 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34082 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34083 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34084 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34085 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34086 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34087 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34088 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34089 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34090 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34091 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34092 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34093 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34094 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34095 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34096 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34097 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34098 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34099 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34100 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34101 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34102 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34103 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34104 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34105 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34106 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34107 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34108 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34109 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34110 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34111 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34112 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34113 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34114 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34115 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34116 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34117 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34118 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34119 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34120 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34121 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34122 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34123 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34124 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34125 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34126 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34127 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34128 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34129 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34130 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34131 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34132 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34133 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34134 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34135 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34136 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34137 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34138 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34139 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34140 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34141 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34142 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34143 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34144 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34145 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34146 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34147 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34148 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34149 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34150 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34151 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34152 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34153 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34154 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34155 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34156 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34157 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34158 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34159 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34160 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34161 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34162 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34163 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34164 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34165 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34166 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34167 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34168 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34169 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34170 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34171 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34172 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34173 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34174 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34175 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34176 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34177 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34178 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34179 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34180 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34181 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34182
34183 // Map renamed classes back to their common name for OOR
34184 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34185 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34186 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34187
34188 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34189 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34190 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34191 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34192 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34193 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34194 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34195 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34196 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34197 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34198 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34199 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34200 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34201 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34202 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34203 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34204 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34205 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34206 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34207 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34208 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34209 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34210 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34211 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34212 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34213 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34214 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34215 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34216 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34217 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34218 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34219 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34220 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34221 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34222 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34223 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34224 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34225 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34226 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34227 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34228 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34229 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34230 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34231 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34232 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34233 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34234 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34235 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34236 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34237 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34238 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34239 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34240 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34241 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34242 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34243 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34244 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34245 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34246 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34247 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34248 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34249 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34250 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34251 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34252 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34253 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34254 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34255 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34256 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34257 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34258 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34259 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34260 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34261 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34262 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34263 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34264 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34265 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34266 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34267 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34268 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34269 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34270 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34271 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34272 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34273 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34274 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34275 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34276 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34277 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34278 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34279 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34280 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34281 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34282 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34283 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34284
34285 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34286
34287 }
34288