]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
more properties
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2826
2827
2828 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2829 wxRect r;
2830 self->GetFieldRect(i, r);
2831 return r;
2832 }
2833 static const wxString wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2836
2837 #include <wx/popupwin.h>
2838
2839
2840 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2841 {
2842 public:
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2845 : wxPopupTransientWindow(parent, style) {}
2846
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2848 DEC_PYCALLBACK__(OnDismiss);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss);
2850 PYPRIVATE;
2851 };
2852
2853
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2857
2858
2859 #include <wx/tipwin.h>
2860
2861 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2862 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2863 }
2864
2865 #include <wx/tipwin.h>
2866
2867
2868 #include <wx/vscroll.h>
2869
2870
2871 class wxPyVScrolledWindow : public wxVScrolledWindow
2872 {
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2874 public:
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876
2877 wxPyVScrolledWindow(wxWindow *parent,
2878 wxWindowID id = wxID_ANY,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0,
2882 const wxString& name = wxPyPanelNameStr)
2883 : wxVScrolledWindow(parent, id, pos, size, style, name)
2884 {}
2885
2886 // Overridable virtuals
2887
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2891
2892
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2896 // once
2897 //
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2903 //
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 // usual
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2907
2908
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2913 // its own logic
2914 //
2915 // this function should return the best guess for the total height it may
2916 // make
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2918
2919
2920 // Also expose some other interesting protected methods
2921
2922
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2927
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2932
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2938
2939 PYPRIVATE;
2940 };
2941
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2943
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2947
2948
2949 SWIGINTERN int
2950 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2951 {
2952 long v = 0;
2953 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2954 return SWIG_TypeError;
2955 }
2956 else if (val)
2957 *val = (unsigned long)v;
2958 return SWIG_OK;
2959 }
2960
2961
2962 SWIGINTERNINLINE int
2963 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2964 {
2965 unsigned long v;
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
2969 }
2970
2971
2972 SWIGINTERNINLINE PyObject*
2973 SWIG_From_unsigned_SS_long (unsigned long value)
2974 {
2975 return (value > LONG_MAX) ?
2976 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2977 }
2978
2979
2980 SWIGINTERNINLINE PyObject *
2981 SWIG_From_size_t (size_t value)
2982 {
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2984 }
2985
2986
2987 #include <wx/vlbox.h>
2988
2989 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2990
2991 class wxPyVListBox : public wxVListBox
2992 {
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2994 public:
2995 wxPyVListBox() : wxVListBox() {}
2996
2997 wxPyVListBox(wxWindow *parent,
2998 wxWindowID id = wxID_ANY,
2999 const wxPoint& pos = wxDefaultPosition,
3000 const wxSize& size = wxDefaultSize,
3001 long style = 0,
3002 const wxString& name = wxPyVListBoxNameStr)
3003 : wxVListBox(parent, id, pos, size, style, name)
3004 {}
3005
3006 // Overridable virtuals
3007
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3012
3013
3014 // the derived class must implement this method to return the height of the
3015 // specified item
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3018
3019
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3023 //
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3027
3028
3029 // this method is used to draw the items background and, maybe, a border
3030 // around it
3031 //
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3035 // current
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3038
3039
3040 PYPRIVATE;
3041 };
3042
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3044
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3049
3050
3051 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3052 unsigned long cookie = 0;
3053 int selected = self->GetFirstSelected(cookie);
3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject* tup = PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3057 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3058 wxPyEndBlockThreads(blocked);
3059 return tup;
3060 }
3061 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3062 int selected = self->GetNextSelected(cookie);
3063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3064 PyObject* tup = PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3066 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3067 wxPyEndBlockThreads(blocked);
3068 return tup;
3069 }
3070
3071 #include <wx/htmllbox.h>
3072
3073
3074 class wxPyHtmlListBox : public wxHtmlListBox
3075 {
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3077 public:
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3079
3080 wxPyHtmlListBox(wxWindow *parent,
3081 wxWindowID id = wxID_ANY,
3082 const wxPoint& pos = wxDefaultPosition,
3083 const wxSize& size = wxDefaultSize,
3084 long style = 0,
3085 const wxString& name = wxPyVListBoxNameStr)
3086 : wxHtmlListBox(parent, id, pos, size, style, name)
3087 {}
3088
3089 // Overridable virtuals
3090
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3094
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3097
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3101
3102 // TODO:
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3106 // //
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115
3116
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n,
3120 const wxHtmlLinkInfo& link);
3121
3122 PYPRIVATE;
3123 };
3124
3125
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3127
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3132
3133
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link) {
3136 bool found;
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3139 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3141 Py_DECREF(obj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 if (! found)
3145 wxPyHtmlListBox::OnLinkClicked(n, link);
3146 }
3147
3148
3149
3150
3151
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3154
3155 class wxTaskBarIcon : public wxEvtHandler
3156 {
3157 public:
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 };
3160
3161
3162 class wxTaskBarIconEvent : public wxEvent
3163 {
3164 public:
3165 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent* Clone() const { return NULL; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu *menu) { return false; }
3173 };
3174
3175 enum {
3176 wxEVT_TASKBAR_MOVE = 0,
3177 wxEVT_TASKBAR_LEFT_DOWN = 0,
3178 wxEVT_TASKBAR_LEFT_UP = 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3180 wxEVT_TASKBAR_RIGHT_UP = 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3183 };
3184
3185
3186 #else
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon : public wxTaskBarIcon
3189 {
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3191 public:
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 {}
3194
3195 wxMenu* CreatePopupMenu() {
3196 wxMenu *rval = NULL;
3197 bool found;
3198 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3199 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3200 PyObject* ro;
3201 wxMenu* ptr;
3202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3203 if (ro) {
3204 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3205 rval = ptr;
3206 Py_DECREF(ro);
3207 }
3208 }
3209 wxPyEndBlockThreads(blocked);
3210 if (! found)
3211 rval = wxTaskBarIcon::CreatePopupMenu();
3212 return rval;
3213 }
3214
3215 PYPRIVATE;
3216 };
3217
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3219
3220 #endif
3221
3222 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3223 self->RemoveIcon();
3224 delete self;
3225 }
3226 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3227 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3228 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3229 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3230 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3231 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3232
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3235
3236 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3237 wxArrayString arr;
3238 self->GetFilenames(arr);
3239 return wxArrayString2PyList_helper(arr);
3240 }
3241 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3242 wxArrayString arr;
3243 self->GetPaths(arr);
3244 return wxArrayString2PyList_helper(arr);
3245 }
3246 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3247 return wxArrayInt2PyList_helper(self->GetSelections());
3248 }
3249 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){
3250 return new wxSingleChoiceDialog(parent, message, caption,
3251 choices, choices_array, NULL, style, pos);
3252 }
3253 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3254
3255 SWIGINTERNINLINE PyObject*
3256 SWIG_From_bool (bool value)
3257 {
3258 return PyBool_FromLong(value ? 1 : 0);
3259 }
3260
3261
3262 #include <wx/mdi.h>
3263
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow : public wxWindow
3266 {
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3268 public:
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxString& name = wxPyPanelNameStr)
3275 : wxWindow(parent, id, pos, size, style, name) {}
3276
3277 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3278
3279 bool DoEraseBackground(wxDC* dc) {
3280 #ifdef __WXMSW__
3281 return wxWindow::DoEraseBackground(dc->GetHDC());
3282 #else
3283 dc->SetBackground(wxBrush(GetBackgroundColour()));
3284 dc->Clear();
3285 return true;
3286 #endif
3287 }
3288
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3293
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3297
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3300
3301 DEC_PYCALLBACK__(InitDialog);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3304 DEC_PYCALLBACK_BOOL_(Validate);
3305
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3309
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3312
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3315
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3317
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3319
3320 PYPRIVATE;
3321 };
3322
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3324
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3329
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3333
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3336
3337 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3341
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3345
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3348
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3351
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3353
3354 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3355
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel : public wxPanel
3358 {
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3360 public:
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow* parent, const wxWindowID id,
3363 const wxPoint& pos = wxDefaultPosition,
3364 const wxSize& size = wxDefaultSize,
3365 long style = 0,
3366 const wxString& name = wxPyPanelNameStr)
3367 : wxPanel(parent, id, pos, size, style, name) {}
3368
3369 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3370 bool DoEraseBackground(wxDC* dc) {
3371 #ifdef __WXMSW__
3372 return wxWindow::DoEraseBackground(dc->GetHDC());
3373 #else
3374 dc->SetBackground(wxBrush(GetBackgroundColour()));
3375 dc->Clear();
3376 return true;
3377 #endif
3378 }
3379
3380
3381 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3382 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3385
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3389
3390 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3391 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3392
3393 DEC_PYCALLBACK__(InitDialog);
3394 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3395 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3396 DEC_PYCALLBACK_BOOL_(Validate);
3397
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3400 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3401
3402 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3404
3405 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3406 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3407
3408 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3409
3410 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3411
3412 PYPRIVATE;
3413 };
3414
3415 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3416
3417 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3418 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3421
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3425
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3428
3429 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3433
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3437
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3440
3441 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3442 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3443
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3445
3446 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3447
3448 // C++ version of Python aware wxScrolledWindow
3449 class wxPyScrolledWindow : public wxScrolledWindow
3450 {
3451 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3452 public:
3453 wxPyScrolledWindow() : wxScrolledWindow() {}
3454 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3455 const wxPoint& pos = wxDefaultPosition,
3456 const wxSize& size = wxDefaultSize,
3457 long style = 0,
3458 const wxString& name = wxPyPanelNameStr)
3459 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3460
3461 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3462 bool DoEraseBackground(wxDC* dc) {
3463 #ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465 #else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469 #endif
3470 }
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3498
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
3503 PYPRIVATE;
3504 };
3505
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3536
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
3539
3540 #include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3546 PyObject* data;
3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
3553 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
3564
3565
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3567
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3570 bool hadErr = false;
3571 bool found;
3572
3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3581 else hadErr = true;
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3585 else hadErr = true;
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3593 else hadErr = true;
3594 }
3595 else
3596 hadErr = true;
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607 }
3608
3609
3610
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625
3626
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
3643 }
3644
3645
3646
3647
3648 class wxPyPrintPreview : public wxPrintPreview
3649 {
3650 DECLARE_CLASS(wxPyPrintPreview)
3651 public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
3659 wxPrintData* data)
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672 };
3673
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679 #else
3680 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681 #endif
3682
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692 class wxPyPreviewFrame : public wxPreviewFrame
3693 {
3694 DECLARE_CLASS(wxPyPreviewFrame)
3695 public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713 };
3714
3715 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722 class wxPyPreviewControlBar : public wxPreviewControlBar
3723 {
3724 DECLARE_CLASS(wxPyPreviewControlBar)
3725 public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742 };
3743
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748 #ifdef __cplusplus
3749 extern "C" {
3750 #endif
3751 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
3796 {
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3799 }
3800 }
3801 if (obj3) {
3802 {
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3805 }
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
3815 {
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
3840 }
3841
3842
3843 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
3916 {
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3919 }
3920 }
3921 if (obj4) {
3922 {
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3925 }
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
3935 {
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
3939 }
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955 fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
3961 }
3962
3963
3964 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029 }
4030
4031 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033 }
4034
4035 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
4080 {
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4083 }
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
4099 {
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
4103 }
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
4200 {
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
4206 {
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4209 }
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
4219 {
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876 fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
4879 }
4880
4881
4882 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988 fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
4991 }
4992
4993
4994 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxDC *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 void *argp2 = 0 ;
5138 int res2 = 0 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "dc", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5152 if (!SWIG_IsOK(res2)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 if (!argp2) {
5156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5157 }
5158 arg2 = reinterpret_cast< wxDC * >(argp2);
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 (arg1)->DoPrepareDC(*arg2);
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_Py_Void();
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj = 0;
5174 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5175 SwigValueWrapper<wxVisualAttributes > result;
5176 int val1 ;
5177 int ecode1 = 0 ;
5178 PyObject * obj0 = 0 ;
5179 char * kwnames[] = {
5180 (char *) "variant", NULL
5181 };
5182
5183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5184 if (obj0) {
5185 ecode1 = SWIG_AsVal_int(obj0, &val1);
5186 if (!SWIG_IsOK(ecode1)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5188 }
5189 arg1 = static_cast< wxWindowVariant >(val1);
5190 }
5191 {
5192 if (!wxPyCheckForApp()) SWIG_fail;
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5199 return resultobj;
5200 fail:
5201 return NULL;
5202 }
5203
5204
5205 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5206 PyObject *obj;
5207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5209 return SWIG_Py_Void();
5210 }
5211
5212 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 return SWIG_Python_InitShadowInstance(args);
5214 }
5215
5216 SWIGINTERN int FrameNameStr_set(PyObject *) {
5217 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5218 return 1;
5219 }
5220
5221
5222 SWIGINTERN PyObject *FrameNameStr_get(void) {
5223 PyObject *pyobj = 0;
5224
5225 {
5226 #if wxUSE_UNICODE
5227 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5228 #else
5229 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5230 #endif
5231 }
5232 return pyobj;
5233 }
5234
5235
5236 SWIGINTERN int DialogNameStr_set(PyObject *) {
5237 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5238 return 1;
5239 }
5240
5241
5242 SWIGINTERN PyObject *DialogNameStr_get(void) {
5243 PyObject *pyobj = 0;
5244
5245 {
5246 #if wxUSE_UNICODE
5247 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5248 #else
5249 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5250 #endif
5251 }
5252 return pyobj;
5253 }
5254
5255
5256 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5257 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5258 return 1;
5259 }
5260
5261
5262 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5263 PyObject *pyobj = 0;
5264
5265 {
5266 #if wxUSE_UNICODE
5267 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5268 #else
5269 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5270 #endif
5271 }
5272 return pyobj;
5273 }
5274
5275
5276 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5277 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5278 return 1;
5279 }
5280
5281
5282 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5283 PyObject *pyobj = 0;
5284
5285 {
5286 #if wxUSE_UNICODE
5287 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5288 #else
5289 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5290 #endif
5291 }
5292 return pyobj;
5293 }
5294
5295
5296 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj = 0;
5298 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5299 bool arg2 = (bool) true ;
5300 void *argp1 = 0 ;
5301 int res1 = 0 ;
5302 bool val2 ;
5303 int ecode2 = 0 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char * kwnames[] = {
5307 (char *) "self",(char *) "maximize", NULL
5308 };
5309
5310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5312 if (!SWIG_IsOK(res1)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5314 }
5315 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5316 if (obj1) {
5317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5318 if (!SWIG_IsOK(ecode2)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5320 }
5321 arg2 = static_cast< bool >(val2);
5322 }
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 (arg1)->Maximize(arg2);
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_Py_Void();
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337 PyObject *resultobj = 0;
5338 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5339 void *argp1 = 0 ;
5340 int res1 = 0 ;
5341 PyObject *swig_obj[1] ;
5342
5343 if (!args) SWIG_fail;
5344 swig_obj[0] = args;
5345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5348 }
5349 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->Restore();
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 resultobj = SWIG_Py_Void();
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj = 0;
5365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5366 bool arg2 = (bool) true ;
5367 void *argp1 = 0 ;
5368 int res1 = 0 ;
5369 bool val2 ;
5370 int ecode2 = 0 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char * kwnames[] = {
5374 (char *) "self",(char *) "iconize", NULL
5375 };
5376
5377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5379 if (!SWIG_IsOK(res1)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5381 }
5382 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5383 if (obj1) {
5384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5385 if (!SWIG_IsOK(ecode2)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5387 }
5388 arg2 = static_cast< bool >(val2);
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 (arg1)->Iconize(arg2);
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = SWIG_Py_Void();
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5404 PyObject *resultobj = 0;
5405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5406 bool result;
5407 void *argp1 = 0 ;
5408 int res1 = 0 ;
5409 PyObject *swig_obj[1] ;
5410
5411 if (!args) SWIG_fail;
5412 swig_obj[0] = args;
5413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5414 if (!SWIG_IsOK(res1)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5416 }
5417 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 }
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5434 PyObject *resultobj = 0;
5435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5436 bool result;
5437 void *argp1 = 0 ;
5438 int res1 = 0 ;
5439 PyObject *swig_obj[1] ;
5440
5441 if (!args) SWIG_fail;
5442 swig_obj[0] = args;
5443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456 }
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5464 PyObject *resultobj = 0;
5465 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5466 bool result;
5467 void *argp1 = 0 ;
5468 int res1 = 0 ;
5469 PyObject *swig_obj[1] ;
5470
5471 if (!args) SWIG_fail;
5472 swig_obj[0] = args;
5473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5474 if (!SWIG_IsOK(res1)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5476 }
5477 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5494 PyObject *resultobj = 0;
5495 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5496 wxIcon result;
5497 void *argp1 = 0 ;
5498 int res1 = 0 ;
5499 PyObject *swig_obj[1] ;
5500
5501 if (!args) SWIG_fail;
5502 swig_obj[0] = args;
5503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5506 }
5507 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj = 0;
5523 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5524 wxIcon *arg2 = 0 ;
5525 void *argp1 = 0 ;
5526 int res1 = 0 ;
5527 void *argp2 = 0 ;
5528 int res2 = 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char * kwnames[] = {
5532 (char *) "self",(char *) "icon", NULL
5533 };
5534
5535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5542 if (!SWIG_IsOK(res2)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 if (!argp2) {
5546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5547 }
5548 arg2 = reinterpret_cast< wxIcon * >(argp2);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 (arg1)->SetIcon((wxIcon const &)*arg2);
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 resultobj = SWIG_Py_Void();
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj = 0;
5564 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5565 wxIconBundle *arg2 = 0 ;
5566 void *argp1 = 0 ;
5567 int res1 = 0 ;
5568 void *argp2 = 0 ;
5569 int res2 = 0 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char * kwnames[] = {
5573 (char *) "self",(char *) "icons", NULL
5574 };
5575
5576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5578 if (!SWIG_IsOK(res1)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5580 }
5581 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5583 if (!SWIG_IsOK(res2)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 if (!argp2) {
5587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5588 }
5589 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = SWIG_Py_Void();
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj = 0;
5605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5606 bool arg2 ;
5607 long arg3 = (long) wxFULLSCREEN_ALL ;
5608 bool result;
5609 void *argp1 = 0 ;
5610 int res1 = 0 ;
5611 bool val2 ;
5612 int ecode2 = 0 ;
5613 long val3 ;
5614 int ecode3 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 char * kwnames[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5620 };
5621
5622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5629 if (!SWIG_IsOK(ecode2)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5631 }
5632 arg2 = static_cast< bool >(val2);
5633 if (obj2) {
5634 ecode3 = SWIG_AsVal_long(obj2, &val3);
5635 if (!SWIG_IsOK(ecode3)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5637 }
5638 arg3 = static_cast< long >(val3);
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 }
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656 PyObject *resultobj = 0;
5657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5658 bool result;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 PyObject *swig_obj[1] ;
5662
5663 if (!args) SWIG_fail;
5664 swig_obj[0] = args;
5665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5666 if (!SWIG_IsOK(res1)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 }
5669 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 }
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5688 wxString *arg2 = 0 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool temp2 = false ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char * kwnames[] = {
5695 (char *) "self",(char *) "title", NULL
5696 };
5697
5698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5700 if (!SWIG_IsOK(res1)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 }
5703 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5704 {
5705 arg2 = wxString_in_helper(obj1);
5706 if (arg2 == NULL) SWIG_fail;
5707 temp2 = true;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetTitle((wxString const &)*arg2);
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_Py_Void();
5716 {
5717 if (temp2)
5718 delete arg2;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (temp2)
5724 delete arg2;
5725 }
5726 return NULL;
5727 }
5728
5729
5730 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5731 PyObject *resultobj = 0;
5732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5733 wxString result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 PyObject *swig_obj[1] ;
5737
5738 if (!args) SWIG_fail;
5739 swig_obj[0] = args;
5740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5741 if (!SWIG_IsOK(res1)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5743 }
5744 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 #if wxUSE_UNICODE
5753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5754 #else
5755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5756 #endif
5757 }
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 wxRegion *arg2 = 0 ;
5768 bool result;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 void *argp2 = 0 ;
5772 int res2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char * kwnames[] = {
5776 (char *) "self",(char *) "region", NULL
5777 };
5778
5779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 }
5784 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5785 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5786 if (!SWIG_IsOK(res2)) {
5787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5788 }
5789 if (!argp2) {
5790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5791 }
5792 arg2 = reinterpret_cast< wxRegion * >(argp2);
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5801 }
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj = 0;
5810 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5811 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5812 void *argp1 = 0 ;
5813 int res1 = 0 ;
5814 int val2 ;
5815 int ecode2 = 0 ;
5816 PyObject * obj0 = 0 ;
5817 PyObject * obj1 = 0 ;
5818 char * kwnames[] = {
5819 (char *) "self",(char *) "flags", NULL
5820 };
5821
5822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5824 if (!SWIG_IsOK(res1)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5826 }
5827 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5828 if (obj1) {
5829 ecode2 = SWIG_AsVal_int(obj1, &val2);
5830 if (!SWIG_IsOK(ecode2)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5832 }
5833 arg2 = static_cast< int >(val2);
5834 }
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 (arg1)->RequestUserAttention(arg2);
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = SWIG_Py_Void();
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5849 PyObject *resultobj = 0;
5850 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5851 bool result;
5852 void *argp1 = 0 ;
5853 int res1 = 0 ;
5854 PyObject *swig_obj[1] ;
5855
5856 if (!args) SWIG_fail;
5857 swig_obj[0] = args;
5858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5859 if (!SWIG_IsOK(res1)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5861 }
5862 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)(arg1)->IsActive();
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 {
5870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5871 }
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj = 0;
5880 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5881 bool arg2 ;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 bool val2 ;
5885 int ecode2 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char * kwnames[] = {
5889 (char *) "self",(char *) "on", NULL
5890 };
5891
5892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 }
5897 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5898 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5899 if (!SWIG_IsOK(ecode2)) {
5900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5901 }
5902 arg2 = static_cast< bool >(val2);
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 resultobj = SWIG_Py_Void();
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5917 PyObject *resultobj = 0;
5918 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5919 bool result;
5920 void *argp1 = 0 ;
5921 int res1 = 0 ;
5922 PyObject *swig_obj[1] ;
5923
5924 if (!args) SWIG_fail;
5925 swig_obj[0] = args;
5926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5927 if (!SWIG_IsOK(res1)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5929 }
5930 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 {
5938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5939 }
5940 return resultobj;
5941 fail:
5942 return NULL;
5943 }
5944
5945
5946 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj = 0;
5948 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5949 int arg2 = (int) wxBOTH ;
5950 void *argp1 = 0 ;
5951 int res1 = 0 ;
5952 int val2 ;
5953 int ecode2 = 0 ;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 char * kwnames[] = {
5957 (char *) "self",(char *) "dir", NULL
5958 };
5959
5960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5962 if (!SWIG_IsOK(res1)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5964 }
5965 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5966 if (obj1) {
5967 ecode2 = SWIG_AsVal_int(obj1, &val2);
5968 if (!SWIG_IsOK(ecode2)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5970 }
5971 arg2 = static_cast< int >(val2);
5972 }
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 (arg1)->CenterOnScreen(arg2);
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 resultobj = SWIG_Py_Void();
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj = 0;
5988 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5989 bool arg2 = (bool) true ;
5990 bool result;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 bool val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "enable", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6005 }
6006 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6007 if (obj1) {
6008 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6011 }
6012 arg2 = static_cast< bool >(val2);
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 {
6021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6022 }
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6032 wxWindow *result = 0 ;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = wxPyMake_wxObject(result, 0);
6052 }
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj = 0;
6061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6062 wxWindow *arg2 = (wxWindow *) 0 ;
6063 wxWindow *result = 0 ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 void *argp2 = 0 ;
6067 int res2 = 0 ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char * kwnames[] = {
6071 (char *) "self",(char *) "child", NULL
6072 };
6073
6074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6076 if (!SWIG_IsOK(res1)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 }
6079 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6081 if (!SWIG_IsOK(res2)) {
6082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6083 }
6084 arg2 = reinterpret_cast< wxWindow * >(argp2);
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 resultobj = wxPyMake_wxObject(result, 0);
6093 }
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj = 0;
6102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6103 wxWindow *arg2 = (wxWindow *) 0 ;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 void *argp2 = 0 ;
6107 int res2 = 0 ;
6108 PyObject * obj0 = 0 ;
6109 PyObject * obj1 = 0 ;
6110 char * kwnames[] = {
6111 (char *) "self",(char *) "win", NULL
6112 };
6113
6114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6116 if (!SWIG_IsOK(res1)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6118 }
6119 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6120 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6121 if (!SWIG_IsOK(res2)) {
6122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6123 }
6124 arg2 = reinterpret_cast< wxWindow * >(argp2);
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 (arg1)->SetTmpDefaultItem(arg2);
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 resultobj = SWIG_Py_Void();
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6139 PyObject *resultobj = 0;
6140 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6141 wxWindow *result = 0 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 PyObject *swig_obj[1] ;
6145
6146 if (!args) SWIG_fail;
6147 swig_obj[0] = args;
6148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6149 if (!SWIG_IsOK(res1)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6151 }
6152 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 {
6160 resultobj = wxPyMake_wxObject(result, 0);
6161 }
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6169 PyObject *obj;
6170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6171 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6172 return SWIG_Py_Void();
6173 }
6174
6175 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj = 0;
6177 wxWindow *arg1 = (wxWindow *) 0 ;
6178 int arg2 = (int) (int)-1 ;
6179 wxString const &arg3_defvalue = wxPyEmptyString ;
6180 wxString *arg3 = (wxString *) &arg3_defvalue ;
6181 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6182 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6183 wxSize const &arg5_defvalue = wxDefaultSize ;
6184 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6185 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6186 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6187 wxString *arg7 = (wxString *) &arg7_defvalue ;
6188 wxFrame *result = 0 ;
6189 void *argp1 = 0 ;
6190 int res1 = 0 ;
6191 int val2 ;
6192 int ecode2 = 0 ;
6193 bool temp3 = false ;
6194 wxPoint temp4 ;
6195 wxSize temp5 ;
6196 long val6 ;
6197 int ecode6 = 0 ;
6198 bool temp7 = false ;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 PyObject * obj2 = 0 ;
6202 PyObject * obj3 = 0 ;
6203 PyObject * obj4 = 0 ;
6204 PyObject * obj5 = 0 ;
6205 PyObject * obj6 = 0 ;
6206 char * kwnames[] = {
6207 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 };
6209
6210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6212 if (!SWIG_IsOK(res1)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6214 }
6215 arg1 = reinterpret_cast< wxWindow * >(argp1);
6216 if (obj1) {
6217 ecode2 = SWIG_AsVal_int(obj1, &val2);
6218 if (!SWIG_IsOK(ecode2)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6220 }
6221 arg2 = static_cast< int >(val2);
6222 }
6223 if (obj2) {
6224 {
6225 arg3 = wxString_in_helper(obj2);
6226 if (arg3 == NULL) SWIG_fail;
6227 temp3 = true;
6228 }
6229 }
6230 if (obj3) {
6231 {
6232 arg4 = &temp4;
6233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6234 }
6235 }
6236 if (obj4) {
6237 {
6238 arg5 = &temp5;
6239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6240 }
6241 }
6242 if (obj5) {
6243 ecode6 = SWIG_AsVal_long(obj5, &val6);
6244 if (!SWIG_IsOK(ecode6)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6246 }
6247 arg6 = static_cast< long >(val6);
6248 }
6249 if (obj6) {
6250 {
6251 arg7 = wxString_in_helper(obj6);
6252 if (arg7 == NULL) SWIG_fail;
6253 temp7 = true;
6254 }
6255 }
6256 {
6257 if (!wxPyCheckForApp()) SWIG_fail;
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6264 {
6265 if (temp3)
6266 delete arg3;
6267 }
6268 {
6269 if (temp7)
6270 delete arg7;
6271 }
6272 return resultobj;
6273 fail:
6274 {
6275 if (temp3)
6276 delete arg3;
6277 }
6278 {
6279 if (temp7)
6280 delete arg7;
6281 }
6282 return NULL;
6283 }
6284
6285
6286 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6287 PyObject *resultobj = 0;
6288 wxFrame *result = 0 ;
6289
6290 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6291 {
6292 if (!wxPyCheckForApp()) SWIG_fail;
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (wxFrame *)new wxFrame();
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj = 0;
6307 wxFrame *arg1 = (wxFrame *) 0 ;
6308 wxWindow *arg2 = (wxWindow *) 0 ;
6309 int arg3 = (int) (int)-1 ;
6310 wxString const &arg4_defvalue = wxPyEmptyString ;
6311 wxString *arg4 = (wxString *) &arg4_defvalue ;
6312 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6313 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6314 wxSize const &arg6_defvalue = wxDefaultSize ;
6315 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6316 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6317 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6318 wxString *arg8 = (wxString *) &arg8_defvalue ;
6319 bool result;
6320 void *argp1 = 0 ;
6321 int res1 = 0 ;
6322 void *argp2 = 0 ;
6323 int res2 = 0 ;
6324 int val3 ;
6325 int ecode3 = 0 ;
6326 bool temp4 = false ;
6327 wxPoint temp5 ;
6328 wxSize temp6 ;
6329 long val7 ;
6330 int ecode7 = 0 ;
6331 bool temp8 = false ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
6335 PyObject * obj3 = 0 ;
6336 PyObject * obj4 = 0 ;
6337 PyObject * obj5 = 0 ;
6338 PyObject * obj6 = 0 ;
6339 PyObject * obj7 = 0 ;
6340 char * kwnames[] = {
6341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 };
6343
6344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6346 if (!SWIG_IsOK(res1)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 }
6349 arg1 = reinterpret_cast< wxFrame * >(argp1);
6350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6351 if (!SWIG_IsOK(res2)) {
6352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6353 }
6354 arg2 = reinterpret_cast< wxWindow * >(argp2);
6355 if (obj2) {
6356 ecode3 = SWIG_AsVal_int(obj2, &val3);
6357 if (!SWIG_IsOK(ecode3)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6359 }
6360 arg3 = static_cast< int >(val3);
6361 }
6362 if (obj3) {
6363 {
6364 arg4 = wxString_in_helper(obj3);
6365 if (arg4 == NULL) SWIG_fail;
6366 temp4 = true;
6367 }
6368 }
6369 if (obj4) {
6370 {
6371 arg5 = &temp5;
6372 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6373 }
6374 }
6375 if (obj5) {
6376 {
6377 arg6 = &temp6;
6378 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6379 }
6380 }
6381 if (obj6) {
6382 ecode7 = SWIG_AsVal_long(obj6, &val7);
6383 if (!SWIG_IsOK(ecode7)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6385 }
6386 arg7 = static_cast< long >(val7);
6387 }
6388 if (obj7) {
6389 {
6390 arg8 = wxString_in_helper(obj7);
6391 if (arg8 == NULL) SWIG_fail;
6392 temp8 = true;
6393 }
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 {
6405 if (temp4)
6406 delete arg4;
6407 }
6408 {
6409 if (temp8)
6410 delete arg8;
6411 }
6412 return resultobj;
6413 fail:
6414 {
6415 if (temp4)
6416 delete arg4;
6417 }
6418 {
6419 if (temp8)
6420 delete arg8;
6421 }
6422 return NULL;
6423 }
6424
6425
6426 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6427 PyObject *resultobj = 0;
6428 wxFrame *arg1 = (wxFrame *) 0 ;
6429 void *argp1 = 0 ;
6430 int res1 = 0 ;
6431 PyObject *swig_obj[1] ;
6432
6433 if (!args) SWIG_fail;
6434 swig_obj[0] = args;
6435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6436 if (!SWIG_IsOK(res1)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6438 }
6439 arg1 = reinterpret_cast< wxFrame * >(argp1);
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 (arg1)->SendSizeEvent();
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_Py_Void();
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 void *argp2 = 0 ;
6460 int res2 = 0 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char * kwnames[] = {
6464 (char *) "self",(char *) "menubar", NULL
6465 };
6466
6467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6469 if (!SWIG_IsOK(res1)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6471 }
6472 arg1 = reinterpret_cast< wxFrame * >(argp1);
6473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6474 if (!SWIG_IsOK(res2)) {
6475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6476 }
6477 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 (arg1)->SetMenuBar(arg2);
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 resultobj = SWIG_Py_Void();
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 wxMenuBar *result = 0 ;
6495 void *argp1 = 0 ;
6496 int res1 = 0 ;
6497 PyObject *swig_obj[1] ;
6498
6499 if (!args) SWIG_fail;
6500 swig_obj[0] = args;
6501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6502 if (!SWIG_IsOK(res1)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6504 }
6505 arg1 = reinterpret_cast< wxFrame * >(argp1);
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 resultobj = wxPyMake_wxObject(result, 0);
6514 }
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = 0;
6523 wxFrame *arg1 = (wxFrame *) 0 ;
6524 int arg2 ;
6525 bool result;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 int val2 ;
6529 int ecode2 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char * kwnames[] = {
6533 (char *) "self",(char *) "winid", NULL
6534 };
6535
6536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6540 }
6541 arg1 = reinterpret_cast< wxFrame * >(argp1);
6542 ecode2 = SWIG_AsVal_int(obj1, &val2);
6543 if (!SWIG_IsOK(ecode2)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6545 }
6546 arg2 = static_cast< int >(val2);
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)(arg1)->ProcessCommand(arg2);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 {
6554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6555 }
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj = 0;
6564 wxFrame *arg1 = (wxFrame *) 0 ;
6565 int arg2 = (int) 1 ;
6566 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6567 int arg4 = (int) 0 ;
6568 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6569 wxString *arg5 = (wxString *) &arg5_defvalue ;
6570 wxStatusBar *result = 0 ;
6571 void *argp1 = 0 ;
6572 int res1 = 0 ;
6573 int val2 ;
6574 int ecode2 = 0 ;
6575 long val3 ;
6576 int ecode3 = 0 ;
6577 int val4 ;
6578 int ecode4 = 0 ;
6579 bool temp5 = false ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 PyObject * obj2 = 0 ;
6583 PyObject * obj3 = 0 ;
6584 PyObject * obj4 = 0 ;
6585 char * kwnames[] = {
6586 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6587 };
6588
6589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6591 if (!SWIG_IsOK(res1)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6593 }
6594 arg1 = reinterpret_cast< wxFrame * >(argp1);
6595 if (obj1) {
6596 ecode2 = SWIG_AsVal_int(obj1, &val2);
6597 if (!SWIG_IsOK(ecode2)) {
6598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6599 }
6600 arg2 = static_cast< int >(val2);
6601 }
6602 if (obj2) {
6603 ecode3 = SWIG_AsVal_long(obj2, &val3);
6604 if (!SWIG_IsOK(ecode3)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6606 }
6607 arg3 = static_cast< long >(val3);
6608 }
6609 if (obj3) {
6610 ecode4 = SWIG_AsVal_int(obj3, &val4);
6611 if (!SWIG_IsOK(ecode4)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6613 }
6614 arg4 = static_cast< int >(val4);
6615 }
6616 if (obj4) {
6617 {
6618 arg5 = wxString_in_helper(obj4);
6619 if (arg5 == NULL) SWIG_fail;
6620 temp5 = true;
6621 }
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 {
6630 resultobj = wxPyMake_wxObject(result, (bool)0);
6631 }
6632 {
6633 if (temp5)
6634 delete arg5;
6635 }
6636 return resultobj;
6637 fail:
6638 {
6639 if (temp5)
6640 delete arg5;
6641 }
6642 return NULL;
6643 }
6644
6645
6646 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6647 PyObject *resultobj = 0;
6648 wxFrame *arg1 = (wxFrame *) 0 ;
6649 wxStatusBar *result = 0 ;
6650 void *argp1 = 0 ;
6651 int res1 = 0 ;
6652 PyObject *swig_obj[1] ;
6653
6654 if (!args) SWIG_fail;
6655 swig_obj[0] = args;
6656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6657 if (!SWIG_IsOK(res1)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6659 }
6660 arg1 = reinterpret_cast< wxFrame * >(argp1);
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 {
6668 resultobj = wxPyMake_wxObject(result, (bool)0);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj = 0;
6678 wxFrame *arg1 = (wxFrame *) 0 ;
6679 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6680 void *argp1 = 0 ;
6681 int res1 = 0 ;
6682 void *argp2 = 0 ;
6683 int res2 = 0 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char * kwnames[] = {
6687 (char *) "self",(char *) "statBar", NULL
6688 };
6689
6690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6694 }
6695 arg1 = reinterpret_cast< wxFrame * >(argp1);
6696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6697 if (!SWIG_IsOK(res2)) {
6698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6699 }
6700 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 (arg1)->SetStatusBar(arg2);
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 resultobj = SWIG_Py_Void();
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj = 0;
6716 wxFrame *arg1 = (wxFrame *) 0 ;
6717 wxString *arg2 = 0 ;
6718 int arg3 = (int) 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 bool temp2 = false ;
6722 int val3 ;
6723 int ecode3 = 0 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 PyObject * obj2 = 0 ;
6727 char * kwnames[] = {
6728 (char *) "self",(char *) "text",(char *) "number", NULL
6729 };
6730
6731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6733 if (!SWIG_IsOK(res1)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6735 }
6736 arg1 = reinterpret_cast< wxFrame * >(argp1);
6737 {
6738 arg2 = wxString_in_helper(obj1);
6739 if (arg2 == NULL) SWIG_fail;
6740 temp2 = true;
6741 }
6742 if (obj2) {
6743 ecode3 = SWIG_AsVal_int(obj2, &val3);
6744 if (!SWIG_IsOK(ecode3)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6746 }
6747 arg3 = static_cast< int >(val3);
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_Py_Void();
6756 {
6757 if (temp2)
6758 delete arg2;
6759 }
6760 return resultobj;
6761 fail:
6762 {
6763 if (temp2)
6764 delete arg2;
6765 }
6766 return NULL;
6767 }
6768
6769
6770 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj = 0;
6772 wxFrame *arg1 = (wxFrame *) 0 ;
6773 int arg2 ;
6774 int *arg3 = (int *) 0 ;
6775 void *argp1 = 0 ;
6776 int res1 = 0 ;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 char * kwnames[] = {
6780 (char *) "self",(char *) "widths", NULL
6781 };
6782
6783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6785 if (!SWIG_IsOK(res1)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6787 }
6788 arg1 = reinterpret_cast< wxFrame * >(argp1);
6789 {
6790 arg2 = PyList_Size(obj1);
6791 arg3 = int_LIST_helper(obj1);
6792 if (arg3 == NULL) SWIG_fail;
6793 }
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = SWIG_Py_Void();
6801 {
6802 if (arg3) delete [] arg3;
6803 }
6804 return resultobj;
6805 fail:
6806 {
6807 if (arg3) delete [] arg3;
6808 }
6809 return NULL;
6810 }
6811
6812
6813 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj = 0;
6815 wxFrame *arg1 = (wxFrame *) 0 ;
6816 wxString *arg2 = 0 ;
6817 int arg3 = (int) 0 ;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 bool temp2 = false ;
6821 int val3 ;
6822 int ecode3 = 0 ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 PyObject * obj2 = 0 ;
6826 char * kwnames[] = {
6827 (char *) "self",(char *) "text",(char *) "number", NULL
6828 };
6829
6830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6832 if (!SWIG_IsOK(res1)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6834 }
6835 arg1 = reinterpret_cast< wxFrame * >(argp1);
6836 {
6837 arg2 = wxString_in_helper(obj1);
6838 if (arg2 == NULL) SWIG_fail;
6839 temp2 = true;
6840 }
6841 if (obj2) {
6842 ecode3 = SWIG_AsVal_int(obj2, &val3);
6843 if (!SWIG_IsOK(ecode3)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6845 }
6846 arg3 = static_cast< int >(val3);
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_Py_Void();
6855 {
6856 if (temp2)
6857 delete arg2;
6858 }
6859 return resultobj;
6860 fail:
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return NULL;
6866 }
6867
6868
6869 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj = 0;
6871 wxFrame *arg1 = (wxFrame *) 0 ;
6872 int arg2 = (int) 0 ;
6873 void *argp1 = 0 ;
6874 int res1 = 0 ;
6875 int val2 ;
6876 int ecode2 = 0 ;
6877 PyObject * obj0 = 0 ;
6878 PyObject * obj1 = 0 ;
6879 char * kwnames[] = {
6880 (char *) "self",(char *) "number", NULL
6881 };
6882
6883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6885 if (!SWIG_IsOK(res1)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6887 }
6888 arg1 = reinterpret_cast< wxFrame * >(argp1);
6889 if (obj1) {
6890 ecode2 = SWIG_AsVal_int(obj1, &val2);
6891 if (!SWIG_IsOK(ecode2)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6893 }
6894 arg2 = static_cast< int >(val2);
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->PopStatusText(arg2);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_Py_Void();
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj = 0;
6911 wxFrame *arg1 = (wxFrame *) 0 ;
6912 int arg2 ;
6913 void *argp1 = 0 ;
6914 int res1 = 0 ;
6915 int val2 ;
6916 int ecode2 = 0 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char * kwnames[] = {
6920 (char *) "self",(char *) "n", NULL
6921 };
6922
6923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6925 if (!SWIG_IsOK(res1)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6927 }
6928 arg1 = reinterpret_cast< wxFrame * >(argp1);
6929 ecode2 = SWIG_AsVal_int(obj1, &val2);
6930 if (!SWIG_IsOK(ecode2)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6932 }
6933 arg2 = static_cast< int >(val2);
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 (arg1)->SetStatusBarPane(arg2);
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 resultobj = SWIG_Py_Void();
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6948 PyObject *resultobj = 0;
6949 wxFrame *arg1 = (wxFrame *) 0 ;
6950 int result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 PyObject *swig_obj[1] ;
6954
6955 if (!args) SWIG_fail;
6956 swig_obj[0] = args;
6957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6958 if (!SWIG_IsOK(res1)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6960 }
6961 arg1 = reinterpret_cast< wxFrame * >(argp1);
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_From_int(static_cast< int >(result));
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj = 0;
6977 wxFrame *arg1 = (wxFrame *) 0 ;
6978 long arg2 = (long) -1 ;
6979 int arg3 = (int) -1 ;
6980 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6981 wxString *arg4 = (wxString *) &arg4_defvalue ;
6982 wxToolBar *result = 0 ;
6983 void *argp1 = 0 ;
6984 int res1 = 0 ;
6985 long val2 ;
6986 int ecode2 = 0 ;
6987 int val3 ;
6988 int ecode3 = 0 ;
6989 bool temp4 = false ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 PyObject * obj2 = 0 ;
6993 PyObject * obj3 = 0 ;
6994 char * kwnames[] = {
6995 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6996 };
6997
6998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7000 if (!SWIG_IsOK(res1)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7002 }
7003 arg1 = reinterpret_cast< wxFrame * >(argp1);
7004 if (obj1) {
7005 ecode2 = SWIG_AsVal_long(obj1, &val2);
7006 if (!SWIG_IsOK(ecode2)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7008 }
7009 arg2 = static_cast< long >(val2);
7010 }
7011 if (obj2) {
7012 ecode3 = SWIG_AsVal_int(obj2, &val3);
7013 if (!SWIG_IsOK(ecode3)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7015 }
7016 arg3 = static_cast< int >(val3);
7017 }
7018 if (obj3) {
7019 {
7020 arg4 = wxString_in_helper(obj3);
7021 if (arg4 == NULL) SWIG_fail;
7022 temp4 = true;
7023 }
7024 }
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032 resultobj = wxPyMake_wxObject(result, (bool)0);
7033 }
7034 {
7035 if (temp4)
7036 delete arg4;
7037 }
7038 return resultobj;
7039 fail:
7040 {
7041 if (temp4)
7042 delete arg4;
7043 }
7044 return NULL;
7045 }
7046
7047
7048 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7049 PyObject *resultobj = 0;
7050 wxFrame *arg1 = (wxFrame *) 0 ;
7051 wxToolBar *result = 0 ;
7052 void *argp1 = 0 ;
7053 int res1 = 0 ;
7054 PyObject *swig_obj[1] ;
7055
7056 if (!args) SWIG_fail;
7057 swig_obj[0] = args;
7058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7059 if (!SWIG_IsOK(res1)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7061 }
7062 arg1 = reinterpret_cast< wxFrame * >(argp1);
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = wxPyMake_wxObject(result, (bool)0);
7071 }
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj = 0;
7080 wxFrame *arg1 = (wxFrame *) 0 ;
7081 wxToolBar *arg2 = (wxToolBar *) 0 ;
7082 void *argp1 = 0 ;
7083 int res1 = 0 ;
7084 void *argp2 = 0 ;
7085 int res2 = 0 ;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 char * kwnames[] = {
7089 (char *) "self",(char *) "toolbar", NULL
7090 };
7091
7092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7094 if (!SWIG_IsOK(res1)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7096 }
7097 arg1 = reinterpret_cast< wxFrame * >(argp1);
7098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7099 if (!SWIG_IsOK(res2)) {
7100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7101 }
7102 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetToolBar(arg2);
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 resultobj = SWIG_Py_Void();
7110 return resultobj;
7111 fail:
7112 return NULL;
7113 }
7114
7115
7116 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj = 0;
7118 wxFrame *arg1 = (wxFrame *) 0 ;
7119 wxString *arg2 = 0 ;
7120 bool arg3 ;
7121 void *argp1 = 0 ;
7122 int res1 = 0 ;
7123 bool temp2 = false ;
7124 bool val3 ;
7125 int ecode3 = 0 ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 char * kwnames[] = {
7130 (char *) "self",(char *) "text",(char *) "show", NULL
7131 };
7132
7133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7135 if (!SWIG_IsOK(res1)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7137 }
7138 arg1 = reinterpret_cast< wxFrame * >(argp1);
7139 {
7140 arg2 = wxString_in_helper(obj1);
7141 if (arg2 == NULL) SWIG_fail;
7142 temp2 = true;
7143 }
7144 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7145 if (!SWIG_IsOK(ecode3)) {
7146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7147 }
7148 arg3 = static_cast< bool >(val3);
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_Py_Void();
7156 {
7157 if (temp2)
7158 delete arg2;
7159 }
7160 return resultobj;
7161 fail:
7162 {
7163 if (temp2)
7164 delete arg2;
7165 }
7166 return NULL;
7167 }
7168
7169
7170 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj = 0;
7172 wxFrame *arg1 = (wxFrame *) 0 ;
7173 wxMenu *arg2 = (wxMenu *) NULL ;
7174 void *argp1 = 0 ;
7175 int res1 = 0 ;
7176 void *argp2 = 0 ;
7177 int res2 = 0 ;
7178 PyObject * obj0 = 0 ;
7179 PyObject * obj1 = 0 ;
7180 char * kwnames[] = {
7181 (char *) "self",(char *) "menu", NULL
7182 };
7183
7184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7186 if (!SWIG_IsOK(res1)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7188 }
7189 arg1 = reinterpret_cast< wxFrame * >(argp1);
7190 if (obj1) {
7191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7192 if (!SWIG_IsOK(res2)) {
7193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7194 }
7195 arg2 = reinterpret_cast< wxMenu * >(argp2);
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 (arg1)->DoMenuUpdates(arg2);
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = SWIG_Py_Void();
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj = 0;
7212 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7213 SwigValueWrapper<wxVisualAttributes > result;
7214 int val1 ;
7215 int ecode1 = 0 ;
7216 PyObject * obj0 = 0 ;
7217 char * kwnames[] = {
7218 (char *) "variant", NULL
7219 };
7220
7221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7222 if (obj0) {
7223 ecode1 = SWIG_AsVal_int(obj0, &val1);
7224 if (!SWIG_IsOK(ecode1)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7226 }
7227 arg1 = static_cast< wxWindowVariant >(val1);
7228 }
7229 {
7230 if (!wxPyCheckForApp()) SWIG_fail;
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = wxFrame::GetClassDefaultAttributes(arg1);
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7237 return resultobj;
7238 fail:
7239 return NULL;
7240 }
7241
7242
7243 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7244 PyObject *obj;
7245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7247 return SWIG_Py_Void();
7248 }
7249
7250 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7251 return SWIG_Python_InitShadowInstance(args);
7252 }
7253
7254 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj = 0;
7256 wxWindow *arg1 = (wxWindow *) 0 ;
7257 int arg2 = (int) (int)-1 ;
7258 wxString const &arg3_defvalue = wxPyEmptyString ;
7259 wxString *arg3 = (wxString *) &arg3_defvalue ;
7260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7262 wxSize const &arg5_defvalue = wxDefaultSize ;
7263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7264 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7265 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7266 wxString *arg7 = (wxString *) &arg7_defvalue ;
7267 wxDialog *result = 0 ;
7268 void *argp1 = 0 ;
7269 int res1 = 0 ;
7270 int val2 ;
7271 int ecode2 = 0 ;
7272 bool temp3 = false ;
7273 wxPoint temp4 ;
7274 wxSize temp5 ;
7275 long val6 ;
7276 int ecode6 = 0 ;
7277 bool temp7 = false ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 PyObject * obj2 = 0 ;
7281 PyObject * obj3 = 0 ;
7282 PyObject * obj4 = 0 ;
7283 PyObject * obj5 = 0 ;
7284 PyObject * obj6 = 0 ;
7285 char * kwnames[] = {
7286 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7287 };
7288
7289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7291 if (!SWIG_IsOK(res1)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7293 }
7294 arg1 = reinterpret_cast< wxWindow * >(argp1);
7295 if (obj1) {
7296 ecode2 = SWIG_AsVal_int(obj1, &val2);
7297 if (!SWIG_IsOK(ecode2)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7299 }
7300 arg2 = static_cast< int >(val2);
7301 }
7302 if (obj2) {
7303 {
7304 arg3 = wxString_in_helper(obj2);
7305 if (arg3 == NULL) SWIG_fail;
7306 temp3 = true;
7307 }
7308 }
7309 if (obj3) {
7310 {
7311 arg4 = &temp4;
7312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7313 }
7314 }
7315 if (obj4) {
7316 {
7317 arg5 = &temp5;
7318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7319 }
7320 }
7321 if (obj5) {
7322 ecode6 = SWIG_AsVal_long(obj5, &val6);
7323 if (!SWIG_IsOK(ecode6)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7325 }
7326 arg6 = static_cast< long >(val6);
7327 }
7328 if (obj6) {
7329 {
7330 arg7 = wxString_in_helper(obj6);
7331 if (arg7 == NULL) SWIG_fail;
7332 temp7 = true;
7333 }
7334 }
7335 {
7336 if (!wxPyCheckForApp()) SWIG_fail;
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7343 {
7344 if (temp3)
7345 delete arg3;
7346 }
7347 {
7348 if (temp7)
7349 delete arg7;
7350 }
7351 return resultobj;
7352 fail:
7353 {
7354 if (temp3)
7355 delete arg3;
7356 }
7357 {
7358 if (temp7)
7359 delete arg7;
7360 }
7361 return NULL;
7362 }
7363
7364
7365 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7366 PyObject *resultobj = 0;
7367 wxDialog *result = 0 ;
7368
7369 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7370 {
7371 if (!wxPyCheckForApp()) SWIG_fail;
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = (wxDialog *)new wxDialog();
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj = 0;
7386 wxDialog *arg1 = (wxDialog *) 0 ;
7387 wxWindow *arg2 = (wxWindow *) 0 ;
7388 int arg3 = (int) (int)-1 ;
7389 wxString const &arg4_defvalue = wxPyEmptyString ;
7390 wxString *arg4 = (wxString *) &arg4_defvalue ;
7391 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7392 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7393 wxSize const &arg6_defvalue = wxDefaultSize ;
7394 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7395 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7396 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7397 wxString *arg8 = (wxString *) &arg8_defvalue ;
7398 bool result;
7399 void *argp1 = 0 ;
7400 int res1 = 0 ;
7401 void *argp2 = 0 ;
7402 int res2 = 0 ;
7403 int val3 ;
7404 int ecode3 = 0 ;
7405 bool temp4 = false ;
7406 wxPoint temp5 ;
7407 wxSize temp6 ;
7408 long val7 ;
7409 int ecode7 = 0 ;
7410 bool temp8 = false ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 PyObject * obj2 = 0 ;
7414 PyObject * obj3 = 0 ;
7415 PyObject * obj4 = 0 ;
7416 PyObject * obj5 = 0 ;
7417 PyObject * obj6 = 0 ;
7418 PyObject * obj7 = 0 ;
7419 char * kwnames[] = {
7420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7421 };
7422
7423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7425 if (!SWIG_IsOK(res1)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7427 }
7428 arg1 = reinterpret_cast< wxDialog * >(argp1);
7429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7430 if (!SWIG_IsOK(res2)) {
7431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7432 }
7433 arg2 = reinterpret_cast< wxWindow * >(argp2);
7434 if (obj2) {
7435 ecode3 = SWIG_AsVal_int(obj2, &val3);
7436 if (!SWIG_IsOK(ecode3)) {
7437 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7438 }
7439 arg3 = static_cast< int >(val3);
7440 }
7441 if (obj3) {
7442 {
7443 arg4 = wxString_in_helper(obj3);
7444 if (arg4 == NULL) SWIG_fail;
7445 temp4 = true;
7446 }
7447 }
7448 if (obj4) {
7449 {
7450 arg5 = &temp5;
7451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7452 }
7453 }
7454 if (obj5) {
7455 {
7456 arg6 = &temp6;
7457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7458 }
7459 }
7460 if (obj6) {
7461 ecode7 = SWIG_AsVal_long(obj6, &val7);
7462 if (!SWIG_IsOK(ecode7)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7464 }
7465 arg7 = static_cast< long >(val7);
7466 }
7467 if (obj7) {
7468 {
7469 arg8 = wxString_in_helper(obj7);
7470 if (arg8 == NULL) SWIG_fail;
7471 temp8 = true;
7472 }
7473 }
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 {
7481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7482 }
7483 {
7484 if (temp4)
7485 delete arg4;
7486 }
7487 {
7488 if (temp8)
7489 delete arg8;
7490 }
7491 return resultobj;
7492 fail:
7493 {
7494 if (temp4)
7495 delete arg4;
7496 }
7497 {
7498 if (temp8)
7499 delete arg8;
7500 }
7501 return NULL;
7502 }
7503
7504
7505 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj = 0;
7507 wxDialog *arg1 = (wxDialog *) 0 ;
7508 int arg2 ;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 int val2 ;
7512 int ecode2 = 0 ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 char * kwnames[] = {
7516 (char *) "self",(char *) "returnCode", NULL
7517 };
7518
7519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7521 if (!SWIG_IsOK(res1)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7523 }
7524 arg1 = reinterpret_cast< wxDialog * >(argp1);
7525 ecode2 = SWIG_AsVal_int(obj1, &val2);
7526 if (!SWIG_IsOK(ecode2)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7528 }
7529 arg2 = static_cast< int >(val2);
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 (arg1)->SetReturnCode(arg2);
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = SWIG_Py_Void();
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7544 PyObject *resultobj = 0;
7545 wxDialog *arg1 = (wxDialog *) 0 ;
7546 int result;
7547 void *argp1 = 0 ;
7548 int res1 = 0 ;
7549 PyObject *swig_obj[1] ;
7550
7551 if (!args) SWIG_fail;
7552 swig_obj[0] = args;
7553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7554 if (!SWIG_IsOK(res1)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7556 }
7557 arg1 = reinterpret_cast< wxDialog * >(argp1);
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = SWIG_From_int(static_cast< int >(result));
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj = 0;
7573 wxDialog *arg1 = (wxDialog *) 0 ;
7574 int arg2 ;
7575 void *argp1 = 0 ;
7576 int res1 = 0 ;
7577 int val2 ;
7578 int ecode2 = 0 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char * kwnames[] = {
7582 (char *) "self",(char *) "affirmativeId", NULL
7583 };
7584
7585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7587 if (!SWIG_IsOK(res1)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 }
7590 arg1 = reinterpret_cast< wxDialog * >(argp1);
7591 ecode2 = SWIG_AsVal_int(obj1, &val2);
7592 if (!SWIG_IsOK(ecode2)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7594 }
7595 arg2 = static_cast< int >(val2);
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->SetAffirmativeId(arg2);
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 resultobj = SWIG_Py_Void();
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7610 PyObject *resultobj = 0;
7611 wxDialog *arg1 = (wxDialog *) 0 ;
7612 int result;
7613 void *argp1 = 0 ;
7614 int res1 = 0 ;
7615 PyObject *swig_obj[1] ;
7616
7617 if (!args) SWIG_fail;
7618 swig_obj[0] = args;
7619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7620 if (!SWIG_IsOK(res1)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7622 }
7623 arg1 = reinterpret_cast< wxDialog * >(argp1);
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 resultobj = SWIG_From_int(static_cast< int >(result));
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj = 0;
7639 wxDialog *arg1 = (wxDialog *) 0 ;
7640 int arg2 ;
7641 void *argp1 = 0 ;
7642 int res1 = 0 ;
7643 int val2 ;
7644 int ecode2 = 0 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char * kwnames[] = {
7648 (char *) "self",(char *) "escapeId", NULL
7649 };
7650
7651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7653 if (!SWIG_IsOK(res1)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 }
7656 arg1 = reinterpret_cast< wxDialog * >(argp1);
7657 ecode2 = SWIG_AsVal_int(obj1, &val2);
7658 if (!SWIG_IsOK(ecode2)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7660 }
7661 arg2 = static_cast< int >(val2);
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->SetEscapeId(arg2);
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 resultobj = SWIG_Py_Void();
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7676 PyObject *resultobj = 0;
7677 wxDialog *arg1 = (wxDialog *) 0 ;
7678 int result;
7679 void *argp1 = 0 ;
7680 int res1 = 0 ;
7681 PyObject *swig_obj[1] ;
7682
7683 if (!args) SWIG_fail;
7684 swig_obj[0] = args;
7685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7686 if (!SWIG_IsOK(res1)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7688 }
7689 arg1 = reinterpret_cast< wxDialog * >(argp1);
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 resultobj = SWIG_From_int(static_cast< int >(result));
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj = 0;
7705 wxDialog *arg1 = (wxDialog *) 0 ;
7706 wxString *arg2 = 0 ;
7707 wxSizer *result = 0 ;
7708 void *argp1 = 0 ;
7709 int res1 = 0 ;
7710 bool temp2 = false ;
7711 PyObject * obj0 = 0 ;
7712 PyObject * obj1 = 0 ;
7713 char * kwnames[] = {
7714 (char *) "self",(char *) "message", NULL
7715 };
7716
7717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7719 if (!SWIG_IsOK(res1)) {
7720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7721 }
7722 arg1 = reinterpret_cast< wxDialog * >(argp1);
7723 {
7724 arg2 = wxString_in_helper(obj1);
7725 if (arg2 == NULL) SWIG_fail;
7726 temp2 = true;
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = wxPyMake_wxObject(result, (bool)0);
7736 }
7737 {
7738 if (temp2)
7739 delete arg2;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp2)
7745 delete arg2;
7746 }
7747 return NULL;
7748 }
7749
7750
7751 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj = 0;
7753 wxDialog *arg1 = (wxDialog *) 0 ;
7754 long arg2 ;
7755 bool arg3 = (bool) false ;
7756 int arg4 = (int) 0 ;
7757 wxSizer *result = 0 ;
7758 void *argp1 = 0 ;
7759 int res1 = 0 ;
7760 long val2 ;
7761 int ecode2 = 0 ;
7762 bool val3 ;
7763 int ecode3 = 0 ;
7764 int val4 ;
7765 int ecode4 = 0 ;
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 PyObject * obj2 = 0 ;
7769 PyObject * obj3 = 0 ;
7770 char * kwnames[] = {
7771 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7772 };
7773
7774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7776 if (!SWIG_IsOK(res1)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7778 }
7779 arg1 = reinterpret_cast< wxDialog * >(argp1);
7780 ecode2 = SWIG_AsVal_long(obj1, &val2);
7781 if (!SWIG_IsOK(ecode2)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7783 }
7784 arg2 = static_cast< long >(val2);
7785 if (obj2) {
7786 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7787 if (!SWIG_IsOK(ecode3)) {
7788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7789 }
7790 arg3 = static_cast< bool >(val3);
7791 }
7792 if (obj3) {
7793 ecode4 = SWIG_AsVal_int(obj3, &val4);
7794 if (!SWIG_IsOK(ecode4)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7796 }
7797 arg4 = static_cast< int >(val4);
7798 }
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 resultobj = wxPyMake_wxObject(result, (bool)0);
7807 }
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj = 0;
7816 wxDialog *arg1 = (wxDialog *) 0 ;
7817 long arg2 ;
7818 wxStdDialogButtonSizer *result = 0 ;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 long val2 ;
7822 int ecode2 = 0 ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char * kwnames[] = {
7826 (char *) "self",(char *) "flags", NULL
7827 };
7828
7829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7831 if (!SWIG_IsOK(res1)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7833 }
7834 arg1 = reinterpret_cast< wxDialog * >(argp1);
7835 ecode2 = SWIG_AsVal_long(obj1, &val2);
7836 if (!SWIG_IsOK(ecode2)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7838 }
7839 arg2 = static_cast< long >(val2);
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7854 PyObject *resultobj = 0;
7855 wxDialog *arg1 = (wxDialog *) 0 ;
7856 bool result;
7857 void *argp1 = 0 ;
7858 int res1 = 0 ;
7859 PyObject *swig_obj[1] ;
7860
7861 if (!args) SWIG_fail;
7862 swig_obj[0] = args;
7863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7864 if (!SWIG_IsOK(res1)) {
7865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7866 }
7867 arg1 = reinterpret_cast< wxDialog * >(argp1);
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (bool)((wxDialog const *)arg1)->IsModal();
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 {
7875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7876 }
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7884 PyObject *resultobj = 0;
7885 wxDialog *arg1 = (wxDialog *) 0 ;
7886 int result;
7887 void *argp1 = 0 ;
7888 int res1 = 0 ;
7889 PyObject *swig_obj[1] ;
7890
7891 if (!args) SWIG_fail;
7892 swig_obj[0] = args;
7893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7894 if (!SWIG_IsOK(res1)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7896 }
7897 arg1 = reinterpret_cast< wxDialog * >(argp1);
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = (int)(arg1)->ShowModal();
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 resultobj = SWIG_From_int(static_cast< int >(result));
7905 return resultobj;
7906 fail:
7907 return NULL;
7908 }
7909
7910
7911 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj = 0;
7913 wxDialog *arg1 = (wxDialog *) 0 ;
7914 int arg2 ;
7915 void *argp1 = 0 ;
7916 int res1 = 0 ;
7917 int val2 ;
7918 int ecode2 = 0 ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 char * kwnames[] = {
7922 (char *) "self",(char *) "retCode", NULL
7923 };
7924
7925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7927 if (!SWIG_IsOK(res1)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7929 }
7930 arg1 = reinterpret_cast< wxDialog * >(argp1);
7931 ecode2 = SWIG_AsVal_int(obj1, &val2);
7932 if (!SWIG_IsOK(ecode2)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7934 }
7935 arg2 = static_cast< int >(val2);
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->EndModal(arg2);
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 resultobj = SWIG_Py_Void();
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj = 0;
7951 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7952 SwigValueWrapper<wxVisualAttributes > result;
7953 int val1 ;
7954 int ecode1 = 0 ;
7955 PyObject * obj0 = 0 ;
7956 char * kwnames[] = {
7957 (char *) "variant", NULL
7958 };
7959
7960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7961 if (obj0) {
7962 ecode1 = SWIG_AsVal_int(obj0, &val1);
7963 if (!SWIG_IsOK(ecode1)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7965 }
7966 arg1 = static_cast< wxWindowVariant >(val1);
7967 }
7968 {
7969 if (!wxPyCheckForApp()) SWIG_fail;
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = wxDialog::GetClassDefaultAttributes(arg1);
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7983 PyObject *obj;
7984 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7985 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7986 return SWIG_Py_Void();
7987 }
7988
7989 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7990 return SWIG_Python_InitShadowInstance(args);
7991 }
7992
7993 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj = 0;
7995 wxWindow *arg1 = (wxWindow *) 0 ;
7996 int arg2 = (int) (int)-1 ;
7997 wxString const &arg3_defvalue = wxPyEmptyString ;
7998 wxString *arg3 = (wxString *) &arg3_defvalue ;
7999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8001 wxSize const &arg5_defvalue = wxDefaultSize ;
8002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8003 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8004 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8005 wxString *arg7 = (wxString *) &arg7_defvalue ;
8006 wxMiniFrame *result = 0 ;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
8009 int val2 ;
8010 int ecode2 = 0 ;
8011 bool temp3 = false ;
8012 wxPoint temp4 ;
8013 wxSize temp5 ;
8014 long val6 ;
8015 int ecode6 = 0 ;
8016 bool temp7 = false ;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 PyObject * obj2 = 0 ;
8020 PyObject * obj3 = 0 ;
8021 PyObject * obj4 = 0 ;
8022 PyObject * obj5 = 0 ;
8023 PyObject * obj6 = 0 ;
8024 char * kwnames[] = {
8025 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8026 };
8027
8028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8030 if (!SWIG_IsOK(res1)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8032 }
8033 arg1 = reinterpret_cast< wxWindow * >(argp1);
8034 if (obj1) {
8035 ecode2 = SWIG_AsVal_int(obj1, &val2);
8036 if (!SWIG_IsOK(ecode2)) {
8037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8038 }
8039 arg2 = static_cast< int >(val2);
8040 }
8041 if (obj2) {
8042 {
8043 arg3 = wxString_in_helper(obj2);
8044 if (arg3 == NULL) SWIG_fail;
8045 temp3 = true;
8046 }
8047 }
8048 if (obj3) {
8049 {
8050 arg4 = &temp4;
8051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8052 }
8053 }
8054 if (obj4) {
8055 {
8056 arg5 = &temp5;
8057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8058 }
8059 }
8060 if (obj5) {
8061 ecode6 = SWIG_AsVal_long(obj5, &val6);
8062 if (!SWIG_IsOK(ecode6)) {
8063 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8064 }
8065 arg6 = static_cast< long >(val6);
8066 }
8067 if (obj6) {
8068 {
8069 arg7 = wxString_in_helper(obj6);
8070 if (arg7 == NULL) SWIG_fail;
8071 temp7 = true;
8072 }
8073 }
8074 {
8075 if (!wxPyCheckForApp()) SWIG_fail;
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8082 {
8083 if (temp3)
8084 delete arg3;
8085 }
8086 {
8087 if (temp7)
8088 delete arg7;
8089 }
8090 return resultobj;
8091 fail:
8092 {
8093 if (temp3)
8094 delete arg3;
8095 }
8096 {
8097 if (temp7)
8098 delete arg7;
8099 }
8100 return NULL;
8101 }
8102
8103
8104 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8105 PyObject *resultobj = 0;
8106 wxMiniFrame *result = 0 ;
8107
8108 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8109 {
8110 if (!wxPyCheckForApp()) SWIG_fail;
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (wxMiniFrame *)new wxMiniFrame();
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj = 0;
8125 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8126 wxWindow *arg2 = (wxWindow *) 0 ;
8127 int arg3 = (int) (int)-1 ;
8128 wxString const &arg4_defvalue = wxPyEmptyString ;
8129 wxString *arg4 = (wxString *) &arg4_defvalue ;
8130 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8131 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8132 wxSize const &arg6_defvalue = wxDefaultSize ;
8133 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8134 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8135 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8136 wxString *arg8 = (wxString *) &arg8_defvalue ;
8137 bool result;
8138 void *argp1 = 0 ;
8139 int res1 = 0 ;
8140 void *argp2 = 0 ;
8141 int res2 = 0 ;
8142 int val3 ;
8143 int ecode3 = 0 ;
8144 bool temp4 = false ;
8145 wxPoint temp5 ;
8146 wxSize temp6 ;
8147 long val7 ;
8148 int ecode7 = 0 ;
8149 bool temp8 = false ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 PyObject * obj2 = 0 ;
8153 PyObject * obj3 = 0 ;
8154 PyObject * obj4 = 0 ;
8155 PyObject * obj5 = 0 ;
8156 PyObject * obj6 = 0 ;
8157 PyObject * obj7 = 0 ;
8158 char * kwnames[] = {
8159 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8160 };
8161
8162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8164 if (!SWIG_IsOK(res1)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8166 }
8167 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8169 if (!SWIG_IsOK(res2)) {
8170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8171 }
8172 arg2 = reinterpret_cast< wxWindow * >(argp2);
8173 if (obj2) {
8174 ecode3 = SWIG_AsVal_int(obj2, &val3);
8175 if (!SWIG_IsOK(ecode3)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8177 }
8178 arg3 = static_cast< int >(val3);
8179 }
8180 if (obj3) {
8181 {
8182 arg4 = wxString_in_helper(obj3);
8183 if (arg4 == NULL) SWIG_fail;
8184 temp4 = true;
8185 }
8186 }
8187 if (obj4) {
8188 {
8189 arg5 = &temp5;
8190 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8191 }
8192 }
8193 if (obj5) {
8194 {
8195 arg6 = &temp6;
8196 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8197 }
8198 }
8199 if (obj6) {
8200 ecode7 = SWIG_AsVal_long(obj6, &val7);
8201 if (!SWIG_IsOK(ecode7)) {
8202 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8203 }
8204 arg7 = static_cast< long >(val7);
8205 }
8206 if (obj7) {
8207 {
8208 arg8 = wxString_in_helper(obj7);
8209 if (arg8 == NULL) SWIG_fail;
8210 temp8 = true;
8211 }
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 {
8220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8221 }
8222 {
8223 if (temp4)
8224 delete arg4;
8225 }
8226 {
8227 if (temp8)
8228 delete arg8;
8229 }
8230 return resultobj;
8231 fail:
8232 {
8233 if (temp4)
8234 delete arg4;
8235 }
8236 {
8237 if (temp8)
8238 delete arg8;
8239 }
8240 return NULL;
8241 }
8242
8243
8244 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8245 PyObject *obj;
8246 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8247 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8248 return SWIG_Py_Void();
8249 }
8250
8251 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8252 return SWIG_Python_InitShadowInstance(args);
8253 }
8254
8255 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj = 0;
8257 wxBitmap *arg1 = 0 ;
8258 wxWindow *arg2 = (wxWindow *) 0 ;
8259 int arg3 ;
8260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8262 wxSize const &arg5_defvalue = wxDefaultSize ;
8263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8264 long arg6 = (long) wxNO_BORDER ;
8265 wxSplashScreenWindow *result = 0 ;
8266 void *argp1 = 0 ;
8267 int res1 = 0 ;
8268 void *argp2 = 0 ;
8269 int res2 = 0 ;
8270 int val3 ;
8271 int ecode3 = 0 ;
8272 wxPoint temp4 ;
8273 wxSize temp5 ;
8274 long val6 ;
8275 int ecode6 = 0 ;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 PyObject * obj2 = 0 ;
8279 PyObject * obj3 = 0 ;
8280 PyObject * obj4 = 0 ;
8281 PyObject * obj5 = 0 ;
8282 char * kwnames[] = {
8283 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8284 };
8285
8286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8287 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8288 if (!SWIG_IsOK(res1)) {
8289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8290 }
8291 if (!argp1) {
8292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8293 }
8294 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8296 if (!SWIG_IsOK(res2)) {
8297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8298 }
8299 arg2 = reinterpret_cast< wxWindow * >(argp2);
8300 ecode3 = SWIG_AsVal_int(obj2, &val3);
8301 if (!SWIG_IsOK(ecode3)) {
8302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8303 }
8304 arg3 = static_cast< int >(val3);
8305 if (obj3) {
8306 {
8307 arg4 = &temp4;
8308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8309 }
8310 }
8311 if (obj4) {
8312 {
8313 arg5 = &temp5;
8314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8315 }
8316 }
8317 if (obj5) {
8318 ecode6 = SWIG_AsVal_long(obj5, &val6);
8319 if (!SWIG_IsOK(ecode6)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8321 }
8322 arg6 = static_cast< long >(val6);
8323 }
8324 {
8325 if (!wxPyCheckForApp()) SWIG_fail;
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8332 return resultobj;
8333 fail:
8334 return NULL;
8335 }
8336
8337
8338 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj = 0;
8340 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8341 wxBitmap *arg2 = 0 ;
8342 void *argp1 = 0 ;
8343 int res1 = 0 ;
8344 void *argp2 = 0 ;
8345 int res2 = 0 ;
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char * kwnames[] = {
8349 (char *) "self",(char *) "bitmap", NULL
8350 };
8351
8352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8354 if (!SWIG_IsOK(res1)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8356 }
8357 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8358 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8359 if (!SWIG_IsOK(res2)) {
8360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8361 }
8362 if (!argp2) {
8363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8364 }
8365 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_Py_Void();
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8380 PyObject *resultobj = 0;
8381 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8382 wxBitmap *result = 0 ;
8383 void *argp1 = 0 ;
8384 int res1 = 0 ;
8385 PyObject *swig_obj[1] ;
8386
8387 if (!args) SWIG_fail;
8388 swig_obj[0] = args;
8389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8390 if (!SWIG_IsOK(res1)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8392 }
8393 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 {
8397 wxBitmap &_result_ref = (arg1)->GetBitmap();
8398 result = (wxBitmap *) &_result_ref;
8399 }
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 {
8404 wxBitmap* resultptr = new wxBitmap(*result);
8405 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8406 }
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8414 PyObject *obj;
8415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8416 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8417 return SWIG_Py_Void();
8418 }
8419
8420 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8421 return SWIG_Python_InitShadowInstance(args);
8422 }
8423
8424 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj = 0;
8426 wxBitmap *arg1 = 0 ;
8427 long arg2 ;
8428 int arg3 ;
8429 wxWindow *arg4 = (wxWindow *) 0 ;
8430 int arg5 = (int) -1 ;
8431 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8432 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8433 wxSize const &arg7_defvalue = wxDefaultSize ;
8434 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8435 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8436 wxSplashScreen *result = 0 ;
8437 void *argp1 = 0 ;
8438 int res1 = 0 ;
8439 long val2 ;
8440 int ecode2 = 0 ;
8441 int val3 ;
8442 int ecode3 = 0 ;
8443 void *argp4 = 0 ;
8444 int res4 = 0 ;
8445 int val5 ;
8446 int ecode5 = 0 ;
8447 wxPoint temp6 ;
8448 wxSize temp7 ;
8449 long val8 ;
8450 int ecode8 = 0 ;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 PyObject * obj2 = 0 ;
8454 PyObject * obj3 = 0 ;
8455 PyObject * obj4 = 0 ;
8456 PyObject * obj5 = 0 ;
8457 PyObject * obj6 = 0 ;
8458 PyObject * obj7 = 0 ;
8459 char * kwnames[] = {
8460 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8461 };
8462
8463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8464 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8465 if (!SWIG_IsOK(res1)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8467 }
8468 if (!argp1) {
8469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8470 }
8471 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8472 ecode2 = SWIG_AsVal_long(obj1, &val2);
8473 if (!SWIG_IsOK(ecode2)) {
8474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8475 }
8476 arg2 = static_cast< long >(val2);
8477 ecode3 = SWIG_AsVal_int(obj2, &val3);
8478 if (!SWIG_IsOK(ecode3)) {
8479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8480 }
8481 arg3 = static_cast< int >(val3);
8482 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8483 if (!SWIG_IsOK(res4)) {
8484 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8485 }
8486 arg4 = reinterpret_cast< wxWindow * >(argp4);
8487 if (obj4) {
8488 ecode5 = SWIG_AsVal_int(obj4, &val5);
8489 if (!SWIG_IsOK(ecode5)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8491 }
8492 arg5 = static_cast< int >(val5);
8493 }
8494 if (obj5) {
8495 {
8496 arg6 = &temp6;
8497 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8498 }
8499 }
8500 if (obj6) {
8501 {
8502 arg7 = &temp7;
8503 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8504 }
8505 }
8506 if (obj7) {
8507 ecode8 = SWIG_AsVal_long(obj7, &val8);
8508 if (!SWIG_IsOK(ecode8)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8510 }
8511 arg8 = static_cast< long >(val8);
8512 }
8513 {
8514 if (!wxPyCheckForApp()) SWIG_fail;
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8521 return resultobj;
8522 fail:
8523 return NULL;
8524 }
8525
8526
8527 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8528 PyObject *resultobj = 0;
8529 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8530 long result;
8531 void *argp1 = 0 ;
8532 int res1 = 0 ;
8533 PyObject *swig_obj[1] ;
8534
8535 if (!args) SWIG_fail;
8536 swig_obj[0] = args;
8537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8538 if (!SWIG_IsOK(res1)) {
8539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8540 }
8541 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 resultobj = SWIG_From_long(static_cast< long >(result));
8549 return resultobj;
8550 fail:
8551 return NULL;
8552 }
8553
8554
8555 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8556 PyObject *resultobj = 0;
8557 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8558 wxSplashScreenWindow *result = 0 ;
8559 void *argp1 = 0 ;
8560 int res1 = 0 ;
8561 PyObject *swig_obj[1] ;
8562
8563 if (!args) SWIG_fail;
8564 swig_obj[0] = args;
8565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8566 if (!SWIG_IsOK(res1)) {
8567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8568 }
8569 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8584 PyObject *resultobj = 0;
8585 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8586 int result;
8587 void *argp1 = 0 ;
8588 int res1 = 0 ;
8589 PyObject *swig_obj[1] ;
8590
8591 if (!args) SWIG_fail;
8592 swig_obj[0] = args;
8593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8594 if (!SWIG_IsOK(res1)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8596 }
8597 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 resultobj = SWIG_From_int(static_cast< int >(result));
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8612 PyObject *obj;
8613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8615 return SWIG_Py_Void();
8616 }
8617
8618 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8619 return SWIG_Python_InitShadowInstance(args);
8620 }
8621
8622 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj = 0;
8624 wxWindow *arg1 = (wxWindow *) 0 ;
8625 int arg2 = (int) -1 ;
8626 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8627 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8628 wxString *arg4 = (wxString *) &arg4_defvalue ;
8629 wxStatusBar *result = 0 ;
8630 void *argp1 = 0 ;
8631 int res1 = 0 ;
8632 int val2 ;
8633 int ecode2 = 0 ;
8634 long val3 ;
8635 int ecode3 = 0 ;
8636 bool temp4 = false ;
8637 PyObject * obj0 = 0 ;
8638 PyObject * obj1 = 0 ;
8639 PyObject * obj2 = 0 ;
8640 PyObject * obj3 = 0 ;
8641 char * kwnames[] = {
8642 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8643 };
8644
8645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8647 if (!SWIG_IsOK(res1)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8649 }
8650 arg1 = reinterpret_cast< wxWindow * >(argp1);
8651 if (obj1) {
8652 ecode2 = SWIG_AsVal_int(obj1, &val2);
8653 if (!SWIG_IsOK(ecode2)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8655 }
8656 arg2 = static_cast< int >(val2);
8657 }
8658 if (obj2) {
8659 ecode3 = SWIG_AsVal_long(obj2, &val3);
8660 if (!SWIG_IsOK(ecode3)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8662 }
8663 arg3 = static_cast< long >(val3);
8664 }
8665 if (obj3) {
8666 {
8667 arg4 = wxString_in_helper(obj3);
8668 if (arg4 == NULL) SWIG_fail;
8669 temp4 = true;
8670 }
8671 }
8672 {
8673 if (!wxPyCheckForApp()) SWIG_fail;
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8680 {
8681 if (temp4)
8682 delete arg4;
8683 }
8684 return resultobj;
8685 fail:
8686 {
8687 if (temp4)
8688 delete arg4;
8689 }
8690 return NULL;
8691 }
8692
8693
8694 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8695 PyObject *resultobj = 0;
8696 wxStatusBar *result = 0 ;
8697
8698 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8699 {
8700 if (!wxPyCheckForApp()) SWIG_fail;
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (wxStatusBar *)new wxStatusBar();
8703 wxPyEndAllowThreads(__tstate);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8707 return resultobj;
8708 fail:
8709 return NULL;
8710 }
8711
8712
8713 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8714 PyObject *resultobj = 0;
8715 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8716 wxWindow *arg2 = (wxWindow *) 0 ;
8717 int arg3 = (int) -1 ;
8718 long arg4 = (long) wxST_SIZEGRIP ;
8719 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8720 wxString *arg5 = (wxString *) &arg5_defvalue ;
8721 bool result;
8722 void *argp1 = 0 ;
8723 int res1 = 0 ;
8724 void *argp2 = 0 ;
8725 int res2 = 0 ;
8726 int val3 ;
8727 int ecode3 = 0 ;
8728 long val4 ;
8729 int ecode4 = 0 ;
8730 bool temp5 = false ;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 PyObject * obj2 = 0 ;
8734 PyObject * obj3 = 0 ;
8735 PyObject * obj4 = 0 ;
8736 char * kwnames[] = {
8737 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8738 };
8739
8740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8742 if (!SWIG_IsOK(res1)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8744 }
8745 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8747 if (!SWIG_IsOK(res2)) {
8748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8749 }
8750 arg2 = reinterpret_cast< wxWindow * >(argp2);
8751 if (obj2) {
8752 ecode3 = SWIG_AsVal_int(obj2, &val3);
8753 if (!SWIG_IsOK(ecode3)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8755 }
8756 arg3 = static_cast< int >(val3);
8757 }
8758 if (obj3) {
8759 ecode4 = SWIG_AsVal_long(obj3, &val4);
8760 if (!SWIG_IsOK(ecode4)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8762 }
8763 arg4 = static_cast< long >(val4);
8764 }
8765 if (obj4) {
8766 {
8767 arg5 = wxString_in_helper(obj4);
8768 if (arg5 == NULL) SWIG_fail;
8769 temp5 = true;
8770 }
8771 }
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 {
8779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8780 }
8781 {
8782 if (temp5)
8783 delete arg5;
8784 }
8785 return resultobj;
8786 fail:
8787 {
8788 if (temp5)
8789 delete arg5;
8790 }
8791 return NULL;
8792 }
8793
8794
8795 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj = 0;
8797 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8798 int arg2 = (int) 1 ;
8799 void *argp1 = 0 ;
8800 int res1 = 0 ;
8801 int val2 ;
8802 int ecode2 = 0 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char * kwnames[] = {
8806 (char *) "self",(char *) "number", NULL
8807 };
8808
8809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8811 if (!SWIG_IsOK(res1)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8813 }
8814 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8815 if (obj1) {
8816 ecode2 = SWIG_AsVal_int(obj1, &val2);
8817 if (!SWIG_IsOK(ecode2)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8819 }
8820 arg2 = static_cast< int >(val2);
8821 }
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 (arg1)->SetFieldsCount(arg2);
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = SWIG_Py_Void();
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8836 PyObject *resultobj = 0;
8837 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8838 int result;
8839 void *argp1 = 0 ;
8840 int res1 = 0 ;
8841 PyObject *swig_obj[1] ;
8842
8843 if (!args) SWIG_fail;
8844 swig_obj[0] = args;
8845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8846 if (!SWIG_IsOK(res1)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8848 }
8849 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_From_int(static_cast< int >(result));
8857 return resultobj;
8858 fail:
8859 return NULL;
8860 }
8861
8862
8863 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj = 0;
8865 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8866 wxString *arg2 = 0 ;
8867 int arg3 = (int) 0 ;
8868 void *argp1 = 0 ;
8869 int res1 = 0 ;
8870 bool temp2 = false ;
8871 int val3 ;
8872 int ecode3 = 0 ;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
8876 char * kwnames[] = {
8877 (char *) "self",(char *) "text",(char *) "number", NULL
8878 };
8879
8880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8882 if (!SWIG_IsOK(res1)) {
8883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8884 }
8885 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8886 {
8887 arg2 = wxString_in_helper(obj1);
8888 if (arg2 == NULL) SWIG_fail;
8889 temp2 = true;
8890 }
8891 if (obj2) {
8892 ecode3 = SWIG_AsVal_int(obj2, &val3);
8893 if (!SWIG_IsOK(ecode3)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8895 }
8896 arg3 = static_cast< int >(val3);
8897 }
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_Py_Void();
8905 {
8906 if (temp2)
8907 delete arg2;
8908 }
8909 return resultobj;
8910 fail:
8911 {
8912 if (temp2)
8913 delete arg2;
8914 }
8915 return NULL;
8916 }
8917
8918
8919 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj = 0;
8921 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8922 int arg2 = (int) 0 ;
8923 wxString result;
8924 void *argp1 = 0 ;
8925 int res1 = 0 ;
8926 int val2 ;
8927 int ecode2 = 0 ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char * kwnames[] = {
8931 (char *) "self",(char *) "number", NULL
8932 };
8933
8934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8936 if (!SWIG_IsOK(res1)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8938 }
8939 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8940 if (obj1) {
8941 ecode2 = SWIG_AsVal_int(obj1, &val2);
8942 if (!SWIG_IsOK(ecode2)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8944 }
8945 arg2 = static_cast< int >(val2);
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 {
8954 #if wxUSE_UNICODE
8955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8956 #else
8957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8958 #endif
8959 }
8960 return resultobj;
8961 fail:
8962 return NULL;
8963 }
8964
8965
8966 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj = 0;
8968 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8969 wxString *arg2 = 0 ;
8970 int arg3 = (int) 0 ;
8971 void *argp1 = 0 ;
8972 int res1 = 0 ;
8973 bool temp2 = false ;
8974 int val3 ;
8975 int ecode3 = 0 ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 PyObject * obj2 = 0 ;
8979 char * kwnames[] = {
8980 (char *) "self",(char *) "text",(char *) "number", NULL
8981 };
8982
8983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8985 if (!SWIG_IsOK(res1)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8987 }
8988 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8989 {
8990 arg2 = wxString_in_helper(obj1);
8991 if (arg2 == NULL) SWIG_fail;
8992 temp2 = true;
8993 }
8994 if (obj2) {
8995 ecode3 = SWIG_AsVal_int(obj2, &val3);
8996 if (!SWIG_IsOK(ecode3)) {
8997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8998 }
8999 arg3 = static_cast< int >(val3);
9000 }
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = SWIG_Py_Void();
9008 {
9009 if (temp2)
9010 delete arg2;
9011 }
9012 return resultobj;
9013 fail:
9014 {
9015 if (temp2)
9016 delete arg2;
9017 }
9018 return NULL;
9019 }
9020
9021
9022 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj = 0;
9024 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9025 int arg2 = (int) 0 ;
9026 void *argp1 = 0 ;
9027 int res1 = 0 ;
9028 int val2 ;
9029 int ecode2 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 char * kwnames[] = {
9033 (char *) "self",(char *) "number", NULL
9034 };
9035
9036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9038 if (!SWIG_IsOK(res1)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9040 }
9041 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9042 if (obj1) {
9043 ecode2 = SWIG_AsVal_int(obj1, &val2);
9044 if (!SWIG_IsOK(ecode2)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9046 }
9047 arg2 = static_cast< int >(val2);
9048 }
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->PopStatusText(arg2);
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 resultobj = SWIG_Py_Void();
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj = 0;
9064 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9065 int arg2 ;
9066 int *arg3 = (int *) 0 ;
9067 void *argp1 = 0 ;
9068 int res1 = 0 ;
9069 PyObject * obj0 = 0 ;
9070 PyObject * obj1 = 0 ;
9071 char * kwnames[] = {
9072 (char *) "self",(char *) "widths", NULL
9073 };
9074
9075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9077 if (!SWIG_IsOK(res1)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9079 }
9080 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9081 {
9082 arg2 = PyList_Size(obj1);
9083 arg3 = int_LIST_helper(obj1);
9084 if (arg3 == NULL) SWIG_fail;
9085 }
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 resultobj = SWIG_Py_Void();
9093 {
9094 if (arg3) delete [] arg3;
9095 }
9096 return resultobj;
9097 fail:
9098 {
9099 if (arg3) delete [] arg3;
9100 }
9101 return NULL;
9102 }
9103
9104
9105 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj = 0;
9107 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9108 int arg2 ;
9109 int *arg3 = (int *) 0 ;
9110 void *argp1 = 0 ;
9111 int res1 = 0 ;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char * kwnames[] = {
9115 (char *) "self",(char *) "styles", NULL
9116 };
9117
9118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9120 if (!SWIG_IsOK(res1)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9122 }
9123 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9124 {
9125 arg2 = PyList_Size(obj1);
9126 arg3 = int_LIST_helper(obj1);
9127 if (arg3 == NULL) SWIG_fail;
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_Py_Void();
9136 {
9137 if (arg3) delete [] arg3;
9138 }
9139 return resultobj;
9140 fail:
9141 {
9142 if (arg3) delete [] arg3;
9143 }
9144 return NULL;
9145 }
9146
9147
9148 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj = 0;
9150 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9151 int arg2 ;
9152 wxRect result;
9153 void *argp1 = 0 ;
9154 int res1 = 0 ;
9155 int val2 ;
9156 int ecode2 = 0 ;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159 char * kwnames[] = {
9160 (char *) "self",(char *) "i", NULL
9161 };
9162
9163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9165 if (!SWIG_IsOK(res1)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9167 }
9168 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9169 ecode2 = SWIG_AsVal_int(obj1, &val2);
9170 if (!SWIG_IsOK(ecode2)) {
9171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9172 }
9173 arg2 = static_cast< int >(val2);
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 result = wxStatusBar_GetFieldRect(arg1,arg2);
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj = 0;
9189 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9190 int arg2 ;
9191 void *argp1 = 0 ;
9192 int res1 = 0 ;
9193 int val2 ;
9194 int ecode2 = 0 ;
9195 PyObject * obj0 = 0 ;
9196 PyObject * obj1 = 0 ;
9197 char * kwnames[] = {
9198 (char *) "self",(char *) "height", NULL
9199 };
9200
9201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9203 if (!SWIG_IsOK(res1)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9205 }
9206 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9207 ecode2 = SWIG_AsVal_int(obj1, &val2);
9208 if (!SWIG_IsOK(ecode2)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9210 }
9211 arg2 = static_cast< int >(val2);
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->SetMinHeight(arg2);
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_Py_Void();
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9226 PyObject *resultobj = 0;
9227 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9228 int result;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 PyObject *swig_obj[1] ;
9232
9233 if (!args) SWIG_fail;
9234 swig_obj[0] = args;
9235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9236 if (!SWIG_IsOK(res1)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9238 }
9239 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 resultobj = SWIG_From_int(static_cast< int >(result));
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9254 PyObject *resultobj = 0;
9255 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9256 int result;
9257 void *argp1 = 0 ;
9258 int res1 = 0 ;
9259 PyObject *swig_obj[1] ;
9260
9261 if (!args) SWIG_fail;
9262 swig_obj[0] = args;
9263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9264 if (!SWIG_IsOK(res1)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9266 }
9267 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 resultobj = SWIG_From_int(static_cast< int >(result));
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj = 0;
9283 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9284 SwigValueWrapper<wxVisualAttributes > result;
9285 int val1 ;
9286 int ecode1 = 0 ;
9287 PyObject * obj0 = 0 ;
9288 char * kwnames[] = {
9289 (char *) "variant", NULL
9290 };
9291
9292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9293 if (obj0) {
9294 ecode1 = SWIG_AsVal_int(obj0, &val1);
9295 if (!SWIG_IsOK(ecode1)) {
9296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9297 }
9298 arg1 = static_cast< wxWindowVariant >(val1);
9299 }
9300 {
9301 if (!wxPyCheckForApp()) SWIG_fail;
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9315 PyObject *obj;
9316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9317 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9318 return SWIG_Py_Void();
9319 }
9320
9321 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9322 return SWIG_Python_InitShadowInstance(args);
9323 }
9324
9325 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9326 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9327 return 1;
9328 }
9329
9330
9331 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9332 PyObject *pyobj = 0;
9333
9334 {
9335 #if wxUSE_UNICODE
9336 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9337 #else
9338 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9339 #endif
9340 }
9341 return pyobj;
9342 }
9343
9344
9345 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj = 0;
9347 wxWindow *arg1 = (wxWindow *) 0 ;
9348 int arg2 = (int) -1 ;
9349 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9350 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9351 wxSize const &arg4_defvalue = wxDefaultSize ;
9352 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9353 long arg5 = (long) wxSP_3D ;
9354 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9355 wxString *arg6 = (wxString *) &arg6_defvalue ;
9356 wxSplitterWindow *result = 0 ;
9357 void *argp1 = 0 ;
9358 int res1 = 0 ;
9359 int val2 ;
9360 int ecode2 = 0 ;
9361 wxPoint temp3 ;
9362 wxSize temp4 ;
9363 long val5 ;
9364 int ecode5 = 0 ;
9365 bool temp6 = false ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 PyObject * obj2 = 0 ;
9369 PyObject * obj3 = 0 ;
9370 PyObject * obj4 = 0 ;
9371 PyObject * obj5 = 0 ;
9372 char * kwnames[] = {
9373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9374 };
9375
9376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9378 if (!SWIG_IsOK(res1)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9380 }
9381 arg1 = reinterpret_cast< wxWindow * >(argp1);
9382 if (obj1) {
9383 ecode2 = SWIG_AsVal_int(obj1, &val2);
9384 if (!SWIG_IsOK(ecode2)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9386 }
9387 arg2 = static_cast< int >(val2);
9388 }
9389 if (obj2) {
9390 {
9391 arg3 = &temp3;
9392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9393 }
9394 }
9395 if (obj3) {
9396 {
9397 arg4 = &temp4;
9398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9399 }
9400 }
9401 if (obj4) {
9402 ecode5 = SWIG_AsVal_long(obj4, &val5);
9403 if (!SWIG_IsOK(ecode5)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9405 }
9406 arg5 = static_cast< long >(val5);
9407 }
9408 if (obj5) {
9409 {
9410 arg6 = wxString_in_helper(obj5);
9411 if (arg6 == NULL) SWIG_fail;
9412 temp6 = true;
9413 }
9414 }
9415 {
9416 if (!wxPyCheckForApp()) SWIG_fail;
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9423 {
9424 if (temp6)
9425 delete arg6;
9426 }
9427 return resultobj;
9428 fail:
9429 {
9430 if (temp6)
9431 delete arg6;
9432 }
9433 return NULL;
9434 }
9435
9436
9437 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9438 PyObject *resultobj = 0;
9439 wxSplitterWindow *result = 0 ;
9440
9441 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9442 {
9443 if (!wxPyCheckForApp()) SWIG_fail;
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (wxSplitterWindow *)new wxSplitterWindow();
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj = 0;
9458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9459 wxWindow *arg2 = (wxWindow *) 0 ;
9460 int arg3 = (int) -1 ;
9461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9463 wxSize const &arg5_defvalue = wxDefaultSize ;
9464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9465 long arg6 = (long) wxSP_3D ;
9466 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9467 wxString *arg7 = (wxString *) &arg7_defvalue ;
9468 bool result;
9469 void *argp1 = 0 ;
9470 int res1 = 0 ;
9471 void *argp2 = 0 ;
9472 int res2 = 0 ;
9473 int val3 ;
9474 int ecode3 = 0 ;
9475 wxPoint temp4 ;
9476 wxSize temp5 ;
9477 long val6 ;
9478 int ecode6 = 0 ;
9479 bool temp7 = false ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482 PyObject * obj2 = 0 ;
9483 PyObject * obj3 = 0 ;
9484 PyObject * obj4 = 0 ;
9485 PyObject * obj5 = 0 ;
9486 PyObject * obj6 = 0 ;
9487 char * kwnames[] = {
9488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9489 };
9490
9491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9493 if (!SWIG_IsOK(res1)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9495 }
9496 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9498 if (!SWIG_IsOK(res2)) {
9499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9500 }
9501 arg2 = reinterpret_cast< wxWindow * >(argp2);
9502 if (obj2) {
9503 ecode3 = SWIG_AsVal_int(obj2, &val3);
9504 if (!SWIG_IsOK(ecode3)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9506 }
9507 arg3 = static_cast< int >(val3);
9508 }
9509 if (obj3) {
9510 {
9511 arg4 = &temp4;
9512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9513 }
9514 }
9515 if (obj4) {
9516 {
9517 arg5 = &temp5;
9518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9519 }
9520 }
9521 if (obj5) {
9522 ecode6 = SWIG_AsVal_long(obj5, &val6);
9523 if (!SWIG_IsOK(ecode6)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9525 }
9526 arg6 = static_cast< long >(val6);
9527 }
9528 if (obj6) {
9529 {
9530 arg7 = wxString_in_helper(obj6);
9531 if (arg7 == NULL) SWIG_fail;
9532 temp7 = true;
9533 }
9534 }
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 {
9542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9543 }
9544 {
9545 if (temp7)
9546 delete arg7;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp7)
9552 delete arg7;
9553 }
9554 return NULL;
9555 }
9556
9557
9558 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9559 PyObject *resultobj = 0;
9560 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9561 wxWindow *result = 0 ;
9562 void *argp1 = 0 ;
9563 int res1 = 0 ;
9564 PyObject *swig_obj[1] ;
9565
9566 if (!args) SWIG_fail;
9567 swig_obj[0] = args;
9568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9569 if (!SWIG_IsOK(res1)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9571 }
9572 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 {
9580 resultobj = wxPyMake_wxObject(result, 0);
9581 }
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9589 PyObject *resultobj = 0;
9590 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9591 wxWindow *result = 0 ;
9592 void *argp1 = 0 ;
9593 int res1 = 0 ;
9594 PyObject *swig_obj[1] ;
9595
9596 if (!args) SWIG_fail;
9597 swig_obj[0] = args;
9598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9599 if (!SWIG_IsOK(res1)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9601 }
9602 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 {
9610 resultobj = wxPyMake_wxObject(result, 0);
9611 }
9612 return resultobj;
9613 fail:
9614 return NULL;
9615 }
9616
9617
9618 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj = 0;
9620 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9621 int arg2 ;
9622 void *argp1 = 0 ;
9623 int res1 = 0 ;
9624 int val2 ;
9625 int ecode2 = 0 ;
9626 PyObject * obj0 = 0 ;
9627 PyObject * obj1 = 0 ;
9628 char * kwnames[] = {
9629 (char *) "self",(char *) "mode", NULL
9630 };
9631
9632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9634 if (!SWIG_IsOK(res1)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9636 }
9637 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9638 ecode2 = SWIG_AsVal_int(obj1, &val2);
9639 if (!SWIG_IsOK(ecode2)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9641 }
9642 arg2 = static_cast< int >(val2);
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->SetSplitMode(arg2);
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 resultobj = SWIG_Py_Void();
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9657 PyObject *resultobj = 0;
9658 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9659 wxSplitMode result;
9660 void *argp1 = 0 ;
9661 int res1 = 0 ;
9662 PyObject *swig_obj[1] ;
9663
9664 if (!args) SWIG_fail;
9665 swig_obj[0] = args;
9666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9667 if (!SWIG_IsOK(res1)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9669 }
9670 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 resultobj = SWIG_From_int(static_cast< int >(result));
9678 return resultobj;
9679 fail:
9680 return NULL;
9681 }
9682
9683
9684 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj = 0;
9686 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9687 wxWindow *arg2 = (wxWindow *) 0 ;
9688 void *argp1 = 0 ;
9689 int res1 = 0 ;
9690 void *argp2 = 0 ;
9691 int res2 = 0 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char * kwnames[] = {
9695 (char *) "self",(char *) "window", NULL
9696 };
9697
9698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9700 if (!SWIG_IsOK(res1)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9702 }
9703 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9705 if (!SWIG_IsOK(res2)) {
9706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9707 }
9708 arg2 = reinterpret_cast< wxWindow * >(argp2);
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 (arg1)->Initialize(arg2);
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 resultobj = SWIG_Py_Void();
9716 return resultobj;
9717 fail:
9718 return NULL;
9719 }
9720
9721
9722 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj = 0;
9724 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9725 wxWindow *arg2 = (wxWindow *) 0 ;
9726 wxWindow *arg3 = (wxWindow *) 0 ;
9727 int arg4 = (int) 0 ;
9728 bool result;
9729 void *argp1 = 0 ;
9730 int res1 = 0 ;
9731 void *argp2 = 0 ;
9732 int res2 = 0 ;
9733 void *argp3 = 0 ;
9734 int res3 = 0 ;
9735 int val4 ;
9736 int ecode4 = 0 ;
9737 PyObject * obj0 = 0 ;
9738 PyObject * obj1 = 0 ;
9739 PyObject * obj2 = 0 ;
9740 PyObject * obj3 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9749 }
9750 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9752 if (!SWIG_IsOK(res2)) {
9753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9754 }
9755 arg2 = reinterpret_cast< wxWindow * >(argp2);
9756 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9757 if (!SWIG_IsOK(res3)) {
9758 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9759 }
9760 arg3 = reinterpret_cast< wxWindow * >(argp3);
9761 if (obj3) {
9762 ecode4 = SWIG_AsVal_int(obj3, &val4);
9763 if (!SWIG_IsOK(ecode4)) {
9764 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9765 }
9766 arg4 = static_cast< int >(val4);
9767 }
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 {
9775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9776 }
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj = 0;
9785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9786 wxWindow *arg2 = (wxWindow *) 0 ;
9787 wxWindow *arg3 = (wxWindow *) 0 ;
9788 int arg4 = (int) 0 ;
9789 bool result;
9790 void *argp1 = 0 ;
9791 int res1 = 0 ;
9792 void *argp2 = 0 ;
9793 int res2 = 0 ;
9794 void *argp3 = 0 ;
9795 int res3 = 0 ;
9796 int val4 ;
9797 int ecode4 = 0 ;
9798 PyObject * obj0 = 0 ;
9799 PyObject * obj1 = 0 ;
9800 PyObject * obj2 = 0 ;
9801 PyObject * obj3 = 0 ;
9802 char * kwnames[] = {
9803 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9804 };
9805
9806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9808 if (!SWIG_IsOK(res1)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9810 }
9811 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9813 if (!SWIG_IsOK(res2)) {
9814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9815 }
9816 arg2 = reinterpret_cast< wxWindow * >(argp2);
9817 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9818 if (!SWIG_IsOK(res3)) {
9819 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9820 }
9821 arg3 = reinterpret_cast< wxWindow * >(argp3);
9822 if (obj3) {
9823 ecode4 = SWIG_AsVal_int(obj3, &val4);
9824 if (!SWIG_IsOK(ecode4)) {
9825 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9826 }
9827 arg4 = static_cast< int >(val4);
9828 }
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 {
9836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9837 }
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = 0;
9846 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9847 wxWindow *arg2 = (wxWindow *) NULL ;
9848 bool result;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 void *argp2 = 0 ;
9852 int res2 = 0 ;
9853 PyObject * obj0 = 0 ;
9854 PyObject * obj1 = 0 ;
9855 char * kwnames[] = {
9856 (char *) "self",(char *) "toRemove", NULL
9857 };
9858
9859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9861 if (!SWIG_IsOK(res1)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9863 }
9864 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9865 if (obj1) {
9866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9867 if (!SWIG_IsOK(res2)) {
9868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9869 }
9870 arg2 = reinterpret_cast< wxWindow * >(argp2);
9871 }
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (bool)(arg1)->Unsplit(arg2);
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 {
9879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9880 }
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj = 0;
9889 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9890 wxWindow *arg2 = (wxWindow *) 0 ;
9891 wxWindow *arg3 = (wxWindow *) 0 ;
9892 bool result;
9893 void *argp1 = 0 ;
9894 int res1 = 0 ;
9895 void *argp2 = 0 ;
9896 int res2 = 0 ;
9897 void *argp3 = 0 ;
9898 int res3 = 0 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9910 }
9911 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9913 if (!SWIG_IsOK(res2)) {
9914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9915 }
9916 arg2 = reinterpret_cast< wxWindow * >(argp2);
9917 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9918 if (!SWIG_IsOK(res3)) {
9919 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9920 }
9921 arg3 = reinterpret_cast< wxWindow * >(argp3);
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9930 }
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9938 PyObject *resultobj = 0;
9939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9940 void *argp1 = 0 ;
9941 int res1 = 0 ;
9942 PyObject *swig_obj[1] ;
9943
9944 if (!args) SWIG_fail;
9945 swig_obj[0] = args;
9946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9947 if (!SWIG_IsOK(res1)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9949 }
9950 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 (arg1)->UpdateSize();
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = SWIG_Py_Void();
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9965 PyObject *resultobj = 0;
9966 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9967 bool result;
9968 void *argp1 = 0 ;
9969 int res1 = 0 ;
9970 PyObject *swig_obj[1] ;
9971
9972 if (!args) SWIG_fail;
9973 swig_obj[0] = args;
9974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9975 if (!SWIG_IsOK(res1)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9977 }
9978 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9987 }
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj = 0;
9996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9997 int arg2 ;
9998 void *argp1 = 0 ;
9999 int res1 = 0 ;
10000 int val2 ;
10001 int ecode2 = 0 ;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char * kwnames[] = {
10005 (char *) "self",(char *) "width", NULL
10006 };
10007
10008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",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_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10012 }
10013 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10014 ecode2 = SWIG_AsVal_int(obj1, &val2);
10015 if (!SWIG_IsOK(ecode2)) {
10016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10017 }
10018 arg2 = static_cast< int >(val2);
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->SetSashSize(arg2);
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = SWIG_Py_Void();
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj = 0;
10034 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10035 int arg2 ;
10036 void *argp1 = 0 ;
10037 int res1 = 0 ;
10038 int val2 ;
10039 int ecode2 = 0 ;
10040 PyObject * obj0 = 0 ;
10041 PyObject * obj1 = 0 ;
10042 char * kwnames[] = {
10043 (char *) "self",(char *) "width", NULL
10044 };
10045
10046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10048 if (!SWIG_IsOK(res1)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10050 }
10051 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10052 ecode2 = SWIG_AsVal_int(obj1, &val2);
10053 if (!SWIG_IsOK(ecode2)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10055 }
10056 arg2 = static_cast< int >(val2);
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->SetBorderSize(arg2);
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_Py_Void();
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10071 PyObject *resultobj = 0;
10072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10073 int result;
10074 void *argp1 = 0 ;
10075 int res1 = 0 ;
10076 PyObject *swig_obj[1] ;
10077
10078 if (!args) SWIG_fail;
10079 swig_obj[0] = args;
10080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10081 if (!SWIG_IsOK(res1)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10083 }
10084 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_From_int(static_cast< int >(result));
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10099 PyObject *resultobj = 0;
10100 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10101 int result;
10102 void *argp1 = 0 ;
10103 int res1 = 0 ;
10104 PyObject *swig_obj[1] ;
10105
10106 if (!args) SWIG_fail;
10107 swig_obj[0] = args;
10108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10109 if (!SWIG_IsOK(res1)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10111 }
10112 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = SWIG_From_int(static_cast< int >(result));
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj = 0;
10128 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10129 int arg2 ;
10130 bool arg3 = (bool) true ;
10131 void *argp1 = 0 ;
10132 int res1 = 0 ;
10133 int val2 ;
10134 int ecode2 = 0 ;
10135 bool val3 ;
10136 int ecode3 = 0 ;
10137 PyObject * obj0 = 0 ;
10138 PyObject * obj1 = 0 ;
10139 PyObject * obj2 = 0 ;
10140 char * kwnames[] = {
10141 (char *) "self",(char *) "position",(char *) "redraw", NULL
10142 };
10143
10144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10146 if (!SWIG_IsOK(res1)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10148 }
10149 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10150 ecode2 = SWIG_AsVal_int(obj1, &val2);
10151 if (!SWIG_IsOK(ecode2)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10153 }
10154 arg2 = static_cast< int >(val2);
10155 if (obj2) {
10156 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10157 if (!SWIG_IsOK(ecode3)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10159 }
10160 arg3 = static_cast< bool >(val3);
10161 }
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->SetSashPosition(arg2,arg3);
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_Py_Void();
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10176 PyObject *resultobj = 0;
10177 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10178 int result;
10179 void *argp1 = 0 ;
10180 int res1 = 0 ;
10181 PyObject *swig_obj[1] ;
10182
10183 if (!args) SWIG_fail;
10184 swig_obj[0] = args;
10185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10186 if (!SWIG_IsOK(res1)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10188 }
10189 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 resultobj = SWIG_From_int(static_cast< int >(result));
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj = 0;
10205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10206 double arg2 ;
10207 void *argp1 = 0 ;
10208 int res1 = 0 ;
10209 double val2 ;
10210 int ecode2 = 0 ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char * kwnames[] = {
10214 (char *) "self",(char *) "gravity", NULL
10215 };
10216
10217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10219 if (!SWIG_IsOK(res1)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10221 }
10222 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10223 ecode2 = SWIG_AsVal_double(obj1, &val2);
10224 if (!SWIG_IsOK(ecode2)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10226 }
10227 arg2 = static_cast< double >(val2);
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->SetSashGravity(arg2);
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 resultobj = SWIG_Py_Void();
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10242 PyObject *resultobj = 0;
10243 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10244 double result;
10245 void *argp1 = 0 ;
10246 int res1 = 0 ;
10247 PyObject *swig_obj[1] ;
10248
10249 if (!args) SWIG_fail;
10250 swig_obj[0] = args;
10251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10252 if (!SWIG_IsOK(res1)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10254 }
10255 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 resultobj = SWIG_From_double(static_cast< double >(result));
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj = 0;
10271 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10272 int arg2 ;
10273 void *argp1 = 0 ;
10274 int res1 = 0 ;
10275 int val2 ;
10276 int ecode2 = 0 ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 char * kwnames[] = {
10280 (char *) "self",(char *) "min", NULL
10281 };
10282
10283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10285 if (!SWIG_IsOK(res1)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10287 }
10288 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10289 ecode2 = SWIG_AsVal_int(obj1, &val2);
10290 if (!SWIG_IsOK(ecode2)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10292 }
10293 arg2 = static_cast< int >(val2);
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 (arg1)->SetMinimumPaneSize(arg2);
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = SWIG_Py_Void();
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10308 PyObject *resultobj = 0;
10309 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10310 int result;
10311 void *argp1 = 0 ;
10312 int res1 = 0 ;
10313 PyObject *swig_obj[1] ;
10314
10315 if (!args) SWIG_fail;
10316 swig_obj[0] = args;
10317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10320 }
10321 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = SWIG_From_int(static_cast< int >(result));
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj = 0;
10337 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10338 int arg2 ;
10339 int arg3 ;
10340 int arg4 = (int) 5 ;
10341 bool result;
10342 void *argp1 = 0 ;
10343 int res1 = 0 ;
10344 int val2 ;
10345 int ecode2 = 0 ;
10346 int val3 ;
10347 int ecode3 = 0 ;
10348 int val4 ;
10349 int ecode4 = 0 ;
10350 PyObject * obj0 = 0 ;
10351 PyObject * obj1 = 0 ;
10352 PyObject * obj2 = 0 ;
10353 PyObject * obj3 = 0 ;
10354 char * kwnames[] = {
10355 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10356 };
10357
10358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10360 if (!SWIG_IsOK(res1)) {
10361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10362 }
10363 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10364 ecode2 = SWIG_AsVal_int(obj1, &val2);
10365 if (!SWIG_IsOK(ecode2)) {
10366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10367 }
10368 arg2 = static_cast< int >(val2);
10369 ecode3 = SWIG_AsVal_int(obj2, &val3);
10370 if (!SWIG_IsOK(ecode3)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10372 }
10373 arg3 = static_cast< int >(val3);
10374 if (obj3) {
10375 ecode4 = SWIG_AsVal_int(obj3, &val4);
10376 if (!SWIG_IsOK(ecode4)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10378 }
10379 arg4 = static_cast< int >(val4);
10380 }
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 {
10388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10389 }
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *resultobj = 0;
10398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10399 void *argp1 = 0 ;
10400 int res1 = 0 ;
10401 PyObject *swig_obj[1] ;
10402
10403 if (!args) SWIG_fail;
10404 swig_obj[0] = args;
10405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10406 if (!SWIG_IsOK(res1)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10408 }
10409 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->SizeWindows();
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_Py_Void();
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj = 0;
10425 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10426 bool arg2 ;
10427 void *argp1 = 0 ;
10428 int res1 = 0 ;
10429 bool val2 ;
10430 int ecode2 = 0 ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 char * kwnames[] = {
10434 (char *) "self",(char *) "needUpdating", NULL
10435 };
10436
10437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10439 if (!SWIG_IsOK(res1)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10441 }
10442 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10443 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10444 if (!SWIG_IsOK(ecode2)) {
10445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10446 }
10447 arg2 = static_cast< bool >(val2);
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 (arg1)->SetNeedUpdating(arg2);
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 resultobj = SWIG_Py_Void();
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10462 PyObject *resultobj = 0;
10463 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10464 bool result;
10465 void *argp1 = 0 ;
10466 int res1 = 0 ;
10467 PyObject *swig_obj[1] ;
10468
10469 if (!args) SWIG_fail;
10470 swig_obj[0] = args;
10471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10472 if (!SWIG_IsOK(res1)) {
10473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10474 }
10475 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 {
10483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10484 }
10485 return resultobj;
10486 fail:
10487 return NULL;
10488 }
10489
10490
10491 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10492 PyObject *resultobj = 0;
10493 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10494 SwigValueWrapper<wxVisualAttributes > result;
10495 int val1 ;
10496 int ecode1 = 0 ;
10497 PyObject * obj0 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "variant", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10503 if (obj0) {
10504 ecode1 = SWIG_AsVal_int(obj0, &val1);
10505 if (!SWIG_IsOK(ecode1)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10507 }
10508 arg1 = static_cast< wxWindowVariant >(val1);
10509 }
10510 {
10511 if (!wxPyCheckForApp()) SWIG_fail;
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10525 PyObject *obj;
10526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10527 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10528 return SWIG_Py_Void();
10529 }
10530
10531 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10532 return SWIG_Python_InitShadowInstance(args);
10533 }
10534
10535 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj = 0;
10537 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10538 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10539 wxSplitterEvent *result = 0 ;
10540 int val1 ;
10541 int ecode1 = 0 ;
10542 void *argp2 = 0 ;
10543 int res2 = 0 ;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 char * kwnames[] = {
10547 (char *) "type",(char *) "splitter", NULL
10548 };
10549
10550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10551 if (obj0) {
10552 ecode1 = SWIG_AsVal_int(obj0, &val1);
10553 if (!SWIG_IsOK(ecode1)) {
10554 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10555 }
10556 arg1 = static_cast< wxEventType >(val1);
10557 }
10558 if (obj1) {
10559 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10560 if (!SWIG_IsOK(res2)) {
10561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10562 }
10563 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10564 }
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj = 0;
10580 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10581 int arg2 ;
10582 void *argp1 = 0 ;
10583 int res1 = 0 ;
10584 int val2 ;
10585 int ecode2 = 0 ;
10586 PyObject * obj0 = 0 ;
10587 PyObject * obj1 = 0 ;
10588 char * kwnames[] = {
10589 (char *) "self",(char *) "pos", NULL
10590 };
10591
10592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10594 if (!SWIG_IsOK(res1)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10596 }
10597 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10598 ecode2 = SWIG_AsVal_int(obj1, &val2);
10599 if (!SWIG_IsOK(ecode2)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10601 }
10602 arg2 = static_cast< int >(val2);
10603 {
10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
10605 (arg1)->SetSashPosition(arg2);
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_Py_Void();
10610 return resultobj;
10611 fail:
10612 return NULL;
10613 }
10614
10615
10616 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10617 PyObject *resultobj = 0;
10618 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10619 int result;
10620 void *argp1 = 0 ;
10621 int res1 = 0 ;
10622 PyObject *swig_obj[1] ;
10623
10624 if (!args) SWIG_fail;
10625 swig_obj[0] = args;
10626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10627 if (!SWIG_IsOK(res1)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10629 }
10630 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 resultobj = SWIG_From_int(static_cast< int >(result));
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10645 PyObject *resultobj = 0;
10646 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10647 wxWindow *result = 0 ;
10648 void *argp1 = 0 ;
10649 int res1 = 0 ;
10650 PyObject *swig_obj[1] ;
10651
10652 if (!args) SWIG_fail;
10653 swig_obj[0] = args;
10654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10655 if (!SWIG_IsOK(res1)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10657 }
10658 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 {
10666 resultobj = wxPyMake_wxObject(result, 0);
10667 }
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *resultobj = 0;
10676 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10677 int result;
10678 void *argp1 = 0 ;
10679 int res1 = 0 ;
10680 PyObject *swig_obj[1] ;
10681
10682 if (!args) SWIG_fail;
10683 swig_obj[0] = args;
10684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10685 if (!SWIG_IsOK(res1)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10687 }
10688 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = SWIG_From_int(static_cast< int >(result));
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10703 PyObject *resultobj = 0;
10704 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10705 int result;
10706 void *argp1 = 0 ;
10707 int res1 = 0 ;
10708 PyObject *swig_obj[1] ;
10709
10710 if (!args) SWIG_fail;
10711 swig_obj[0] = args;
10712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10713 if (!SWIG_IsOK(res1)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10715 }
10716 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_From_int(static_cast< int >(result));
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10731 PyObject *obj;
10732 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10733 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10734 return SWIG_Py_Void();
10735 }
10736
10737 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10738 return SWIG_Python_InitShadowInstance(args);
10739 }
10740
10741 SWIGINTERN int SashNameStr_set(PyObject *) {
10742 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10743 return 1;
10744 }
10745
10746
10747 SWIGINTERN PyObject *SashNameStr_get(void) {
10748 PyObject *pyobj = 0;
10749
10750 {
10751 #if wxUSE_UNICODE
10752 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10753 #else
10754 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10755 #endif
10756 }
10757 return pyobj;
10758 }
10759
10760
10761 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10762 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10763 return 1;
10764 }
10765
10766
10767 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10768 PyObject *pyobj = 0;
10769
10770 {
10771 #if wxUSE_UNICODE
10772 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10773 #else
10774 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10775 #endif
10776 }
10777 return pyobj;
10778 }
10779
10780
10781 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj = 0;
10783 wxWindow *arg1 = (wxWindow *) 0 ;
10784 int arg2 = (int) -1 ;
10785 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10786 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10787 wxSize const &arg4_defvalue = wxDefaultSize ;
10788 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10789 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10790 wxString const &arg6_defvalue = wxPySashNameStr ;
10791 wxString *arg6 = (wxString *) &arg6_defvalue ;
10792 wxSashWindow *result = 0 ;
10793 void *argp1 = 0 ;
10794 int res1 = 0 ;
10795 int val2 ;
10796 int ecode2 = 0 ;
10797 wxPoint temp3 ;
10798 wxSize temp4 ;
10799 long val5 ;
10800 int ecode5 = 0 ;
10801 bool temp6 = false ;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 PyObject * obj2 = 0 ;
10805 PyObject * obj3 = 0 ;
10806 PyObject * obj4 = 0 ;
10807 PyObject * obj5 = 0 ;
10808 char * kwnames[] = {
10809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10810 };
10811
10812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10814 if (!SWIG_IsOK(res1)) {
10815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10816 }
10817 arg1 = reinterpret_cast< wxWindow * >(argp1);
10818 if (obj1) {
10819 ecode2 = SWIG_AsVal_int(obj1, &val2);
10820 if (!SWIG_IsOK(ecode2)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10822 }
10823 arg2 = static_cast< int >(val2);
10824 }
10825 if (obj2) {
10826 {
10827 arg3 = &temp3;
10828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10829 }
10830 }
10831 if (obj3) {
10832 {
10833 arg4 = &temp4;
10834 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10835 }
10836 }
10837 if (obj4) {
10838 ecode5 = SWIG_AsVal_long(obj4, &val5);
10839 if (!SWIG_IsOK(ecode5)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10841 }
10842 arg5 = static_cast< long >(val5);
10843 }
10844 if (obj5) {
10845 {
10846 arg6 = wxString_in_helper(obj5);
10847 if (arg6 == NULL) SWIG_fail;
10848 temp6 = true;
10849 }
10850 }
10851 {
10852 if (!wxPyCheckForApp()) SWIG_fail;
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10859 {
10860 if (temp6)
10861 delete arg6;
10862 }
10863 return resultobj;
10864 fail:
10865 {
10866 if (temp6)
10867 delete arg6;
10868 }
10869 return NULL;
10870 }
10871
10872
10873 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10874 PyObject *resultobj = 0;
10875 wxSashWindow *result = 0 ;
10876
10877 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10878 {
10879 if (!wxPyCheckForApp()) SWIG_fail;
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 result = (wxSashWindow *)new wxSashWindow();
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj = 0;
10894 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10895 wxWindow *arg2 = (wxWindow *) 0 ;
10896 int arg3 = (int) -1 ;
10897 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10898 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10899 wxSize const &arg5_defvalue = wxDefaultSize ;
10900 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10901 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10902 wxString const &arg7_defvalue = wxPySashNameStr ;
10903 wxString *arg7 = (wxString *) &arg7_defvalue ;
10904 bool result;
10905 void *argp1 = 0 ;
10906 int res1 = 0 ;
10907 void *argp2 = 0 ;
10908 int res2 = 0 ;
10909 int val3 ;
10910 int ecode3 = 0 ;
10911 wxPoint temp4 ;
10912 wxSize temp5 ;
10913 long val6 ;
10914 int ecode6 = 0 ;
10915 bool temp7 = false ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 PyObject * obj2 = 0 ;
10919 PyObject * obj3 = 0 ;
10920 PyObject * obj4 = 0 ;
10921 PyObject * obj5 = 0 ;
10922 PyObject * obj6 = 0 ;
10923 char * kwnames[] = {
10924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10925 };
10926
10927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10929 if (!SWIG_IsOK(res1)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10931 }
10932 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10933 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10934 if (!SWIG_IsOK(res2)) {
10935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10936 }
10937 arg2 = reinterpret_cast< wxWindow * >(argp2);
10938 if (obj2) {
10939 ecode3 = SWIG_AsVal_int(obj2, &val3);
10940 if (!SWIG_IsOK(ecode3)) {
10941 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10942 }
10943 arg3 = static_cast< int >(val3);
10944 }
10945 if (obj3) {
10946 {
10947 arg4 = &temp4;
10948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10949 }
10950 }
10951 if (obj4) {
10952 {
10953 arg5 = &temp5;
10954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10955 }
10956 }
10957 if (obj5) {
10958 ecode6 = SWIG_AsVal_long(obj5, &val6);
10959 if (!SWIG_IsOK(ecode6)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10961 }
10962 arg6 = static_cast< long >(val6);
10963 }
10964 if (obj6) {
10965 {
10966 arg7 = wxString_in_helper(obj6);
10967 if (arg7 == NULL) SWIG_fail;
10968 temp7 = true;
10969 }
10970 }
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10979 }
10980 {
10981 if (temp7)
10982 delete arg7;
10983 }
10984 return resultobj;
10985 fail:
10986 {
10987 if (temp7)
10988 delete arg7;
10989 }
10990 return NULL;
10991 }
10992
10993
10994 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj = 0;
10996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10997 wxSashEdgePosition arg2 ;
10998 bool arg3 ;
10999 void *argp1 = 0 ;
11000 int res1 = 0 ;
11001 int val2 ;
11002 int ecode2 = 0 ;
11003 bool val3 ;
11004 int ecode3 = 0 ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 PyObject * obj2 = 0 ;
11008 char * kwnames[] = {
11009 (char *) "self",(char *) "edge",(char *) "sash", NULL
11010 };
11011
11012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11014 if (!SWIG_IsOK(res1)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11016 }
11017 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11018 ecode2 = SWIG_AsVal_int(obj1, &val2);
11019 if (!SWIG_IsOK(ecode2)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11021 }
11022 arg2 = static_cast< wxSashEdgePosition >(val2);
11023 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11024 if (!SWIG_IsOK(ecode3)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11026 }
11027 arg3 = static_cast< bool >(val3);
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 (arg1)->SetSashVisible(arg2,arg3);
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 resultobj = SWIG_Py_Void();
11035 return resultobj;
11036 fail:
11037 return NULL;
11038 }
11039
11040
11041 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj = 0;
11043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11044 wxSashEdgePosition arg2 ;
11045 bool result;
11046 void *argp1 = 0 ;
11047 int res1 = 0 ;
11048 int val2 ;
11049 int ecode2 = 0 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char * kwnames[] = {
11053 (char *) "self",(char *) "edge", NULL
11054 };
11055
11056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11058 if (!SWIG_IsOK(res1)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11060 }
11061 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11062 ecode2 = SWIG_AsVal_int(obj1, &val2);
11063 if (!SWIG_IsOK(ecode2)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11065 }
11066 arg2 = static_cast< wxSashEdgePosition >(val2);
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 {
11074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11075 }
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11085 wxSashEdgePosition arg2 ;
11086 bool arg3 ;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 int val2 ;
11090 int ecode2 = 0 ;
11091 bool val3 ;
11092 int ecode3 = 0 ;
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 PyObject * obj2 = 0 ;
11096 char * kwnames[] = {
11097 (char *) "self",(char *) "edge",(char *) "border", NULL
11098 };
11099
11100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11102 if (!SWIG_IsOK(res1)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11104 }
11105 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11106 ecode2 = SWIG_AsVal_int(obj1, &val2);
11107 if (!SWIG_IsOK(ecode2)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11109 }
11110 arg2 = static_cast< wxSashEdgePosition >(val2);
11111 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11112 if (!SWIG_IsOK(ecode3)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11114 }
11115 arg3 = static_cast< bool >(val3);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 (arg1)->SetSashBorder(arg2,arg3);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_Py_Void();
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj = 0;
11131 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11132 wxSashEdgePosition arg2 ;
11133 bool result;
11134 void *argp1 = 0 ;
11135 int res1 = 0 ;
11136 int val2 ;
11137 int ecode2 = 0 ;
11138 PyObject * obj0 = 0 ;
11139 PyObject * obj1 = 0 ;
11140 char * kwnames[] = {
11141 (char *) "self",(char *) "edge", NULL
11142 };
11143
11144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11146 if (!SWIG_IsOK(res1)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11148 }
11149 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11150 ecode2 = SWIG_AsVal_int(obj1, &val2);
11151 if (!SWIG_IsOK(ecode2)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11153 }
11154 arg2 = static_cast< wxSashEdgePosition >(val2);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj = 0;
11172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11173 wxSashEdgePosition arg2 ;
11174 int result;
11175 void *argp1 = 0 ;
11176 int res1 = 0 ;
11177 int val2 ;
11178 int ecode2 = 0 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 char * kwnames[] = {
11182 (char *) "self",(char *) "edge", NULL
11183 };
11184
11185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11187 if (!SWIG_IsOK(res1)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11189 }
11190 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11191 ecode2 = SWIG_AsVal_int(obj1, &val2);
11192 if (!SWIG_IsOK(ecode2)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11194 }
11195 arg2 = static_cast< wxSashEdgePosition >(val2);
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 resultobj = SWIG_From_int(static_cast< int >(result));
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj = 0;
11211 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11212 int arg2 ;
11213 void *argp1 = 0 ;
11214 int res1 = 0 ;
11215 int val2 ;
11216 int ecode2 = 0 ;
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char * kwnames[] = {
11220 (char *) "self",(char *) "width", NULL
11221 };
11222
11223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11225 if (!SWIG_IsOK(res1)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11227 }
11228 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11229 ecode2 = SWIG_AsVal_int(obj1, &val2);
11230 if (!SWIG_IsOK(ecode2)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11232 }
11233 arg2 = static_cast< int >(val2);
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 (arg1)->SetDefaultBorderSize(arg2);
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 resultobj = SWIG_Py_Void();
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11248 PyObject *resultobj = 0;
11249 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11250 int result;
11251 void *argp1 = 0 ;
11252 int res1 = 0 ;
11253 PyObject *swig_obj[1] ;
11254
11255 if (!args) SWIG_fail;
11256 swig_obj[0] = args;
11257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11258 if (!SWIG_IsOK(res1)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11260 }
11261 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11265 wxPyEndAllowThreads(__tstate);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
11268 resultobj = SWIG_From_int(static_cast< int >(result));
11269 return resultobj;
11270 fail:
11271 return NULL;
11272 }
11273
11274
11275 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11276 PyObject *resultobj = 0;
11277 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11278 int arg2 ;
11279 void *argp1 = 0 ;
11280 int res1 = 0 ;
11281 int val2 ;
11282 int ecode2 = 0 ;
11283 PyObject * obj0 = 0 ;
11284 PyObject * obj1 = 0 ;
11285 char * kwnames[] = {
11286 (char *) "self",(char *) "width", NULL
11287 };
11288
11289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11291 if (!SWIG_IsOK(res1)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11293 }
11294 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11295 ecode2 = SWIG_AsVal_int(obj1, &val2);
11296 if (!SWIG_IsOK(ecode2)) {
11297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11298 }
11299 arg2 = static_cast< int >(val2);
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 (arg1)->SetExtraBorderSize(arg2);
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 resultobj = SWIG_Py_Void();
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11314 PyObject *resultobj = 0;
11315 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11316 int result;
11317 void *argp1 = 0 ;
11318 int res1 = 0 ;
11319 PyObject *swig_obj[1] ;
11320
11321 if (!args) SWIG_fail;
11322 swig_obj[0] = args;
11323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11324 if (!SWIG_IsOK(res1)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11326 }
11327 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = SWIG_From_int(static_cast< int >(result));
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11342 PyObject *resultobj = 0;
11343 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11344 int arg2 ;
11345 void *argp1 = 0 ;
11346 int res1 = 0 ;
11347 int val2 ;
11348 int ecode2 = 0 ;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 char * kwnames[] = {
11352 (char *) "self",(char *) "min", NULL
11353 };
11354
11355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11357 if (!SWIG_IsOK(res1)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11359 }
11360 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11361 ecode2 = SWIG_AsVal_int(obj1, &val2);
11362 if (!SWIG_IsOK(ecode2)) {
11363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11364 }
11365 arg2 = static_cast< int >(val2);
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->SetMinimumSizeX(arg2);
11369 wxPyEndAllowThreads(__tstate);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 }
11372 resultobj = SWIG_Py_Void();
11373 return resultobj;
11374 fail:
11375 return NULL;
11376 }
11377
11378
11379 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj = 0;
11381 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11382 int arg2 ;
11383 void *argp1 = 0 ;
11384 int res1 = 0 ;
11385 int val2 ;
11386 int ecode2 = 0 ;
11387 PyObject * obj0 = 0 ;
11388 PyObject * obj1 = 0 ;
11389 char * kwnames[] = {
11390 (char *) "self",(char *) "min", NULL
11391 };
11392
11393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11395 if (!SWIG_IsOK(res1)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11397 }
11398 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11399 ecode2 = SWIG_AsVal_int(obj1, &val2);
11400 if (!SWIG_IsOK(ecode2)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11402 }
11403 arg2 = static_cast< int >(val2);
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 (arg1)->SetMinimumSizeY(arg2);
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = SWIG_Py_Void();
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11418 PyObject *resultobj = 0;
11419 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11420 int result;
11421 void *argp1 = 0 ;
11422 int res1 = 0 ;
11423 PyObject *swig_obj[1] ;
11424
11425 if (!args) SWIG_fail;
11426 swig_obj[0] = args;
11427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11428 if (!SWIG_IsOK(res1)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11430 }
11431 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 resultobj = SWIG_From_int(static_cast< int >(result));
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11446 PyObject *resultobj = 0;
11447 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11448 int result;
11449 void *argp1 = 0 ;
11450 int res1 = 0 ;
11451 PyObject *swig_obj[1] ;
11452
11453 if (!args) SWIG_fail;
11454 swig_obj[0] = args;
11455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11456 if (!SWIG_IsOK(res1)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11458 }
11459 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 resultobj = SWIG_From_int(static_cast< int >(result));
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj = 0;
11475 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11476 int arg2 ;
11477 void *argp1 = 0 ;
11478 int res1 = 0 ;
11479 int val2 ;
11480 int ecode2 = 0 ;
11481 PyObject * obj0 = 0 ;
11482 PyObject * obj1 = 0 ;
11483 char * kwnames[] = {
11484 (char *) "self",(char *) "max", NULL
11485 };
11486
11487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11489 if (!SWIG_IsOK(res1)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11491 }
11492 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11493 ecode2 = SWIG_AsVal_int(obj1, &val2);
11494 if (!SWIG_IsOK(ecode2)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11496 }
11497 arg2 = static_cast< int >(val2);
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->SetMaximumSizeX(arg2);
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 resultobj = SWIG_Py_Void();
11505 return resultobj;
11506 fail:
11507 return NULL;
11508 }
11509
11510
11511 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj = 0;
11513 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11514 int arg2 ;
11515 void *argp1 = 0 ;
11516 int res1 = 0 ;
11517 int val2 ;
11518 int ecode2 = 0 ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char * kwnames[] = {
11522 (char *) "self",(char *) "max", NULL
11523 };
11524
11525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11527 if (!SWIG_IsOK(res1)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11529 }
11530 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11531 ecode2 = SWIG_AsVal_int(obj1, &val2);
11532 if (!SWIG_IsOK(ecode2)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11534 }
11535 arg2 = static_cast< int >(val2);
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 (arg1)->SetMaximumSizeY(arg2);
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) SWIG_fail;
11541 }
11542 resultobj = SWIG_Py_Void();
11543 return resultobj;
11544 fail:
11545 return NULL;
11546 }
11547
11548
11549 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11550 PyObject *resultobj = 0;
11551 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11552 int result;
11553 void *argp1 = 0 ;
11554 int res1 = 0 ;
11555 PyObject *swig_obj[1] ;
11556
11557 if (!args) SWIG_fail;
11558 swig_obj[0] = args;
11559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11560 if (!SWIG_IsOK(res1)) {
11561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11562 }
11563 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 resultobj = SWIG_From_int(static_cast< int >(result));
11571 return resultobj;
11572 fail:
11573 return NULL;
11574 }
11575
11576
11577 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11578 PyObject *resultobj = 0;
11579 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11580 int result;
11581 void *argp1 = 0 ;
11582 int res1 = 0 ;
11583 PyObject *swig_obj[1] ;
11584
11585 if (!args) SWIG_fail;
11586 swig_obj[0] = args;
11587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11588 if (!SWIG_IsOK(res1)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11590 }
11591 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 resultobj = SWIG_From_int(static_cast< int >(result));
11599 return resultobj;
11600 fail:
11601 return NULL;
11602 }
11603
11604
11605 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11606 PyObject *resultobj = 0;
11607 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11608 int arg2 ;
11609 int arg3 ;
11610 int arg4 = (int) 2 ;
11611 wxSashEdgePosition result;
11612 void *argp1 = 0 ;
11613 int res1 = 0 ;
11614 int val2 ;
11615 int ecode2 = 0 ;
11616 int val3 ;
11617 int ecode3 = 0 ;
11618 int val4 ;
11619 int ecode4 = 0 ;
11620 PyObject * obj0 = 0 ;
11621 PyObject * obj1 = 0 ;
11622 PyObject * obj2 = 0 ;
11623 PyObject * obj3 = 0 ;
11624 char * kwnames[] = {
11625 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11626 };
11627
11628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11630 if (!SWIG_IsOK(res1)) {
11631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11632 }
11633 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11634 ecode2 = SWIG_AsVal_int(obj1, &val2);
11635 if (!SWIG_IsOK(ecode2)) {
11636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11637 }
11638 arg2 = static_cast< int >(val2);
11639 ecode3 = SWIG_AsVal_int(obj2, &val3);
11640 if (!SWIG_IsOK(ecode3)) {
11641 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11642 }
11643 arg3 = static_cast< int >(val3);
11644 if (obj3) {
11645 ecode4 = SWIG_AsVal_int(obj3, &val4);
11646 if (!SWIG_IsOK(ecode4)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11648 }
11649 arg4 = static_cast< int >(val4);
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 resultobj = SWIG_From_int(static_cast< int >(result));
11658 return resultobj;
11659 fail:
11660 return NULL;
11661 }
11662
11663
11664 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11665 PyObject *resultobj = 0;
11666 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 PyObject *swig_obj[1] ;
11670
11671 if (!args) SWIG_fail;
11672 swig_obj[0] = args;
11673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11676 }
11677 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 (arg1)->SizeWindows();
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_Py_Void();
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11692 PyObject *obj;
11693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11695 return SWIG_Py_Void();
11696 }
11697
11698 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11699 return SWIG_Python_InitShadowInstance(args);
11700 }
11701
11702 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11703 PyObject *resultobj = 0;
11704 int arg1 = (int) 0 ;
11705 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11706 wxSashEvent *result = 0 ;
11707 int val1 ;
11708 int ecode1 = 0 ;
11709 int val2 ;
11710 int ecode2 = 0 ;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11713 char * kwnames[] = {
11714 (char *) "id",(char *) "edge", NULL
11715 };
11716
11717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11718 if (obj0) {
11719 ecode1 = SWIG_AsVal_int(obj0, &val1);
11720 if (!SWIG_IsOK(ecode1)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11722 }
11723 arg1 = static_cast< int >(val1);
11724 }
11725 if (obj1) {
11726 ecode2 = SWIG_AsVal_int(obj1, &val2);
11727 if (!SWIG_IsOK(ecode2)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11729 }
11730 arg2 = static_cast< wxSashEdgePosition >(val2);
11731 }
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj = 0;
11747 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11748 wxSashEdgePosition arg2 ;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 int val2 ;
11752 int ecode2 = 0 ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 char * kwnames[] = {
11756 (char *) "self",(char *) "edge", NULL
11757 };
11758
11759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11761 if (!SWIG_IsOK(res1)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11763 }
11764 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11765 ecode2 = SWIG_AsVal_int(obj1, &val2);
11766 if (!SWIG_IsOK(ecode2)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11768 }
11769 arg2 = static_cast< wxSashEdgePosition >(val2);
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 (arg1)->SetEdge(arg2);
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = SWIG_Py_Void();
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11784 PyObject *resultobj = 0;
11785 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11786 wxSashEdgePosition result;
11787 void *argp1 = 0 ;
11788 int res1 = 0 ;
11789 PyObject *swig_obj[1] ;
11790
11791 if (!args) SWIG_fail;
11792 swig_obj[0] = args;
11793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11794 if (!SWIG_IsOK(res1)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11796 }
11797 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 resultobj = SWIG_From_int(static_cast< int >(result));
11805 return resultobj;
11806 fail:
11807 return NULL;
11808 }
11809
11810
11811 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11812 PyObject *resultobj = 0;
11813 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11814 wxRect *arg2 = 0 ;
11815 void *argp1 = 0 ;
11816 int res1 = 0 ;
11817 wxRect temp2 ;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char * kwnames[] = {
11821 (char *) "self",(char *) "rect", NULL
11822 };
11823
11824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11826 if (!SWIG_IsOK(res1)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11828 }
11829 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11830 {
11831 arg2 = &temp2;
11832 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11833 }
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 (arg1)->SetDragRect((wxRect const &)*arg2);
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 resultobj = SWIG_Py_Void();
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11848 PyObject *resultobj = 0;
11849 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11850 wxRect result;
11851 void *argp1 = 0 ;
11852 int res1 = 0 ;
11853 PyObject *swig_obj[1] ;
11854
11855 if (!args) SWIG_fail;
11856 swig_obj[0] = args;
11857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11858 if (!SWIG_IsOK(res1)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11860 }
11861 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = ((wxSashEvent const *)arg1)->GetDragRect();
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj = 0;
11877 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11878 wxSashDragStatus arg2 ;
11879 void *argp1 = 0 ;
11880 int res1 = 0 ;
11881 int val2 ;
11882 int ecode2 = 0 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char * kwnames[] = {
11886 (char *) "self",(char *) "status", NULL
11887 };
11888
11889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11891 if (!SWIG_IsOK(res1)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11893 }
11894 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11895 ecode2 = SWIG_AsVal_int(obj1, &val2);
11896 if (!SWIG_IsOK(ecode2)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11898 }
11899 arg2 = static_cast< wxSashDragStatus >(val2);
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 (arg1)->SetDragStatus(arg2);
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 resultobj = SWIG_Py_Void();
11907 return resultobj;
11908 fail:
11909 return NULL;
11910 }
11911
11912
11913 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11914 PyObject *resultobj = 0;
11915 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11916 wxSashDragStatus result;
11917 void *argp1 = 0 ;
11918 int res1 = 0 ;
11919 PyObject *swig_obj[1] ;
11920
11921 if (!args) SWIG_fail;
11922 swig_obj[0] = args;
11923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11924 if (!SWIG_IsOK(res1)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11926 }
11927 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_From_int(static_cast< int >(result));
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11942 PyObject *obj;
11943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11944 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11945 return SWIG_Py_Void();
11946 }
11947
11948 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11949 return SWIG_Python_InitShadowInstance(args);
11950 }
11951
11952 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj = 0;
11954 int arg1 = (int) 0 ;
11955 wxQueryLayoutInfoEvent *result = 0 ;
11956 int val1 ;
11957 int ecode1 = 0 ;
11958 PyObject * obj0 = 0 ;
11959 char * kwnames[] = {
11960 (char *) "id", NULL
11961 };
11962
11963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11964 if (obj0) {
11965 ecode1 = SWIG_AsVal_int(obj0, &val1);
11966 if (!SWIG_IsOK(ecode1)) {
11967 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11968 }
11969 arg1 = static_cast< int >(val1);
11970 }
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj = 0;
11986 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11987 int arg2 ;
11988 void *argp1 = 0 ;
11989 int res1 = 0 ;
11990 int val2 ;
11991 int ecode2 = 0 ;
11992 PyObject * obj0 = 0 ;
11993 PyObject * obj1 = 0 ;
11994 char * kwnames[] = {
11995 (char *) "self",(char *) "length", NULL
11996 };
11997
11998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12000 if (!SWIG_IsOK(res1)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12002 }
12003 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12004 ecode2 = SWIG_AsVal_int(obj1, &val2);
12005 if (!SWIG_IsOK(ecode2)) {
12006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12007 }
12008 arg2 = static_cast< int >(val2);
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->SetRequestedLength(arg2);
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_Py_Void();
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12023 PyObject *resultobj = 0;
12024 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12025 int result;
12026 void *argp1 = 0 ;
12027 int res1 = 0 ;
12028 PyObject *swig_obj[1] ;
12029
12030 if (!args) SWIG_fail;
12031 swig_obj[0] = args;
12032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12033 if (!SWIG_IsOK(res1)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12035 }
12036 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 resultobj = SWIG_From_int(static_cast< int >(result));
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj = 0;
12052 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12053 int arg2 ;
12054 void *argp1 = 0 ;
12055 int res1 = 0 ;
12056 int val2 ;
12057 int ecode2 = 0 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char * kwnames[] = {
12061 (char *) "self",(char *) "flags", NULL
12062 };
12063
12064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12066 if (!SWIG_IsOK(res1)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12068 }
12069 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12070 ecode2 = SWIG_AsVal_int(obj1, &val2);
12071 if (!SWIG_IsOK(ecode2)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12073 }
12074 arg2 = static_cast< int >(val2);
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->SetFlags(arg2);
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_Py_Void();
12082 return resultobj;
12083 fail:
12084 return NULL;
12085 }
12086
12087
12088 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12089 PyObject *resultobj = 0;
12090 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12091 int result;
12092 void *argp1 = 0 ;
12093 int res1 = 0 ;
12094 PyObject *swig_obj[1] ;
12095
12096 if (!args) SWIG_fail;
12097 swig_obj[0] = args;
12098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12099 if (!SWIG_IsOK(res1)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12101 }
12102 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = SWIG_From_int(static_cast< int >(result));
12110 return resultobj;
12111 fail:
12112 return NULL;
12113 }
12114
12115
12116 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12117 PyObject *resultobj = 0;
12118 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12119 wxSize *arg2 = 0 ;
12120 void *argp1 = 0 ;
12121 int res1 = 0 ;
12122 wxSize temp2 ;
12123 PyObject * obj0 = 0 ;
12124 PyObject * obj1 = 0 ;
12125 char * kwnames[] = {
12126 (char *) "self",(char *) "size", NULL
12127 };
12128
12129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12131 if (!SWIG_IsOK(res1)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12133 }
12134 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12135 {
12136 arg2 = &temp2;
12137 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12138 }
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 (arg1)->SetSize((wxSize const &)*arg2);
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = SWIG_Py_Void();
12146 return resultobj;
12147 fail:
12148 return NULL;
12149 }
12150
12151
12152 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12153 PyObject *resultobj = 0;
12154 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12155 wxSize result;
12156 void *argp1 = 0 ;
12157 int res1 = 0 ;
12158 PyObject *swig_obj[1] ;
12159
12160 if (!args) SWIG_fail;
12161 swig_obj[0] = args;
12162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12163 if (!SWIG_IsOK(res1)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12165 }
12166 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj = 0;
12182 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12183 wxLayoutOrientation arg2 ;
12184 void *argp1 = 0 ;
12185 int res1 = 0 ;
12186 int val2 ;
12187 int ecode2 = 0 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char * kwnames[] = {
12191 (char *) "self",(char *) "orient", NULL
12192 };
12193
12194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12196 if (!SWIG_IsOK(res1)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12198 }
12199 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12200 ecode2 = SWIG_AsVal_int(obj1, &val2);
12201 if (!SWIG_IsOK(ecode2)) {
12202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12203 }
12204 arg2 = static_cast< wxLayoutOrientation >(val2);
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 (arg1)->SetOrientation(arg2);
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 resultobj = SWIG_Py_Void();
12212 return resultobj;
12213 fail:
12214 return NULL;
12215 }
12216
12217
12218 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12219 PyObject *resultobj = 0;
12220 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12221 wxLayoutOrientation result;
12222 void *argp1 = 0 ;
12223 int res1 = 0 ;
12224 PyObject *swig_obj[1] ;
12225
12226 if (!args) SWIG_fail;
12227 swig_obj[0] = args;
12228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12229 if (!SWIG_IsOK(res1)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12231 }
12232 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12236 wxPyEndAllowThreads(__tstate);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 }
12239 resultobj = SWIG_From_int(static_cast< int >(result));
12240 return resultobj;
12241 fail:
12242 return NULL;
12243 }
12244
12245
12246 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj = 0;
12248 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12249 wxLayoutAlignment arg2 ;
12250 void *argp1 = 0 ;
12251 int res1 = 0 ;
12252 int val2 ;
12253 int ecode2 = 0 ;
12254 PyObject * obj0 = 0 ;
12255 PyObject * obj1 = 0 ;
12256 char * kwnames[] = {
12257 (char *) "self",(char *) "align", NULL
12258 };
12259
12260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12262 if (!SWIG_IsOK(res1)) {
12263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12264 }
12265 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12266 ecode2 = SWIG_AsVal_int(obj1, &val2);
12267 if (!SWIG_IsOK(ecode2)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12269 }
12270 arg2 = static_cast< wxLayoutAlignment >(val2);
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 (arg1)->SetAlignment(arg2);
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 resultobj = SWIG_Py_Void();
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12285 PyObject *resultobj = 0;
12286 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12287 wxLayoutAlignment result;
12288 void *argp1 = 0 ;
12289 int res1 = 0 ;
12290 PyObject *swig_obj[1] ;
12291
12292 if (!args) SWIG_fail;
12293 swig_obj[0] = args;
12294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12295 if (!SWIG_IsOK(res1)) {
12296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12297 }
12298 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 resultobj = SWIG_From_int(static_cast< int >(result));
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12313 PyObject *obj;
12314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12315 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12316 return SWIG_Py_Void();
12317 }
12318
12319 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12320 return SWIG_Python_InitShadowInstance(args);
12321 }
12322
12323 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj = 0;
12325 int arg1 = (int) 0 ;
12326 wxCalculateLayoutEvent *result = 0 ;
12327 int val1 ;
12328 int ecode1 = 0 ;
12329 PyObject * obj0 = 0 ;
12330 char * kwnames[] = {
12331 (char *) "id", NULL
12332 };
12333
12334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12335 if (obj0) {
12336 ecode1 = SWIG_AsVal_int(obj0, &val1);
12337 if (!SWIG_IsOK(ecode1)) {
12338 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12339 }
12340 arg1 = static_cast< int >(val1);
12341 }
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12356 PyObject *resultobj = 0;
12357 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12358 int arg2 ;
12359 void *argp1 = 0 ;
12360 int res1 = 0 ;
12361 int val2 ;
12362 int ecode2 = 0 ;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365 char * kwnames[] = {
12366 (char *) "self",(char *) "flags", NULL
12367 };
12368
12369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12371 if (!SWIG_IsOK(res1)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12373 }
12374 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12375 ecode2 = SWIG_AsVal_int(obj1, &val2);
12376 if (!SWIG_IsOK(ecode2)) {
12377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12378 }
12379 arg2 = static_cast< int >(val2);
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 (arg1)->SetFlags(arg2);
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_Py_Void();
12387 return resultobj;
12388 fail:
12389 return NULL;
12390 }
12391
12392
12393 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12394 PyObject *resultobj = 0;
12395 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12396 int result;
12397 void *argp1 = 0 ;
12398 int res1 = 0 ;
12399 PyObject *swig_obj[1] ;
12400
12401 if (!args) SWIG_fail;
12402 swig_obj[0] = args;
12403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12404 if (!SWIG_IsOK(res1)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12406 }
12407 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12411 wxPyEndAllowThreads(__tstate);
12412 if (PyErr_Occurred()) SWIG_fail;
12413 }
12414 resultobj = SWIG_From_int(static_cast< int >(result));
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj = 0;
12423 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12424 wxRect *arg2 = 0 ;
12425 void *argp1 = 0 ;
12426 int res1 = 0 ;
12427 wxRect temp2 ;
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char * kwnames[] = {
12431 (char *) "self",(char *) "rect", NULL
12432 };
12433
12434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12436 if (!SWIG_IsOK(res1)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12438 }
12439 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12440 {
12441 arg2 = &temp2;
12442 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12443 }
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 (arg1)->SetRect((wxRect const &)*arg2);
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 resultobj = SWIG_Py_Void();
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12458 PyObject *resultobj = 0;
12459 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12460 wxRect result;
12461 void *argp1 = 0 ;
12462 int res1 = 0 ;
12463 PyObject *swig_obj[1] ;
12464
12465 if (!args) SWIG_fail;
12466 swig_obj[0] = args;
12467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12468 if (!SWIG_IsOK(res1)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12470 }
12471 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12479 return resultobj;
12480 fail:
12481 return NULL;
12482 }
12483
12484
12485 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12486 PyObject *obj;
12487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12488 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12489 return SWIG_Py_Void();
12490 }
12491
12492 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12493 return SWIG_Python_InitShadowInstance(args);
12494 }
12495
12496 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj = 0;
12498 wxWindow *arg1 = (wxWindow *) 0 ;
12499 int arg2 = (int) -1 ;
12500 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12501 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12502 wxSize const &arg4_defvalue = wxDefaultSize ;
12503 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12504 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12505 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12506 wxString *arg6 = (wxString *) &arg6_defvalue ;
12507 wxSashLayoutWindow *result = 0 ;
12508 void *argp1 = 0 ;
12509 int res1 = 0 ;
12510 int val2 ;
12511 int ecode2 = 0 ;
12512 wxPoint temp3 ;
12513 wxSize temp4 ;
12514 long val5 ;
12515 int ecode5 = 0 ;
12516 bool temp6 = false ;
12517 PyObject * obj0 = 0 ;
12518 PyObject * obj1 = 0 ;
12519 PyObject * obj2 = 0 ;
12520 PyObject * obj3 = 0 ;
12521 PyObject * obj4 = 0 ;
12522 PyObject * obj5 = 0 ;
12523 char * kwnames[] = {
12524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12525 };
12526
12527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12529 if (!SWIG_IsOK(res1)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12531 }
12532 arg1 = reinterpret_cast< wxWindow * >(argp1);
12533 if (obj1) {
12534 ecode2 = SWIG_AsVal_int(obj1, &val2);
12535 if (!SWIG_IsOK(ecode2)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12537 }
12538 arg2 = static_cast< int >(val2);
12539 }
12540 if (obj2) {
12541 {
12542 arg3 = &temp3;
12543 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12544 }
12545 }
12546 if (obj3) {
12547 {
12548 arg4 = &temp4;
12549 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12550 }
12551 }
12552 if (obj4) {
12553 ecode5 = SWIG_AsVal_long(obj4, &val5);
12554 if (!SWIG_IsOK(ecode5)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12556 }
12557 arg5 = static_cast< long >(val5);
12558 }
12559 if (obj5) {
12560 {
12561 arg6 = wxString_in_helper(obj5);
12562 if (arg6 == NULL) SWIG_fail;
12563 temp6 = true;
12564 }
12565 }
12566 {
12567 if (!wxPyCheckForApp()) SWIG_fail;
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12574 {
12575 if (temp6)
12576 delete arg6;
12577 }
12578 return resultobj;
12579 fail:
12580 {
12581 if (temp6)
12582 delete arg6;
12583 }
12584 return NULL;
12585 }
12586
12587
12588 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12589 PyObject *resultobj = 0;
12590 wxSashLayoutWindow *result = 0 ;
12591
12592 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12593 {
12594 if (!wxPyCheckForApp()) SWIG_fail;
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj = 0;
12609 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12610 wxWindow *arg2 = (wxWindow *) 0 ;
12611 int arg3 = (int) -1 ;
12612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12614 wxSize const &arg5_defvalue = wxDefaultSize ;
12615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12616 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12617 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12618 wxString *arg7 = (wxString *) &arg7_defvalue ;
12619 bool result;
12620 void *argp1 = 0 ;
12621 int res1 = 0 ;
12622 void *argp2 = 0 ;
12623 int res2 = 0 ;
12624 int val3 ;
12625 int ecode3 = 0 ;
12626 wxPoint temp4 ;
12627 wxSize temp5 ;
12628 long val6 ;
12629 int ecode6 = 0 ;
12630 bool temp7 = false ;
12631 PyObject * obj0 = 0 ;
12632 PyObject * obj1 = 0 ;
12633 PyObject * obj2 = 0 ;
12634 PyObject * obj3 = 0 ;
12635 PyObject * obj4 = 0 ;
12636 PyObject * obj5 = 0 ;
12637 PyObject * obj6 = 0 ;
12638 char * kwnames[] = {
12639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12640 };
12641
12642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12644 if (!SWIG_IsOK(res1)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12646 }
12647 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12649 if (!SWIG_IsOK(res2)) {
12650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12651 }
12652 arg2 = reinterpret_cast< wxWindow * >(argp2);
12653 if (obj2) {
12654 ecode3 = SWIG_AsVal_int(obj2, &val3);
12655 if (!SWIG_IsOK(ecode3)) {
12656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12657 }
12658 arg3 = static_cast< int >(val3);
12659 }
12660 if (obj3) {
12661 {
12662 arg4 = &temp4;
12663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12664 }
12665 }
12666 if (obj4) {
12667 {
12668 arg5 = &temp5;
12669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12670 }
12671 }
12672 if (obj5) {
12673 ecode6 = SWIG_AsVal_long(obj5, &val6);
12674 if (!SWIG_IsOK(ecode6)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12676 }
12677 arg6 = static_cast< long >(val6);
12678 }
12679 if (obj6) {
12680 {
12681 arg7 = wxString_in_helper(obj6);
12682 if (arg7 == NULL) SWIG_fail;
12683 temp7 = true;
12684 }
12685 }
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 {
12693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12694 }
12695 {
12696 if (temp7)
12697 delete arg7;
12698 }
12699 return resultobj;
12700 fail:
12701 {
12702 if (temp7)
12703 delete arg7;
12704 }
12705 return NULL;
12706 }
12707
12708
12709 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12710 PyObject *resultobj = 0;
12711 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12712 wxLayoutAlignment result;
12713 void *argp1 = 0 ;
12714 int res1 = 0 ;
12715 PyObject *swig_obj[1] ;
12716
12717 if (!args) SWIG_fail;
12718 swig_obj[0] = args;
12719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12720 if (!SWIG_IsOK(res1)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12722 }
12723 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 resultobj = SWIG_From_int(static_cast< int >(result));
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12738 PyObject *resultobj = 0;
12739 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12740 wxLayoutOrientation result;
12741 void *argp1 = 0 ;
12742 int res1 = 0 ;
12743 PyObject *swig_obj[1] ;
12744
12745 if (!args) SWIG_fail;
12746 swig_obj[0] = args;
12747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12748 if (!SWIG_IsOK(res1)) {
12749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12750 }
12751 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12752 {
12753 PyThreadState* __tstate = wxPyBeginAllowThreads();
12754 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 resultobj = SWIG_From_int(static_cast< int >(result));
12759 return resultobj;
12760 fail:
12761 return NULL;
12762 }
12763
12764
12765 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj = 0;
12767 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12768 wxLayoutAlignment arg2 ;
12769 void *argp1 = 0 ;
12770 int res1 = 0 ;
12771 int val2 ;
12772 int ecode2 = 0 ;
12773 PyObject * obj0 = 0 ;
12774 PyObject * obj1 = 0 ;
12775 char * kwnames[] = {
12776 (char *) "self",(char *) "alignment", NULL
12777 };
12778
12779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12781 if (!SWIG_IsOK(res1)) {
12782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12783 }
12784 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12785 ecode2 = SWIG_AsVal_int(obj1, &val2);
12786 if (!SWIG_IsOK(ecode2)) {
12787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12788 }
12789 arg2 = static_cast< wxLayoutAlignment >(val2);
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 (arg1)->SetAlignment(arg2);
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 resultobj = SWIG_Py_Void();
12797 return resultobj;
12798 fail:
12799 return NULL;
12800 }
12801
12802
12803 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj = 0;
12805 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12806 wxSize *arg2 = 0 ;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 wxSize temp2 ;
12810 PyObject * obj0 = 0 ;
12811 PyObject * obj1 = 0 ;
12812 char * kwnames[] = {
12813 (char *) "self",(char *) "size", NULL
12814 };
12815
12816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12818 if (!SWIG_IsOK(res1)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12820 }
12821 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12822 {
12823 arg2 = &temp2;
12824 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12825 }
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 resultobj = SWIG_Py_Void();
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj = 0;
12841 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12842 wxLayoutOrientation arg2 ;
12843 void *argp1 = 0 ;
12844 int res1 = 0 ;
12845 int val2 ;
12846 int ecode2 = 0 ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char * kwnames[] = {
12850 (char *) "self",(char *) "orientation", NULL
12851 };
12852
12853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12855 if (!SWIG_IsOK(res1)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12857 }
12858 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12859 ecode2 = SWIG_AsVal_int(obj1, &val2);
12860 if (!SWIG_IsOK(ecode2)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12862 }
12863 arg2 = static_cast< wxLayoutOrientation >(val2);
12864 {
12865 PyThreadState* __tstate = wxPyBeginAllowThreads();
12866 (arg1)->SetOrientation(arg2);
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 resultobj = SWIG_Py_Void();
12871 return resultobj;
12872 fail:
12873 return NULL;
12874 }
12875
12876
12877 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12878 PyObject *obj;
12879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12880 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12881 return SWIG_Py_Void();
12882 }
12883
12884 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12885 return SWIG_Python_InitShadowInstance(args);
12886 }
12887
12888 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12889 PyObject *resultobj = 0;
12890 wxLayoutAlgorithm *result = 0 ;
12891
12892 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12900 return resultobj;
12901 fail:
12902 return NULL;
12903 }
12904
12905
12906 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12907 PyObject *resultobj = 0;
12908 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 PyObject *swig_obj[1] ;
12912
12913 if (!args) SWIG_fail;
12914 swig_obj[0] = args;
12915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12916 if (!SWIG_IsOK(res1)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12918 }
12919 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 delete arg1;
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = SWIG_Py_Void();
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj = 0;
12936 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12937 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12938 wxRect *arg3 = (wxRect *) NULL ;
12939 bool result;
12940 void *argp1 = 0 ;
12941 int res1 = 0 ;
12942 void *argp2 = 0 ;
12943 int res2 = 0 ;
12944 void *argp3 = 0 ;
12945 int res3 = 0 ;
12946 PyObject * obj0 = 0 ;
12947 PyObject * obj1 = 0 ;
12948 PyObject * obj2 = 0 ;
12949 char * kwnames[] = {
12950 (char *) "self",(char *) "frame",(char *) "rect", NULL
12951 };
12952
12953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12955 if (!SWIG_IsOK(res1)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12957 }
12958 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12959 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12960 if (!SWIG_IsOK(res2)) {
12961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12962 }
12963 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12964 if (obj2) {
12965 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12966 if (!SWIG_IsOK(res3)) {
12967 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12968 }
12969 arg3 = reinterpret_cast< wxRect * >(argp3);
12970 }
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 {
12978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12979 }
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj = 0;
12988 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12989 wxFrame *arg2 = (wxFrame *) 0 ;
12990 wxWindow *arg3 = (wxWindow *) NULL ;
12991 bool result;
12992 void *argp1 = 0 ;
12993 int res1 = 0 ;
12994 void *argp2 = 0 ;
12995 int res2 = 0 ;
12996 void *argp3 = 0 ;
12997 int res3 = 0 ;
12998 PyObject * obj0 = 0 ;
12999 PyObject * obj1 = 0 ;
13000 PyObject * obj2 = 0 ;
13001 char * kwnames[] = {
13002 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13003 };
13004
13005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13007 if (!SWIG_IsOK(res1)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13009 }
13010 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13011 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13012 if (!SWIG_IsOK(res2)) {
13013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13014 }
13015 arg2 = reinterpret_cast< wxFrame * >(argp2);
13016 if (obj2) {
13017 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13018 if (!SWIG_IsOK(res3)) {
13019 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13020 }
13021 arg3 = reinterpret_cast< wxWindow * >(argp3);
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 {
13030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13031 }
13032 return resultobj;
13033 fail:
13034 return NULL;
13035 }
13036
13037
13038 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13039 PyObject *resultobj = 0;
13040 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13041 wxWindow *arg2 = (wxWindow *) 0 ;
13042 wxWindow *arg3 = (wxWindow *) NULL ;
13043 bool result;
13044 void *argp1 = 0 ;
13045 int res1 = 0 ;
13046 void *argp2 = 0 ;
13047 int res2 = 0 ;
13048 void *argp3 = 0 ;
13049 int res3 = 0 ;
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 PyObject * obj2 = 0 ;
13053 char * kwnames[] = {
13054 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13055 };
13056
13057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13059 if (!SWIG_IsOK(res1)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13061 }
13062 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13064 if (!SWIG_IsOK(res2)) {
13065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13066 }
13067 arg2 = reinterpret_cast< wxWindow * >(argp2);
13068 if (obj2) {
13069 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13070 if (!SWIG_IsOK(res3)) {
13071 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13072 }
13073 arg3 = reinterpret_cast< wxWindow * >(argp3);
13074 }
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13078 wxPyEndAllowThreads(__tstate);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 {
13082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13083 }
13084 return resultobj;
13085 fail:
13086 return NULL;
13087 }
13088
13089
13090 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13091 PyObject *obj;
13092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13093 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13094 return SWIG_Py_Void();
13095 }
13096
13097 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13098 return SWIG_Python_InitShadowInstance(args);
13099 }
13100
13101 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj = 0;
13103 wxWindow *arg1 = (wxWindow *) 0 ;
13104 int arg2 = (int) wxBORDER_NONE ;
13105 wxPopupWindow *result = 0 ;
13106 void *argp1 = 0 ;
13107 int res1 = 0 ;
13108 int val2 ;
13109 int ecode2 = 0 ;
13110 PyObject * obj0 = 0 ;
13111 PyObject * obj1 = 0 ;
13112 char * kwnames[] = {
13113 (char *) "parent",(char *) "flags", NULL
13114 };
13115
13116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13118 if (!SWIG_IsOK(res1)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13120 }
13121 arg1 = reinterpret_cast< wxWindow * >(argp1);
13122 if (obj1) {
13123 ecode2 = SWIG_AsVal_int(obj1, &val2);
13124 if (!SWIG_IsOK(ecode2)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13126 }
13127 arg2 = static_cast< int >(val2);
13128 }
13129 {
13130 if (!wxPyCheckForApp()) SWIG_fail;
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13144 PyObject *resultobj = 0;
13145 wxPopupWindow *result = 0 ;
13146
13147 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13148 {
13149 if (!wxPyCheckForApp()) SWIG_fail;
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (wxPopupWindow *)new wxPopupWindow();
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13156 return resultobj;
13157 fail:
13158 return NULL;
13159 }
13160
13161
13162 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj = 0;
13164 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13165 wxWindow *arg2 = (wxWindow *) 0 ;
13166 int arg3 = (int) wxBORDER_NONE ;
13167 bool result;
13168 void *argp1 = 0 ;
13169 int res1 = 0 ;
13170 void *argp2 = 0 ;
13171 int res2 = 0 ;
13172 int val3 ;
13173 int ecode3 = 0 ;
13174 PyObject * obj0 = 0 ;
13175 PyObject * obj1 = 0 ;
13176 PyObject * obj2 = 0 ;
13177 char * kwnames[] = {
13178 (char *) "self",(char *) "parent",(char *) "flags", NULL
13179 };
13180
13181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13183 if (!SWIG_IsOK(res1)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13185 }
13186 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13188 if (!SWIG_IsOK(res2)) {
13189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13190 }
13191 arg2 = reinterpret_cast< wxWindow * >(argp2);
13192 if (obj2) {
13193 ecode3 = SWIG_AsVal_int(obj2, &val3);
13194 if (!SWIG_IsOK(ecode3)) {
13195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13196 }
13197 arg3 = static_cast< int >(val3);
13198 }
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (bool)(arg1)->Create(arg2,arg3);
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 {
13206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13207 }
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj = 0;
13216 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13217 wxPoint *arg2 = 0 ;
13218 wxSize *arg3 = 0 ;
13219 void *argp1 = 0 ;
13220 int res1 = 0 ;
13221 wxPoint temp2 ;
13222 wxSize temp3 ;
13223 PyObject * obj0 = 0 ;
13224 PyObject * obj1 = 0 ;
13225 PyObject * obj2 = 0 ;
13226 char * kwnames[] = {
13227 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13228 };
13229
13230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13232 if (!SWIG_IsOK(res1)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13234 }
13235 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13236 {
13237 arg2 = &temp2;
13238 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13239 }
13240 {
13241 arg3 = &temp3;
13242 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13243 }
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 resultobj = SWIG_Py_Void();
13251 return resultobj;
13252 fail:
13253 return NULL;
13254 }
13255
13256
13257 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13258 PyObject *obj;
13259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13261 return SWIG_Py_Void();
13262 }
13263
13264 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13265 return SWIG_Python_InitShadowInstance(args);
13266 }
13267
13268 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj = 0;
13270 wxWindow *arg1 = (wxWindow *) 0 ;
13271 int arg2 = (int) wxBORDER_NONE ;
13272 wxPyPopupTransientWindow *result = 0 ;
13273 void *argp1 = 0 ;
13274 int res1 = 0 ;
13275 int val2 ;
13276 int ecode2 = 0 ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char * kwnames[] = {
13280 (char *) "parent",(char *) "style", NULL
13281 };
13282
13283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13285 if (!SWIG_IsOK(res1)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13287 }
13288 arg1 = reinterpret_cast< wxWindow * >(argp1);
13289 if (obj1) {
13290 ecode2 = SWIG_AsVal_int(obj1, &val2);
13291 if (!SWIG_IsOK(ecode2)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13293 }
13294 arg2 = static_cast< int >(val2);
13295 }
13296 {
13297 if (!wxPyCheckForApp()) SWIG_fail;
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13311 PyObject *resultobj = 0;
13312 wxPyPopupTransientWindow *result = 0 ;
13313
13314 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13315 {
13316 if (!wxPyCheckForApp()) SWIG_fail;
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj = 0;
13331 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13332 PyObject *arg2 = (PyObject *) 0 ;
13333 PyObject *arg3 = (PyObject *) 0 ;
13334 void *argp1 = 0 ;
13335 int res1 = 0 ;
13336 PyObject * obj0 = 0 ;
13337 PyObject * obj1 = 0 ;
13338 PyObject * obj2 = 0 ;
13339 char * kwnames[] = {
13340 (char *) "self",(char *) "self",(char *) "_class", NULL
13341 };
13342
13343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13345 if (!SWIG_IsOK(res1)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13347 }
13348 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13349 arg2 = obj1;
13350 arg3 = obj2;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 (arg1)->_setCallbackInfo(arg2,arg3);
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_Py_Void();
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = 0;
13366 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13367 wxWindow *arg2 = (wxWindow *) NULL ;
13368 void *argp1 = 0 ;
13369 int res1 = 0 ;
13370 void *argp2 = 0 ;
13371 int res2 = 0 ;
13372 PyObject * obj0 = 0 ;
13373 PyObject * obj1 = 0 ;
13374 char * kwnames[] = {
13375 (char *) "self",(char *) "focus", NULL
13376 };
13377
13378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13380 if (!SWIG_IsOK(res1)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13382 }
13383 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13384 if (obj1) {
13385 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13386 if (!SWIG_IsOK(res2)) {
13387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13388 }
13389 arg2 = reinterpret_cast< wxWindow * >(argp2);
13390 }
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 (arg1)->Popup(arg2);
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_Py_Void();
13398 return resultobj;
13399 fail:
13400 return NULL;
13401 }
13402
13403
13404 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13405 PyObject *resultobj = 0;
13406 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13407 void *argp1 = 0 ;
13408 int res1 = 0 ;
13409 PyObject *swig_obj[1] ;
13410
13411 if (!args) SWIG_fail;
13412 swig_obj[0] = args;
13413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13414 if (!SWIG_IsOK(res1)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13416 }
13417 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 (arg1)->Dismiss();
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_Py_Void();
13425 return resultobj;
13426 fail:
13427 return NULL;
13428 }
13429
13430
13431 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13432 PyObject *obj;
13433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13435 return SWIG_Py_Void();
13436 }
13437
13438 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13439 return SWIG_Python_InitShadowInstance(args);
13440 }
13441
13442 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj = 0;
13444 wxWindow *arg1 = (wxWindow *) 0 ;
13445 wxString *arg2 = 0 ;
13446 int arg3 = (int) 100 ;
13447 wxRect *arg4 = (wxRect *) NULL ;
13448 wxTipWindow *result = 0 ;
13449 void *argp1 = 0 ;
13450 int res1 = 0 ;
13451 bool temp2 = false ;
13452 int val3 ;
13453 int ecode3 = 0 ;
13454 void *argp4 = 0 ;
13455 int res4 = 0 ;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 PyObject * obj2 = 0 ;
13459 PyObject * obj3 = 0 ;
13460 char * kwnames[] = {
13461 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13462 };
13463
13464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13466 if (!SWIG_IsOK(res1)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13468 }
13469 arg1 = reinterpret_cast< wxWindow * >(argp1);
13470 {
13471 arg2 = wxString_in_helper(obj1);
13472 if (arg2 == NULL) SWIG_fail;
13473 temp2 = true;
13474 }
13475 if (obj2) {
13476 ecode3 = SWIG_AsVal_int(obj2, &val3);
13477 if (!SWIG_IsOK(ecode3)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13479 }
13480 arg3 = static_cast< int >(val3);
13481 }
13482 if (obj3) {
13483 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13484 if (!SWIG_IsOK(res4)) {
13485 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13486 }
13487 arg4 = reinterpret_cast< wxRect * >(argp4);
13488 }
13489 {
13490 if (!wxPyCheckForApp()) SWIG_fail;
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13497 {
13498 if (temp2)
13499 delete arg2;
13500 }
13501 return resultobj;
13502 fail:
13503 {
13504 if (temp2)
13505 delete arg2;
13506 }
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj = 0;
13513 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13514 wxRect *arg2 = 0 ;
13515 void *argp1 = 0 ;
13516 int res1 = 0 ;
13517 wxRect temp2 ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 char * kwnames[] = {
13521 (char *) "self",(char *) "rectBound", NULL
13522 };
13523
13524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13526 if (!SWIG_IsOK(res1)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13528 }
13529 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13530 {
13531 arg2 = &temp2;
13532 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13533 }
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = SWIG_Py_Void();
13541 return resultobj;
13542 fail:
13543 return NULL;
13544 }
13545
13546
13547 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13548 PyObject *resultobj = 0;
13549 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13550 void *argp1 = 0 ;
13551 int res1 = 0 ;
13552 PyObject *swig_obj[1] ;
13553
13554 if (!args) SWIG_fail;
13555 swig_obj[0] = args;
13556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13557 if (!SWIG_IsOK(res1)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13559 }
13560 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 (arg1)->Close();
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = SWIG_Py_Void();
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13575 PyObject *obj;
13576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13577 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13578 return SWIG_Py_Void();
13579 }
13580
13581 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13582 return SWIG_Python_InitShadowInstance(args);
13583 }
13584
13585 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13586 PyObject *resultobj = 0;
13587 wxWindow *arg1 = (wxWindow *) 0 ;
13588 int arg2 = (int) wxID_ANY ;
13589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13591 wxSize const &arg4_defvalue = wxDefaultSize ;
13592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13593 long arg5 = (long) 0 ;
13594 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13595 wxString *arg6 = (wxString *) &arg6_defvalue ;
13596 wxPyVScrolledWindow *result = 0 ;
13597 void *argp1 = 0 ;
13598 int res1 = 0 ;
13599 int val2 ;
13600 int ecode2 = 0 ;
13601 wxPoint temp3 ;
13602 wxSize temp4 ;
13603 long val5 ;
13604 int ecode5 = 0 ;
13605 bool temp6 = false ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 PyObject * obj2 = 0 ;
13609 PyObject * obj3 = 0 ;
13610 PyObject * obj4 = 0 ;
13611 PyObject * obj5 = 0 ;
13612 char * kwnames[] = {
13613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13614 };
13615
13616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13618 if (!SWIG_IsOK(res1)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13620 }
13621 arg1 = reinterpret_cast< wxWindow * >(argp1);
13622 if (obj1) {
13623 ecode2 = SWIG_AsVal_int(obj1, &val2);
13624 if (!SWIG_IsOK(ecode2)) {
13625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13626 }
13627 arg2 = static_cast< int >(val2);
13628 }
13629 if (obj2) {
13630 {
13631 arg3 = &temp3;
13632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13633 }
13634 }
13635 if (obj3) {
13636 {
13637 arg4 = &temp4;
13638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13639 }
13640 }
13641 if (obj4) {
13642 ecode5 = SWIG_AsVal_long(obj4, &val5);
13643 if (!SWIG_IsOK(ecode5)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13645 }
13646 arg5 = static_cast< long >(val5);
13647 }
13648 if (obj5) {
13649 {
13650 arg6 = wxString_in_helper(obj5);
13651 if (arg6 == NULL) SWIG_fail;
13652 temp6 = true;
13653 }
13654 }
13655 {
13656 if (!wxPyCheckForApp()) SWIG_fail;
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13663 {
13664 if (temp6)
13665 delete arg6;
13666 }
13667 return resultobj;
13668 fail:
13669 {
13670 if (temp6)
13671 delete arg6;
13672 }
13673 return NULL;
13674 }
13675
13676
13677 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13678 PyObject *resultobj = 0;
13679 wxPyVScrolledWindow *result = 0 ;
13680
13681 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13682 {
13683 if (!wxPyCheckForApp()) SWIG_fail;
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj = 0;
13698 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13699 PyObject *arg2 = (PyObject *) 0 ;
13700 PyObject *arg3 = (PyObject *) 0 ;
13701 void *argp1 = 0 ;
13702 int res1 = 0 ;
13703 PyObject * obj0 = 0 ;
13704 PyObject * obj1 = 0 ;
13705 PyObject * obj2 = 0 ;
13706 char * kwnames[] = {
13707 (char *) "self",(char *) "self",(char *) "_class", NULL
13708 };
13709
13710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13712 if (!SWIG_IsOK(res1)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13714 }
13715 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13716 arg2 = obj1;
13717 arg3 = obj2;
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 (arg1)->_setCallbackInfo(arg2,arg3);
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 resultobj = SWIG_Py_Void();
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj = 0;
13733 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13734 wxWindow *arg2 = (wxWindow *) 0 ;
13735 int arg3 = (int) wxID_ANY ;
13736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13738 wxSize const &arg5_defvalue = wxDefaultSize ;
13739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13740 long arg6 = (long) 0 ;
13741 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13742 wxString *arg7 = (wxString *) &arg7_defvalue ;
13743 bool result;
13744 void *argp1 = 0 ;
13745 int res1 = 0 ;
13746 void *argp2 = 0 ;
13747 int res2 = 0 ;
13748 int val3 ;
13749 int ecode3 = 0 ;
13750 wxPoint temp4 ;
13751 wxSize temp5 ;
13752 long val6 ;
13753 int ecode6 = 0 ;
13754 bool temp7 = 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 PyObject * obj6 = 0 ;
13762 char * kwnames[] = {
13763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13764 };
13765
13766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13770 }
13771 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13773 if (!SWIG_IsOK(res2)) {
13774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13775 }
13776 arg2 = reinterpret_cast< wxWindow * >(argp2);
13777 if (obj2) {
13778 ecode3 = SWIG_AsVal_int(obj2, &val3);
13779 if (!SWIG_IsOK(ecode3)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13781 }
13782 arg3 = static_cast< int >(val3);
13783 }
13784 if (obj3) {
13785 {
13786 arg4 = &temp4;
13787 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13788 }
13789 }
13790 if (obj4) {
13791 {
13792 arg5 = &temp5;
13793 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13794 }
13795 }
13796 if (obj5) {
13797 ecode6 = SWIG_AsVal_long(obj5, &val6);
13798 if (!SWIG_IsOK(ecode6)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13800 }
13801 arg6 = static_cast< long >(val6);
13802 }
13803 if (obj6) {
13804 {
13805 arg7 = wxString_in_helper(obj6);
13806 if (arg7 == NULL) SWIG_fail;
13807 temp7 = true;
13808 }
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13818 }
13819 {
13820 if (temp7)
13821 delete arg7;
13822 }
13823 return resultobj;
13824 fail:
13825 {
13826 if (temp7)
13827 delete arg7;
13828 }
13829 return NULL;
13830 }
13831
13832
13833 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj = 0;
13835 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13836 size_t arg2 ;
13837 void *argp1 = 0 ;
13838 int res1 = 0 ;
13839 size_t val2 ;
13840 int ecode2 = 0 ;
13841 PyObject * obj0 = 0 ;
13842 PyObject * obj1 = 0 ;
13843 char * kwnames[] = {
13844 (char *) "self",(char *) "count", NULL
13845 };
13846
13847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13849 if (!SWIG_IsOK(res1)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 }
13852 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13853 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13854 if (!SWIG_IsOK(ecode2)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13856 }
13857 arg2 = static_cast< size_t >(val2);
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 (arg1)->SetLineCount(arg2);
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 resultobj = SWIG_Py_Void();
13865 return resultobj;
13866 fail:
13867 return NULL;
13868 }
13869
13870
13871 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13872 PyObject *resultobj = 0;
13873 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13874 size_t arg2 ;
13875 bool result;
13876 void *argp1 = 0 ;
13877 int res1 = 0 ;
13878 size_t val2 ;
13879 int ecode2 = 0 ;
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 char * kwnames[] = {
13883 (char *) "self",(char *) "line", NULL
13884 };
13885
13886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13888 if (!SWIG_IsOK(res1)) {
13889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13890 }
13891 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13892 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13893 if (!SWIG_IsOK(ecode2)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13895 }
13896 arg2 = static_cast< size_t >(val2);
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (bool)(arg1)->ScrollToLine(arg2);
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 {
13904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13905 }
13906 return resultobj;
13907 fail:
13908 return NULL;
13909 }
13910
13911
13912 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj = 0;
13914 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13915 size_t arg2 ;
13916 void *argp1 = 0 ;
13917 int res1 = 0 ;
13918 size_t val2 ;
13919 int ecode2 = 0 ;
13920 PyObject * obj0 = 0 ;
13921 PyObject * obj1 = 0 ;
13922 char * kwnames[] = {
13923 (char *) "self",(char *) "line", NULL
13924 };
13925
13926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13928 if (!SWIG_IsOK(res1)) {
13929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13930 }
13931 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13932 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13933 if (!SWIG_IsOK(ecode2)) {
13934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13935 }
13936 arg2 = static_cast< size_t >(val2);
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 (arg1)->RefreshLine(arg2);
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 }
13943 resultobj = SWIG_Py_Void();
13944 return resultobj;
13945 fail:
13946 return NULL;
13947 }
13948
13949
13950 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13951 PyObject *resultobj = 0;
13952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13953 size_t arg2 ;
13954 size_t arg3 ;
13955 void *argp1 = 0 ;
13956 int res1 = 0 ;
13957 size_t val2 ;
13958 int ecode2 = 0 ;
13959 size_t val3 ;
13960 int ecode3 = 0 ;
13961 PyObject * obj0 = 0 ;
13962 PyObject * obj1 = 0 ;
13963 PyObject * obj2 = 0 ;
13964 char * kwnames[] = {
13965 (char *) "self",(char *) "from",(char *) "to", NULL
13966 };
13967
13968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13970 if (!SWIG_IsOK(res1)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13972 }
13973 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13974 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13975 if (!SWIG_IsOK(ecode2)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13977 }
13978 arg2 = static_cast< size_t >(val2);
13979 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13980 if (!SWIG_IsOK(ecode3)) {
13981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13982 }
13983 arg3 = static_cast< size_t >(val3);
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 (arg1)->RefreshLines(arg2,arg3);
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 resultobj = SWIG_Py_Void();
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj = 0;
13999 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14000 int arg2 ;
14001 int arg3 ;
14002 int result;
14003 void *argp1 = 0 ;
14004 int res1 = 0 ;
14005 int val2 ;
14006 int ecode2 = 0 ;
14007 int val3 ;
14008 int ecode3 = 0 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 PyObject * obj2 = 0 ;
14012 char * kwnames[] = {
14013 (char *) "self",(char *) "x",(char *) "y", NULL
14014 };
14015
14016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14018 if (!SWIG_IsOK(res1)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14020 }
14021 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14022 ecode2 = SWIG_AsVal_int(obj1, &val2);
14023 if (!SWIG_IsOK(ecode2)) {
14024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14025 }
14026 arg2 = static_cast< int >(val2);
14027 ecode3 = SWIG_AsVal_int(obj2, &val3);
14028 if (!SWIG_IsOK(ecode3)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14030 }
14031 arg3 = static_cast< int >(val3);
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 resultobj = SWIG_From_int(static_cast< int >(result));
14039 return resultobj;
14040 fail:
14041 return NULL;
14042 }
14043
14044
14045 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14046 PyObject *resultobj = 0;
14047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14048 wxPoint *arg2 = 0 ;
14049 int result;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 wxPoint temp2 ;
14053 PyObject * obj0 = 0 ;
14054 PyObject * obj1 = 0 ;
14055 char * kwnames[] = {
14056 (char *) "self",(char *) "pt", NULL
14057 };
14058
14059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14061 if (!SWIG_IsOK(res1)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14063 }
14064 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14065 {
14066 arg2 = &temp2;
14067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14068 }
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_From_int(static_cast< int >(result));
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14083 PyObject *resultobj = 0;
14084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14085 void *argp1 = 0 ;
14086 int res1 = 0 ;
14087 PyObject *swig_obj[1] ;
14088
14089 if (!args) SWIG_fail;
14090 swig_obj[0] = args;
14091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14092 if (!SWIG_IsOK(res1)) {
14093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14094 }
14095 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 (arg1)->RefreshAll();
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 resultobj = SWIG_Py_Void();
14103 return resultobj;
14104 fail:
14105 return NULL;
14106 }
14107
14108
14109 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14110 PyObject *resultobj = 0;
14111 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14112 size_t result;
14113 void *argp1 = 0 ;
14114 int res1 = 0 ;
14115 PyObject *swig_obj[1] ;
14116
14117 if (!args) SWIG_fail;
14118 swig_obj[0] = args;
14119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14122 }
14123 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14138 PyObject *resultobj = 0;
14139 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14140 size_t result;
14141 void *argp1 = 0 ;
14142 int res1 = 0 ;
14143 PyObject *swig_obj[1] ;
14144
14145 if (!args) SWIG_fail;
14146 swig_obj[0] = args;
14147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14148 if (!SWIG_IsOK(res1)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14150 }
14151 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14159 return resultobj;
14160 fail:
14161 return NULL;
14162 }
14163
14164
14165 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14166 PyObject *resultobj = 0;
14167 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14168 size_t result;
14169 void *argp1 = 0 ;
14170 int res1 = 0 ;
14171 PyObject *swig_obj[1] ;
14172
14173 if (!args) SWIG_fail;
14174 swig_obj[0] = args;
14175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14176 if (!SWIG_IsOK(res1)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14178 }
14179 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14187 return resultobj;
14188 fail:
14189 return NULL;
14190 }
14191
14192
14193 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj = 0;
14195 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14196 size_t arg2 ;
14197 bool result;
14198 void *argp1 = 0 ;
14199 int res1 = 0 ;
14200 size_t val2 ;
14201 int ecode2 = 0 ;
14202 PyObject * obj0 = 0 ;
14203 PyObject * obj1 = 0 ;
14204 char * kwnames[] = {
14205 (char *) "self",(char *) "line", NULL
14206 };
14207
14208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",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_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14212 }
14213 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14214 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14215 if (!SWIG_IsOK(ecode2)) {
14216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14217 }
14218 arg2 = static_cast< size_t >(val2);
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 {
14226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14227 }
14228 return resultobj;
14229 fail:
14230 return NULL;
14231 }
14232
14233
14234 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14235 PyObject *resultobj = 0;
14236 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14237 size_t result;
14238 void *argp1 = 0 ;
14239 int res1 = 0 ;
14240 PyObject *swig_obj[1] ;
14241
14242 if (!args) SWIG_fail;
14243 swig_obj[0] = args;
14244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14245 if (!SWIG_IsOK(res1)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14247 }
14248 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14256 return resultobj;
14257 fail:
14258 return NULL;
14259 }
14260
14261
14262 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14263 PyObject *resultobj = 0;
14264 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14265 size_t result;
14266 void *argp1 = 0 ;
14267 int res1 = 0 ;
14268 PyObject *swig_obj[1] ;
14269
14270 if (!args) SWIG_fail;
14271 swig_obj[0] = args;
14272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14273 if (!SWIG_IsOK(res1)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14275 }
14276 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj = 0;
14292 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14293 size_t arg2 ;
14294 bool arg3 = (bool) false ;
14295 size_t result;
14296 void *argp1 = 0 ;
14297 int res1 = 0 ;
14298 size_t val2 ;
14299 int ecode2 = 0 ;
14300 bool val3 ;
14301 int ecode3 = 0 ;
14302 PyObject * obj0 = 0 ;
14303 PyObject * obj1 = 0 ;
14304 PyObject * obj2 = 0 ;
14305 char * kwnames[] = {
14306 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14307 };
14308
14309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14311 if (!SWIG_IsOK(res1)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14313 }
14314 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14315 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14316 if (!SWIG_IsOK(ecode2)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14318 }
14319 arg2 = static_cast< size_t >(val2);
14320 if (obj2) {
14321 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14322 if (!SWIG_IsOK(ecode3)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14324 }
14325 arg3 = static_cast< bool >(val3);
14326 }
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj = 0;
14342 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14343 size_t arg2 ;
14344 size_t arg3 ;
14345 int result;
14346 void *argp1 = 0 ;
14347 int res1 = 0 ;
14348 size_t val2 ;
14349 int ecode2 = 0 ;
14350 size_t val3 ;
14351 int ecode3 = 0 ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 PyObject * obj2 = 0 ;
14355 char * kwnames[] = {
14356 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14357 };
14358
14359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14361 if (!SWIG_IsOK(res1)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14363 }
14364 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14365 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14366 if (!SWIG_IsOK(ecode2)) {
14367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14368 }
14369 arg2 = static_cast< size_t >(val2);
14370 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14371 if (!SWIG_IsOK(ecode3)) {
14372 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14373 }
14374 arg3 = static_cast< size_t >(val3);
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 resultobj = SWIG_From_int(static_cast< int >(result));
14382 return resultobj;
14383 fail:
14384 return NULL;
14385 }
14386
14387
14388 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14389 PyObject *obj;
14390 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14392 return SWIG_Py_Void();
14393 }
14394
14395 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14396 return SWIG_Python_InitShadowInstance(args);
14397 }
14398
14399 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14400 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14401 return 1;
14402 }
14403
14404
14405 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14406 PyObject *pyobj = 0;
14407
14408 {
14409 #if wxUSE_UNICODE
14410 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14411 #else
14412 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14413 #endif
14414 }
14415 return pyobj;
14416 }
14417
14418
14419 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj = 0;
14421 wxWindow *arg1 = (wxWindow *) 0 ;
14422 int arg2 = (int) wxID_ANY ;
14423 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14424 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14425 wxSize const &arg4_defvalue = wxDefaultSize ;
14426 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14427 long arg5 = (long) 0 ;
14428 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14429 wxString *arg6 = (wxString *) &arg6_defvalue ;
14430 wxPyVListBox *result = 0 ;
14431 void *argp1 = 0 ;
14432 int res1 = 0 ;
14433 int val2 ;
14434 int ecode2 = 0 ;
14435 wxPoint temp3 ;
14436 wxSize temp4 ;
14437 long val5 ;
14438 int ecode5 = 0 ;
14439 bool temp6 = false ;
14440 PyObject * obj0 = 0 ;
14441 PyObject * obj1 = 0 ;
14442 PyObject * obj2 = 0 ;
14443 PyObject * obj3 = 0 ;
14444 PyObject * obj4 = 0 ;
14445 PyObject * obj5 = 0 ;
14446 char * kwnames[] = {
14447 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14448 };
14449
14450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14452 if (!SWIG_IsOK(res1)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14454 }
14455 arg1 = reinterpret_cast< wxWindow * >(argp1);
14456 if (obj1) {
14457 ecode2 = SWIG_AsVal_int(obj1, &val2);
14458 if (!SWIG_IsOK(ecode2)) {
14459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14460 }
14461 arg2 = static_cast< int >(val2);
14462 }
14463 if (obj2) {
14464 {
14465 arg3 = &temp3;
14466 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14467 }
14468 }
14469 if (obj3) {
14470 {
14471 arg4 = &temp4;
14472 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14473 }
14474 }
14475 if (obj4) {
14476 ecode5 = SWIG_AsVal_long(obj4, &val5);
14477 if (!SWIG_IsOK(ecode5)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14479 }
14480 arg5 = static_cast< long >(val5);
14481 }
14482 if (obj5) {
14483 {
14484 arg6 = wxString_in_helper(obj5);
14485 if (arg6 == NULL) SWIG_fail;
14486 temp6 = true;
14487 }
14488 }
14489 {
14490 if (!wxPyCheckForApp()) SWIG_fail;
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14497 {
14498 if (temp6)
14499 delete arg6;
14500 }
14501 return resultobj;
14502 fail:
14503 {
14504 if (temp6)
14505 delete arg6;
14506 }
14507 return NULL;
14508 }
14509
14510
14511 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14512 PyObject *resultobj = 0;
14513 wxPyVListBox *result = 0 ;
14514
14515 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14516 {
14517 if (!wxPyCheckForApp()) SWIG_fail;
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxPyVListBox *)new wxPyVListBox();
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj = 0;
14532 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14533 PyObject *arg2 = (PyObject *) 0 ;
14534 PyObject *arg3 = (PyObject *) 0 ;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 char * kwnames[] = {
14541 (char *) "self",(char *) "self",(char *) "_class", NULL
14542 };
14543
14544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14546 if (!SWIG_IsOK(res1)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14548 }
14549 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14550 arg2 = obj1;
14551 arg3 = obj2;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 (arg1)->_setCallbackInfo(arg2,arg3);
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 resultobj = SWIG_Py_Void();
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj = 0;
14567 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14568 wxWindow *arg2 = (wxWindow *) 0 ;
14569 int arg3 = (int) wxID_ANY ;
14570 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14571 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14572 wxSize const &arg5_defvalue = wxDefaultSize ;
14573 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14574 long arg6 = (long) 0 ;
14575 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14576 wxString *arg7 = (wxString *) &arg7_defvalue ;
14577 bool result;
14578 void *argp1 = 0 ;
14579 int res1 = 0 ;
14580 void *argp2 = 0 ;
14581 int res2 = 0 ;
14582 int val3 ;
14583 int ecode3 = 0 ;
14584 wxPoint temp4 ;
14585 wxSize temp5 ;
14586 long val6 ;
14587 int ecode6 = 0 ;
14588 bool temp7 = 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 PyObject * obj6 = 0 ;
14596 char * kwnames[] = {
14597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14598 };
14599
14600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14602 if (!SWIG_IsOK(res1)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14604 }
14605 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14606 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14607 if (!SWIG_IsOK(res2)) {
14608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14609 }
14610 arg2 = reinterpret_cast< wxWindow * >(argp2);
14611 if (obj2) {
14612 ecode3 = SWIG_AsVal_int(obj2, &val3);
14613 if (!SWIG_IsOK(ecode3)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14615 }
14616 arg3 = static_cast< int >(val3);
14617 }
14618 if (obj3) {
14619 {
14620 arg4 = &temp4;
14621 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14622 }
14623 }
14624 if (obj4) {
14625 {
14626 arg5 = &temp5;
14627 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14628 }
14629 }
14630 if (obj5) {
14631 ecode6 = SWIG_AsVal_long(obj5, &val6);
14632 if (!SWIG_IsOK(ecode6)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14634 }
14635 arg6 = static_cast< long >(val6);
14636 }
14637 if (obj6) {
14638 {
14639 arg7 = wxString_in_helper(obj6);
14640 if (arg7 == NULL) SWIG_fail;
14641 temp7 = true;
14642 }
14643 }
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14652 }
14653 {
14654 if (temp7)
14655 delete arg7;
14656 }
14657 return resultobj;
14658 fail:
14659 {
14660 if (temp7)
14661 delete arg7;
14662 }
14663 return NULL;
14664 }
14665
14666
14667 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14668 PyObject *resultobj = 0;
14669 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14670 size_t result;
14671 void *argp1 = 0 ;
14672 int res1 = 0 ;
14673 PyObject *swig_obj[1] ;
14674
14675 if (!args) SWIG_fail;
14676 swig_obj[0] = args;
14677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14678 if (!SWIG_IsOK(res1)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14680 }
14681 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14696 PyObject *resultobj = 0;
14697 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14698 bool result;
14699 void *argp1 = 0 ;
14700 int res1 = 0 ;
14701 PyObject *swig_obj[1] ;
14702
14703 if (!args) SWIG_fail;
14704 swig_obj[0] = args;
14705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14706 if (!SWIG_IsOK(res1)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14708 }
14709 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 {
14717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14718 }
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14726 PyObject *resultobj = 0;
14727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14728 int result;
14729 void *argp1 = 0 ;
14730 int res1 = 0 ;
14731 PyObject *swig_obj[1] ;
14732
14733 if (!args) SWIG_fail;
14734 swig_obj[0] = args;
14735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14736 if (!SWIG_IsOK(res1)) {
14737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14738 }
14739 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 resultobj = SWIG_From_int(static_cast< int >(result));
14747 return resultobj;
14748 fail:
14749 return NULL;
14750 }
14751
14752
14753 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj = 0;
14755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14756 size_t arg2 ;
14757 bool result;
14758 void *argp1 = 0 ;
14759 int res1 = 0 ;
14760 size_t val2 ;
14761 int ecode2 = 0 ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 char * kwnames[] = {
14765 (char *) "self",(char *) "item", NULL
14766 };
14767
14768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14770 if (!SWIG_IsOK(res1)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14772 }
14773 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14774 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14775 if (!SWIG_IsOK(ecode2)) {
14776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14777 }
14778 arg2 = static_cast< size_t >(val2);
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 {
14786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14787 }
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj = 0;
14796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14797 size_t arg2 ;
14798 bool result;
14799 void *argp1 = 0 ;
14800 int res1 = 0 ;
14801 size_t val2 ;
14802 int ecode2 = 0 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char * kwnames[] = {
14806 (char *) "self",(char *) "item", NULL
14807 };
14808
14809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14811 if (!SWIG_IsOK(res1)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14813 }
14814 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14815 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14816 if (!SWIG_IsOK(ecode2)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14818 }
14819 arg2 = static_cast< size_t >(val2);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14828 }
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14836 PyObject *resultobj = 0;
14837 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14838 size_t result;
14839 void *argp1 = 0 ;
14840 int res1 = 0 ;
14841 PyObject *swig_obj[1] ;
14842
14843 if (!args) SWIG_fail;
14844 swig_obj[0] = args;
14845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14846 if (!SWIG_IsOK(res1)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14848 }
14849 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14864 PyObject *resultobj = 0;
14865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14866 PyObject *result = 0 ;
14867 void *argp1 = 0 ;
14868 int res1 = 0 ;
14869 PyObject *swig_obj[1] ;
14870
14871 if (!args) SWIG_fail;
14872 swig_obj[0] = args;
14873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14874 if (!SWIG_IsOK(res1)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14876 }
14877 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = result;
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj = 0;
14893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14894 unsigned long arg2 ;
14895 PyObject *result = 0 ;
14896 void *argp1 = 0 ;
14897 int res1 = 0 ;
14898 unsigned long val2 ;
14899 int ecode2 = 0 ;
14900 PyObject * obj0 = 0 ;
14901 PyObject * obj1 = 0 ;
14902 char * kwnames[] = {
14903 (char *) "self",(char *) "cookie", NULL
14904 };
14905
14906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14908 if (!SWIG_IsOK(res1)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14910 }
14911 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14912 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14913 if (!SWIG_IsOK(ecode2)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14915 }
14916 arg2 = static_cast< unsigned long >(val2);
14917 {
14918 PyThreadState* __tstate = wxPyBeginAllowThreads();
14919 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = result;
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14931 PyObject *resultobj = 0;
14932 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14933 wxPoint result;
14934 void *argp1 = 0 ;
14935 int res1 = 0 ;
14936 PyObject *swig_obj[1] ;
14937
14938 if (!args) SWIG_fail;
14939 swig_obj[0] = args;
14940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14941 if (!SWIG_IsOK(res1)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14943 }
14944 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = ((wxPyVListBox const *)arg1)->GetMargins();
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14959 PyObject *resultobj = 0;
14960 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14961 wxColour *result = 0 ;
14962 void *argp1 = 0 ;
14963 int res1 = 0 ;
14964 PyObject *swig_obj[1] ;
14965
14966 if (!args) SWIG_fail;
14967 swig_obj[0] = args;
14968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14969 if (!SWIG_IsOK(res1)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14971 }
14972 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 {
14976 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14977 result = (wxColour *) &_result_ref;
14978 }
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj = 0;
14991 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14992 size_t arg2 ;
14993 void *argp1 = 0 ;
14994 int res1 = 0 ;
14995 size_t val2 ;
14996 int ecode2 = 0 ;
14997 PyObject * obj0 = 0 ;
14998 PyObject * obj1 = 0 ;
14999 char * kwnames[] = {
15000 (char *) "self",(char *) "count", NULL
15001 };
15002
15003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15005 if (!SWIG_IsOK(res1)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15007 }
15008 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15009 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15010 if (!SWIG_IsOK(ecode2)) {
15011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15012 }
15013 arg2 = static_cast< size_t >(val2);
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 (arg1)->SetItemCount(arg2);
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 resultobj = SWIG_Py_Void();
15021 return resultobj;
15022 fail:
15023 return NULL;
15024 }
15025
15026
15027 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15028 PyObject *resultobj = 0;
15029 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15030 void *argp1 = 0 ;
15031 int res1 = 0 ;
15032 PyObject *swig_obj[1] ;
15033
15034 if (!args) SWIG_fail;
15035 swig_obj[0] = args;
15036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15037 if (!SWIG_IsOK(res1)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15039 }
15040 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->Clear();
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = SWIG_Py_Void();
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj = 0;
15056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15057 int arg2 ;
15058 void *argp1 = 0 ;
15059 int res1 = 0 ;
15060 int val2 ;
15061 int ecode2 = 0 ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 char * kwnames[] = {
15065 (char *) "self",(char *) "selection", NULL
15066 };
15067
15068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15070 if (!SWIG_IsOK(res1)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15072 }
15073 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15074 ecode2 = SWIG_AsVal_int(obj1, &val2);
15075 if (!SWIG_IsOK(ecode2)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15077 }
15078 arg2 = static_cast< int >(val2);
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 (arg1)->SetSelection(arg2);
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 resultobj = SWIG_Py_Void();
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj = 0;
15094 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15095 size_t arg2 ;
15096 bool arg3 = (bool) true ;
15097 bool result;
15098 void *argp1 = 0 ;
15099 int res1 = 0 ;
15100 size_t val2 ;
15101 int ecode2 = 0 ;
15102 bool val3 ;
15103 int ecode3 = 0 ;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 PyObject * obj2 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "item",(char *) "select", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15115 }
15116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15117 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15118 if (!SWIG_IsOK(ecode2)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15120 }
15121 arg2 = static_cast< size_t >(val2);
15122 if (obj2) {
15123 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15124 if (!SWIG_IsOK(ecode3)) {
15125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15126 }
15127 arg3 = static_cast< bool >(val3);
15128 }
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (bool)(arg1)->Select(arg2,arg3);
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 {
15136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15137 }
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj = 0;
15146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15147 size_t arg2 ;
15148 size_t arg3 ;
15149 bool result;
15150 void *argp1 = 0 ;
15151 int res1 = 0 ;
15152 size_t val2 ;
15153 int ecode2 = 0 ;
15154 size_t val3 ;
15155 int ecode3 = 0 ;
15156 PyObject * obj0 = 0 ;
15157 PyObject * obj1 = 0 ;
15158 PyObject * obj2 = 0 ;
15159 char * kwnames[] = {
15160 (char *) "self",(char *) "from",(char *) "to", NULL
15161 };
15162
15163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15165 if (!SWIG_IsOK(res1)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15167 }
15168 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15169 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15170 if (!SWIG_IsOK(ecode2)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15172 }
15173 arg2 = static_cast< size_t >(val2);
15174 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15175 if (!SWIG_IsOK(ecode3)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15177 }
15178 arg3 = static_cast< size_t >(val3);
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (bool)(arg1)->SelectRange(arg2,arg3);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 {
15186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15187 }
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj = 0;
15196 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15197 size_t arg2 ;
15198 void *argp1 = 0 ;
15199 int res1 = 0 ;
15200 size_t val2 ;
15201 int ecode2 = 0 ;
15202 PyObject * obj0 = 0 ;
15203 PyObject * obj1 = 0 ;
15204 char * kwnames[] = {
15205 (char *) "self",(char *) "item", NULL
15206 };
15207
15208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15210 if (!SWIG_IsOK(res1)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15212 }
15213 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15214 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15215 if (!SWIG_IsOK(ecode2)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15217 }
15218 arg2 = static_cast< size_t >(val2);
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 (arg1)->Toggle(arg2);
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 resultobj = SWIG_Py_Void();
15226 return resultobj;
15227 fail:
15228 return NULL;
15229 }
15230
15231
15232 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15233 PyObject *resultobj = 0;
15234 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15235 bool result;
15236 void *argp1 = 0 ;
15237 int res1 = 0 ;
15238 PyObject *swig_obj[1] ;
15239
15240 if (!args) SWIG_fail;
15241 swig_obj[0] = args;
15242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15243 if (!SWIG_IsOK(res1)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15245 }
15246 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (bool)(arg1)->SelectAll();
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 {
15254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15255 }
15256 return resultobj;
15257 fail:
15258 return NULL;
15259 }
15260
15261
15262 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15263 PyObject *resultobj = 0;
15264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15265 bool result;
15266 void *argp1 = 0 ;
15267 int res1 = 0 ;
15268 PyObject *swig_obj[1] ;
15269
15270 if (!args) SWIG_fail;
15271 swig_obj[0] = args;
15272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15273 if (!SWIG_IsOK(res1)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15275 }
15276 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (bool)(arg1)->DeselectAll();
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 {
15284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15285 }
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj = 0;
15294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15295 wxPoint *arg2 = 0 ;
15296 void *argp1 = 0 ;
15297 int res1 = 0 ;
15298 wxPoint temp2 ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 char * kwnames[] = {
15302 (char *) "self",(char *) "pt", NULL
15303 };
15304
15305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15307 if (!SWIG_IsOK(res1)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15309 }
15310 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15311 {
15312 arg2 = &temp2;
15313 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15314 }
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 (arg1)->SetMargins((wxPoint const &)*arg2);
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_Py_Void();
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj = 0;
15330 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15331 int arg2 ;
15332 int arg3 ;
15333 void *argp1 = 0 ;
15334 int res1 = 0 ;
15335 int val2 ;
15336 int ecode2 = 0 ;
15337 int val3 ;
15338 int ecode3 = 0 ;
15339 PyObject * obj0 = 0 ;
15340 PyObject * obj1 = 0 ;
15341 PyObject * obj2 = 0 ;
15342 char * kwnames[] = {
15343 (char *) "self",(char *) "x",(char *) "y", NULL
15344 };
15345
15346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15348 if (!SWIG_IsOK(res1)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15350 }
15351 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15352 ecode2 = SWIG_AsVal_int(obj1, &val2);
15353 if (!SWIG_IsOK(ecode2)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15355 }
15356 arg2 = static_cast< int >(val2);
15357 ecode3 = SWIG_AsVal_int(obj2, &val3);
15358 if (!SWIG_IsOK(ecode3)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15360 }
15361 arg3 = static_cast< int >(val3);
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 (arg1)->SetMargins(arg2,arg3);
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = SWIG_Py_Void();
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj = 0;
15377 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15378 wxColour *arg2 = 0 ;
15379 void *argp1 = 0 ;
15380 int res1 = 0 ;
15381 wxColour temp2 ;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "self",(char *) "col", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15392 }
15393 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15394 {
15395 arg2 = &temp2;
15396 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15397 }
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = SWIG_Py_Void();
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj = 0;
15413 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15414 wxDC *arg2 = 0 ;
15415 wxRect *arg3 = 0 ;
15416 size_t arg4 ;
15417 void *argp1 = 0 ;
15418 int res1 = 0 ;
15419 void *argp2 = 0 ;
15420 int res2 = 0 ;
15421 wxRect temp3 ;
15422 size_t val4 ;
15423 int ecode4 = 0 ;
15424 PyObject * obj0 = 0 ;
15425 PyObject * obj1 = 0 ;
15426 PyObject * obj2 = 0 ;
15427 PyObject * obj3 = 0 ;
15428 char * kwnames[] = {
15429 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15430 };
15431
15432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15434 if (!SWIG_IsOK(res1)) {
15435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15436 }
15437 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15438 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15439 if (!SWIG_IsOK(res2)) {
15440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15441 }
15442 if (!argp2) {
15443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15444 }
15445 arg2 = reinterpret_cast< wxDC * >(argp2);
15446 {
15447 arg3 = &temp3;
15448 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15449 }
15450 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15451 if (!SWIG_IsOK(ecode4)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15453 }
15454 arg4 = static_cast< size_t >(val4);
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 resultobj = SWIG_Py_Void();
15462 return resultobj;
15463 fail:
15464 return NULL;
15465 }
15466
15467
15468 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj = 0;
15470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15471 wxDC *arg2 = 0 ;
15472 wxRect *arg3 = 0 ;
15473 size_t arg4 ;
15474 void *argp1 = 0 ;
15475 int res1 = 0 ;
15476 void *argp2 = 0 ;
15477 int res2 = 0 ;
15478 wxRect temp3 ;
15479 size_t val4 ;
15480 int ecode4 = 0 ;
15481 PyObject * obj0 = 0 ;
15482 PyObject * obj1 = 0 ;
15483 PyObject * obj2 = 0 ;
15484 PyObject * obj3 = 0 ;
15485 char * kwnames[] = {
15486 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15487 };
15488
15489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15491 if (!SWIG_IsOK(res1)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15493 }
15494 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15496 if (!SWIG_IsOK(res2)) {
15497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15498 }
15499 if (!argp2) {
15500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15501 }
15502 arg2 = reinterpret_cast< wxDC * >(argp2);
15503 {
15504 arg3 = &temp3;
15505 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15506 }
15507 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15508 if (!SWIG_IsOK(ecode4)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15510 }
15511 arg4 = static_cast< size_t >(val4);
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = SWIG_Py_Void();
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15526 PyObject *obj;
15527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15528 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15529 return SWIG_Py_Void();
15530 }
15531
15532 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15533 return SWIG_Python_InitShadowInstance(args);
15534 }
15535
15536 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj = 0;
15538 wxWindow *arg1 = (wxWindow *) 0 ;
15539 int arg2 = (int) wxID_ANY ;
15540 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15541 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15542 wxSize const &arg4_defvalue = wxDefaultSize ;
15543 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15544 long arg5 = (long) 0 ;
15545 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15546 wxString *arg6 = (wxString *) &arg6_defvalue ;
15547 wxPyHtmlListBox *result = 0 ;
15548 void *argp1 = 0 ;
15549 int res1 = 0 ;
15550 int val2 ;
15551 int ecode2 = 0 ;
15552 wxPoint temp3 ;
15553 wxSize temp4 ;
15554 long val5 ;
15555 int ecode5 = 0 ;
15556 bool temp6 = false ;
15557 PyObject * obj0 = 0 ;
15558 PyObject * obj1 = 0 ;
15559 PyObject * obj2 = 0 ;
15560 PyObject * obj3 = 0 ;
15561 PyObject * obj4 = 0 ;
15562 PyObject * obj5 = 0 ;
15563 char * kwnames[] = {
15564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15565 };
15566
15567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15569 if (!SWIG_IsOK(res1)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15571 }
15572 arg1 = reinterpret_cast< wxWindow * >(argp1);
15573 if (obj1) {
15574 ecode2 = SWIG_AsVal_int(obj1, &val2);
15575 if (!SWIG_IsOK(ecode2)) {
15576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15577 }
15578 arg2 = static_cast< int >(val2);
15579 }
15580 if (obj2) {
15581 {
15582 arg3 = &temp3;
15583 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15584 }
15585 }
15586 if (obj3) {
15587 {
15588 arg4 = &temp4;
15589 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15590 }
15591 }
15592 if (obj4) {
15593 ecode5 = SWIG_AsVal_long(obj4, &val5);
15594 if (!SWIG_IsOK(ecode5)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15596 }
15597 arg5 = static_cast< long >(val5);
15598 }
15599 if (obj5) {
15600 {
15601 arg6 = wxString_in_helper(obj5);
15602 if (arg6 == NULL) SWIG_fail;
15603 temp6 = true;
15604 }
15605 }
15606 {
15607 if (!wxPyCheckForApp()) SWIG_fail;
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15614 {
15615 if (temp6)
15616 delete arg6;
15617 }
15618 return resultobj;
15619 fail:
15620 {
15621 if (temp6)
15622 delete arg6;
15623 }
15624 return NULL;
15625 }
15626
15627
15628 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15629 PyObject *resultobj = 0;
15630 wxPyHtmlListBox *result = 0 ;
15631
15632 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15633 {
15634 if (!wxPyCheckForApp()) SWIG_fail;
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15641 return resultobj;
15642 fail:
15643 return NULL;
15644 }
15645
15646
15647 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15648 PyObject *resultobj = 0;
15649 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15650 PyObject *arg2 = (PyObject *) 0 ;
15651 PyObject *arg3 = (PyObject *) 0 ;
15652 void *argp1 = 0 ;
15653 int res1 = 0 ;
15654 PyObject * obj0 = 0 ;
15655 PyObject * obj1 = 0 ;
15656 PyObject * obj2 = 0 ;
15657 char * kwnames[] = {
15658 (char *) "self",(char *) "self",(char *) "_class", NULL
15659 };
15660
15661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15663 if (!SWIG_IsOK(res1)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15665 }
15666 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15667 arg2 = obj1;
15668 arg3 = obj2;
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->_setCallbackInfo(arg2,arg3);
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 resultobj = SWIG_Py_Void();
15676 return resultobj;
15677 fail:
15678 return NULL;
15679 }
15680
15681
15682 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15683 PyObject *resultobj = 0;
15684 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15685 wxWindow *arg2 = (wxWindow *) 0 ;
15686 int arg3 = (int) wxID_ANY ;
15687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15689 wxSize const &arg5_defvalue = wxDefaultSize ;
15690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15691 long arg6 = (long) 0 ;
15692 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15693 wxString *arg7 = (wxString *) &arg7_defvalue ;
15694 bool result;
15695 void *argp1 = 0 ;
15696 int res1 = 0 ;
15697 void *argp2 = 0 ;
15698 int res2 = 0 ;
15699 int val3 ;
15700 int ecode3 = 0 ;
15701 wxPoint temp4 ;
15702 wxSize temp5 ;
15703 long val6 ;
15704 int ecode6 = 0 ;
15705 bool temp7 = 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 PyObject * obj6 = 0 ;
15713 char * kwnames[] = {
15714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15715 };
15716
15717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15719 if (!SWIG_IsOK(res1)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15721 }
15722 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15723 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15724 if (!SWIG_IsOK(res2)) {
15725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15726 }
15727 arg2 = reinterpret_cast< wxWindow * >(argp2);
15728 if (obj2) {
15729 ecode3 = SWIG_AsVal_int(obj2, &val3);
15730 if (!SWIG_IsOK(ecode3)) {
15731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15732 }
15733 arg3 = static_cast< int >(val3);
15734 }
15735 if (obj3) {
15736 {
15737 arg4 = &temp4;
15738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15739 }
15740 }
15741 if (obj4) {
15742 {
15743 arg5 = &temp5;
15744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15745 }
15746 }
15747 if (obj5) {
15748 ecode6 = SWIG_AsVal_long(obj5, &val6);
15749 if (!SWIG_IsOK(ecode6)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15751 }
15752 arg6 = static_cast< long >(val6);
15753 }
15754 if (obj6) {
15755 {
15756 arg7 = wxString_in_helper(obj6);
15757 if (arg7 == NULL) SWIG_fail;
15758 temp7 = true;
15759 }
15760 }
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 {
15768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15769 }
15770 {
15771 if (temp7)
15772 delete arg7;
15773 }
15774 return resultobj;
15775 fail:
15776 {
15777 if (temp7)
15778 delete arg7;
15779 }
15780 return NULL;
15781 }
15782
15783
15784 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj = 0;
15786 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15787 size_t arg2 ;
15788 void *argp1 = 0 ;
15789 int res1 = 0 ;
15790 size_t val2 ;
15791 int ecode2 = 0 ;
15792 PyObject * obj0 = 0 ;
15793 PyObject * obj1 = 0 ;
15794 char * kwnames[] = {
15795 (char *) "self",(char *) "count", NULL
15796 };
15797
15798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15800 if (!SWIG_IsOK(res1)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15802 }
15803 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15804 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15805 if (!SWIG_IsOK(ecode2)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15807 }
15808 arg2 = static_cast< size_t >(val2);
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 (arg1)->SetItemCount(arg2);
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = SWIG_Py_Void();
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15823 PyObject *resultobj = 0;
15824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15825 wxFileSystem *result = 0 ;
15826 void *argp1 = 0 ;
15827 int res1 = 0 ;
15828 PyObject *swig_obj[1] ;
15829
15830 if (!args) SWIG_fail;
15831 swig_obj[0] = args;
15832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15833 if (!SWIG_IsOK(res1)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15835 }
15836 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 {
15840 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15841 result = (wxFileSystem *) &_result_ref;
15842 }
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15847 return resultobj;
15848 fail:
15849 return NULL;
15850 }
15851
15852
15853 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15854 PyObject *resultobj = 0;
15855 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15856 size_t arg2 ;
15857 wxHtmlLinkInfo *arg3 = 0 ;
15858 void *argp1 = 0 ;
15859 int res1 = 0 ;
15860 size_t val2 ;
15861 int ecode2 = 0 ;
15862 void *argp3 = 0 ;
15863 int res3 = 0 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 PyObject * obj2 = 0 ;
15867 char * kwnames[] = {
15868 (char *) "self",(char *) "n",(char *) "link", NULL
15869 };
15870
15871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15873 if (!SWIG_IsOK(res1)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15875 }
15876 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15877 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15878 if (!SWIG_IsOK(ecode2)) {
15879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15880 }
15881 arg2 = static_cast< size_t >(val2);
15882 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15883 if (!SWIG_IsOK(res3)) {
15884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15885 }
15886 if (!argp3) {
15887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15888 }
15889 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_Py_Void();
15897 return resultobj;
15898 fail:
15899 return NULL;
15900 }
15901
15902
15903 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15904 PyObject *obj;
15905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15907 return SWIG_Py_Void();
15908 }
15909
15910 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15911 return SWIG_Python_InitShadowInstance(args);
15912 }
15913
15914 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15915 PyObject *resultobj = 0;
15916 wxPyTaskBarIcon *result = 0 ;
15917
15918 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15919 {
15920 if (!wxPyCheckForApp()) SWIG_fail;
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15934 PyObject *resultobj = 0;
15935 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15936 void *argp1 = 0 ;
15937 int res1 = 0 ;
15938 PyObject *swig_obj[1] ;
15939
15940 if (!args) SWIG_fail;
15941 swig_obj[0] = args;
15942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15943 if (!SWIG_IsOK(res1)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15945 }
15946 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 delete arg1;
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 resultobj = SWIG_Py_Void();
15955 return resultobj;
15956 fail:
15957 return NULL;
15958 }
15959
15960
15961 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj = 0;
15963 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15964 PyObject *arg2 = (PyObject *) 0 ;
15965 PyObject *arg3 = (PyObject *) 0 ;
15966 int arg4 ;
15967 void *argp1 = 0 ;
15968 int res1 = 0 ;
15969 int val4 ;
15970 int ecode4 = 0 ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 PyObject * obj3 = 0 ;
15975 char * kwnames[] = {
15976 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15977 };
15978
15979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15981 if (!SWIG_IsOK(res1)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15983 }
15984 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15985 arg2 = obj1;
15986 arg3 = obj2;
15987 ecode4 = SWIG_AsVal_int(obj3, &val4);
15988 if (!SWIG_IsOK(ecode4)) {
15989 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15990 }
15991 arg4 = static_cast< int >(val4);
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 resultobj = SWIG_Py_Void();
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16006 PyObject *resultobj = 0;
16007 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16008 void *argp1 = 0 ;
16009 int res1 = 0 ;
16010 PyObject *swig_obj[1] ;
16011
16012 if (!args) SWIG_fail;
16013 swig_obj[0] = args;
16014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16015 if (!SWIG_IsOK(res1)) {
16016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16017 }
16018 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 wxPyTaskBarIcon_Destroy(arg1);
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 resultobj = SWIG_Py_Void();
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16033 PyObject *resultobj = 0;
16034 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16035 bool result;
16036 void *argp1 = 0 ;
16037 int res1 = 0 ;
16038 PyObject *swig_obj[1] ;
16039
16040 if (!args) SWIG_fail;
16041 swig_obj[0] = args;
16042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16043 if (!SWIG_IsOK(res1)) {
16044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16045 }
16046 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 {
16054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16055 }
16056 return resultobj;
16057 fail:
16058 return NULL;
16059 }
16060
16061
16062 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16063 PyObject *resultobj = 0;
16064 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16065 bool result;
16066 void *argp1 = 0 ;
16067 int res1 = 0 ;
16068 PyObject *swig_obj[1] ;
16069
16070 if (!args) SWIG_fail;
16071 swig_obj[0] = args;
16072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16073 if (!SWIG_IsOK(res1)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16075 }
16076 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 {
16084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16085 }
16086 return resultobj;
16087 fail:
16088 return NULL;
16089 }
16090
16091
16092 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16093 PyObject *resultobj = 0;
16094 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16095 wxIcon *arg2 = 0 ;
16096 wxString const &arg3_defvalue = wxPyEmptyString ;
16097 wxString *arg3 = (wxString *) &arg3_defvalue ;
16098 bool result;
16099 void *argp1 = 0 ;
16100 int res1 = 0 ;
16101 void *argp2 = 0 ;
16102 int res2 = 0 ;
16103 bool temp3 = false ;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 PyObject * obj2 = 0 ;
16107 char * kwnames[] = {
16108 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16109 };
16110
16111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16113 if (!SWIG_IsOK(res1)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16115 }
16116 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16117 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16118 if (!SWIG_IsOK(res2)) {
16119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16120 }
16121 if (!argp2) {
16122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16123 }
16124 arg2 = reinterpret_cast< wxIcon * >(argp2);
16125 if (obj2) {
16126 {
16127 arg3 = wxString_in_helper(obj2);
16128 if (arg3 == NULL) SWIG_fail;
16129 temp3 = true;
16130 }
16131 }
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140 }
16141 {
16142 if (temp3)
16143 delete arg3;
16144 }
16145 return resultobj;
16146 fail:
16147 {
16148 if (temp3)
16149 delete arg3;
16150 }
16151 return NULL;
16152 }
16153
16154
16155 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16156 PyObject *resultobj = 0;
16157 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16158 bool result;
16159 void *argp1 = 0 ;
16160 int res1 = 0 ;
16161 PyObject *swig_obj[1] ;
16162
16163 if (!args) SWIG_fail;
16164 swig_obj[0] = args;
16165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16166 if (!SWIG_IsOK(res1)) {
16167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16168 }
16169 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (bool)(arg1)->RemoveIcon();
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 {
16177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16178 }
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj = 0;
16187 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16188 wxMenu *arg2 = (wxMenu *) 0 ;
16189 bool result;
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
16192 void *argp2 = 0 ;
16193 int res2 = 0 ;
16194 PyObject * obj0 = 0 ;
16195 PyObject * obj1 = 0 ;
16196 char * kwnames[] = {
16197 (char *) "self",(char *) "menu", NULL
16198 };
16199
16200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16202 if (!SWIG_IsOK(res1)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16204 }
16205 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16207 if (!SWIG_IsOK(res2)) {
16208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16209 }
16210 arg2 = reinterpret_cast< wxMenu * >(argp2);
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (bool)(arg1)->PopupMenu(arg2);
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16227 PyObject *obj;
16228 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16229 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16230 return SWIG_Py_Void();
16231 }
16232
16233 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16234 return SWIG_Python_InitShadowInstance(args);
16235 }
16236
16237 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj = 0;
16239 wxEventType arg1 ;
16240 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16241 wxTaskBarIconEvent *result = 0 ;
16242 int val1 ;
16243 int ecode1 = 0 ;
16244 void *argp2 = 0 ;
16245 int res2 = 0 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 char * kwnames[] = {
16249 (char *) "evtType",(char *) "tbIcon", NULL
16250 };
16251
16252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16253 ecode1 = SWIG_AsVal_int(obj0, &val1);
16254 if (!SWIG_IsOK(ecode1)) {
16255 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16256 }
16257 arg1 = static_cast< wxEventType >(val1);
16258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16259 if (!SWIG_IsOK(res2)) {
16260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16261 }
16262 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16277 PyObject *obj;
16278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16279 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16280 return SWIG_Py_Void();
16281 }
16282
16283 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16284 return SWIG_Python_InitShadowInstance(args);
16285 }
16286
16287 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16288 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16289 return 1;
16290 }
16291
16292
16293 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16294 PyObject *pyobj = 0;
16295
16296 {
16297 #if wxUSE_UNICODE
16298 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16299 #else
16300 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16301 #endif
16302 }
16303 return pyobj;
16304 }
16305
16306
16307 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16308 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16309 return 1;
16310 }
16311
16312
16313 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16314 PyObject *pyobj = 0;
16315
16316 {
16317 #if wxUSE_UNICODE
16318 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16319 #else
16320 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16321 #endif
16322 }
16323 return pyobj;
16324 }
16325
16326
16327 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16328 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16329 return 1;
16330 }
16331
16332
16333 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16334 PyObject *pyobj = 0;
16335
16336 {
16337 #if wxUSE_UNICODE
16338 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16339 #else
16340 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16341 #endif
16342 }
16343 return pyobj;
16344 }
16345
16346
16347 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16348 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16349 return 1;
16350 }
16351
16352
16353 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16354 PyObject *pyobj = 0;
16355
16356 {
16357 #if wxUSE_UNICODE
16358 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16359 #else
16360 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16361 #endif
16362 }
16363 return pyobj;
16364 }
16365
16366
16367 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16368 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16369 return 1;
16370 }
16371
16372
16373 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16374 PyObject *pyobj = 0;
16375
16376 {
16377 #if wxUSE_UNICODE
16378 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16379 #else
16380 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16381 #endif
16382 }
16383 return pyobj;
16384 }
16385
16386
16387 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16388 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16389 return 1;
16390 }
16391
16392
16393 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16394 PyObject *pyobj = 0;
16395
16396 {
16397 #if wxUSE_UNICODE
16398 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16399 #else
16400 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16401 #endif
16402 }
16403 return pyobj;
16404 }
16405
16406
16407 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16408 PyObject *resultobj = 0;
16409 wxColourData *result = 0 ;
16410
16411 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (wxColourData *)new wxColourData();
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16426 PyObject *resultobj = 0;
16427 wxColourData *arg1 = (wxColourData *) 0 ;
16428 void *argp1 = 0 ;
16429 int res1 = 0 ;
16430 PyObject *swig_obj[1] ;
16431
16432 if (!args) SWIG_fail;
16433 swig_obj[0] = args;
16434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16435 if (!SWIG_IsOK(res1)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16437 }
16438 arg1 = reinterpret_cast< wxColourData * >(argp1);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 delete arg1;
16442
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 resultobj = SWIG_Py_Void();
16447 return resultobj;
16448 fail:
16449 return NULL;
16450 }
16451
16452
16453 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16454 PyObject *resultobj = 0;
16455 wxColourData *arg1 = (wxColourData *) 0 ;
16456 bool result;
16457 void *argp1 = 0 ;
16458 int res1 = 0 ;
16459 PyObject *swig_obj[1] ;
16460
16461 if (!args) SWIG_fail;
16462 swig_obj[0] = args;
16463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16464 if (!SWIG_IsOK(res1)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16466 }
16467 arg1 = reinterpret_cast< wxColourData * >(argp1);
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = (bool)(arg1)->GetChooseFull();
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 {
16475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16476 }
16477 return resultobj;
16478 fail:
16479 return NULL;
16480 }
16481
16482
16483 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16484 PyObject *resultobj = 0;
16485 wxColourData *arg1 = (wxColourData *) 0 ;
16486 wxColour result;
16487 void *argp1 = 0 ;
16488 int res1 = 0 ;
16489 PyObject *swig_obj[1] ;
16490
16491 if (!args) SWIG_fail;
16492 swig_obj[0] = args;
16493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16494 if (!SWIG_IsOK(res1)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16496 }
16497 arg1 = reinterpret_cast< wxColourData * >(argp1);
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 result = (arg1)->GetColour();
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj = 0;
16513 wxColourData *arg1 = (wxColourData *) 0 ;
16514 int arg2 ;
16515 wxColour result;
16516 void *argp1 = 0 ;
16517 int res1 = 0 ;
16518 int val2 ;
16519 int ecode2 = 0 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char * kwnames[] = {
16523 (char *) "self",(char *) "i", NULL
16524 };
16525
16526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16528 if (!SWIG_IsOK(res1)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16530 }
16531 arg1 = reinterpret_cast< wxColourData * >(argp1);
16532 ecode2 = SWIG_AsVal_int(obj1, &val2);
16533 if (!SWIG_IsOK(ecode2)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16535 }
16536 arg2 = static_cast< int >(val2);
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (arg1)->GetCustomColour(arg2);
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj = 0;
16552 wxColourData *arg1 = (wxColourData *) 0 ;
16553 int arg2 ;
16554 void *argp1 = 0 ;
16555 int res1 = 0 ;
16556 int val2 ;
16557 int ecode2 = 0 ;
16558 PyObject * obj0 = 0 ;
16559 PyObject * obj1 = 0 ;
16560 char * kwnames[] = {
16561 (char *) "self",(char *) "flag", NULL
16562 };
16563
16564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16566 if (!SWIG_IsOK(res1)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16568 }
16569 arg1 = reinterpret_cast< wxColourData * >(argp1);
16570 ecode2 = SWIG_AsVal_int(obj1, &val2);
16571 if (!SWIG_IsOK(ecode2)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16573 }
16574 arg2 = static_cast< int >(val2);
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 (arg1)->SetChooseFull(arg2);
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 resultobj = SWIG_Py_Void();
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj = 0;
16590 wxColourData *arg1 = (wxColourData *) 0 ;
16591 wxColour *arg2 = 0 ;
16592 void *argp1 = 0 ;
16593 int res1 = 0 ;
16594 wxColour temp2 ;
16595 PyObject * obj0 = 0 ;
16596 PyObject * obj1 = 0 ;
16597 char * kwnames[] = {
16598 (char *) "self",(char *) "colour", NULL
16599 };
16600
16601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16603 if (!SWIG_IsOK(res1)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16605 }
16606 arg1 = reinterpret_cast< wxColourData * >(argp1);
16607 {
16608 arg2 = &temp2;
16609 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16610 }
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 (arg1)->SetColour((wxColour const &)*arg2);
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 resultobj = SWIG_Py_Void();
16618 return resultobj;
16619 fail:
16620 return NULL;
16621 }
16622
16623
16624 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16625 PyObject *resultobj = 0;
16626 wxColourData *arg1 = (wxColourData *) 0 ;
16627 int arg2 ;
16628 wxColour *arg3 = 0 ;
16629 void *argp1 = 0 ;
16630 int res1 = 0 ;
16631 int val2 ;
16632 int ecode2 = 0 ;
16633 wxColour temp3 ;
16634 PyObject * obj0 = 0 ;
16635 PyObject * obj1 = 0 ;
16636 PyObject * obj2 = 0 ;
16637 char * kwnames[] = {
16638 (char *) "self",(char *) "i",(char *) "colour", NULL
16639 };
16640
16641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16643 if (!SWIG_IsOK(res1)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16645 }
16646 arg1 = reinterpret_cast< wxColourData * >(argp1);
16647 ecode2 = SWIG_AsVal_int(obj1, &val2);
16648 if (!SWIG_IsOK(ecode2)) {
16649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16650 }
16651 arg2 = static_cast< int >(val2);
16652 {
16653 arg3 = &temp3;
16654 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16655 }
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 resultobj = SWIG_Py_Void();
16663 return resultobj;
16664 fail:
16665 return NULL;
16666 }
16667
16668
16669 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16670 PyObject *obj;
16671 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16672 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16673 return SWIG_Py_Void();
16674 }
16675
16676 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16677 return SWIG_Python_InitShadowInstance(args);
16678 }
16679
16680 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj = 0;
16682 wxWindow *arg1 = (wxWindow *) 0 ;
16683 wxColourData *arg2 = (wxColourData *) NULL ;
16684 wxColourDialog *result = 0 ;
16685 void *argp1 = 0 ;
16686 int res1 = 0 ;
16687 void *argp2 = 0 ;
16688 int res2 = 0 ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char * kwnames[] = {
16692 (char *) "parent",(char *) "data", NULL
16693 };
16694
16695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16697 if (!SWIG_IsOK(res1)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16699 }
16700 arg1 = reinterpret_cast< wxWindow * >(argp1);
16701 if (obj1) {
16702 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16703 if (!SWIG_IsOK(res2)) {
16704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16705 }
16706 arg2 = reinterpret_cast< wxColourData * >(argp2);
16707 }
16708 {
16709 if (!wxPyCheckForApp()) SWIG_fail;
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16723 PyObject *resultobj = 0;
16724 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16725 wxColourData *result = 0 ;
16726 void *argp1 = 0 ;
16727 int res1 = 0 ;
16728 PyObject *swig_obj[1] ;
16729
16730 if (!args) SWIG_fail;
16731 swig_obj[0] = args;
16732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16733 if (!SWIG_IsOK(res1)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16735 }
16736 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 {
16740 wxColourData &_result_ref = (arg1)->GetColourData();
16741 result = (wxColourData *) &_result_ref;
16742 }
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16747 return resultobj;
16748 fail:
16749 return NULL;
16750 }
16751
16752
16753 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16754 PyObject *obj;
16755 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16756 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16757 return SWIG_Py_Void();
16758 }
16759
16760 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16761 return SWIG_Python_InitShadowInstance(args);
16762 }
16763
16764 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj = 0;
16766 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16767 wxColour const &arg2_defvalue = wxNullColour ;
16768 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16769 wxString const &arg3_defvalue = wxPyEmptyString ;
16770 wxString *arg3 = (wxString *) &arg3_defvalue ;
16771 wxColour result;
16772 void *argp1 = 0 ;
16773 int res1 = 0 ;
16774 wxColour temp2 ;
16775 bool temp3 = false ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 PyObject * obj2 = 0 ;
16779 char * kwnames[] = {
16780 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16781 };
16782
16783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16784 if (obj0) {
16785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16786 if (!SWIG_IsOK(res1)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16788 }
16789 arg1 = reinterpret_cast< wxWindow * >(argp1);
16790 }
16791 if (obj1) {
16792 {
16793 arg2 = &temp2;
16794 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16795 }
16796 }
16797 if (obj2) {
16798 {
16799 arg3 = wxString_in_helper(obj2);
16800 if (arg3 == NULL) SWIG_fail;
16801 temp3 = true;
16802 }
16803 }
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16811 {
16812 if (temp3)
16813 delete arg3;
16814 }
16815 return resultobj;
16816 fail:
16817 {
16818 if (temp3)
16819 delete arg3;
16820 }
16821 return NULL;
16822 }
16823
16824
16825 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj = 0;
16827 wxWindow *arg1 = (wxWindow *) 0 ;
16828 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16829 wxString *arg2 = (wxString *) &arg2_defvalue ;
16830 wxString const &arg3_defvalue = wxPyEmptyString ;
16831 wxString *arg3 = (wxString *) &arg3_defvalue ;
16832 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16833 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16834 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16835 wxSize const &arg6_defvalue = wxDefaultSize ;
16836 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16837 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16838 wxString *arg7 = (wxString *) &arg7_defvalue ;
16839 wxDirDialog *result = 0 ;
16840 void *argp1 = 0 ;
16841 int res1 = 0 ;
16842 bool temp2 = false ;
16843 bool temp3 = false ;
16844 long val4 ;
16845 int ecode4 = 0 ;
16846 wxPoint temp5 ;
16847 wxSize temp6 ;
16848 bool temp7 = false ;
16849 PyObject * obj0 = 0 ;
16850 PyObject * obj1 = 0 ;
16851 PyObject * obj2 = 0 ;
16852 PyObject * obj3 = 0 ;
16853 PyObject * obj4 = 0 ;
16854 PyObject * obj5 = 0 ;
16855 PyObject * obj6 = 0 ;
16856 char * kwnames[] = {
16857 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16858 };
16859
16860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16862 if (!SWIG_IsOK(res1)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16864 }
16865 arg1 = reinterpret_cast< wxWindow * >(argp1);
16866 if (obj1) {
16867 {
16868 arg2 = wxString_in_helper(obj1);
16869 if (arg2 == NULL) SWIG_fail;
16870 temp2 = true;
16871 }
16872 }
16873 if (obj2) {
16874 {
16875 arg3 = wxString_in_helper(obj2);
16876 if (arg3 == NULL) SWIG_fail;
16877 temp3 = true;
16878 }
16879 }
16880 if (obj3) {
16881 ecode4 = SWIG_AsVal_long(obj3, &val4);
16882 if (!SWIG_IsOK(ecode4)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16884 }
16885 arg4 = static_cast< long >(val4);
16886 }
16887 if (obj4) {
16888 {
16889 arg5 = &temp5;
16890 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16891 }
16892 }
16893 if (obj5) {
16894 {
16895 arg6 = &temp6;
16896 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16897 }
16898 }
16899 if (obj6) {
16900 {
16901 arg7 = wxString_in_helper(obj6);
16902 if (arg7 == NULL) SWIG_fail;
16903 temp7 = true;
16904 }
16905 }
16906 {
16907 if (!wxPyCheckForApp()) SWIG_fail;
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16914 {
16915 if (temp2)
16916 delete arg2;
16917 }
16918 {
16919 if (temp3)
16920 delete arg3;
16921 }
16922 {
16923 if (temp7)
16924 delete arg7;
16925 }
16926 return resultobj;
16927 fail:
16928 {
16929 if (temp2)
16930 delete arg2;
16931 }
16932 {
16933 if (temp3)
16934 delete arg3;
16935 }
16936 {
16937 if (temp7)
16938 delete arg7;
16939 }
16940 return NULL;
16941 }
16942
16943
16944 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16945 PyObject *resultobj = 0;
16946 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16947 wxString result;
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 PyObject *swig_obj[1] ;
16951
16952 if (!args) SWIG_fail;
16953 swig_obj[0] = args;
16954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16957 }
16958 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 result = (arg1)->GetPath();
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 {
16966 #if wxUSE_UNICODE
16967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16968 #else
16969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16970 #endif
16971 }
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16979 PyObject *resultobj = 0;
16980 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16981 wxString result;
16982 void *argp1 = 0 ;
16983 int res1 = 0 ;
16984 PyObject *swig_obj[1] ;
16985
16986 if (!args) SWIG_fail;
16987 swig_obj[0] = args;
16988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16989 if (!SWIG_IsOK(res1)) {
16990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16991 }
16992 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (arg1)->GetMessage();
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 {
17000 #if wxUSE_UNICODE
17001 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17002 #else
17003 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17004 #endif
17005 }
17006 return resultobj;
17007 fail:
17008 return NULL;
17009 }
17010
17011
17012 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj = 0;
17014 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17015 wxString *arg2 = 0 ;
17016 void *argp1 = 0 ;
17017 int res1 = 0 ;
17018 bool temp2 = false ;
17019 PyObject * obj0 = 0 ;
17020 PyObject * obj1 = 0 ;
17021 char * kwnames[] = {
17022 (char *) "self",(char *) "message", NULL
17023 };
17024
17025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17027 if (!SWIG_IsOK(res1)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17029 }
17030 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17031 {
17032 arg2 = wxString_in_helper(obj1);
17033 if (arg2 == NULL) SWIG_fail;
17034 temp2 = true;
17035 }
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 (arg1)->SetMessage((wxString const &)*arg2);
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 resultobj = SWIG_Py_Void();
17043 {
17044 if (temp2)
17045 delete arg2;
17046 }
17047 return resultobj;
17048 fail:
17049 {
17050 if (temp2)
17051 delete arg2;
17052 }
17053 return NULL;
17054 }
17055
17056
17057 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj = 0;
17059 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17060 wxString *arg2 = 0 ;
17061 void *argp1 = 0 ;
17062 int res1 = 0 ;
17063 bool temp2 = false ;
17064 PyObject * obj0 = 0 ;
17065 PyObject * obj1 = 0 ;
17066 char * kwnames[] = {
17067 (char *) "self",(char *) "path", NULL
17068 };
17069
17070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17072 if (!SWIG_IsOK(res1)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17074 }
17075 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17076 {
17077 arg2 = wxString_in_helper(obj1);
17078 if (arg2 == NULL) SWIG_fail;
17079 temp2 = true;
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetPath((wxString const &)*arg2);
17084 wxPyEndAllowThreads(__tstate);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
17087 resultobj = SWIG_Py_Void();
17088 {
17089 if (temp2)
17090 delete arg2;
17091 }
17092 return resultobj;
17093 fail:
17094 {
17095 if (temp2)
17096 delete arg2;
17097 }
17098 return NULL;
17099 }
17100
17101
17102 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17103 PyObject *obj;
17104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17105 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17106 return SWIG_Py_Void();
17107 }
17108
17109 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17110 return SWIG_Python_InitShadowInstance(args);
17111 }
17112
17113 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj = 0;
17115 wxWindow *arg1 = (wxWindow *) 0 ;
17116 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17117 wxString *arg2 = (wxString *) &arg2_defvalue ;
17118 wxString const &arg3_defvalue = wxPyEmptyString ;
17119 wxString *arg3 = (wxString *) &arg3_defvalue ;
17120 wxString const &arg4_defvalue = wxPyEmptyString ;
17121 wxString *arg4 = (wxString *) &arg4_defvalue ;
17122 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17123 wxString *arg5 = (wxString *) &arg5_defvalue ;
17124 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17125 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17126 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17127 wxFileDialog *result = 0 ;
17128 void *argp1 = 0 ;
17129 int res1 = 0 ;
17130 bool temp2 = false ;
17131 bool temp3 = false ;
17132 bool temp4 = false ;
17133 bool temp5 = false ;
17134 long val6 ;
17135 int ecode6 = 0 ;
17136 wxPoint temp7 ;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 PyObject * obj3 = 0 ;
17141 PyObject * obj4 = 0 ;
17142 PyObject * obj5 = 0 ;
17143 PyObject * obj6 = 0 ;
17144 char * kwnames[] = {
17145 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17146 };
17147
17148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17150 if (!SWIG_IsOK(res1)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17152 }
17153 arg1 = reinterpret_cast< wxWindow * >(argp1);
17154 if (obj1) {
17155 {
17156 arg2 = wxString_in_helper(obj1);
17157 if (arg2 == NULL) SWIG_fail;
17158 temp2 = true;
17159 }
17160 }
17161 if (obj2) {
17162 {
17163 arg3 = wxString_in_helper(obj2);
17164 if (arg3 == NULL) SWIG_fail;
17165 temp3 = true;
17166 }
17167 }
17168 if (obj3) {
17169 {
17170 arg4 = wxString_in_helper(obj3);
17171 if (arg4 == NULL) SWIG_fail;
17172 temp4 = true;
17173 }
17174 }
17175 if (obj4) {
17176 {
17177 arg5 = wxString_in_helper(obj4);
17178 if (arg5 == NULL) SWIG_fail;
17179 temp5 = true;
17180 }
17181 }
17182 if (obj5) {
17183 ecode6 = SWIG_AsVal_long(obj5, &val6);
17184 if (!SWIG_IsOK(ecode6)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17186 }
17187 arg6 = static_cast< long >(val6);
17188 }
17189 if (obj6) {
17190 {
17191 arg7 = &temp7;
17192 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17193 }
17194 }
17195 {
17196 if (!wxPyCheckForApp()) SWIG_fail;
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17203 {
17204 if (temp2)
17205 delete arg2;
17206 }
17207 {
17208 if (temp3)
17209 delete arg3;
17210 }
17211 {
17212 if (temp4)
17213 delete arg4;
17214 }
17215 {
17216 if (temp5)
17217 delete arg5;
17218 }
17219 return resultobj;
17220 fail:
17221 {
17222 if (temp2)
17223 delete arg2;
17224 }
17225 {
17226 if (temp3)
17227 delete arg3;
17228 }
17229 {
17230 if (temp4)
17231 delete arg4;
17232 }
17233 {
17234 if (temp5)
17235 delete arg5;
17236 }
17237 return NULL;
17238 }
17239
17240
17241 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj = 0;
17243 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17244 wxString *arg2 = 0 ;
17245 void *argp1 = 0 ;
17246 int res1 = 0 ;
17247 bool temp2 = false ;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 char * kwnames[] = {
17251 (char *) "self",(char *) "message", NULL
17252 };
17253
17254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17256 if (!SWIG_IsOK(res1)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17258 }
17259 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17260 {
17261 arg2 = wxString_in_helper(obj1);
17262 if (arg2 == NULL) SWIG_fail;
17263 temp2 = true;
17264 }
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 (arg1)->SetMessage((wxString const &)*arg2);
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 resultobj = SWIG_Py_Void();
17272 {
17273 if (temp2)
17274 delete arg2;
17275 }
17276 return resultobj;
17277 fail:
17278 {
17279 if (temp2)
17280 delete arg2;
17281 }
17282 return NULL;
17283 }
17284
17285
17286 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj = 0;
17288 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17289 wxString *arg2 = 0 ;
17290 void *argp1 = 0 ;
17291 int res1 = 0 ;
17292 bool temp2 = false ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 char * kwnames[] = {
17296 (char *) "self",(char *) "path", NULL
17297 };
17298
17299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17301 if (!SWIG_IsOK(res1)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17303 }
17304 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17305 {
17306 arg2 = wxString_in_helper(obj1);
17307 if (arg2 == NULL) SWIG_fail;
17308 temp2 = true;
17309 }
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 (arg1)->SetPath((wxString const &)*arg2);
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 resultobj = SWIG_Py_Void();
17317 {
17318 if (temp2)
17319 delete arg2;
17320 }
17321 return resultobj;
17322 fail:
17323 {
17324 if (temp2)
17325 delete arg2;
17326 }
17327 return NULL;
17328 }
17329
17330
17331 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj = 0;
17333 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17334 wxString *arg2 = 0 ;
17335 void *argp1 = 0 ;
17336 int res1 = 0 ;
17337 bool temp2 = false ;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char * kwnames[] = {
17341 (char *) "self",(char *) "dir", NULL
17342 };
17343
17344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17346 if (!SWIG_IsOK(res1)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17348 }
17349 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17350 {
17351 arg2 = wxString_in_helper(obj1);
17352 if (arg2 == NULL) SWIG_fail;
17353 temp2 = true;
17354 }
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetDirectory((wxString const &)*arg2);
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 resultobj = SWIG_Py_Void();
17362 {
17363 if (temp2)
17364 delete arg2;
17365 }
17366 return resultobj;
17367 fail:
17368 {
17369 if (temp2)
17370 delete arg2;
17371 }
17372 return NULL;
17373 }
17374
17375
17376 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj = 0;
17378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17379 wxString *arg2 = 0 ;
17380 void *argp1 = 0 ;
17381 int res1 = 0 ;
17382 bool temp2 = false ;
17383 PyObject * obj0 = 0 ;
17384 PyObject * obj1 = 0 ;
17385 char * kwnames[] = {
17386 (char *) "self",(char *) "name", NULL
17387 };
17388
17389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17391 if (!SWIG_IsOK(res1)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17393 }
17394 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17395 {
17396 arg2 = wxString_in_helper(obj1);
17397 if (arg2 == NULL) SWIG_fail;
17398 temp2 = true;
17399 }
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->SetFilename((wxString const &)*arg2);
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 resultobj = SWIG_Py_Void();
17407 {
17408 if (temp2)
17409 delete arg2;
17410 }
17411 return resultobj;
17412 fail:
17413 {
17414 if (temp2)
17415 delete arg2;
17416 }
17417 return NULL;
17418 }
17419
17420
17421 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj = 0;
17423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17424 wxString *arg2 = 0 ;
17425 void *argp1 = 0 ;
17426 int res1 = 0 ;
17427 bool temp2 = false ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char * kwnames[] = {
17431 (char *) "self",(char *) "wildCard", NULL
17432 };
17433
17434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17436 if (!SWIG_IsOK(res1)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17438 }
17439 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17440 {
17441 arg2 = wxString_in_helper(obj1);
17442 if (arg2 == NULL) SWIG_fail;
17443 temp2 = true;
17444 }
17445 {
17446 PyThreadState* __tstate = wxPyBeginAllowThreads();
17447 (arg1)->SetWildcard((wxString const &)*arg2);
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 resultobj = SWIG_Py_Void();
17452 {
17453 if (temp2)
17454 delete arg2;
17455 }
17456 return resultobj;
17457 fail:
17458 {
17459 if (temp2)
17460 delete arg2;
17461 }
17462 return NULL;
17463 }
17464
17465
17466 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj = 0;
17468 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17469 int arg2 ;
17470 void *argp1 = 0 ;
17471 int res1 = 0 ;
17472 int val2 ;
17473 int ecode2 = 0 ;
17474 PyObject * obj0 = 0 ;
17475 PyObject * obj1 = 0 ;
17476 char * kwnames[] = {
17477 (char *) "self",(char *) "filterIndex", NULL
17478 };
17479
17480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17482 if (!SWIG_IsOK(res1)) {
17483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17484 }
17485 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17486 ecode2 = SWIG_AsVal_int(obj1, &val2);
17487 if (!SWIG_IsOK(ecode2)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17489 }
17490 arg2 = static_cast< int >(val2);
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 (arg1)->SetFilterIndex(arg2);
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 resultobj = SWIG_Py_Void();
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17505 PyObject *resultobj = 0;
17506 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17507 wxString result;
17508 void *argp1 = 0 ;
17509 int res1 = 0 ;
17510 PyObject *swig_obj[1] ;
17511
17512 if (!args) SWIG_fail;
17513 swig_obj[0] = args;
17514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17517 }
17518 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = ((wxFileDialog const *)arg1)->GetMessage();
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 {
17526 #if wxUSE_UNICODE
17527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17528 #else
17529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17530 #endif
17531 }
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17539 PyObject *resultobj = 0;
17540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17541 wxString result;
17542 void *argp1 = 0 ;
17543 int res1 = 0 ;
17544 PyObject *swig_obj[1] ;
17545
17546 if (!args) SWIG_fail;
17547 swig_obj[0] = args;
17548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17549 if (!SWIG_IsOK(res1)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17551 }
17552 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = ((wxFileDialog const *)arg1)->GetPath();
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 {
17560 #if wxUSE_UNICODE
17561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17562 #else
17563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17564 #endif
17565 }
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17573 PyObject *resultobj = 0;
17574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17575 wxString result;
17576 void *argp1 = 0 ;
17577 int res1 = 0 ;
17578 PyObject *swig_obj[1] ;
17579
17580 if (!args) SWIG_fail;
17581 swig_obj[0] = args;
17582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17583 if (!SWIG_IsOK(res1)) {
17584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17585 }
17586 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 result = ((wxFileDialog const *)arg1)->GetDirectory();
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 {
17594 #if wxUSE_UNICODE
17595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17596 #else
17597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17598 #endif
17599 }
17600 return resultobj;
17601 fail:
17602 return NULL;
17603 }
17604
17605
17606 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17607 PyObject *resultobj = 0;
17608 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17609 wxString result;
17610 void *argp1 = 0 ;
17611 int res1 = 0 ;
17612 PyObject *swig_obj[1] ;
17613
17614 if (!args) SWIG_fail;
17615 swig_obj[0] = args;
17616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17617 if (!SWIG_IsOK(res1)) {
17618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17619 }
17620 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = ((wxFileDialog const *)arg1)->GetFilename();
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 {
17628 #if wxUSE_UNICODE
17629 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17630 #else
17631 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17632 #endif
17633 }
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17641 PyObject *resultobj = 0;
17642 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17643 wxString result;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 PyObject *swig_obj[1] ;
17647
17648 if (!args) SWIG_fail;
17649 swig_obj[0] = args;
17650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17651 if (!SWIG_IsOK(res1)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17653 }
17654 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = ((wxFileDialog const *)arg1)->GetWildcard();
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 {
17662 #if wxUSE_UNICODE
17663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17664 #else
17665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17666 #endif
17667 }
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17675 PyObject *resultobj = 0;
17676 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17677 int result;
17678 void *argp1 = 0 ;
17679 int res1 = 0 ;
17680 PyObject *swig_obj[1] ;
17681
17682 if (!args) SWIG_fail;
17683 swig_obj[0] = args;
17684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17685 if (!SWIG_IsOK(res1)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17687 }
17688 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 resultobj = SWIG_From_int(static_cast< int >(result));
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17703 PyObject *resultobj = 0;
17704 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17705 PyObject *result = 0 ;
17706 void *argp1 = 0 ;
17707 int res1 = 0 ;
17708 PyObject *swig_obj[1] ;
17709
17710 if (!args) SWIG_fail;
17711 swig_obj[0] = args;
17712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17713 if (!SWIG_IsOK(res1)) {
17714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17715 }
17716 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = result;
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17731 PyObject *resultobj = 0;
17732 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17733 PyObject *result = 0 ;
17734 void *argp1 = 0 ;
17735 int res1 = 0 ;
17736 PyObject *swig_obj[1] ;
17737
17738 if (!args) SWIG_fail;
17739 swig_obj[0] = args;
17740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17741 if (!SWIG_IsOK(res1)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17743 }
17744 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 resultobj = result;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17759 PyObject *obj;
17760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17761 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17762 return SWIG_Py_Void();
17763 }
17764
17765 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17766 return SWIG_Python_InitShadowInstance(args);
17767 }
17768
17769 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj = 0;
17771 wxWindow *arg1 = (wxWindow *) 0 ;
17772 wxString *arg2 = 0 ;
17773 wxString *arg3 = 0 ;
17774 int arg4 = (int) 0 ;
17775 wxString *arg5 = (wxString *) NULL ;
17776 long arg6 = (long) wxCHOICEDLG_STYLE ;
17777 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17778 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17779 wxMultiChoiceDialog *result = 0 ;
17780 void *argp1 = 0 ;
17781 int res1 = 0 ;
17782 bool temp2 = false ;
17783 bool temp3 = false ;
17784 long val6 ;
17785 int ecode6 = 0 ;
17786 wxPoint temp7 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 PyObject * obj2 = 0 ;
17790 PyObject * obj3 = 0 ;
17791 PyObject * obj4 = 0 ;
17792 PyObject * obj5 = 0 ;
17793 char * kwnames[] = {
17794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17795 };
17796
17797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17799 if (!SWIG_IsOK(res1)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17801 }
17802 arg1 = reinterpret_cast< wxWindow * >(argp1);
17803 {
17804 arg2 = wxString_in_helper(obj1);
17805 if (arg2 == NULL) SWIG_fail;
17806 temp2 = true;
17807 }
17808 {
17809 arg3 = wxString_in_helper(obj2);
17810 if (arg3 == NULL) SWIG_fail;
17811 temp3 = true;
17812 }
17813 if (obj3) {
17814 {
17815 arg4 = PyList_Size(obj3);
17816 arg5 = wxString_LIST_helper(obj3);
17817 if (arg5 == NULL) SWIG_fail;
17818 }
17819 }
17820 if (obj4) {
17821 ecode6 = SWIG_AsVal_long(obj4, &val6);
17822 if (!SWIG_IsOK(ecode6)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17824 }
17825 arg6 = static_cast< long >(val6);
17826 }
17827 if (obj5) {
17828 {
17829 arg7 = &temp7;
17830 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17831 }
17832 }
17833 {
17834 if (!wxPyCheckForApp()) SWIG_fail;
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17841 {
17842 if (temp2)
17843 delete arg2;
17844 }
17845 {
17846 if (temp3)
17847 delete arg3;
17848 }
17849 {
17850 if (arg5) delete [] arg5;
17851 }
17852 return resultobj;
17853 fail:
17854 {
17855 if (temp2)
17856 delete arg2;
17857 }
17858 {
17859 if (temp3)
17860 delete arg3;
17861 }
17862 {
17863 if (arg5) delete [] arg5;
17864 }
17865 return NULL;
17866 }
17867
17868
17869 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj = 0;
17871 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17872 wxArrayInt *arg2 = 0 ;
17873 void *argp1 = 0 ;
17874 int res1 = 0 ;
17875 bool temp2 = false ;
17876 PyObject * obj0 = 0 ;
17877 PyObject * obj1 = 0 ;
17878 char * kwnames[] = {
17879 (char *) "self",(char *) "selections", NULL
17880 };
17881
17882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17884 if (!SWIG_IsOK(res1)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17886 }
17887 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17888 {
17889 if (! PySequence_Check(obj1)) {
17890 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17891 SWIG_fail;
17892 }
17893 arg2 = new wxArrayInt;
17894 temp2 = true;
17895 int i, len=PySequence_Length(obj1);
17896 for (i=0; i<len; i++) {
17897 PyObject* item = PySequence_GetItem(obj1, i);
17898 PyObject* number = PyNumber_Int(item);
17899 arg2->Add(PyInt_AS_LONG(number));
17900 Py_DECREF(item);
17901 Py_DECREF(number);
17902 }
17903 }
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 resultobj = SWIG_Py_Void();
17911 {
17912 if (temp2) delete arg2;
17913 }
17914 return resultobj;
17915 fail:
17916 {
17917 if (temp2) delete arg2;
17918 }
17919 return NULL;
17920 }
17921
17922
17923 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17924 PyObject *resultobj = 0;
17925 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17926 PyObject *result = 0 ;
17927 void *argp1 = 0 ;
17928 int res1 = 0 ;
17929 PyObject *swig_obj[1] ;
17930
17931 if (!args) SWIG_fail;
17932 swig_obj[0] = args;
17933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17934 if (!SWIG_IsOK(res1)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17936 }
17937 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 resultobj = result;
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17952 PyObject *obj;
17953 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17954 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17955 return SWIG_Py_Void();
17956 }
17957
17958 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17959 return SWIG_Python_InitShadowInstance(args);
17960 }
17961
17962 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj = 0;
17964 wxWindow *arg1 = (wxWindow *) 0 ;
17965 wxString *arg2 = 0 ;
17966 wxString *arg3 = 0 ;
17967 int arg4 ;
17968 wxString *arg5 = (wxString *) 0 ;
17969 long arg6 = (long) wxCHOICEDLG_STYLE ;
17970 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17971 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17972 wxSingleChoiceDialog *result = 0 ;
17973 void *argp1 = 0 ;
17974 int res1 = 0 ;
17975 bool temp2 = false ;
17976 bool temp3 = false ;
17977 long val6 ;
17978 int ecode6 = 0 ;
17979 wxPoint temp7 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 PyObject * obj3 = 0 ;
17984 PyObject * obj4 = 0 ;
17985 PyObject * obj5 = 0 ;
17986 char * kwnames[] = {
17987 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17988 };
17989
17990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17992 if (!SWIG_IsOK(res1)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17994 }
17995 arg1 = reinterpret_cast< wxWindow * >(argp1);
17996 {
17997 arg2 = wxString_in_helper(obj1);
17998 if (arg2 == NULL) SWIG_fail;
17999 temp2 = true;
18000 }
18001 {
18002 arg3 = wxString_in_helper(obj2);
18003 if (arg3 == NULL) SWIG_fail;
18004 temp3 = true;
18005 }
18006 {
18007 arg4 = PyList_Size(obj3);
18008 arg5 = wxString_LIST_helper(obj3);
18009 if (arg5 == NULL) SWIG_fail;
18010 }
18011 if (obj4) {
18012 ecode6 = SWIG_AsVal_long(obj4, &val6);
18013 if (!SWIG_IsOK(ecode6)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18015 }
18016 arg6 = static_cast< long >(val6);
18017 }
18018 if (obj5) {
18019 {
18020 arg7 = &temp7;
18021 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18022 }
18023 }
18024 {
18025 if (!wxPyCheckForApp()) SWIG_fail;
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18032 {
18033 if (temp2)
18034 delete arg2;
18035 }
18036 {
18037 if (temp3)
18038 delete arg3;
18039 }
18040 {
18041 if (arg5) delete [] arg5;
18042 }
18043 return resultobj;
18044 fail:
18045 {
18046 if (temp2)
18047 delete arg2;
18048 }
18049 {
18050 if (temp3)
18051 delete arg3;
18052 }
18053 {
18054 if (arg5) delete [] arg5;
18055 }
18056 return NULL;
18057 }
18058
18059
18060 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18061 PyObject *resultobj = 0;
18062 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18063 int result;
18064 void *argp1 = 0 ;
18065 int res1 = 0 ;
18066 PyObject *swig_obj[1] ;
18067
18068 if (!args) SWIG_fail;
18069 swig_obj[0] = args;
18070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18071 if (!SWIG_IsOK(res1)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18073 }
18074 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (int)(arg1)->GetSelection();
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 resultobj = SWIG_From_int(static_cast< int >(result));
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18089 PyObject *resultobj = 0;
18090 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18091 wxString result;
18092 void *argp1 = 0 ;
18093 int res1 = 0 ;
18094 PyObject *swig_obj[1] ;
18095
18096 if (!args) SWIG_fail;
18097 swig_obj[0] = args;
18098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18099 if (!SWIG_IsOK(res1)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18101 }
18102 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (arg1)->GetStringSelection();
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 #if wxUSE_UNICODE
18111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18112 #else
18113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18114 #endif
18115 }
18116 return resultobj;
18117 fail:
18118 return NULL;
18119 }
18120
18121
18122 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj = 0;
18124 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18125 int arg2 ;
18126 void *argp1 = 0 ;
18127 int res1 = 0 ;
18128 int val2 ;
18129 int ecode2 = 0 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 char * kwnames[] = {
18133 (char *) "self",(char *) "sel", NULL
18134 };
18135
18136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18138 if (!SWIG_IsOK(res1)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18140 }
18141 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18142 ecode2 = SWIG_AsVal_int(obj1, &val2);
18143 if (!SWIG_IsOK(ecode2)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18145 }
18146 arg2 = static_cast< int >(val2);
18147 {
18148 PyThreadState* __tstate = wxPyBeginAllowThreads();
18149 (arg1)->SetSelection(arg2);
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 resultobj = SWIG_Py_Void();
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18161 PyObject *obj;
18162 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18163 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18164 return SWIG_Py_Void();
18165 }
18166
18167 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18168 return SWIG_Python_InitShadowInstance(args);
18169 }
18170
18171 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj = 0;
18173 wxWindow *arg1 = (wxWindow *) 0 ;
18174 wxString *arg2 = 0 ;
18175 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18176 wxString *arg3 = (wxString *) &arg3_defvalue ;
18177 wxString const &arg4_defvalue = wxPyEmptyString ;
18178 wxString *arg4 = (wxString *) &arg4_defvalue ;
18179 long arg5 = (long) wxTextEntryDialogStyle ;
18180 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18181 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18182 wxTextEntryDialog *result = 0 ;
18183 void *argp1 = 0 ;
18184 int res1 = 0 ;
18185 bool temp2 = false ;
18186 bool temp3 = false ;
18187 bool temp4 = false ;
18188 long val5 ;
18189 int ecode5 = 0 ;
18190 wxPoint temp6 ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 PyObject * obj2 = 0 ;
18194 PyObject * obj3 = 0 ;
18195 PyObject * obj4 = 0 ;
18196 PyObject * obj5 = 0 ;
18197 char * kwnames[] = {
18198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18199 };
18200
18201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18203 if (!SWIG_IsOK(res1)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18205 }
18206 arg1 = reinterpret_cast< wxWindow * >(argp1);
18207 {
18208 arg2 = wxString_in_helper(obj1);
18209 if (arg2 == NULL) SWIG_fail;
18210 temp2 = true;
18211 }
18212 if (obj2) {
18213 {
18214 arg3 = wxString_in_helper(obj2);
18215 if (arg3 == NULL) SWIG_fail;
18216 temp3 = true;
18217 }
18218 }
18219 if (obj3) {
18220 {
18221 arg4 = wxString_in_helper(obj3);
18222 if (arg4 == NULL) SWIG_fail;
18223 temp4 = true;
18224 }
18225 }
18226 if (obj4) {
18227 ecode5 = SWIG_AsVal_long(obj4, &val5);
18228 if (!SWIG_IsOK(ecode5)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18230 }
18231 arg5 = static_cast< long >(val5);
18232 }
18233 if (obj5) {
18234 {
18235 arg6 = &temp6;
18236 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18237 }
18238 }
18239 {
18240 if (!wxPyCheckForApp()) SWIG_fail;
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18247 {
18248 if (temp2)
18249 delete arg2;
18250 }
18251 {
18252 if (temp3)
18253 delete arg3;
18254 }
18255 {
18256 if (temp4)
18257 delete arg4;
18258 }
18259 return resultobj;
18260 fail:
18261 {
18262 if (temp2)
18263 delete arg2;
18264 }
18265 {
18266 if (temp3)
18267 delete arg3;
18268 }
18269 {
18270 if (temp4)
18271 delete arg4;
18272 }
18273 return NULL;
18274 }
18275
18276
18277 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18278 PyObject *resultobj = 0;
18279 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18280 wxString result;
18281 void *argp1 = 0 ;
18282 int res1 = 0 ;
18283 PyObject *swig_obj[1] ;
18284
18285 if (!args) SWIG_fail;
18286 swig_obj[0] = args;
18287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18288 if (!SWIG_IsOK(res1)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18290 }
18291 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 result = (arg1)->GetValue();
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 {
18299 #if wxUSE_UNICODE
18300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18301 #else
18302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18303 #endif
18304 }
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj = 0;
18313 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18314 wxString *arg2 = 0 ;
18315 void *argp1 = 0 ;
18316 int res1 = 0 ;
18317 bool temp2 = false ;
18318 PyObject * obj0 = 0 ;
18319 PyObject * obj1 = 0 ;
18320 char * kwnames[] = {
18321 (char *) "self",(char *) "value", NULL
18322 };
18323
18324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18326 if (!SWIG_IsOK(res1)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18328 }
18329 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18330 {
18331 arg2 = wxString_in_helper(obj1);
18332 if (arg2 == NULL) SWIG_fail;
18333 temp2 = true;
18334 }
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 (arg1)->SetValue((wxString const &)*arg2);
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_Py_Void();
18342 {
18343 if (temp2)
18344 delete arg2;
18345 }
18346 return resultobj;
18347 fail:
18348 {
18349 if (temp2)
18350 delete arg2;
18351 }
18352 return NULL;
18353 }
18354
18355
18356 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 PyObject *obj;
18358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18360 return SWIG_Py_Void();
18361 }
18362
18363 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18364 return SWIG_Python_InitShadowInstance(args);
18365 }
18366
18367 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18368 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18369 return 1;
18370 }
18371
18372
18373 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18374 PyObject *pyobj = 0;
18375
18376 {
18377 #if wxUSE_UNICODE
18378 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18379 #else
18380 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18381 #endif
18382 }
18383 return pyobj;
18384 }
18385
18386
18387 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj = 0;
18389 wxWindow *arg1 = (wxWindow *) 0 ;
18390 wxString *arg2 = 0 ;
18391 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18392 wxString *arg3 = (wxString *) &arg3_defvalue ;
18393 wxString const &arg4_defvalue = wxPyEmptyString ;
18394 wxString *arg4 = (wxString *) &arg4_defvalue ;
18395 long arg5 = (long) wxTextEntryDialogStyle ;
18396 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18397 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18398 wxPasswordEntryDialog *result = 0 ;
18399 void *argp1 = 0 ;
18400 int res1 = 0 ;
18401 bool temp2 = false ;
18402 bool temp3 = false ;
18403 bool temp4 = false ;
18404 long val5 ;
18405 int ecode5 = 0 ;
18406 wxPoint temp6 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 PyObject * obj2 = 0 ;
18410 PyObject * obj3 = 0 ;
18411 PyObject * obj4 = 0 ;
18412 PyObject * obj5 = 0 ;
18413 char * kwnames[] = {
18414 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18415 };
18416
18417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18419 if (!SWIG_IsOK(res1)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18421 }
18422 arg1 = reinterpret_cast< wxWindow * >(argp1);
18423 {
18424 arg2 = wxString_in_helper(obj1);
18425 if (arg2 == NULL) SWIG_fail;
18426 temp2 = true;
18427 }
18428 if (obj2) {
18429 {
18430 arg3 = wxString_in_helper(obj2);
18431 if (arg3 == NULL) SWIG_fail;
18432 temp3 = true;
18433 }
18434 }
18435 if (obj3) {
18436 {
18437 arg4 = wxString_in_helper(obj3);
18438 if (arg4 == NULL) SWIG_fail;
18439 temp4 = true;
18440 }
18441 }
18442 if (obj4) {
18443 ecode5 = SWIG_AsVal_long(obj4, &val5);
18444 if (!SWIG_IsOK(ecode5)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18446 }
18447 arg5 = static_cast< long >(val5);
18448 }
18449 if (obj5) {
18450 {
18451 arg6 = &temp6;
18452 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18453 }
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18462 {
18463 if (temp2)
18464 delete arg2;
18465 }
18466 {
18467 if (temp3)
18468 delete arg3;
18469 }
18470 {
18471 if (temp4)
18472 delete arg4;
18473 }
18474 return resultobj;
18475 fail:
18476 {
18477 if (temp2)
18478 delete arg2;
18479 }
18480 {
18481 if (temp3)
18482 delete arg3;
18483 }
18484 {
18485 if (temp4)
18486 delete arg4;
18487 }
18488 return NULL;
18489 }
18490
18491
18492 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18493 PyObject *obj;
18494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18496 return SWIG_Py_Void();
18497 }
18498
18499 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18500 return SWIG_Python_InitShadowInstance(args);
18501 }
18502
18503 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj = 0;
18505 wxWindow *arg1 = (wxWindow *) 0 ;
18506 wxString *arg2 = 0 ;
18507 wxString *arg3 = 0 ;
18508 wxString *arg4 = 0 ;
18509 long arg5 ;
18510 long arg6 ;
18511 long arg7 ;
18512 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18513 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18514 wxNumberEntryDialog *result = 0 ;
18515 void *argp1 = 0 ;
18516 int res1 = 0 ;
18517 bool temp2 = false ;
18518 bool temp3 = false ;
18519 bool temp4 = false ;
18520 long val5 ;
18521 int ecode5 = 0 ;
18522 long val6 ;
18523 int ecode6 = 0 ;
18524 long val7 ;
18525 int ecode7 = 0 ;
18526 wxPoint temp8 ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 PyObject * obj2 = 0 ;
18530 PyObject * obj3 = 0 ;
18531 PyObject * obj4 = 0 ;
18532 PyObject * obj5 = 0 ;
18533 PyObject * obj6 = 0 ;
18534 PyObject * obj7 = 0 ;
18535 char * kwnames[] = {
18536 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18537 };
18538
18539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18541 if (!SWIG_IsOK(res1)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18543 }
18544 arg1 = reinterpret_cast< wxWindow * >(argp1);
18545 {
18546 arg2 = wxString_in_helper(obj1);
18547 if (arg2 == NULL) SWIG_fail;
18548 temp2 = true;
18549 }
18550 {
18551 arg3 = wxString_in_helper(obj2);
18552 if (arg3 == NULL) SWIG_fail;
18553 temp3 = true;
18554 }
18555 {
18556 arg4 = wxString_in_helper(obj3);
18557 if (arg4 == NULL) SWIG_fail;
18558 temp4 = true;
18559 }
18560 ecode5 = SWIG_AsVal_long(obj4, &val5);
18561 if (!SWIG_IsOK(ecode5)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18563 }
18564 arg5 = static_cast< long >(val5);
18565 ecode6 = SWIG_AsVal_long(obj5, &val6);
18566 if (!SWIG_IsOK(ecode6)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18568 }
18569 arg6 = static_cast< long >(val6);
18570 ecode7 = SWIG_AsVal_long(obj6, &val7);
18571 if (!SWIG_IsOK(ecode7)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18573 }
18574 arg7 = static_cast< long >(val7);
18575 if (obj7) {
18576 {
18577 arg8 = &temp8;
18578 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18579 }
18580 }
18581 {
18582 if (!wxPyCheckForApp()) SWIG_fail;
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18589 {
18590 if (temp2)
18591 delete arg2;
18592 }
18593 {
18594 if (temp3)
18595 delete arg3;
18596 }
18597 {
18598 if (temp4)
18599 delete arg4;
18600 }
18601 return resultobj;
18602 fail:
18603 {
18604 if (temp2)
18605 delete arg2;
18606 }
18607 {
18608 if (temp3)
18609 delete arg3;
18610 }
18611 {
18612 if (temp4)
18613 delete arg4;
18614 }
18615 return NULL;
18616 }
18617
18618
18619 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18620 PyObject *resultobj = 0;
18621 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18622 long result;
18623 void *argp1 = 0 ;
18624 int res1 = 0 ;
18625 PyObject *swig_obj[1] ;
18626
18627 if (!args) SWIG_fail;
18628 swig_obj[0] = args;
18629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18630 if (!SWIG_IsOK(res1)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18632 }
18633 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (long)(arg1)->GetValue();
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_From_long(static_cast< long >(result));
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18648 PyObject *obj;
18649 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18650 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18651 return SWIG_Py_Void();
18652 }
18653
18654 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18655 return SWIG_Python_InitShadowInstance(args);
18656 }
18657
18658 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *resultobj = 0;
18660 wxFontData *result = 0 ;
18661
18662 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18663 {
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 result = (wxFontData *)new wxFontData();
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18677 PyObject *resultobj = 0;
18678 wxFontData *arg1 = (wxFontData *) 0 ;
18679 void *argp1 = 0 ;
18680 int res1 = 0 ;
18681 PyObject *swig_obj[1] ;
18682
18683 if (!args) SWIG_fail;
18684 swig_obj[0] = args;
18685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18686 if (!SWIG_IsOK(res1)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18688 }
18689 arg1 = reinterpret_cast< wxFontData * >(argp1);
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 delete arg1;
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 resultobj = SWIG_Py_Void();
18698 return resultobj;
18699 fail:
18700 return NULL;
18701 }
18702
18703
18704 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj = 0;
18706 wxFontData *arg1 = (wxFontData *) 0 ;
18707 bool arg2 ;
18708 void *argp1 = 0 ;
18709 int res1 = 0 ;
18710 bool val2 ;
18711 int ecode2 = 0 ;
18712 PyObject * obj0 = 0 ;
18713 PyObject * obj1 = 0 ;
18714 char * kwnames[] = {
18715 (char *) "self",(char *) "enable", NULL
18716 };
18717
18718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18720 if (!SWIG_IsOK(res1)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18722 }
18723 arg1 = reinterpret_cast< wxFontData * >(argp1);
18724 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18725 if (!SWIG_IsOK(ecode2)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18727 }
18728 arg2 = static_cast< bool >(val2);
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 (arg1)->EnableEffects(arg2);
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 resultobj = SWIG_Py_Void();
18736 return resultobj;
18737 fail:
18738 return NULL;
18739 }
18740
18741
18742 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18743 PyObject *resultobj = 0;
18744 wxFontData *arg1 = (wxFontData *) 0 ;
18745 bool result;
18746 void *argp1 = 0 ;
18747 int res1 = 0 ;
18748 PyObject *swig_obj[1] ;
18749
18750 if (!args) SWIG_fail;
18751 swig_obj[0] = args;
18752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18753 if (!SWIG_IsOK(res1)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18755 }
18756 arg1 = reinterpret_cast< wxFontData * >(argp1);
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (bool)(arg1)->GetAllowSymbols();
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18765 }
18766 return resultobj;
18767 fail:
18768 return NULL;
18769 }
18770
18771
18772 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18773 PyObject *resultobj = 0;
18774 wxFontData *arg1 = (wxFontData *) 0 ;
18775 wxColour result;
18776 void *argp1 = 0 ;
18777 int res1 = 0 ;
18778 PyObject *swig_obj[1] ;
18779
18780 if (!args) SWIG_fail;
18781 swig_obj[0] = args;
18782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18783 if (!SWIG_IsOK(res1)) {
18784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18785 }
18786 arg1 = reinterpret_cast< wxFontData * >(argp1);
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (arg1)->GetColour();
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18794 return resultobj;
18795 fail:
18796 return NULL;
18797 }
18798
18799
18800 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18801 PyObject *resultobj = 0;
18802 wxFontData *arg1 = (wxFontData *) 0 ;
18803 wxFont result;
18804 void *argp1 = 0 ;
18805 int res1 = 0 ;
18806 PyObject *swig_obj[1] ;
18807
18808 if (!args) SWIG_fail;
18809 swig_obj[0] = args;
18810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18811 if (!SWIG_IsOK(res1)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18813 }
18814 arg1 = reinterpret_cast< wxFontData * >(argp1);
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (arg1)->GetChosenFont();
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18829 PyObject *resultobj = 0;
18830 wxFontData *arg1 = (wxFontData *) 0 ;
18831 bool result;
18832 void *argp1 = 0 ;
18833 int res1 = 0 ;
18834 PyObject *swig_obj[1] ;
18835
18836 if (!args) SWIG_fail;
18837 swig_obj[0] = args;
18838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18839 if (!SWIG_IsOK(res1)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18841 }
18842 arg1 = reinterpret_cast< wxFontData * >(argp1);
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 result = (bool)(arg1)->GetEnableEffects();
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18851 }
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18859 PyObject *resultobj = 0;
18860 wxFontData *arg1 = (wxFontData *) 0 ;
18861 wxFont result;
18862 void *argp1 = 0 ;
18863 int res1 = 0 ;
18864 PyObject *swig_obj[1] ;
18865
18866 if (!args) SWIG_fail;
18867 swig_obj[0] = args;
18868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18869 if (!SWIG_IsOK(res1)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18871 }
18872 arg1 = reinterpret_cast< wxFontData * >(argp1);
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 result = (arg1)->GetInitialFont();
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18887 PyObject *resultobj = 0;
18888 wxFontData *arg1 = (wxFontData *) 0 ;
18889 bool result;
18890 void *argp1 = 0 ;
18891 int res1 = 0 ;
18892 PyObject *swig_obj[1] ;
18893
18894 if (!args) SWIG_fail;
18895 swig_obj[0] = args;
18896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18897 if (!SWIG_IsOK(res1)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18899 }
18900 arg1 = reinterpret_cast< wxFontData * >(argp1);
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = (bool)(arg1)->GetShowHelp();
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 {
18908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18909 }
18910 return resultobj;
18911 fail:
18912 return NULL;
18913 }
18914
18915
18916 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj = 0;
18918 wxFontData *arg1 = (wxFontData *) 0 ;
18919 bool arg2 ;
18920 void *argp1 = 0 ;
18921 int res1 = 0 ;
18922 bool val2 ;
18923 int ecode2 = 0 ;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char * kwnames[] = {
18927 (char *) "self",(char *) "allowSymbols", NULL
18928 };
18929
18930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18934 }
18935 arg1 = reinterpret_cast< wxFontData * >(argp1);
18936 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18937 if (!SWIG_IsOK(ecode2)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18939 }
18940 arg2 = static_cast< bool >(val2);
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetAllowSymbols(arg2);
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 resultobj = SWIG_Py_Void();
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj = 0;
18956 wxFontData *arg1 = (wxFontData *) 0 ;
18957 wxFont *arg2 = 0 ;
18958 void *argp1 = 0 ;
18959 int res1 = 0 ;
18960 void *argp2 = 0 ;
18961 int res2 = 0 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "self",(char *) "font", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18970 if (!SWIG_IsOK(res1)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18972 }
18973 arg1 = reinterpret_cast< wxFontData * >(argp1);
18974 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18975 if (!SWIG_IsOK(res2)) {
18976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18977 }
18978 if (!argp2) {
18979 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18980 }
18981 arg2 = reinterpret_cast< wxFont * >(argp2);
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 (arg1)->SetChosenFont((wxFont const &)*arg2);
18985 wxPyEndAllowThreads(__tstate);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
18988 resultobj = SWIG_Py_Void();
18989 return resultobj;
18990 fail:
18991 return NULL;
18992 }
18993
18994
18995 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj = 0;
18997 wxFontData *arg1 = (wxFontData *) 0 ;
18998 wxColour *arg2 = 0 ;
18999 void *argp1 = 0 ;
19000 int res1 = 0 ;
19001 wxColour temp2 ;
19002 PyObject * obj0 = 0 ;
19003 PyObject * obj1 = 0 ;
19004 char * kwnames[] = {
19005 (char *) "self",(char *) "colour", NULL
19006 };
19007
19008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19010 if (!SWIG_IsOK(res1)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19012 }
19013 arg1 = reinterpret_cast< wxFontData * >(argp1);
19014 {
19015 arg2 = &temp2;
19016 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19017 }
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 (arg1)->SetColour((wxColour const &)*arg2);
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 resultobj = SWIG_Py_Void();
19025 return resultobj;
19026 fail:
19027 return NULL;
19028 }
19029
19030
19031 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19032 PyObject *resultobj = 0;
19033 wxFontData *arg1 = (wxFontData *) 0 ;
19034 wxFont *arg2 = 0 ;
19035 void *argp1 = 0 ;
19036 int res1 = 0 ;
19037 void *argp2 = 0 ;
19038 int res2 = 0 ;
19039 PyObject * obj0 = 0 ;
19040 PyObject * obj1 = 0 ;
19041 char * kwnames[] = {
19042 (char *) "self",(char *) "font", NULL
19043 };
19044
19045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19047 if (!SWIG_IsOK(res1)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19049 }
19050 arg1 = reinterpret_cast< wxFontData * >(argp1);
19051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19052 if (!SWIG_IsOK(res2)) {
19053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19054 }
19055 if (!argp2) {
19056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19057 }
19058 arg2 = reinterpret_cast< wxFont * >(argp2);
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->SetInitialFont((wxFont const &)*arg2);
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 resultobj = SWIG_Py_Void();
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj = 0;
19074 wxFontData *arg1 = (wxFontData *) 0 ;
19075 int arg2 ;
19076 int arg3 ;
19077 void *argp1 = 0 ;
19078 int res1 = 0 ;
19079 int val2 ;
19080 int ecode2 = 0 ;
19081 int val3 ;
19082 int ecode3 = 0 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 PyObject * obj2 = 0 ;
19086 char * kwnames[] = {
19087 (char *) "self",(char *) "min",(char *) "max", NULL
19088 };
19089
19090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19092 if (!SWIG_IsOK(res1)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19094 }
19095 arg1 = reinterpret_cast< wxFontData * >(argp1);
19096 ecode2 = SWIG_AsVal_int(obj1, &val2);
19097 if (!SWIG_IsOK(ecode2)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19099 }
19100 arg2 = static_cast< int >(val2);
19101 ecode3 = SWIG_AsVal_int(obj2, &val3);
19102 if (!SWIG_IsOK(ecode3)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19104 }
19105 arg3 = static_cast< int >(val3);
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 (arg1)->SetRange(arg2,arg3);
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 resultobj = SWIG_Py_Void();
19113 return resultobj;
19114 fail:
19115 return NULL;
19116 }
19117
19118
19119 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj = 0;
19121 wxFontData *arg1 = (wxFontData *) 0 ;
19122 bool arg2 ;
19123 void *argp1 = 0 ;
19124 int res1 = 0 ;
19125 bool val2 ;
19126 int ecode2 = 0 ;
19127 PyObject * obj0 = 0 ;
19128 PyObject * obj1 = 0 ;
19129 char * kwnames[] = {
19130 (char *) "self",(char *) "showHelp", NULL
19131 };
19132
19133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19135 if (!SWIG_IsOK(res1)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19137 }
19138 arg1 = reinterpret_cast< wxFontData * >(argp1);
19139 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19140 if (!SWIG_IsOK(ecode2)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19142 }
19143 arg2 = static_cast< bool >(val2);
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 (arg1)->SetShowHelp(arg2);
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 resultobj = SWIG_Py_Void();
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19158 PyObject *obj;
19159 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19160 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19161 return SWIG_Py_Void();
19162 }
19163
19164 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19165 return SWIG_Python_InitShadowInstance(args);
19166 }
19167
19168 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj = 0;
19170 wxWindow *arg1 = (wxWindow *) 0 ;
19171 wxFontData *arg2 = 0 ;
19172 wxFontDialog *result = 0 ;
19173 void *argp1 = 0 ;
19174 int res1 = 0 ;
19175 void *argp2 = 0 ;
19176 int res2 = 0 ;
19177 PyObject * obj0 = 0 ;
19178 PyObject * obj1 = 0 ;
19179 char * kwnames[] = {
19180 (char *) "parent",(char *) "data", NULL
19181 };
19182
19183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19185 if (!SWIG_IsOK(res1)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19187 }
19188 arg1 = reinterpret_cast< wxWindow * >(argp1);
19189 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19190 if (!SWIG_IsOK(res2)) {
19191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19192 }
19193 if (!argp2) {
19194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19195 }
19196 arg2 = reinterpret_cast< wxFontData * >(argp2);
19197 {
19198 if (!wxPyCheckForApp()) SWIG_fail;
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19205 return resultobj;
19206 fail:
19207 return NULL;
19208 }
19209
19210
19211 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19212 PyObject *resultobj = 0;
19213 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19214 wxFontData *result = 0 ;
19215 void *argp1 = 0 ;
19216 int res1 = 0 ;
19217 PyObject *swig_obj[1] ;
19218
19219 if (!args) SWIG_fail;
19220 swig_obj[0] = args;
19221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19222 if (!SWIG_IsOK(res1)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19224 }
19225 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 {
19229 wxFontData &_result_ref = (arg1)->GetFontData();
19230 result = (wxFontData *) &_result_ref;
19231 }
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19243 PyObject *obj;
19244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19245 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19246 return SWIG_Py_Void();
19247 }
19248
19249 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19250 return SWIG_Python_InitShadowInstance(args);
19251 }
19252
19253 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj = 0;
19255 wxWindow *arg1 = (wxWindow *) NULL ;
19256 wxFont const &arg2_defvalue = wxNullFont ;
19257 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19258 wxString const &arg3_defvalue = wxPyEmptyString ;
19259 wxString *arg3 = (wxString *) &arg3_defvalue ;
19260 wxFont result;
19261 void *argp1 = 0 ;
19262 int res1 = 0 ;
19263 void *argp2 = 0 ;
19264 int res2 = 0 ;
19265 bool temp3 = false ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 PyObject * obj2 = 0 ;
19269 char * kwnames[] = {
19270 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19271 };
19272
19273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19274 if (obj0) {
19275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19276 if (!SWIG_IsOK(res1)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19278 }
19279 arg1 = reinterpret_cast< wxWindow * >(argp1);
19280 }
19281 if (obj1) {
19282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19283 if (!SWIG_IsOK(res2)) {
19284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19285 }
19286 if (!argp2) {
19287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19288 }
19289 arg2 = reinterpret_cast< wxFont * >(argp2);
19290 }
19291 if (obj2) {
19292 {
19293 arg3 = wxString_in_helper(obj2);
19294 if (arg3 == NULL) SWIG_fail;
19295 temp3 = true;
19296 }
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19305 {
19306 if (temp3)
19307 delete arg3;
19308 }
19309 return resultobj;
19310 fail:
19311 {
19312 if (temp3)
19313 delete arg3;
19314 }
19315 return NULL;
19316 }
19317
19318
19319 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj = 0;
19321 wxWindow *arg1 = (wxWindow *) 0 ;
19322 wxString *arg2 = 0 ;
19323 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19324 wxString *arg3 = (wxString *) &arg3_defvalue ;
19325 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19328 wxMessageDialog *result = 0 ;
19329 void *argp1 = 0 ;
19330 int res1 = 0 ;
19331 bool temp2 = false ;
19332 bool temp3 = false ;
19333 long val4 ;
19334 int ecode4 = 0 ;
19335 wxPoint temp5 ;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 PyObject * obj2 = 0 ;
19339 PyObject * obj3 = 0 ;
19340 PyObject * obj4 = 0 ;
19341 char * kwnames[] = {
19342 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19343 };
19344
19345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19347 if (!SWIG_IsOK(res1)) {
19348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19349 }
19350 arg1 = reinterpret_cast< wxWindow * >(argp1);
19351 {
19352 arg2 = wxString_in_helper(obj1);
19353 if (arg2 == NULL) SWIG_fail;
19354 temp2 = true;
19355 }
19356 if (obj2) {
19357 {
19358 arg3 = wxString_in_helper(obj2);
19359 if (arg3 == NULL) SWIG_fail;
19360 temp3 = true;
19361 }
19362 }
19363 if (obj3) {
19364 ecode4 = SWIG_AsVal_long(obj3, &val4);
19365 if (!SWIG_IsOK(ecode4)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19367 }
19368 arg4 = static_cast< long >(val4);
19369 }
19370 if (obj4) {
19371 {
19372 arg5 = &temp5;
19373 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19374 }
19375 }
19376 {
19377 if (!wxPyCheckForApp()) SWIG_fail;
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19384 {
19385 if (temp2)
19386 delete arg2;
19387 }
19388 {
19389 if (temp3)
19390 delete arg3;
19391 }
19392 return resultobj;
19393 fail:
19394 {
19395 if (temp2)
19396 delete arg2;
19397 }
19398 {
19399 if (temp3)
19400 delete arg3;
19401 }
19402 return NULL;
19403 }
19404
19405
19406 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19407 PyObject *obj;
19408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19409 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19410 return SWIG_Py_Void();
19411 }
19412
19413 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19414 return SWIG_Python_InitShadowInstance(args);
19415 }
19416
19417 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj = 0;
19419 wxString *arg1 = 0 ;
19420 wxString *arg2 = 0 ;
19421 int arg3 = (int) 100 ;
19422 wxWindow *arg4 = (wxWindow *) NULL ;
19423 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19424 wxProgressDialog *result = 0 ;
19425 bool temp1 = false ;
19426 bool temp2 = false ;
19427 int val3 ;
19428 int ecode3 = 0 ;
19429 void *argp4 = 0 ;
19430 int res4 = 0 ;
19431 int val5 ;
19432 int ecode5 = 0 ;
19433 PyObject * obj0 = 0 ;
19434 PyObject * obj1 = 0 ;
19435 PyObject * obj2 = 0 ;
19436 PyObject * obj3 = 0 ;
19437 PyObject * obj4 = 0 ;
19438 char * kwnames[] = {
19439 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19440 };
19441
19442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19443 {
19444 arg1 = wxString_in_helper(obj0);
19445 if (arg1 == NULL) SWIG_fail;
19446 temp1 = true;
19447 }
19448 {
19449 arg2 = wxString_in_helper(obj1);
19450 if (arg2 == NULL) SWIG_fail;
19451 temp2 = true;
19452 }
19453 if (obj2) {
19454 ecode3 = SWIG_AsVal_int(obj2, &val3);
19455 if (!SWIG_IsOK(ecode3)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19457 }
19458 arg3 = static_cast< int >(val3);
19459 }
19460 if (obj3) {
19461 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19462 if (!SWIG_IsOK(res4)) {
19463 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19464 }
19465 arg4 = reinterpret_cast< wxWindow * >(argp4);
19466 }
19467 if (obj4) {
19468 ecode5 = SWIG_AsVal_int(obj4, &val5);
19469 if (!SWIG_IsOK(ecode5)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19471 }
19472 arg5 = static_cast< int >(val5);
19473 }
19474 {
19475 if (!wxPyCheckForApp()) SWIG_fail;
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19482 {
19483 if (temp1)
19484 delete arg1;
19485 }
19486 {
19487 if (temp2)
19488 delete arg2;
19489 }
19490 return resultobj;
19491 fail:
19492 {
19493 if (temp1)
19494 delete arg1;
19495 }
19496 {
19497 if (temp2)
19498 delete arg2;
19499 }
19500 return NULL;
19501 }
19502
19503
19504 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj = 0;
19506 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19507 int arg2 ;
19508 wxString const &arg3_defvalue = wxPyEmptyString ;
19509 wxString *arg3 = (wxString *) &arg3_defvalue ;
19510 bool *arg4 = (bool *) 0 ;
19511 bool result;
19512 void *argp1 = 0 ;
19513 int res1 = 0 ;
19514 int val2 ;
19515 int ecode2 = 0 ;
19516 bool temp3 = false ;
19517 bool temp4 ;
19518 int res4 = SWIG_TMPOBJ ;
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
19521 PyObject * obj2 = 0 ;
19522 char * kwnames[] = {
19523 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19524 };
19525
19526 arg4 = &temp4;
19527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19529 if (!SWIG_IsOK(res1)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19531 }
19532 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19533 ecode2 = SWIG_AsVal_int(obj1, &val2);
19534 if (!SWIG_IsOK(ecode2)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19536 }
19537 arg2 = static_cast< int >(val2);
19538 if (obj2) {
19539 {
19540 arg3 = wxString_in_helper(obj2);
19541 if (arg3 == NULL) SWIG_fail;
19542 temp3 = true;
19543 }
19544 }
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 {
19552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19553 }
19554 if (SWIG_IsTmpObj(res4)) {
19555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19556 } else {
19557 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19559 }
19560 {
19561 if (temp3)
19562 delete arg3;
19563 }
19564 return resultobj;
19565 fail:
19566 {
19567 if (temp3)
19568 delete arg3;
19569 }
19570 return NULL;
19571 }
19572
19573
19574 SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj = 0;
19576 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19577 wxString const &arg2_defvalue = wxPyEmptyString ;
19578 wxString *arg2 = (wxString *) &arg2_defvalue ;
19579 bool *arg3 = (bool *) 0 ;
19580 bool result;
19581 void *argp1 = 0 ;
19582 int res1 = 0 ;
19583 bool temp2 = false ;
19584 bool temp3 ;
19585 int res3 = SWIG_TMPOBJ ;
19586 PyObject * obj0 = 0 ;
19587 PyObject * obj1 = 0 ;
19588 char * kwnames[] = {
19589 (char *) "self",(char *) "newmsg", NULL
19590 };
19591
19592 arg3 = &temp3;
19593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail;
19594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19595 if (!SWIG_IsOK(res1)) {
19596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19597 }
19598 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19599 if (obj1) {
19600 {
19601 arg2 = wxString_in_helper(obj1);
19602 if (arg2 == NULL) SWIG_fail;
19603 temp2 = true;
19604 }
19605 }
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3);
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 {
19613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19614 }
19615 if (SWIG_IsTmpObj(res3)) {
19616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19617 } else {
19618 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19620 }
19621 {
19622 if (temp2)
19623 delete arg2;
19624 }
19625 return resultobj;
19626 fail:
19627 {
19628 if (temp2)
19629 delete arg2;
19630 }
19631 return NULL;
19632 }
19633
19634
19635 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19636 PyObject *resultobj = 0;
19637 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19638 void *argp1 = 0 ;
19639 int res1 = 0 ;
19640 PyObject *swig_obj[1] ;
19641
19642 if (!args) SWIG_fail;
19643 swig_obj[0] = args;
19644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19645 if (!SWIG_IsOK(res1)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19647 }
19648 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 (arg1)->Resume();
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 resultobj = SWIG_Py_Void();
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19663 PyObject *obj;
19664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19665 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19666 return SWIG_Py_Void();
19667 }
19668
19669 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19670 return SWIG_Python_InitShadowInstance(args);
19671 }
19672
19673 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj = 0;
19675 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19676 int arg2 = (int) 0 ;
19677 wxFindDialogEvent *result = 0 ;
19678 int val1 ;
19679 int ecode1 = 0 ;
19680 int val2 ;
19681 int ecode2 = 0 ;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char * kwnames[] = {
19685 (char *) "commandType",(char *) "id", NULL
19686 };
19687
19688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19689 if (obj0) {
19690 ecode1 = SWIG_AsVal_int(obj0, &val1);
19691 if (!SWIG_IsOK(ecode1)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19693 }
19694 arg1 = static_cast< wxEventType >(val1);
19695 }
19696 if (obj1) {
19697 ecode2 = SWIG_AsVal_int(obj1, &val2);
19698 if (!SWIG_IsOK(ecode2)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19700 }
19701 arg2 = static_cast< int >(val2);
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19717 PyObject *resultobj = 0;
19718 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19719 int result;
19720 void *argp1 = 0 ;
19721 int res1 = 0 ;
19722 PyObject *swig_obj[1] ;
19723
19724 if (!args) SWIG_fail;
19725 swig_obj[0] = args;
19726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19727 if (!SWIG_IsOK(res1)) {
19728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19729 }
19730 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 result = (int)(arg1)->GetFlags();
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = SWIG_From_int(static_cast< int >(result));
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19745 PyObject *resultobj = 0;
19746 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19747 wxString *result = 0 ;
19748 void *argp1 = 0 ;
19749 int res1 = 0 ;
19750 PyObject *swig_obj[1] ;
19751
19752 if (!args) SWIG_fail;
19753 swig_obj[0] = args;
19754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19755 if (!SWIG_IsOK(res1)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19757 }
19758 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 {
19762 wxString const &_result_ref = (arg1)->GetFindString();
19763 result = (wxString *) &_result_ref;
19764 }
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 {
19769 #if wxUSE_UNICODE
19770 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19771 #else
19772 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19773 #endif
19774 }
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19782 PyObject *resultobj = 0;
19783 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19784 wxString *result = 0 ;
19785 void *argp1 = 0 ;
19786 int res1 = 0 ;
19787 PyObject *swig_obj[1] ;
19788
19789 if (!args) SWIG_fail;
19790 swig_obj[0] = args;
19791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19792 if (!SWIG_IsOK(res1)) {
19793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19794 }
19795 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 {
19799 wxString const &_result_ref = (arg1)->GetReplaceString();
19800 result = (wxString *) &_result_ref;
19801 }
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 {
19806 #if wxUSE_UNICODE
19807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19808 #else
19809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19810 #endif
19811 }
19812 return resultobj;
19813 fail:
19814 return NULL;
19815 }
19816
19817
19818 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19819 PyObject *resultobj = 0;
19820 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19821 wxFindReplaceDialog *result = 0 ;
19822 void *argp1 = 0 ;
19823 int res1 = 0 ;
19824 PyObject *swig_obj[1] ;
19825
19826 if (!args) SWIG_fail;
19827 swig_obj[0] = args;
19828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19829 if (!SWIG_IsOK(res1)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19831 }
19832 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj = 0;
19848 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19849 int arg2 ;
19850 void *argp1 = 0 ;
19851 int res1 = 0 ;
19852 int val2 ;
19853 int ecode2 = 0 ;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 char * kwnames[] = {
19857 (char *) "self",(char *) "flags", NULL
19858 };
19859
19860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19862 if (!SWIG_IsOK(res1)) {
19863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19864 }
19865 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19866 ecode2 = SWIG_AsVal_int(obj1, &val2);
19867 if (!SWIG_IsOK(ecode2)) {
19868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19869 }
19870 arg2 = static_cast< int >(val2);
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 (arg1)->SetFlags(arg2);
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 resultobj = SWIG_Py_Void();
19878 return resultobj;
19879 fail:
19880 return NULL;
19881 }
19882
19883
19884 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj = 0;
19886 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19887 wxString *arg2 = 0 ;
19888 void *argp1 = 0 ;
19889 int res1 = 0 ;
19890 bool temp2 = false ;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj1 = 0 ;
19893 char * kwnames[] = {
19894 (char *) "self",(char *) "str", NULL
19895 };
19896
19897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19899 if (!SWIG_IsOK(res1)) {
19900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19901 }
19902 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19903 {
19904 arg2 = wxString_in_helper(obj1);
19905 if (arg2 == NULL) SWIG_fail;
19906 temp2 = true;
19907 }
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 (arg1)->SetFindString((wxString const &)*arg2);
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 resultobj = SWIG_Py_Void();
19915 {
19916 if (temp2)
19917 delete arg2;
19918 }
19919 return resultobj;
19920 fail:
19921 {
19922 if (temp2)
19923 delete arg2;
19924 }
19925 return NULL;
19926 }
19927
19928
19929 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj = 0;
19931 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19932 wxString *arg2 = 0 ;
19933 void *argp1 = 0 ;
19934 int res1 = 0 ;
19935 bool temp2 = false ;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char * kwnames[] = {
19939 (char *) "self",(char *) "str", NULL
19940 };
19941
19942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19944 if (!SWIG_IsOK(res1)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19946 }
19947 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19948 {
19949 arg2 = wxString_in_helper(obj1);
19950 if (arg2 == NULL) SWIG_fail;
19951 temp2 = true;
19952 }
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 (arg1)->SetReplaceString((wxString const &)*arg2);
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = SWIG_Py_Void();
19960 {
19961 if (temp2)
19962 delete arg2;
19963 }
19964 return resultobj;
19965 fail:
19966 {
19967 if (temp2)
19968 delete arg2;
19969 }
19970 return NULL;
19971 }
19972
19973
19974 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19975 PyObject *obj;
19976 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19977 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19978 return SWIG_Py_Void();
19979 }
19980
19981 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19982 return SWIG_Python_InitShadowInstance(args);
19983 }
19984
19985 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj = 0;
19987 int arg1 = (int) 0 ;
19988 wxFindReplaceData *result = 0 ;
19989 int val1 ;
19990 int ecode1 = 0 ;
19991 PyObject * obj0 = 0 ;
19992 char * kwnames[] = {
19993 (char *) "flags", NULL
19994 };
19995
19996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19997 if (obj0) {
19998 ecode1 = SWIG_AsVal_int(obj0, &val1);
19999 if (!SWIG_IsOK(ecode1)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20001 }
20002 arg1 = static_cast< int >(val1);
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20018 PyObject *resultobj = 0;
20019 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20020 void *argp1 = 0 ;
20021 int res1 = 0 ;
20022 PyObject *swig_obj[1] ;
20023
20024 if (!args) SWIG_fail;
20025 swig_obj[0] = args;
20026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20027 if (!SWIG_IsOK(res1)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20029 }
20030 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 delete arg1;
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 resultobj = SWIG_Py_Void();
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20046 PyObject *resultobj = 0;
20047 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20048 wxString *result = 0 ;
20049 void *argp1 = 0 ;
20050 int res1 = 0 ;
20051 PyObject *swig_obj[1] ;
20052
20053 if (!args) SWIG_fail;
20054 swig_obj[0] = args;
20055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20056 if (!SWIG_IsOK(res1)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20058 }
20059 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 {
20063 wxString const &_result_ref = (arg1)->GetFindString();
20064 result = (wxString *) &_result_ref;
20065 }
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 {
20070 #if wxUSE_UNICODE
20071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20072 #else
20073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20074 #endif
20075 }
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20083 PyObject *resultobj = 0;
20084 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20085 wxString *result = 0 ;
20086 void *argp1 = 0 ;
20087 int res1 = 0 ;
20088 PyObject *swig_obj[1] ;
20089
20090 if (!args) SWIG_fail;
20091 swig_obj[0] = args;
20092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20093 if (!SWIG_IsOK(res1)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20095 }
20096 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 {
20100 wxString const &_result_ref = (arg1)->GetReplaceString();
20101 result = (wxString *) &_result_ref;
20102 }
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 {
20107 #if wxUSE_UNICODE
20108 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20109 #else
20110 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20111 #endif
20112 }
20113 return resultobj;
20114 fail:
20115 return NULL;
20116 }
20117
20118
20119 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20120 PyObject *resultobj = 0;
20121 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20122 int result;
20123 void *argp1 = 0 ;
20124 int res1 = 0 ;
20125 PyObject *swig_obj[1] ;
20126
20127 if (!args) SWIG_fail;
20128 swig_obj[0] = args;
20129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20130 if (!SWIG_IsOK(res1)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20132 }
20133 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (int)(arg1)->GetFlags();
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_From_int(static_cast< int >(result));
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj = 0;
20149 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20150 int arg2 ;
20151 void *argp1 = 0 ;
20152 int res1 = 0 ;
20153 int val2 ;
20154 int ecode2 = 0 ;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157 char * kwnames[] = {
20158 (char *) "self",(char *) "flags", NULL
20159 };
20160
20161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20163 if (!SWIG_IsOK(res1)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20165 }
20166 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20167 ecode2 = SWIG_AsVal_int(obj1, &val2);
20168 if (!SWIG_IsOK(ecode2)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20170 }
20171 arg2 = static_cast< int >(val2);
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 (arg1)->SetFlags(arg2);
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 resultobj = SWIG_Py_Void();
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj = 0;
20187 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20188 wxString *arg2 = 0 ;
20189 void *argp1 = 0 ;
20190 int res1 = 0 ;
20191 bool temp2 = false ;
20192 PyObject * obj0 = 0 ;
20193 PyObject * obj1 = 0 ;
20194 char * kwnames[] = {
20195 (char *) "self",(char *) "str", NULL
20196 };
20197
20198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20200 if (!SWIG_IsOK(res1)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20202 }
20203 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20204 {
20205 arg2 = wxString_in_helper(obj1);
20206 if (arg2 == NULL) SWIG_fail;
20207 temp2 = true;
20208 }
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 (arg1)->SetFindString((wxString const &)*arg2);
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 resultobj = SWIG_Py_Void();
20216 {
20217 if (temp2)
20218 delete arg2;
20219 }
20220 return resultobj;
20221 fail:
20222 {
20223 if (temp2)
20224 delete arg2;
20225 }
20226 return NULL;
20227 }
20228
20229
20230 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20231 PyObject *resultobj = 0;
20232 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20233 wxString *arg2 = 0 ;
20234 void *argp1 = 0 ;
20235 int res1 = 0 ;
20236 bool temp2 = false ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char * kwnames[] = {
20240 (char *) "self",(char *) "str", NULL
20241 };
20242
20243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20245 if (!SWIG_IsOK(res1)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20247 }
20248 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20249 {
20250 arg2 = wxString_in_helper(obj1);
20251 if (arg2 == NULL) SWIG_fail;
20252 temp2 = true;
20253 }
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->SetReplaceString((wxString const &)*arg2);
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_Py_Void();
20261 {
20262 if (temp2)
20263 delete arg2;
20264 }
20265 return resultobj;
20266 fail:
20267 {
20268 if (temp2)
20269 delete arg2;
20270 }
20271 return NULL;
20272 }
20273
20274
20275 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20276 PyObject *obj;
20277 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20278 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20279 return SWIG_Py_Void();
20280 }
20281
20282 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20283 return SWIG_Python_InitShadowInstance(args);
20284 }
20285
20286 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj = 0;
20288 wxWindow *arg1 = (wxWindow *) 0 ;
20289 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20290 wxString *arg3 = 0 ;
20291 int arg4 = (int) 0 ;
20292 wxFindReplaceDialog *result = 0 ;
20293 void *argp1 = 0 ;
20294 int res1 = 0 ;
20295 void *argp2 = 0 ;
20296 int res2 = 0 ;
20297 bool temp3 = false ;
20298 int val4 ;
20299 int ecode4 = 0 ;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 PyObject * obj2 = 0 ;
20303 PyObject * obj3 = 0 ;
20304 char * kwnames[] = {
20305 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20306 };
20307
20308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20310 if (!SWIG_IsOK(res1)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20312 }
20313 arg1 = reinterpret_cast< wxWindow * >(argp1);
20314 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20315 if (!SWIG_IsOK(res2)) {
20316 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20317 }
20318 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20319 {
20320 arg3 = wxString_in_helper(obj2);
20321 if (arg3 == NULL) SWIG_fail;
20322 temp3 = true;
20323 }
20324 if (obj3) {
20325 ecode4 = SWIG_AsVal_int(obj3, &val4);
20326 if (!SWIG_IsOK(ecode4)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20328 }
20329 arg4 = static_cast< int >(val4);
20330 }
20331 {
20332 if (!wxPyCheckForApp()) SWIG_fail;
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20339 {
20340 if (temp3)
20341 delete arg3;
20342 }
20343 return resultobj;
20344 fail:
20345 {
20346 if (temp3)
20347 delete arg3;
20348 }
20349 return NULL;
20350 }
20351
20352
20353 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20354 PyObject *resultobj = 0;
20355 wxFindReplaceDialog *result = 0 ;
20356
20357 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20358 {
20359 if (!wxPyCheckForApp()) SWIG_fail;
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj = 0;
20374 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20375 wxWindow *arg2 = (wxWindow *) 0 ;
20376 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20377 wxString *arg4 = 0 ;
20378 int arg5 = (int) 0 ;
20379 bool result;
20380 void *argp1 = 0 ;
20381 int res1 = 0 ;
20382 void *argp2 = 0 ;
20383 int res2 = 0 ;
20384 void *argp3 = 0 ;
20385 int res3 = 0 ;
20386 bool temp4 = false ;
20387 int val5 ;
20388 int ecode5 = 0 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 PyObject * obj2 = 0 ;
20392 PyObject * obj3 = 0 ;
20393 PyObject * obj4 = 0 ;
20394 char * kwnames[] = {
20395 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20396 };
20397
20398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20400 if (!SWIG_IsOK(res1)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20402 }
20403 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20405 if (!SWIG_IsOK(res2)) {
20406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20407 }
20408 arg2 = reinterpret_cast< wxWindow * >(argp2);
20409 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20410 if (!SWIG_IsOK(res3)) {
20411 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20412 }
20413 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20414 {
20415 arg4 = wxString_in_helper(obj3);
20416 if (arg4 == NULL) SWIG_fail;
20417 temp4 = true;
20418 }
20419 if (obj4) {
20420 ecode5 = SWIG_AsVal_int(obj4, &val5);
20421 if (!SWIG_IsOK(ecode5)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20423 }
20424 arg5 = static_cast< int >(val5);
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20434 }
20435 {
20436 if (temp4)
20437 delete arg4;
20438 }
20439 return resultobj;
20440 fail:
20441 {
20442 if (temp4)
20443 delete arg4;
20444 }
20445 return NULL;
20446 }
20447
20448
20449 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20450 PyObject *resultobj = 0;
20451 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20452 wxFindReplaceData *result = 0 ;
20453 void *argp1 = 0 ;
20454 int res1 = 0 ;
20455 PyObject *swig_obj[1] ;
20456
20457 if (!args) SWIG_fail;
20458 swig_obj[0] = args;
20459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20460 if (!SWIG_IsOK(res1)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20462 }
20463 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 result = (wxFindReplaceData *)(arg1)->GetData();
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj = 0;
20479 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20480 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20481 void *argp1 = 0 ;
20482 int res1 = 0 ;
20483 void *argp2 = 0 ;
20484 int res2 = 0 ;
20485 PyObject * obj0 = 0 ;
20486 PyObject * obj1 = 0 ;
20487 char * kwnames[] = {
20488 (char *) "self",(char *) "data", NULL
20489 };
20490
20491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20493 if (!SWIG_IsOK(res1)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20495 }
20496 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20498 if (!SWIG_IsOK(res2)) {
20499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20500 }
20501 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetData(arg2);
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 resultobj = SWIG_Py_Void();
20509 return resultobj;
20510 fail:
20511 return NULL;
20512 }
20513
20514
20515 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20516 PyObject *obj;
20517 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20518 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20519 return SWIG_Py_Void();
20520 }
20521
20522 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20523 return SWIG_Python_InitShadowInstance(args);
20524 }
20525
20526 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj = 0;
20528 wxWindow *arg1 = (wxWindow *) 0 ;
20529 int arg2 = (int) (int)-1 ;
20530 wxString const &arg3_defvalue = wxPyEmptyString ;
20531 wxString *arg3 = (wxString *) &arg3_defvalue ;
20532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20534 wxSize const &arg5_defvalue = wxDefaultSize ;
20535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20536 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20537 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20538 wxString *arg7 = (wxString *) &arg7_defvalue ;
20539 wxMDIParentFrame *result = 0 ;
20540 void *argp1 = 0 ;
20541 int res1 = 0 ;
20542 int val2 ;
20543 int ecode2 = 0 ;
20544 bool temp3 = false ;
20545 wxPoint temp4 ;
20546 wxSize temp5 ;
20547 long val6 ;
20548 int ecode6 = 0 ;
20549 bool temp7 = false ;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 PyObject * obj2 = 0 ;
20553 PyObject * obj3 = 0 ;
20554 PyObject * obj4 = 0 ;
20555 PyObject * obj5 = 0 ;
20556 PyObject * obj6 = 0 ;
20557 char * kwnames[] = {
20558 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20559 };
20560
20561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20563 if (!SWIG_IsOK(res1)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20565 }
20566 arg1 = reinterpret_cast< wxWindow * >(argp1);
20567 if (obj1) {
20568 ecode2 = SWIG_AsVal_int(obj1, &val2);
20569 if (!SWIG_IsOK(ecode2)) {
20570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20571 }
20572 arg2 = static_cast< int >(val2);
20573 }
20574 if (obj2) {
20575 {
20576 arg3 = wxString_in_helper(obj2);
20577 if (arg3 == NULL) SWIG_fail;
20578 temp3 = true;
20579 }
20580 }
20581 if (obj3) {
20582 {
20583 arg4 = &temp4;
20584 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20585 }
20586 }
20587 if (obj4) {
20588 {
20589 arg5 = &temp5;
20590 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20591 }
20592 }
20593 if (obj5) {
20594 ecode6 = SWIG_AsVal_long(obj5, &val6);
20595 if (!SWIG_IsOK(ecode6)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20597 }
20598 arg6 = static_cast< long >(val6);
20599 }
20600 if (obj6) {
20601 {
20602 arg7 = wxString_in_helper(obj6);
20603 if (arg7 == NULL) SWIG_fail;
20604 temp7 = true;
20605 }
20606 }
20607 {
20608 if (!wxPyCheckForApp()) SWIG_fail;
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20615 {
20616 if (temp3)
20617 delete arg3;
20618 }
20619 {
20620 if (temp7)
20621 delete arg7;
20622 }
20623 return resultobj;
20624 fail:
20625 {
20626 if (temp3)
20627 delete arg3;
20628 }
20629 {
20630 if (temp7)
20631 delete arg7;
20632 }
20633 return NULL;
20634 }
20635
20636
20637 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20638 PyObject *resultobj = 0;
20639 wxMDIParentFrame *result = 0 ;
20640
20641 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20642 {
20643 if (!wxPyCheckForApp()) SWIG_fail;
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20646 wxPyEndAllowThreads(__tstate);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 }
20649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj = 0;
20658 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20659 wxWindow *arg2 = (wxWindow *) 0 ;
20660 int arg3 = (int) (int)-1 ;
20661 wxString const &arg4_defvalue = wxPyEmptyString ;
20662 wxString *arg4 = (wxString *) &arg4_defvalue ;
20663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20665 wxSize const &arg6_defvalue = wxDefaultSize ;
20666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20667 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20668 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20669 wxString *arg8 = (wxString *) &arg8_defvalue ;
20670 bool result;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 void *argp2 = 0 ;
20674 int res2 = 0 ;
20675 int val3 ;
20676 int ecode3 = 0 ;
20677 bool temp4 = false ;
20678 wxPoint temp5 ;
20679 wxSize temp6 ;
20680 long val7 ;
20681 int ecode7 = 0 ;
20682 bool temp8 = false ;
20683 PyObject * obj0 = 0 ;
20684 PyObject * obj1 = 0 ;
20685 PyObject * obj2 = 0 ;
20686 PyObject * obj3 = 0 ;
20687 PyObject * obj4 = 0 ;
20688 PyObject * obj5 = 0 ;
20689 PyObject * obj6 = 0 ;
20690 PyObject * obj7 = 0 ;
20691 char * kwnames[] = {
20692 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20693 };
20694
20695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20697 if (!SWIG_IsOK(res1)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20699 }
20700 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20701 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20702 if (!SWIG_IsOK(res2)) {
20703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20704 }
20705 arg2 = reinterpret_cast< wxWindow * >(argp2);
20706 if (obj2) {
20707 ecode3 = SWIG_AsVal_int(obj2, &val3);
20708 if (!SWIG_IsOK(ecode3)) {
20709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20710 }
20711 arg3 = static_cast< int >(val3);
20712 }
20713 if (obj3) {
20714 {
20715 arg4 = wxString_in_helper(obj3);
20716 if (arg4 == NULL) SWIG_fail;
20717 temp4 = true;
20718 }
20719 }
20720 if (obj4) {
20721 {
20722 arg5 = &temp5;
20723 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20724 }
20725 }
20726 if (obj5) {
20727 {
20728 arg6 = &temp6;
20729 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20730 }
20731 }
20732 if (obj6) {
20733 ecode7 = SWIG_AsVal_long(obj6, &val7);
20734 if (!SWIG_IsOK(ecode7)) {
20735 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20736 }
20737 arg7 = static_cast< long >(val7);
20738 }
20739 if (obj7) {
20740 {
20741 arg8 = wxString_in_helper(obj7);
20742 if (arg8 == NULL) SWIG_fail;
20743 temp8 = true;
20744 }
20745 }
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20749 wxPyEndAllowThreads(__tstate);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 }
20752 {
20753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20754 }
20755 {
20756 if (temp4)
20757 delete arg4;
20758 }
20759 {
20760 if (temp8)
20761 delete arg8;
20762 }
20763 return resultobj;
20764 fail:
20765 {
20766 if (temp4)
20767 delete arg4;
20768 }
20769 {
20770 if (temp8)
20771 delete arg8;
20772 }
20773 return NULL;
20774 }
20775
20776
20777 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20778 PyObject *resultobj = 0;
20779 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20780 void *argp1 = 0 ;
20781 int res1 = 0 ;
20782 PyObject *swig_obj[1] ;
20783
20784 if (!args) SWIG_fail;
20785 swig_obj[0] = args;
20786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20787 if (!SWIG_IsOK(res1)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20789 }
20790 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 (arg1)->ActivateNext();
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 resultobj = SWIG_Py_Void();
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20805 PyObject *resultobj = 0;
20806 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20807 void *argp1 = 0 ;
20808 int res1 = 0 ;
20809 PyObject *swig_obj[1] ;
20810
20811 if (!args) SWIG_fail;
20812 swig_obj[0] = args;
20813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20814 if (!SWIG_IsOK(res1)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20816 }
20817 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 (arg1)->ActivatePrevious();
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_Py_Void();
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20832 PyObject *resultobj = 0;
20833 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20834 void *argp1 = 0 ;
20835 int res1 = 0 ;
20836 PyObject *swig_obj[1] ;
20837
20838 if (!args) SWIG_fail;
20839 swig_obj[0] = args;
20840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20841 if (!SWIG_IsOK(res1)) {
20842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20843 }
20844 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 (arg1)->ArrangeIcons();
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 resultobj = SWIG_Py_Void();
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20859 PyObject *resultobj = 0;
20860 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20861 void *argp1 = 0 ;
20862 int res1 = 0 ;
20863 PyObject *swig_obj[1] ;
20864
20865 if (!args) SWIG_fail;
20866 swig_obj[0] = args;
20867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20868 if (!SWIG_IsOK(res1)) {
20869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20870 }
20871 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 (arg1)->Cascade();
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = SWIG_Py_Void();
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20886 PyObject *resultobj = 0;
20887 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20888 wxMDIChildFrame *result = 0 ;
20889 void *argp1 = 0 ;
20890 int res1 = 0 ;
20891 PyObject *swig_obj[1] ;
20892
20893 if (!args) SWIG_fail;
20894 swig_obj[0] = args;
20895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20896 if (!SWIG_IsOK(res1)) {
20897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20898 }
20899 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 {
20907 resultobj = wxPyMake_wxObject(result, (bool)0);
20908 }
20909 return resultobj;
20910 fail:
20911 return NULL;
20912 }
20913
20914
20915 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20916 PyObject *resultobj = 0;
20917 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20918 wxMDIClientWindow *result = 0 ;
20919 void *argp1 = 0 ;
20920 int res1 = 0 ;
20921 PyObject *swig_obj[1] ;
20922
20923 if (!args) SWIG_fail;
20924 swig_obj[0] = args;
20925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20926 if (!SWIG_IsOK(res1)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20928 }
20929 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 {
20937 resultobj = wxPyMake_wxObject(result, (bool)0);
20938 }
20939 return resultobj;
20940 fail:
20941 return NULL;
20942 }
20943
20944
20945 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20946 PyObject *resultobj = 0;
20947 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20948 wxWindow *result = 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_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20958 }
20959 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (wxWindow *)(arg1)->GetToolBar();
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 {
20967 resultobj = wxPyMake_wxObject(result, 0);
20968 }
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj = 0;
20977 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20978 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20979 void *argp1 = 0 ;
20980 int res1 = 0 ;
20981 int val2 ;
20982 int ecode2 = 0 ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 char * kwnames[] = {
20986 (char *) "self",(char *) "orient", NULL
20987 };
20988
20989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20991 if (!SWIG_IsOK(res1)) {
20992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20993 }
20994 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20995 if (obj1) {
20996 ecode2 = SWIG_AsVal_int(obj1, &val2);
20997 if (!SWIG_IsOK(ecode2)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20999 }
21000 arg2 = static_cast< wxOrientation >(val2);
21001 }
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 (arg1)->Tile(arg2);
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 resultobj = SWIG_Py_Void();
21009 return resultobj;
21010 fail:
21011 return NULL;
21012 }
21013
21014
21015 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21016 PyObject *obj;
21017 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21018 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21019 return SWIG_Py_Void();
21020 }
21021
21022 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21023 return SWIG_Python_InitShadowInstance(args);
21024 }
21025
21026 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj = 0;
21028 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21029 int arg2 = (int) (int)-1 ;
21030 wxString const &arg3_defvalue = wxPyEmptyString ;
21031 wxString *arg3 = (wxString *) &arg3_defvalue ;
21032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21034 wxSize const &arg5_defvalue = wxDefaultSize ;
21035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21036 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21037 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21038 wxString *arg7 = (wxString *) &arg7_defvalue ;
21039 wxMDIChildFrame *result = 0 ;
21040 void *argp1 = 0 ;
21041 int res1 = 0 ;
21042 int val2 ;
21043 int ecode2 = 0 ;
21044 bool temp3 = false ;
21045 wxPoint temp4 ;
21046 wxSize temp5 ;
21047 long val6 ;
21048 int ecode6 = 0 ;
21049 bool temp7 = false ;
21050 PyObject * obj0 = 0 ;
21051 PyObject * obj1 = 0 ;
21052 PyObject * obj2 = 0 ;
21053 PyObject * obj3 = 0 ;
21054 PyObject * obj4 = 0 ;
21055 PyObject * obj5 = 0 ;
21056 PyObject * obj6 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21065 }
21066 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21067 if (obj1) {
21068 ecode2 = SWIG_AsVal_int(obj1, &val2);
21069 if (!SWIG_IsOK(ecode2)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21071 }
21072 arg2 = static_cast< int >(val2);
21073 }
21074 if (obj2) {
21075 {
21076 arg3 = wxString_in_helper(obj2);
21077 if (arg3 == NULL) SWIG_fail;
21078 temp3 = true;
21079 }
21080 }
21081 if (obj3) {
21082 {
21083 arg4 = &temp4;
21084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21085 }
21086 }
21087 if (obj4) {
21088 {
21089 arg5 = &temp5;
21090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21091 }
21092 }
21093 if (obj5) {
21094 ecode6 = SWIG_AsVal_long(obj5, &val6);
21095 if (!SWIG_IsOK(ecode6)) {
21096 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21097 }
21098 arg6 = static_cast< long >(val6);
21099 }
21100 if (obj6) {
21101 {
21102 arg7 = wxString_in_helper(obj6);
21103 if (arg7 == NULL) SWIG_fail;
21104 temp7 = true;
21105 }
21106 }
21107 {
21108 if (!wxPyCheckForApp()) SWIG_fail;
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21115 {
21116 if (temp3)
21117 delete arg3;
21118 }
21119 {
21120 if (temp7)
21121 delete arg7;
21122 }
21123 return resultobj;
21124 fail:
21125 {
21126 if (temp3)
21127 delete arg3;
21128 }
21129 {
21130 if (temp7)
21131 delete arg7;
21132 }
21133 return NULL;
21134 }
21135
21136
21137 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21138 PyObject *resultobj = 0;
21139 wxMDIChildFrame *result = 0 ;
21140
21141 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21142 {
21143 if (!wxPyCheckForApp()) SWIG_fail;
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj = 0;
21158 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21159 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21160 int arg3 = (int) (int)-1 ;
21161 wxString const &arg4_defvalue = wxPyEmptyString ;
21162 wxString *arg4 = (wxString *) &arg4_defvalue ;
21163 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21164 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21165 wxSize const &arg6_defvalue = wxDefaultSize ;
21166 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21167 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21168 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21169 wxString *arg8 = (wxString *) &arg8_defvalue ;
21170 bool result;
21171 void *argp1 = 0 ;
21172 int res1 = 0 ;
21173 void *argp2 = 0 ;
21174 int res2 = 0 ;
21175 int val3 ;
21176 int ecode3 = 0 ;
21177 bool temp4 = false ;
21178 wxPoint temp5 ;
21179 wxSize temp6 ;
21180 long val7 ;
21181 int ecode7 = 0 ;
21182 bool temp8 = false ;
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 PyObject * obj2 = 0 ;
21186 PyObject * obj3 = 0 ;
21187 PyObject * obj4 = 0 ;
21188 PyObject * obj5 = 0 ;
21189 PyObject * obj6 = 0 ;
21190 PyObject * obj7 = 0 ;
21191 char * kwnames[] = {
21192 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21193 };
21194
21195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21197 if (!SWIG_IsOK(res1)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21199 }
21200 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21202 if (!SWIG_IsOK(res2)) {
21203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21204 }
21205 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21206 if (obj2) {
21207 ecode3 = SWIG_AsVal_int(obj2, &val3);
21208 if (!SWIG_IsOK(ecode3)) {
21209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21210 }
21211 arg3 = static_cast< int >(val3);
21212 }
21213 if (obj3) {
21214 {
21215 arg4 = wxString_in_helper(obj3);
21216 if (arg4 == NULL) SWIG_fail;
21217 temp4 = true;
21218 }
21219 }
21220 if (obj4) {
21221 {
21222 arg5 = &temp5;
21223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21224 }
21225 }
21226 if (obj5) {
21227 {
21228 arg6 = &temp6;
21229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21230 }
21231 }
21232 if (obj6) {
21233 ecode7 = SWIG_AsVal_long(obj6, &val7);
21234 if (!SWIG_IsOK(ecode7)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21236 }
21237 arg7 = static_cast< long >(val7);
21238 }
21239 if (obj7) {
21240 {
21241 arg8 = wxString_in_helper(obj7);
21242 if (arg8 == NULL) SWIG_fail;
21243 temp8 = true;
21244 }
21245 }
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
21252 {
21253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21254 }
21255 {
21256 if (temp4)
21257 delete arg4;
21258 }
21259 {
21260 if (temp8)
21261 delete arg8;
21262 }
21263 return resultobj;
21264 fail:
21265 {
21266 if (temp4)
21267 delete arg4;
21268 }
21269 {
21270 if (temp8)
21271 delete arg8;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21278 PyObject *resultobj = 0;
21279 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21280 void *argp1 = 0 ;
21281 int res1 = 0 ;
21282 PyObject *swig_obj[1] ;
21283
21284 if (!args) SWIG_fail;
21285 swig_obj[0] = args;
21286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21287 if (!SWIG_IsOK(res1)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21289 }
21290 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 (arg1)->Activate();
21294 wxPyEndAllowThreads(__tstate);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 }
21297 resultobj = SWIG_Py_Void();
21298 return resultobj;
21299 fail:
21300 return NULL;
21301 }
21302
21303
21304 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21305 PyObject *obj;
21306 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21307 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21308 return SWIG_Py_Void();
21309 }
21310
21311 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21312 return SWIG_Python_InitShadowInstance(args);
21313 }
21314
21315 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj = 0;
21317 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21318 long arg2 = (long) 0 ;
21319 wxMDIClientWindow *result = 0 ;
21320 void *argp1 = 0 ;
21321 int res1 = 0 ;
21322 long val2 ;
21323 int ecode2 = 0 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 char * kwnames[] = {
21327 (char *) "parent",(char *) "style", NULL
21328 };
21329
21330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21332 if (!SWIG_IsOK(res1)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21334 }
21335 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21336 if (obj1) {
21337 ecode2 = SWIG_AsVal_long(obj1, &val2);
21338 if (!SWIG_IsOK(ecode2)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21340 }
21341 arg2 = static_cast< long >(val2);
21342 }
21343 {
21344 if (!wxPyCheckForApp()) SWIG_fail;
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21358 PyObject *resultobj = 0;
21359 wxMDIClientWindow *result = 0 ;
21360
21361 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21362 {
21363 if (!wxPyCheckForApp()) SWIG_fail;
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
21365 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21370 return resultobj;
21371 fail:
21372 return NULL;
21373 }
21374
21375
21376 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj = 0;
21378 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21379 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21380 long arg3 = (long) 0 ;
21381 bool result;
21382 void *argp1 = 0 ;
21383 int res1 = 0 ;
21384 void *argp2 = 0 ;
21385 int res2 = 0 ;
21386 long val3 ;
21387 int ecode3 = 0 ;
21388 PyObject * obj0 = 0 ;
21389 PyObject * obj1 = 0 ;
21390 PyObject * obj2 = 0 ;
21391 char * kwnames[] = {
21392 (char *) "self",(char *) "parent",(char *) "style", NULL
21393 };
21394
21395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21397 if (!SWIG_IsOK(res1)) {
21398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21399 }
21400 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21402 if (!SWIG_IsOK(res2)) {
21403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21404 }
21405 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21406 if (obj2) {
21407 ecode3 = SWIG_AsVal_long(obj2, &val3);
21408 if (!SWIG_IsOK(ecode3)) {
21409 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21410 }
21411 arg3 = static_cast< long >(val3);
21412 }
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 result = (bool)(arg1)->Create(arg2,arg3);
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21421 }
21422 return resultobj;
21423 fail:
21424 return NULL;
21425 }
21426
21427
21428 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21429 PyObject *obj;
21430 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21431 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21432 return SWIG_Py_Void();
21433 }
21434
21435 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21436 return SWIG_Python_InitShadowInstance(args);
21437 }
21438
21439 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj = 0;
21441 wxWindow *arg1 = (wxWindow *) 0 ;
21442 int arg2 = (int) (int)-1 ;
21443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21445 wxSize const &arg4_defvalue = wxDefaultSize ;
21446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21447 long arg5 = (long) 0 ;
21448 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21449 wxString *arg6 = (wxString *) &arg6_defvalue ;
21450 wxPyWindow *result = 0 ;
21451 void *argp1 = 0 ;
21452 int res1 = 0 ;
21453 int val2 ;
21454 int ecode2 = 0 ;
21455 wxPoint temp3 ;
21456 wxSize temp4 ;
21457 long val5 ;
21458 int ecode5 = 0 ;
21459 bool temp6 = false ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 PyObject * obj3 = 0 ;
21464 PyObject * obj4 = 0 ;
21465 PyObject * obj5 = 0 ;
21466 char * kwnames[] = {
21467 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21468 };
21469
21470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21472 if (!SWIG_IsOK(res1)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21474 }
21475 arg1 = reinterpret_cast< wxWindow * >(argp1);
21476 if (obj1) {
21477 ecode2 = SWIG_AsVal_int(obj1, &val2);
21478 if (!SWIG_IsOK(ecode2)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21480 }
21481 arg2 = static_cast< int >(val2);
21482 }
21483 if (obj2) {
21484 {
21485 arg3 = &temp3;
21486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21487 }
21488 }
21489 if (obj3) {
21490 {
21491 arg4 = &temp4;
21492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21493 }
21494 }
21495 if (obj4) {
21496 ecode5 = SWIG_AsVal_long(obj4, &val5);
21497 if (!SWIG_IsOK(ecode5)) {
21498 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21499 }
21500 arg5 = static_cast< long >(val5);
21501 }
21502 if (obj5) {
21503 {
21504 arg6 = wxString_in_helper(obj5);
21505 if (arg6 == NULL) SWIG_fail;
21506 temp6 = true;
21507 }
21508 }
21509 {
21510 if (!wxPyCheckForApp()) SWIG_fail;
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21517 {
21518 if (temp6)
21519 delete arg6;
21520 }
21521 return resultobj;
21522 fail:
21523 {
21524 if (temp6)
21525 delete arg6;
21526 }
21527 return NULL;
21528 }
21529
21530
21531 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21532 PyObject *resultobj = 0;
21533 wxPyWindow *result = 0 ;
21534
21535 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21536 {
21537 if (!wxPyCheckForApp()) SWIG_fail;
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 result = (wxPyWindow *)new wxPyWindow();
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj = 0;
21552 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21553 PyObject *arg2 = (PyObject *) 0 ;
21554 PyObject *arg3 = (PyObject *) 0 ;
21555 void *argp1 = 0 ;
21556 int res1 = 0 ;
21557 PyObject * obj0 = 0 ;
21558 PyObject * obj1 = 0 ;
21559 PyObject * obj2 = 0 ;
21560 char * kwnames[] = {
21561 (char *) "self",(char *) "self",(char *) "_class", NULL
21562 };
21563
21564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21566 if (!SWIG_IsOK(res1)) {
21567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21568 }
21569 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21570 arg2 = obj1;
21571 arg3 = obj2;
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 (arg1)->_setCallbackInfo(arg2,arg3);
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 resultobj = SWIG_Py_Void();
21579 return resultobj;
21580 fail:
21581 return NULL;
21582 }
21583
21584
21585 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21586 PyObject *resultobj = 0;
21587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21588 wxSize *arg2 = 0 ;
21589 void *argp1 = 0 ;
21590 int res1 = 0 ;
21591 wxSize temp2 ;
21592 PyObject * obj0 = 0 ;
21593 PyObject * obj1 = 0 ;
21594 char * kwnames[] = {
21595 (char *) "self",(char *) "size", NULL
21596 };
21597
21598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21600 if (!SWIG_IsOK(res1)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21602 }
21603 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21604 {
21605 arg2 = &temp2;
21606 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21607 }
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 (arg1)->SetBestSize((wxSize const &)*arg2);
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = SWIG_Py_Void();
21615 return resultobj;
21616 fail:
21617 return NULL;
21618 }
21619
21620
21621 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj = 0;
21623 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21624 wxDC *arg2 = (wxDC *) 0 ;
21625 bool result;
21626 void *argp1 = 0 ;
21627 int res1 = 0 ;
21628 void *argp2 = 0 ;
21629 int res2 = 0 ;
21630 PyObject * obj0 = 0 ;
21631 PyObject * obj1 = 0 ;
21632 char * kwnames[] = {
21633 (char *) "self",(char *) "dc", NULL
21634 };
21635
21636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21638 if (!SWIG_IsOK(res1)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21640 }
21641 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21643 if (!SWIG_IsOK(res2)) {
21644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21645 }
21646 arg2 = reinterpret_cast< wxDC * >(argp2);
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 result = (bool)(arg1)->DoEraseBackground(arg2);
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21655 }
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj = 0;
21664 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21665 int arg2 ;
21666 int arg3 ;
21667 int arg4 ;
21668 int arg5 ;
21669 void *argp1 = 0 ;
21670 int res1 = 0 ;
21671 int val2 ;
21672 int ecode2 = 0 ;
21673 int val3 ;
21674 int ecode3 = 0 ;
21675 int val4 ;
21676 int ecode4 = 0 ;
21677 int val5 ;
21678 int ecode5 = 0 ;
21679 PyObject * obj0 = 0 ;
21680 PyObject * obj1 = 0 ;
21681 PyObject * obj2 = 0 ;
21682 PyObject * obj3 = 0 ;
21683 PyObject * obj4 = 0 ;
21684 char * kwnames[] = {
21685 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21686 };
21687
21688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21690 if (!SWIG_IsOK(res1)) {
21691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21692 }
21693 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21694 ecode2 = SWIG_AsVal_int(obj1, &val2);
21695 if (!SWIG_IsOK(ecode2)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21697 }
21698 arg2 = static_cast< int >(val2);
21699 ecode3 = SWIG_AsVal_int(obj2, &val3);
21700 if (!SWIG_IsOK(ecode3)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21702 }
21703 arg3 = static_cast< int >(val3);
21704 ecode4 = SWIG_AsVal_int(obj3, &val4);
21705 if (!SWIG_IsOK(ecode4)) {
21706 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21707 }
21708 arg4 = static_cast< int >(val4);
21709 ecode5 = SWIG_AsVal_int(obj4, &val5);
21710 if (!SWIG_IsOK(ecode5)) {
21711 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21712 }
21713 arg5 = static_cast< int >(val5);
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21717 wxPyEndAllowThreads(__tstate);
21718 if (PyErr_Occurred()) SWIG_fail;
21719 }
21720 resultobj = SWIG_Py_Void();
21721 return resultobj;
21722 fail:
21723 return NULL;
21724 }
21725
21726
21727 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21728 PyObject *resultobj = 0;
21729 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21730 int arg2 ;
21731 int arg3 ;
21732 int arg4 ;
21733 int arg5 ;
21734 int arg6 = (int) wxSIZE_AUTO ;
21735 void *argp1 = 0 ;
21736 int res1 = 0 ;
21737 int val2 ;
21738 int ecode2 = 0 ;
21739 int val3 ;
21740 int ecode3 = 0 ;
21741 int val4 ;
21742 int ecode4 = 0 ;
21743 int val5 ;
21744 int ecode5 = 0 ;
21745 int val6 ;
21746 int ecode6 = 0 ;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 PyObject * obj2 = 0 ;
21750 PyObject * obj3 = 0 ;
21751 PyObject * obj4 = 0 ;
21752 PyObject * obj5 = 0 ;
21753 char * kwnames[] = {
21754 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21755 };
21756
21757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21759 if (!SWIG_IsOK(res1)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21761 }
21762 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21763 ecode2 = SWIG_AsVal_int(obj1, &val2);
21764 if (!SWIG_IsOK(ecode2)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21766 }
21767 arg2 = static_cast< int >(val2);
21768 ecode3 = SWIG_AsVal_int(obj2, &val3);
21769 if (!SWIG_IsOK(ecode3)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21771 }
21772 arg3 = static_cast< int >(val3);
21773 ecode4 = SWIG_AsVal_int(obj3, &val4);
21774 if (!SWIG_IsOK(ecode4)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21776 }
21777 arg4 = static_cast< int >(val4);
21778 ecode5 = SWIG_AsVal_int(obj4, &val5);
21779 if (!SWIG_IsOK(ecode5)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21781 }
21782 arg5 = static_cast< int >(val5);
21783 if (obj5) {
21784 ecode6 = SWIG_AsVal_int(obj5, &val6);
21785 if (!SWIG_IsOK(ecode6)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21787 }
21788 arg6 = static_cast< int >(val6);
21789 }
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = SWIG_Py_Void();
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj = 0;
21805 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21806 int arg2 ;
21807 int arg3 ;
21808 void *argp1 = 0 ;
21809 int res1 = 0 ;
21810 int val2 ;
21811 int ecode2 = 0 ;
21812 int val3 ;
21813 int ecode3 = 0 ;
21814 PyObject * obj0 = 0 ;
21815 PyObject * obj1 = 0 ;
21816 PyObject * obj2 = 0 ;
21817 char * kwnames[] = {
21818 (char *) "self",(char *) "width",(char *) "height", NULL
21819 };
21820
21821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21823 if (!SWIG_IsOK(res1)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21825 }
21826 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21827 ecode2 = SWIG_AsVal_int(obj1, &val2);
21828 if (!SWIG_IsOK(ecode2)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21830 }
21831 arg2 = static_cast< int >(val2);
21832 ecode3 = SWIG_AsVal_int(obj2, &val3);
21833 if (!SWIG_IsOK(ecode3)) {
21834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21835 }
21836 arg3 = static_cast< int >(val3);
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 (arg1)->DoSetClientSize(arg2,arg3);
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 resultobj = SWIG_Py_Void();
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj = 0;
21852 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21853 int arg2 ;
21854 int arg3 ;
21855 void *argp1 = 0 ;
21856 int res1 = 0 ;
21857 int val2 ;
21858 int ecode2 = 0 ;
21859 int val3 ;
21860 int ecode3 = 0 ;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 PyObject * obj2 = 0 ;
21864 char * kwnames[] = {
21865 (char *) "self",(char *) "x",(char *) "y", NULL
21866 };
21867
21868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21870 if (!SWIG_IsOK(res1)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21872 }
21873 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21874 ecode2 = SWIG_AsVal_int(obj1, &val2);
21875 if (!SWIG_IsOK(ecode2)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21877 }
21878 arg2 = static_cast< int >(val2);
21879 ecode3 = SWIG_AsVal_int(obj2, &val3);
21880 if (!SWIG_IsOK(ecode3)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21882 }
21883 arg3 = static_cast< int >(val3);
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 (arg1)->DoSetVirtualSize(arg2,arg3);
21887 wxPyEndAllowThreads(__tstate);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 resultobj = SWIG_Py_Void();
21891 return resultobj;
21892 fail:
21893 return NULL;
21894 }
21895
21896
21897 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21898 PyObject *resultobj = 0;
21899 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21900 int *arg2 = (int *) 0 ;
21901 int *arg3 = (int *) 0 ;
21902 void *argp1 = 0 ;
21903 int res1 = 0 ;
21904 int temp2 ;
21905 int res2 = SWIG_TMPOBJ ;
21906 int temp3 ;
21907 int res3 = SWIG_TMPOBJ ;
21908 PyObject *swig_obj[1] ;
21909
21910 arg2 = &temp2;
21911 arg3 = &temp3;
21912 if (!args) SWIG_fail;
21913 swig_obj[0] = args;
21914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21915 if (!SWIG_IsOK(res1)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21917 }
21918 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 resultobj = SWIG_Py_Void();
21926 if (SWIG_IsTmpObj(res2)) {
21927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21928 } else {
21929 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21931 }
21932 if (SWIG_IsTmpObj(res3)) {
21933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21934 } else {
21935 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21936 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21937 }
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21945 PyObject *resultobj = 0;
21946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21947 int *arg2 = (int *) 0 ;
21948 int *arg3 = (int *) 0 ;
21949 void *argp1 = 0 ;
21950 int res1 = 0 ;
21951 int temp2 ;
21952 int res2 = SWIG_TMPOBJ ;
21953 int temp3 ;
21954 int res3 = SWIG_TMPOBJ ;
21955 PyObject *swig_obj[1] ;
21956
21957 arg2 = &temp2;
21958 arg3 = &temp3;
21959 if (!args) SWIG_fail;
21960 swig_obj[0] = args;
21961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21962 if (!SWIG_IsOK(res1)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21964 }
21965 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 resultobj = SWIG_Py_Void();
21973 if (SWIG_IsTmpObj(res2)) {
21974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21975 } else {
21976 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21978 }
21979 if (SWIG_IsTmpObj(res3)) {
21980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21981 } else {
21982 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21984 }
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21992 PyObject *resultobj = 0;
21993 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21994 int *arg2 = (int *) 0 ;
21995 int *arg3 = (int *) 0 ;
21996 void *argp1 = 0 ;
21997 int res1 = 0 ;
21998 int temp2 ;
21999 int res2 = SWIG_TMPOBJ ;
22000 int temp3 ;
22001 int res3 = SWIG_TMPOBJ ;
22002 PyObject *swig_obj[1] ;
22003
22004 arg2 = &temp2;
22005 arg3 = &temp3;
22006 if (!args) SWIG_fail;
22007 swig_obj[0] = args;
22008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22009 if (!SWIG_IsOK(res1)) {
22010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22011 }
22012 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 resultobj = SWIG_Py_Void();
22020 if (SWIG_IsTmpObj(res2)) {
22021 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22022 } else {
22023 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22025 }
22026 if (SWIG_IsTmpObj(res3)) {
22027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22028 } else {
22029 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22031 }
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22039 PyObject *resultobj = 0;
22040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22041 wxSize result;
22042 void *argp1 = 0 ;
22043 int res1 = 0 ;
22044 PyObject *swig_obj[1] ;
22045
22046 if (!args) SWIG_fail;
22047 swig_obj[0] = args;
22048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22049 if (!SWIG_IsOK(res1)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22051 }
22052 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22067 PyObject *resultobj = 0;
22068 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22069 wxSize result;
22070 void *argp1 = 0 ;
22071 int res1 = 0 ;
22072 PyObject *swig_obj[1] ;
22073
22074 if (!args) SWIG_fail;
22075 swig_obj[0] = args;
22076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22077 if (!SWIG_IsOK(res1)) {
22078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22079 }
22080 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22095 PyObject *resultobj = 0;
22096 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22097 SwigValueWrapper<wxVisualAttributes > result;
22098 void *argp1 = 0 ;
22099 int res1 = 0 ;
22100 PyObject *swig_obj[1] ;
22101
22102 if (!args) SWIG_fail;
22103 swig_obj[0] = args;
22104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22105 if (!SWIG_IsOK(res1)) {
22106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22107 }
22108 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 result = (arg1)->GetDefaultAttributes();
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22123 PyObject *resultobj = 0;
22124 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22125 void *argp1 = 0 ;
22126 int res1 = 0 ;
22127 PyObject *swig_obj[1] ;
22128
22129 if (!args) SWIG_fail;
22130 swig_obj[0] = args;
22131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22132 if (!SWIG_IsOK(res1)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22134 }
22135 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 (arg1)->OnInternalIdle();
22139 wxPyEndAllowThreads(__tstate);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
22142 resultobj = SWIG_Py_Void();
22143 return resultobj;
22144 fail:
22145 return NULL;
22146 }
22147
22148
22149 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22150 PyObject *obj;
22151 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22152 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22153 return SWIG_Py_Void();
22154 }
22155
22156 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22157 return SWIG_Python_InitShadowInstance(args);
22158 }
22159
22160 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj = 0;
22162 wxWindow *arg1 = (wxWindow *) 0 ;
22163 int arg2 = (int) (int)-1 ;
22164 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22165 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22166 wxSize const &arg4_defvalue = wxDefaultSize ;
22167 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22168 long arg5 = (long) 0 ;
22169 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22170 wxString *arg6 = (wxString *) &arg6_defvalue ;
22171 wxPyPanel *result = 0 ;
22172 void *argp1 = 0 ;
22173 int res1 = 0 ;
22174 int val2 ;
22175 int ecode2 = 0 ;
22176 wxPoint temp3 ;
22177 wxSize temp4 ;
22178 long val5 ;
22179 int ecode5 = 0 ;
22180 bool temp6 = false ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 PyObject * obj2 = 0 ;
22184 PyObject * obj3 = 0 ;
22185 PyObject * obj4 = 0 ;
22186 PyObject * obj5 = 0 ;
22187 char * kwnames[] = {
22188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22189 };
22190
22191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22193 if (!SWIG_IsOK(res1)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22195 }
22196 arg1 = reinterpret_cast< wxWindow * >(argp1);
22197 if (obj1) {
22198 ecode2 = SWIG_AsVal_int(obj1, &val2);
22199 if (!SWIG_IsOK(ecode2)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22201 }
22202 arg2 = static_cast< int >(val2);
22203 }
22204 if (obj2) {
22205 {
22206 arg3 = &temp3;
22207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22208 }
22209 }
22210 if (obj3) {
22211 {
22212 arg4 = &temp4;
22213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22214 }
22215 }
22216 if (obj4) {
22217 ecode5 = SWIG_AsVal_long(obj4, &val5);
22218 if (!SWIG_IsOK(ecode5)) {
22219 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22220 }
22221 arg5 = static_cast< long >(val5);
22222 }
22223 if (obj5) {
22224 {
22225 arg6 = wxString_in_helper(obj5);
22226 if (arg6 == NULL) SWIG_fail;
22227 temp6 = true;
22228 }
22229 }
22230 {
22231 if (!wxPyCheckForApp()) SWIG_fail;
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22238 {
22239 if (temp6)
22240 delete arg6;
22241 }
22242 return resultobj;
22243 fail:
22244 {
22245 if (temp6)
22246 delete arg6;
22247 }
22248 return NULL;
22249 }
22250
22251
22252 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22253 PyObject *resultobj = 0;
22254 wxPyPanel *result = 0 ;
22255
22256 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22257 {
22258 if (!wxPyCheckForApp()) SWIG_fail;
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (wxPyPanel *)new wxPyPanel();
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22265 return resultobj;
22266 fail:
22267 return NULL;
22268 }
22269
22270
22271 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj = 0;
22273 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22274 PyObject *arg2 = (PyObject *) 0 ;
22275 PyObject *arg3 = (PyObject *) 0 ;
22276 void *argp1 = 0 ;
22277 int res1 = 0 ;
22278 PyObject * obj0 = 0 ;
22279 PyObject * obj1 = 0 ;
22280 PyObject * obj2 = 0 ;
22281 char * kwnames[] = {
22282 (char *) "self",(char *) "self",(char *) "_class", NULL
22283 };
22284
22285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22287 if (!SWIG_IsOK(res1)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22289 }
22290 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22291 arg2 = obj1;
22292 arg3 = obj2;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 (arg1)->_setCallbackInfo(arg2,arg3);
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_Py_Void();
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj = 0;
22308 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22309 wxSize *arg2 = 0 ;
22310 void *argp1 = 0 ;
22311 int res1 = 0 ;
22312 wxSize temp2 ;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 char * kwnames[] = {
22316 (char *) "self",(char *) "size", NULL
22317 };
22318
22319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22321 if (!SWIG_IsOK(res1)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22323 }
22324 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22325 {
22326 arg2 = &temp2;
22327 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22328 }
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 (arg1)->SetBestSize((wxSize const &)*arg2);
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = SWIG_Py_Void();
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj = 0;
22344 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22345 wxDC *arg2 = (wxDC *) 0 ;
22346 bool result;
22347 void *argp1 = 0 ;
22348 int res1 = 0 ;
22349 void *argp2 = 0 ;
22350 int res2 = 0 ;
22351 PyObject * obj0 = 0 ;
22352 PyObject * obj1 = 0 ;
22353 char * kwnames[] = {
22354 (char *) "self",(char *) "dc", NULL
22355 };
22356
22357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22359 if (!SWIG_IsOK(res1)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22361 }
22362 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22363 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22364 if (!SWIG_IsOK(res2)) {
22365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22366 }
22367 arg2 = reinterpret_cast< wxDC * >(argp2);
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (bool)(arg1)->DoEraseBackground(arg2);
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 {
22375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22376 }
22377 return resultobj;
22378 fail:
22379 return NULL;
22380 }
22381
22382
22383 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22384 PyObject *resultobj = 0;
22385 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22386 int arg2 ;
22387 int arg3 ;
22388 int arg4 ;
22389 int arg5 ;
22390 void *argp1 = 0 ;
22391 int res1 = 0 ;
22392 int val2 ;
22393 int ecode2 = 0 ;
22394 int val3 ;
22395 int ecode3 = 0 ;
22396 int val4 ;
22397 int ecode4 = 0 ;
22398 int val5 ;
22399 int ecode5 = 0 ;
22400 PyObject * obj0 = 0 ;
22401 PyObject * obj1 = 0 ;
22402 PyObject * obj2 = 0 ;
22403 PyObject * obj3 = 0 ;
22404 PyObject * obj4 = 0 ;
22405 char * kwnames[] = {
22406 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22407 };
22408
22409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22411 if (!SWIG_IsOK(res1)) {
22412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22413 }
22414 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22415 ecode2 = SWIG_AsVal_int(obj1, &val2);
22416 if (!SWIG_IsOK(ecode2)) {
22417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22418 }
22419 arg2 = static_cast< int >(val2);
22420 ecode3 = SWIG_AsVal_int(obj2, &val3);
22421 if (!SWIG_IsOK(ecode3)) {
22422 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22423 }
22424 arg3 = static_cast< int >(val3);
22425 ecode4 = SWIG_AsVal_int(obj3, &val4);
22426 if (!SWIG_IsOK(ecode4)) {
22427 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22428 }
22429 arg4 = static_cast< int >(val4);
22430 ecode5 = SWIG_AsVal_int(obj4, &val5);
22431 if (!SWIG_IsOK(ecode5)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22433 }
22434 arg5 = static_cast< int >(val5);
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 resultobj = SWIG_Py_Void();
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj = 0;
22450 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22451 int arg2 ;
22452 int arg3 ;
22453 int arg4 ;
22454 int arg5 ;
22455 int arg6 = (int) wxSIZE_AUTO ;
22456 void *argp1 = 0 ;
22457 int res1 = 0 ;
22458 int val2 ;
22459 int ecode2 = 0 ;
22460 int val3 ;
22461 int ecode3 = 0 ;
22462 int val4 ;
22463 int ecode4 = 0 ;
22464 int val5 ;
22465 int ecode5 = 0 ;
22466 int val6 ;
22467 int ecode6 = 0 ;
22468 PyObject * obj0 = 0 ;
22469 PyObject * obj1 = 0 ;
22470 PyObject * obj2 = 0 ;
22471 PyObject * obj3 = 0 ;
22472 PyObject * obj4 = 0 ;
22473 PyObject * obj5 = 0 ;
22474 char * kwnames[] = {
22475 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22476 };
22477
22478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22480 if (!SWIG_IsOK(res1)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22482 }
22483 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22484 ecode2 = SWIG_AsVal_int(obj1, &val2);
22485 if (!SWIG_IsOK(ecode2)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22487 }
22488 arg2 = static_cast< int >(val2);
22489 ecode3 = SWIG_AsVal_int(obj2, &val3);
22490 if (!SWIG_IsOK(ecode3)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22492 }
22493 arg3 = static_cast< int >(val3);
22494 ecode4 = SWIG_AsVal_int(obj3, &val4);
22495 if (!SWIG_IsOK(ecode4)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22497 }
22498 arg4 = static_cast< int >(val4);
22499 ecode5 = SWIG_AsVal_int(obj4, &val5);
22500 if (!SWIG_IsOK(ecode5)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22502 }
22503 arg5 = static_cast< int >(val5);
22504 if (obj5) {
22505 ecode6 = SWIG_AsVal_int(obj5, &val6);
22506 if (!SWIG_IsOK(ecode6)) {
22507 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22508 }
22509 arg6 = static_cast< int >(val6);
22510 }
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 resultobj = SWIG_Py_Void();
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj = 0;
22526 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22527 int arg2 ;
22528 int arg3 ;
22529 void *argp1 = 0 ;
22530 int res1 = 0 ;
22531 int val2 ;
22532 int ecode2 = 0 ;
22533 int val3 ;
22534 int ecode3 = 0 ;
22535 PyObject * obj0 = 0 ;
22536 PyObject * obj1 = 0 ;
22537 PyObject * obj2 = 0 ;
22538 char * kwnames[] = {
22539 (char *) "self",(char *) "width",(char *) "height", NULL
22540 };
22541
22542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22544 if (!SWIG_IsOK(res1)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22546 }
22547 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22548 ecode2 = SWIG_AsVal_int(obj1, &val2);
22549 if (!SWIG_IsOK(ecode2)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22551 }
22552 arg2 = static_cast< int >(val2);
22553 ecode3 = SWIG_AsVal_int(obj2, &val3);
22554 if (!SWIG_IsOK(ecode3)) {
22555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22556 }
22557 arg3 = static_cast< int >(val3);
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->DoSetClientSize(arg2,arg3);
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 resultobj = SWIG_Py_Void();
22565 return resultobj;
22566 fail:
22567 return NULL;
22568 }
22569
22570
22571 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj = 0;
22573 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22574 int arg2 ;
22575 int arg3 ;
22576 void *argp1 = 0 ;
22577 int res1 = 0 ;
22578 int val2 ;
22579 int ecode2 = 0 ;
22580 int val3 ;
22581 int ecode3 = 0 ;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 PyObject * obj2 = 0 ;
22585 char * kwnames[] = {
22586 (char *) "self",(char *) "x",(char *) "y", NULL
22587 };
22588
22589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22591 if (!SWIG_IsOK(res1)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22593 }
22594 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22595 ecode2 = SWIG_AsVal_int(obj1, &val2);
22596 if (!SWIG_IsOK(ecode2)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22598 }
22599 arg2 = static_cast< int >(val2);
22600 ecode3 = SWIG_AsVal_int(obj2, &val3);
22601 if (!SWIG_IsOK(ecode3)) {
22602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22603 }
22604 arg3 = static_cast< int >(val3);
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->DoSetVirtualSize(arg2,arg3);
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 resultobj = SWIG_Py_Void();
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22619 PyObject *resultobj = 0;
22620 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22621 int *arg2 = (int *) 0 ;
22622 int *arg3 = (int *) 0 ;
22623 void *argp1 = 0 ;
22624 int res1 = 0 ;
22625 int temp2 ;
22626 int res2 = SWIG_TMPOBJ ;
22627 int temp3 ;
22628 int res3 = SWIG_TMPOBJ ;
22629 PyObject *swig_obj[1] ;
22630
22631 arg2 = &temp2;
22632 arg3 = &temp3;
22633 if (!args) SWIG_fail;
22634 swig_obj[0] = args;
22635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22636 if (!SWIG_IsOK(res1)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22638 }
22639 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 resultobj = SWIG_Py_Void();
22647 if (SWIG_IsTmpObj(res2)) {
22648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22649 } else {
22650 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22652 }
22653 if (SWIG_IsTmpObj(res3)) {
22654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22655 } else {
22656 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22658 }
22659 return resultobj;
22660 fail:
22661 return NULL;
22662 }
22663
22664
22665 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22666 PyObject *resultobj = 0;
22667 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22668 int *arg2 = (int *) 0 ;
22669 int *arg3 = (int *) 0 ;
22670 void *argp1 = 0 ;
22671 int res1 = 0 ;
22672 int temp2 ;
22673 int res2 = SWIG_TMPOBJ ;
22674 int temp3 ;
22675 int res3 = SWIG_TMPOBJ ;
22676 PyObject *swig_obj[1] ;
22677
22678 arg2 = &temp2;
22679 arg3 = &temp3;
22680 if (!args) SWIG_fail;
22681 swig_obj[0] = args;
22682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22683 if (!SWIG_IsOK(res1)) {
22684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22685 }
22686 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_Py_Void();
22694 if (SWIG_IsTmpObj(res2)) {
22695 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22696 } else {
22697 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22699 }
22700 if (SWIG_IsTmpObj(res3)) {
22701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22702 } else {
22703 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22705 }
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22713 PyObject *resultobj = 0;
22714 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22715 int *arg2 = (int *) 0 ;
22716 int *arg3 = (int *) 0 ;
22717 void *argp1 = 0 ;
22718 int res1 = 0 ;
22719 int temp2 ;
22720 int res2 = SWIG_TMPOBJ ;
22721 int temp3 ;
22722 int res3 = SWIG_TMPOBJ ;
22723 PyObject *swig_obj[1] ;
22724
22725 arg2 = &temp2;
22726 arg3 = &temp3;
22727 if (!args) SWIG_fail;
22728 swig_obj[0] = args;
22729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22730 if (!SWIG_IsOK(res1)) {
22731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22732 }
22733 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 resultobj = SWIG_Py_Void();
22741 if (SWIG_IsTmpObj(res2)) {
22742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22743 } else {
22744 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22746 }
22747 if (SWIG_IsTmpObj(res3)) {
22748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22749 } else {
22750 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22751 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22752 }
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22760 PyObject *resultobj = 0;
22761 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22762 wxSize result;
22763 void *argp1 = 0 ;
22764 int res1 = 0 ;
22765 PyObject *swig_obj[1] ;
22766
22767 if (!args) SWIG_fail;
22768 swig_obj[0] = args;
22769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22770 if (!SWIG_IsOK(res1)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22772 }
22773 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22788 PyObject *resultobj = 0;
22789 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22790 wxSize result;
22791 void *argp1 = 0 ;
22792 int res1 = 0 ;
22793 PyObject *swig_obj[1] ;
22794
22795 if (!args) SWIG_fail;
22796 swig_obj[0] = args;
22797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22798 if (!SWIG_IsOK(res1)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22800 }
22801 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22816 PyObject *resultobj = 0;
22817 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22818 SwigValueWrapper<wxVisualAttributes > result;
22819 void *argp1 = 0 ;
22820 int res1 = 0 ;
22821 PyObject *swig_obj[1] ;
22822
22823 if (!args) SWIG_fail;
22824 swig_obj[0] = args;
22825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22826 if (!SWIG_IsOK(res1)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22828 }
22829 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (arg1)->GetDefaultAttributes();
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22844 PyObject *resultobj = 0;
22845 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22846 void *argp1 = 0 ;
22847 int res1 = 0 ;
22848 PyObject *swig_obj[1] ;
22849
22850 if (!args) SWIG_fail;
22851 swig_obj[0] = args;
22852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22853 if (!SWIG_IsOK(res1)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22855 }
22856 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22857 {
22858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22859 (arg1)->OnInternalIdle();
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 resultobj = SWIG_Py_Void();
22864 return resultobj;
22865 fail:
22866 return NULL;
22867 }
22868
22869
22870 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22871 PyObject *obj;
22872 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22873 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22874 return SWIG_Py_Void();
22875 }
22876
22877 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22878 return SWIG_Python_InitShadowInstance(args);
22879 }
22880
22881 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj = 0;
22883 wxWindow *arg1 = (wxWindow *) 0 ;
22884 int arg2 = (int) (int)-1 ;
22885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22887 wxSize const &arg4_defvalue = wxDefaultSize ;
22888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22889 long arg5 = (long) 0 ;
22890 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22891 wxString *arg6 = (wxString *) &arg6_defvalue ;
22892 wxPyScrolledWindow *result = 0 ;
22893 void *argp1 = 0 ;
22894 int res1 = 0 ;
22895 int val2 ;
22896 int ecode2 = 0 ;
22897 wxPoint temp3 ;
22898 wxSize temp4 ;
22899 long val5 ;
22900 int ecode5 = 0 ;
22901 bool temp6 = false ;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 PyObject * obj2 = 0 ;
22905 PyObject * obj3 = 0 ;
22906 PyObject * obj4 = 0 ;
22907 PyObject * obj5 = 0 ;
22908 char * kwnames[] = {
22909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22910 };
22911
22912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22914 if (!SWIG_IsOK(res1)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22916 }
22917 arg1 = reinterpret_cast< wxWindow * >(argp1);
22918 if (obj1) {
22919 ecode2 = SWIG_AsVal_int(obj1, &val2);
22920 if (!SWIG_IsOK(ecode2)) {
22921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22922 }
22923 arg2 = static_cast< int >(val2);
22924 }
22925 if (obj2) {
22926 {
22927 arg3 = &temp3;
22928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22929 }
22930 }
22931 if (obj3) {
22932 {
22933 arg4 = &temp4;
22934 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22935 }
22936 }
22937 if (obj4) {
22938 ecode5 = SWIG_AsVal_long(obj4, &val5);
22939 if (!SWIG_IsOK(ecode5)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22941 }
22942 arg5 = static_cast< long >(val5);
22943 }
22944 if (obj5) {
22945 {
22946 arg6 = wxString_in_helper(obj5);
22947 if (arg6 == NULL) SWIG_fail;
22948 temp6 = true;
22949 }
22950 }
22951 {
22952 if (!wxPyCheckForApp()) SWIG_fail;
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22959 {
22960 if (temp6)
22961 delete arg6;
22962 }
22963 return resultobj;
22964 fail:
22965 {
22966 if (temp6)
22967 delete arg6;
22968 }
22969 return NULL;
22970 }
22971
22972
22973 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22974 PyObject *resultobj = 0;
22975 wxPyScrolledWindow *result = 0 ;
22976
22977 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22978 {
22979 if (!wxPyCheckForApp()) SWIG_fail;
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj = 0;
22994 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22995 PyObject *arg2 = (PyObject *) 0 ;
22996 PyObject *arg3 = (PyObject *) 0 ;
22997 void *argp1 = 0 ;
22998 int res1 = 0 ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 char * kwnames[] = {
23003 (char *) "self",(char *) "self",(char *) "_class", NULL
23004 };
23005
23006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23008 if (!SWIG_IsOK(res1)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23010 }
23011 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23012 arg2 = obj1;
23013 arg3 = obj2;
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->_setCallbackInfo(arg2,arg3);
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_Py_Void();
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj = 0;
23029 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23030 wxSize *arg2 = 0 ;
23031 void *argp1 = 0 ;
23032 int res1 = 0 ;
23033 wxSize temp2 ;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char * kwnames[] = {
23037 (char *) "self",(char *) "size", NULL
23038 };
23039
23040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23042 if (!SWIG_IsOK(res1)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23044 }
23045 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23046 {
23047 arg2 = &temp2;
23048 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23049 }
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 (arg1)->SetBestSize((wxSize const &)*arg2);
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 resultobj = SWIG_Py_Void();
23057 return resultobj;
23058 fail:
23059 return NULL;
23060 }
23061
23062
23063 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23064 PyObject *resultobj = 0;
23065 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23066 wxDC *arg2 = (wxDC *) 0 ;
23067 bool result;
23068 void *argp1 = 0 ;
23069 int res1 = 0 ;
23070 void *argp2 = 0 ;
23071 int res2 = 0 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 char * kwnames[] = {
23075 (char *) "self",(char *) "dc", NULL
23076 };
23077
23078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23080 if (!SWIG_IsOK(res1)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23082 }
23083 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23085 if (!SWIG_IsOK(res2)) {
23086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23087 }
23088 arg2 = reinterpret_cast< wxDC * >(argp2);
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 result = (bool)(arg1)->DoEraseBackground(arg2);
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 {
23096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23097 }
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj = 0;
23106 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23107 int arg2 ;
23108 int arg3 ;
23109 int arg4 ;
23110 int arg5 ;
23111 void *argp1 = 0 ;
23112 int res1 = 0 ;
23113 int val2 ;
23114 int ecode2 = 0 ;
23115 int val3 ;
23116 int ecode3 = 0 ;
23117 int val4 ;
23118 int ecode4 = 0 ;
23119 int val5 ;
23120 int ecode5 = 0 ;
23121 PyObject * obj0 = 0 ;
23122 PyObject * obj1 = 0 ;
23123 PyObject * obj2 = 0 ;
23124 PyObject * obj3 = 0 ;
23125 PyObject * obj4 = 0 ;
23126 char * kwnames[] = {
23127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23128 };
23129
23130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23132 if (!SWIG_IsOK(res1)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23134 }
23135 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23136 ecode2 = SWIG_AsVal_int(obj1, &val2);
23137 if (!SWIG_IsOK(ecode2)) {
23138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23139 }
23140 arg2 = static_cast< int >(val2);
23141 ecode3 = SWIG_AsVal_int(obj2, &val3);
23142 if (!SWIG_IsOK(ecode3)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23144 }
23145 arg3 = static_cast< int >(val3);
23146 ecode4 = SWIG_AsVal_int(obj3, &val4);
23147 if (!SWIG_IsOK(ecode4)) {
23148 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23149 }
23150 arg4 = static_cast< int >(val4);
23151 ecode5 = SWIG_AsVal_int(obj4, &val5);
23152 if (!SWIG_IsOK(ecode5)) {
23153 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23154 }
23155 arg5 = static_cast< int >(val5);
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 resultobj = SWIG_Py_Void();
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj = 0;
23171 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23172 int arg2 ;
23173 int arg3 ;
23174 int arg4 ;
23175 int arg5 ;
23176 int arg6 = (int) wxSIZE_AUTO ;
23177 void *argp1 = 0 ;
23178 int res1 = 0 ;
23179 int val2 ;
23180 int ecode2 = 0 ;
23181 int val3 ;
23182 int ecode3 = 0 ;
23183 int val4 ;
23184 int ecode4 = 0 ;
23185 int val5 ;
23186 int ecode5 = 0 ;
23187 int val6 ;
23188 int ecode6 = 0 ;
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 PyObject * obj2 = 0 ;
23192 PyObject * obj3 = 0 ;
23193 PyObject * obj4 = 0 ;
23194 PyObject * obj5 = 0 ;
23195 char * kwnames[] = {
23196 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23197 };
23198
23199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23201 if (!SWIG_IsOK(res1)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23203 }
23204 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23205 ecode2 = SWIG_AsVal_int(obj1, &val2);
23206 if (!SWIG_IsOK(ecode2)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23208 }
23209 arg2 = static_cast< int >(val2);
23210 ecode3 = SWIG_AsVal_int(obj2, &val3);
23211 if (!SWIG_IsOK(ecode3)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23213 }
23214 arg3 = static_cast< int >(val3);
23215 ecode4 = SWIG_AsVal_int(obj3, &val4);
23216 if (!SWIG_IsOK(ecode4)) {
23217 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23218 }
23219 arg4 = static_cast< int >(val4);
23220 ecode5 = SWIG_AsVal_int(obj4, &val5);
23221 if (!SWIG_IsOK(ecode5)) {
23222 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23223 }
23224 arg5 = static_cast< int >(val5);
23225 if (obj5) {
23226 ecode6 = SWIG_AsVal_int(obj5, &val6);
23227 if (!SWIG_IsOK(ecode6)) {
23228 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23229 }
23230 arg6 = static_cast< int >(val6);
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 resultobj = SWIG_Py_Void();
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj = 0;
23247 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23248 int arg2 ;
23249 int arg3 ;
23250 void *argp1 = 0 ;
23251 int res1 = 0 ;
23252 int val2 ;
23253 int ecode2 = 0 ;
23254 int val3 ;
23255 int ecode3 = 0 ;
23256 PyObject * obj0 = 0 ;
23257 PyObject * obj1 = 0 ;
23258 PyObject * obj2 = 0 ;
23259 char * kwnames[] = {
23260 (char *) "self",(char *) "width",(char *) "height", NULL
23261 };
23262
23263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23265 if (!SWIG_IsOK(res1)) {
23266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23267 }
23268 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23269 ecode2 = SWIG_AsVal_int(obj1, &val2);
23270 if (!SWIG_IsOK(ecode2)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23272 }
23273 arg2 = static_cast< int >(val2);
23274 ecode3 = SWIG_AsVal_int(obj2, &val3);
23275 if (!SWIG_IsOK(ecode3)) {
23276 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23277 }
23278 arg3 = static_cast< int >(val3);
23279 {
23280 PyThreadState* __tstate = wxPyBeginAllowThreads();
23281 (arg1)->DoSetClientSize(arg2,arg3);
23282 wxPyEndAllowThreads(__tstate);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 resultobj = SWIG_Py_Void();
23286 return resultobj;
23287 fail:
23288 return NULL;
23289 }
23290
23291
23292 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23293 PyObject *resultobj = 0;
23294 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23295 int arg2 ;
23296 int arg3 ;
23297 void *argp1 = 0 ;
23298 int res1 = 0 ;
23299 int val2 ;
23300 int ecode2 = 0 ;
23301 int val3 ;
23302 int ecode3 = 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 PyObject * obj2 = 0 ;
23306 char * kwnames[] = {
23307 (char *) "self",(char *) "x",(char *) "y", NULL
23308 };
23309
23310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23312 if (!SWIG_IsOK(res1)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23314 }
23315 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23316 ecode2 = SWIG_AsVal_int(obj1, &val2);
23317 if (!SWIG_IsOK(ecode2)) {
23318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23319 }
23320 arg2 = static_cast< int >(val2);
23321 ecode3 = SWIG_AsVal_int(obj2, &val3);
23322 if (!SWIG_IsOK(ecode3)) {
23323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23324 }
23325 arg3 = static_cast< int >(val3);
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 (arg1)->DoSetVirtualSize(arg2,arg3);
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 resultobj = SWIG_Py_Void();
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23340 PyObject *resultobj = 0;
23341 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23342 int *arg2 = (int *) 0 ;
23343 int *arg3 = (int *) 0 ;
23344 void *argp1 = 0 ;
23345 int res1 = 0 ;
23346 int temp2 ;
23347 int res2 = SWIG_TMPOBJ ;
23348 int temp3 ;
23349 int res3 = SWIG_TMPOBJ ;
23350 PyObject *swig_obj[1] ;
23351
23352 arg2 = &temp2;
23353 arg3 = &temp3;
23354 if (!args) SWIG_fail;
23355 swig_obj[0] = args;
23356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23357 if (!SWIG_IsOK(res1)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23359 }
23360 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 resultobj = SWIG_Py_Void();
23368 if (SWIG_IsTmpObj(res2)) {
23369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23370 } else {
23371 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23373 }
23374 if (SWIG_IsTmpObj(res3)) {
23375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23376 } else {
23377 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23387 PyObject *resultobj = 0;
23388 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23389 int *arg2 = (int *) 0 ;
23390 int *arg3 = (int *) 0 ;
23391 void *argp1 = 0 ;
23392 int res1 = 0 ;
23393 int temp2 ;
23394 int res2 = SWIG_TMPOBJ ;
23395 int temp3 ;
23396 int res3 = SWIG_TMPOBJ ;
23397 PyObject *swig_obj[1] ;
23398
23399 arg2 = &temp2;
23400 arg3 = &temp3;
23401 if (!args) SWIG_fail;
23402 swig_obj[0] = args;
23403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23404 if (!SWIG_IsOK(res1)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23406 }
23407 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 resultobj = SWIG_Py_Void();
23415 if (SWIG_IsTmpObj(res2)) {
23416 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23417 } else {
23418 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23420 }
23421 if (SWIG_IsTmpObj(res3)) {
23422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23423 } else {
23424 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23426 }
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23434 PyObject *resultobj = 0;
23435 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23436 int *arg2 = (int *) 0 ;
23437 int *arg3 = (int *) 0 ;
23438 void *argp1 = 0 ;
23439 int res1 = 0 ;
23440 int temp2 ;
23441 int res2 = SWIG_TMPOBJ ;
23442 int temp3 ;
23443 int res3 = SWIG_TMPOBJ ;
23444 PyObject *swig_obj[1] ;
23445
23446 arg2 = &temp2;
23447 arg3 = &temp3;
23448 if (!args) SWIG_fail;
23449 swig_obj[0] = args;
23450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23451 if (!SWIG_IsOK(res1)) {
23452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23453 }
23454 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = SWIG_Py_Void();
23462 if (SWIG_IsTmpObj(res2)) {
23463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23464 } else {
23465 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23467 }
23468 if (SWIG_IsTmpObj(res3)) {
23469 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23470 } else {
23471 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23472 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23473 }
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23481 PyObject *resultobj = 0;
23482 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23483 wxSize result;
23484 void *argp1 = 0 ;
23485 int res1 = 0 ;
23486 PyObject *swig_obj[1] ;
23487
23488 if (!args) SWIG_fail;
23489 swig_obj[0] = args;
23490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23491 if (!SWIG_IsOK(res1)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23493 }
23494 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23502 return resultobj;
23503 fail:
23504 return NULL;
23505 }
23506
23507
23508 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23509 PyObject *resultobj = 0;
23510 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23511 wxSize result;
23512 void *argp1 = 0 ;
23513 int res1 = 0 ;
23514 PyObject *swig_obj[1] ;
23515
23516 if (!args) SWIG_fail;
23517 swig_obj[0] = args;
23518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23519 if (!SWIG_IsOK(res1)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23521 }
23522 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23537 PyObject *resultobj = 0;
23538 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23539 SwigValueWrapper<wxVisualAttributes > result;
23540 void *argp1 = 0 ;
23541 int res1 = 0 ;
23542 PyObject *swig_obj[1] ;
23543
23544 if (!args) SWIG_fail;
23545 swig_obj[0] = args;
23546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23547 if (!SWIG_IsOK(res1)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23549 }
23550 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (arg1)->GetDefaultAttributes();
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23558 return resultobj;
23559 fail:
23560 return NULL;
23561 }
23562
23563
23564 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23565 PyObject *resultobj = 0;
23566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23567 void *argp1 = 0 ;
23568 int res1 = 0 ;
23569 PyObject *swig_obj[1] ;
23570
23571 if (!args) SWIG_fail;
23572 swig_obj[0] = args;
23573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23574 if (!SWIG_IsOK(res1)) {
23575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23576 }
23577 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->OnInternalIdle();
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 resultobj = SWIG_Py_Void();
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23592 PyObject *obj;
23593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23594 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23595 return SWIG_Py_Void();
23596 }
23597
23598 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 return SWIG_Python_InitShadowInstance(args);
23600 }
23601
23602 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23603 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23604 return 1;
23605 }
23606
23607
23608 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23609 PyObject *pyobj = 0;
23610
23611 {
23612 #if wxUSE_UNICODE
23613 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23614 #else
23615 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23616 #endif
23617 }
23618 return pyobj;
23619 }
23620
23621
23622 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23623 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23624 return 1;
23625 }
23626
23627
23628 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23629 PyObject *pyobj = 0;
23630
23631 {
23632 #if wxUSE_UNICODE
23633 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23634 #else
23635 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23636 #endif
23637 }
23638 return pyobj;
23639 }
23640
23641
23642 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23643 PyObject *resultobj = 0;
23644 wxPrintData *result = 0 ;
23645
23646 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 result = (wxPrintData *)new wxPrintData();
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23661 PyObject *resultobj = 0;
23662 wxPrintData *arg1 = 0 ;
23663 wxPrintData *result = 0 ;
23664 void *argp1 = 0 ;
23665 int res1 = 0 ;
23666
23667 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23669 if (!SWIG_IsOK(res1)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23671 }
23672 if (!argp1) {
23673 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23674 }
23675 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23683 return resultobj;
23684 fail:
23685 return NULL;
23686 }
23687
23688
23689 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23690 int argc;
23691 PyObject *argv[2];
23692
23693 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23694 --argc;
23695 if (argc == 0) {
23696 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23697 }
23698 if (argc == 1) {
23699 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23700 }
23701
23702 fail:
23703 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23704 return NULL;
23705 }
23706
23707
23708 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23709 PyObject *resultobj = 0;
23710 wxPrintData *arg1 = (wxPrintData *) 0 ;
23711 void *argp1 = 0 ;
23712 int res1 = 0 ;
23713 PyObject *swig_obj[1] ;
23714
23715 if (!args) SWIG_fail;
23716 swig_obj[0] = args;
23717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23718 if (!SWIG_IsOK(res1)) {
23719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23720 }
23721 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 delete arg1;
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 resultobj = SWIG_Py_Void();
23730 return resultobj;
23731 fail:
23732 return NULL;
23733 }
23734
23735
23736 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23737 PyObject *resultobj = 0;
23738 wxPrintData *arg1 = (wxPrintData *) 0 ;
23739 int result;
23740 void *argp1 = 0 ;
23741 int res1 = 0 ;
23742 PyObject *swig_obj[1] ;
23743
23744 if (!args) SWIG_fail;
23745 swig_obj[0] = args;
23746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23747 if (!SWIG_IsOK(res1)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 }
23750 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 result = (int)(arg1)->GetNoCopies();
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 resultobj = SWIG_From_int(static_cast< int >(result));
23758 return resultobj;
23759 fail:
23760 return NULL;
23761 }
23762
23763
23764 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23765 PyObject *resultobj = 0;
23766 wxPrintData *arg1 = (wxPrintData *) 0 ;
23767 bool result;
23768 void *argp1 = 0 ;
23769 int res1 = 0 ;
23770 PyObject *swig_obj[1] ;
23771
23772 if (!args) SWIG_fail;
23773 swig_obj[0] = args;
23774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23777 }
23778 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 result = (bool)(arg1)->GetCollate();
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 {
23786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23787 }
23788 return resultobj;
23789 fail:
23790 return NULL;
23791 }
23792
23793
23794 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23795 PyObject *resultobj = 0;
23796 wxPrintData *arg1 = (wxPrintData *) 0 ;
23797 int result;
23798 void *argp1 = 0 ;
23799 int res1 = 0 ;
23800 PyObject *swig_obj[1] ;
23801
23802 if (!args) SWIG_fail;
23803 swig_obj[0] = args;
23804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23805 if (!SWIG_IsOK(res1)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23807 }
23808 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 result = (int)(arg1)->GetOrientation();
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = SWIG_From_int(static_cast< int >(result));
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23823 PyObject *resultobj = 0;
23824 wxPrintData *arg1 = (wxPrintData *) 0 ;
23825 bool result;
23826 void *argp1 = 0 ;
23827 int res1 = 0 ;
23828 PyObject *swig_obj[1] ;
23829
23830 if (!args) SWIG_fail;
23831 swig_obj[0] = args;
23832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23835 }
23836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = (bool)(arg1)->Ok();
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 {
23844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23845 }
23846 return resultobj;
23847 fail:
23848 return NULL;
23849 }
23850
23851
23852 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23853 PyObject *resultobj = 0;
23854 wxPrintData *arg1 = (wxPrintData *) 0 ;
23855 wxString *result = 0 ;
23856 void *argp1 = 0 ;
23857 int res1 = 0 ;
23858 PyObject *swig_obj[1] ;
23859
23860 if (!args) SWIG_fail;
23861 swig_obj[0] = args;
23862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23863 if (!SWIG_IsOK(res1)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23865 }
23866 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 {
23870 wxString const &_result_ref = (arg1)->GetPrinterName();
23871 result = (wxString *) &_result_ref;
23872 }
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 #if wxUSE_UNICODE
23878 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23879 #else
23880 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23881 #endif
23882 }
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23890 PyObject *resultobj = 0;
23891 wxPrintData *arg1 = (wxPrintData *) 0 ;
23892 bool result;
23893 void *argp1 = 0 ;
23894 int res1 = 0 ;
23895 PyObject *swig_obj[1] ;
23896
23897 if (!args) SWIG_fail;
23898 swig_obj[0] = args;
23899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23900 if (!SWIG_IsOK(res1)) {
23901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23902 }
23903 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 result = (bool)(arg1)->GetColour();
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 {
23911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23912 }
23913 return resultobj;
23914 fail:
23915 return NULL;
23916 }
23917
23918
23919 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23920 PyObject *resultobj = 0;
23921 wxPrintData *arg1 = (wxPrintData *) 0 ;
23922 wxDuplexMode result;
23923 void *argp1 = 0 ;
23924 int res1 = 0 ;
23925 PyObject *swig_obj[1] ;
23926
23927 if (!args) SWIG_fail;
23928 swig_obj[0] = args;
23929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23930 if (!SWIG_IsOK(res1)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23932 }
23933 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 result = (wxDuplexMode)(arg1)->GetDuplex();
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 resultobj = SWIG_From_int(static_cast< int >(result));
23941 return resultobj;
23942 fail:
23943 return NULL;
23944 }
23945
23946
23947 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23948 PyObject *resultobj = 0;
23949 wxPrintData *arg1 = (wxPrintData *) 0 ;
23950 wxPaperSize result;
23951 void *argp1 = 0 ;
23952 int res1 = 0 ;
23953 PyObject *swig_obj[1] ;
23954
23955 if (!args) SWIG_fail;
23956 swig_obj[0] = args;
23957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23958 if (!SWIG_IsOK(res1)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23960 }
23961 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 result = (wxPaperSize)(arg1)->GetPaperId();
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 resultobj = SWIG_From_int(static_cast< int >(result));
23969 return resultobj;
23970 fail:
23971 return NULL;
23972 }
23973
23974
23975 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23976 PyObject *resultobj = 0;
23977 wxPrintData *arg1 = (wxPrintData *) 0 ;
23978 wxSize *result = 0 ;
23979 void *argp1 = 0 ;
23980 int res1 = 0 ;
23981 PyObject *swig_obj[1] ;
23982
23983 if (!args) SWIG_fail;
23984 swig_obj[0] = args;
23985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23986 if (!SWIG_IsOK(res1)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23988 }
23989 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 {
23993 wxSize const &_result_ref = (arg1)->GetPaperSize();
23994 result = (wxSize *) &_result_ref;
23995 }
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24000 return resultobj;
24001 fail:
24002 return NULL;
24003 }
24004
24005
24006 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24007 PyObject *resultobj = 0;
24008 wxPrintData *arg1 = (wxPrintData *) 0 ;
24009 int result;
24010 void *argp1 = 0 ;
24011 int res1 = 0 ;
24012 PyObject *swig_obj[1] ;
24013
24014 if (!args) SWIG_fail;
24015 swig_obj[0] = args;
24016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24017 if (!SWIG_IsOK(res1)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 }
24020 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (int)(arg1)->GetQuality();
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 resultobj = SWIG_From_int(static_cast< int >(result));
24028 return resultobj;
24029 fail:
24030 return NULL;
24031 }
24032
24033
24034 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24035 PyObject *resultobj = 0;
24036 wxPrintData *arg1 = (wxPrintData *) 0 ;
24037 wxPrintBin result;
24038 void *argp1 = 0 ;
24039 int res1 = 0 ;
24040 PyObject *swig_obj[1] ;
24041
24042 if (!args) SWIG_fail;
24043 swig_obj[0] = args;
24044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24045 if (!SWIG_IsOK(res1)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24047 }
24048 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 result = (wxPrintBin)(arg1)->GetBin();
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 resultobj = SWIG_From_int(static_cast< int >(result));
24056 return resultobj;
24057 fail:
24058 return NULL;
24059 }
24060
24061
24062 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24063 PyObject *resultobj = 0;
24064 wxPrintData *arg1 = (wxPrintData *) 0 ;
24065 wxPrintMode result;
24066 void *argp1 = 0 ;
24067 int res1 = 0 ;
24068 PyObject *swig_obj[1] ;
24069
24070 if (!args) SWIG_fail;
24071 swig_obj[0] = args;
24072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24073 if (!SWIG_IsOK(res1)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24075 }
24076 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24077 {
24078 PyThreadState* __tstate = wxPyBeginAllowThreads();
24079 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 resultobj = SWIG_From_int(static_cast< int >(result));
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj = 0;
24092 wxPrintData *arg1 = (wxPrintData *) 0 ;
24093 int arg2 ;
24094 void *argp1 = 0 ;
24095 int res1 = 0 ;
24096 int val2 ;
24097 int ecode2 = 0 ;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char * kwnames[] = {
24101 (char *) "self",(char *) "v", NULL
24102 };
24103
24104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24106 if (!SWIG_IsOK(res1)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 }
24109 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24110 ecode2 = SWIG_AsVal_int(obj1, &val2);
24111 if (!SWIG_IsOK(ecode2)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24113 }
24114 arg2 = static_cast< int >(val2);
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 (arg1)->SetNoCopies(arg2);
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 resultobj = SWIG_Py_Void();
24122 return resultobj;
24123 fail:
24124 return NULL;
24125 }
24126
24127
24128 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj = 0;
24130 wxPrintData *arg1 = (wxPrintData *) 0 ;
24131 bool arg2 ;
24132 void *argp1 = 0 ;
24133 int res1 = 0 ;
24134 bool val2 ;
24135 int ecode2 = 0 ;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 char * kwnames[] = {
24139 (char *) "self",(char *) "flag", NULL
24140 };
24141
24142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24144 if (!SWIG_IsOK(res1)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24146 }
24147 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24148 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24149 if (!SWIG_IsOK(ecode2)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24151 }
24152 arg2 = static_cast< bool >(val2);
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 (arg1)->SetCollate(arg2);
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 resultobj = SWIG_Py_Void();
24160 return resultobj;
24161 fail:
24162 return NULL;
24163 }
24164
24165
24166 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj = 0;
24168 wxPrintData *arg1 = (wxPrintData *) 0 ;
24169 int arg2 ;
24170 void *argp1 = 0 ;
24171 int res1 = 0 ;
24172 int val2 ;
24173 int ecode2 = 0 ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 char * kwnames[] = {
24177 (char *) "self",(char *) "orient", NULL
24178 };
24179
24180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24182 if (!SWIG_IsOK(res1)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24184 }
24185 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24186 ecode2 = SWIG_AsVal_int(obj1, &val2);
24187 if (!SWIG_IsOK(ecode2)) {
24188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24189 }
24190 arg2 = static_cast< int >(val2);
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 (arg1)->SetOrientation(arg2);
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 resultobj = SWIG_Py_Void();
24198 return resultobj;
24199 fail:
24200 return NULL;
24201 }
24202
24203
24204 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj = 0;
24206 wxPrintData *arg1 = (wxPrintData *) 0 ;
24207 wxString *arg2 = 0 ;
24208 void *argp1 = 0 ;
24209 int res1 = 0 ;
24210 bool temp2 = false ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char * kwnames[] = {
24214 (char *) "self",(char *) "name", NULL
24215 };
24216
24217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 {
24224 arg2 = wxString_in_helper(obj1);
24225 if (arg2 == NULL) SWIG_fail;
24226 temp2 = true;
24227 }
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 (arg1)->SetPrinterName((wxString const &)*arg2);
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_Py_Void();
24235 {
24236 if (temp2)
24237 delete arg2;
24238 }
24239 return resultobj;
24240 fail:
24241 {
24242 if (temp2)
24243 delete arg2;
24244 }
24245 return NULL;
24246 }
24247
24248
24249 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24250 PyObject *resultobj = 0;
24251 wxPrintData *arg1 = (wxPrintData *) 0 ;
24252 bool arg2 ;
24253 void *argp1 = 0 ;
24254 int res1 = 0 ;
24255 bool val2 ;
24256 int ecode2 = 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char * kwnames[] = {
24260 (char *) "self",(char *) "colour", NULL
24261 };
24262
24263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24265 if (!SWIG_IsOK(res1)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24267 }
24268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24269 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24270 if (!SWIG_IsOK(ecode2)) {
24271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24272 }
24273 arg2 = static_cast< bool >(val2);
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 (arg1)->SetColour(arg2);
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 resultobj = SWIG_Py_Void();
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj = 0;
24289 wxPrintData *arg1 = (wxPrintData *) 0 ;
24290 wxDuplexMode arg2 ;
24291 void *argp1 = 0 ;
24292 int res1 = 0 ;
24293 int val2 ;
24294 int ecode2 = 0 ;
24295 PyObject * obj0 = 0 ;
24296 PyObject * obj1 = 0 ;
24297 char * kwnames[] = {
24298 (char *) "self",(char *) "duplex", NULL
24299 };
24300
24301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24303 if (!SWIG_IsOK(res1)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24305 }
24306 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24307 ecode2 = SWIG_AsVal_int(obj1, &val2);
24308 if (!SWIG_IsOK(ecode2)) {
24309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24310 }
24311 arg2 = static_cast< wxDuplexMode >(val2);
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 (arg1)->SetDuplex(arg2);
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 resultobj = SWIG_Py_Void();
24319 return resultobj;
24320 fail:
24321 return NULL;
24322 }
24323
24324
24325 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj = 0;
24327 wxPrintData *arg1 = (wxPrintData *) 0 ;
24328 wxPaperSize arg2 ;
24329 void *argp1 = 0 ;
24330 int res1 = 0 ;
24331 int val2 ;
24332 int ecode2 = 0 ;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char * kwnames[] = {
24336 (char *) "self",(char *) "sizeId", NULL
24337 };
24338
24339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24341 if (!SWIG_IsOK(res1)) {
24342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24343 }
24344 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24345 ecode2 = SWIG_AsVal_int(obj1, &val2);
24346 if (!SWIG_IsOK(ecode2)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24348 }
24349 arg2 = static_cast< wxPaperSize >(val2);
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 (arg1)->SetPaperId(arg2);
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 resultobj = SWIG_Py_Void();
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj = 0;
24365 wxPrintData *arg1 = (wxPrintData *) 0 ;
24366 wxSize *arg2 = 0 ;
24367 void *argp1 = 0 ;
24368 int res1 = 0 ;
24369 wxSize temp2 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char * kwnames[] = {
24373 (char *) "self",(char *) "sz", NULL
24374 };
24375
24376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24378 if (!SWIG_IsOK(res1)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24380 }
24381 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24382 {
24383 arg2 = &temp2;
24384 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24385 }
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 (arg1)->SetPaperSize((wxSize const &)*arg2);
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 resultobj = SWIG_Py_Void();
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj = 0;
24401 wxPrintData *arg1 = (wxPrintData *) 0 ;
24402 int arg2 ;
24403 void *argp1 = 0 ;
24404 int res1 = 0 ;
24405 int val2 ;
24406 int ecode2 = 0 ;
24407 PyObject * obj0 = 0 ;
24408 PyObject * obj1 = 0 ;
24409 char * kwnames[] = {
24410 (char *) "self",(char *) "quality", NULL
24411 };
24412
24413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24415 if (!SWIG_IsOK(res1)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24417 }
24418 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24419 ecode2 = SWIG_AsVal_int(obj1, &val2);
24420 if (!SWIG_IsOK(ecode2)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24422 }
24423 arg2 = static_cast< int >(val2);
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 (arg1)->SetQuality(arg2);
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 resultobj = SWIG_Py_Void();
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = 0;
24439 wxPrintData *arg1 = (wxPrintData *) 0 ;
24440 wxPrintBin arg2 ;
24441 void *argp1 = 0 ;
24442 int res1 = 0 ;
24443 int val2 ;
24444 int ecode2 = 0 ;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 char * kwnames[] = {
24448 (char *) "self",(char *) "bin", NULL
24449 };
24450
24451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24453 if (!SWIG_IsOK(res1)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24455 }
24456 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24457 ecode2 = SWIG_AsVal_int(obj1, &val2);
24458 if (!SWIG_IsOK(ecode2)) {
24459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24460 }
24461 arg2 = static_cast< wxPrintBin >(val2);
24462 {
24463 PyThreadState* __tstate = wxPyBeginAllowThreads();
24464 (arg1)->SetBin(arg2);
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 resultobj = SWIG_Py_Void();
24469 return resultobj;
24470 fail:
24471 return NULL;
24472 }
24473
24474
24475 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24476 PyObject *resultobj = 0;
24477 wxPrintData *arg1 = (wxPrintData *) 0 ;
24478 wxPrintMode arg2 ;
24479 void *argp1 = 0 ;
24480 int res1 = 0 ;
24481 int val2 ;
24482 int ecode2 = 0 ;
24483 PyObject * obj0 = 0 ;
24484 PyObject * obj1 = 0 ;
24485 char * kwnames[] = {
24486 (char *) "self",(char *) "printMode", NULL
24487 };
24488
24489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24491 if (!SWIG_IsOK(res1)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24493 }
24494 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24495 ecode2 = SWIG_AsVal_int(obj1, &val2);
24496 if (!SWIG_IsOK(ecode2)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24498 }
24499 arg2 = static_cast< wxPrintMode >(val2);
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 (arg1)->SetPrintMode(arg2);
24503 wxPyEndAllowThreads(__tstate);
24504 if (PyErr_Occurred()) SWIG_fail;
24505 }
24506 resultobj = SWIG_Py_Void();
24507 return resultobj;
24508 fail:
24509 return NULL;
24510 }
24511
24512
24513 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24514 PyObject *resultobj = 0;
24515 wxPrintData *arg1 = (wxPrintData *) 0 ;
24516 wxString result;
24517 void *argp1 = 0 ;
24518 int res1 = 0 ;
24519 PyObject *swig_obj[1] ;
24520
24521 if (!args) SWIG_fail;
24522 swig_obj[0] = args;
24523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24524 if (!SWIG_IsOK(res1)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24526 }
24527 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 result = ((wxPrintData const *)arg1)->GetFilename();
24531 wxPyEndAllowThreads(__tstate);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 {
24535 #if wxUSE_UNICODE
24536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24537 #else
24538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24539 #endif
24540 }
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj = 0;
24549 wxPrintData *arg1 = (wxPrintData *) 0 ;
24550 wxString *arg2 = 0 ;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 bool temp2 = false ;
24554 PyObject * obj0 = 0 ;
24555 PyObject * obj1 = 0 ;
24556 char * kwnames[] = {
24557 (char *) "self",(char *) "filename", NULL
24558 };
24559
24560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24562 if (!SWIG_IsOK(res1)) {
24563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24564 }
24565 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24566 {
24567 arg2 = wxString_in_helper(obj1);
24568 if (arg2 == NULL) SWIG_fail;
24569 temp2 = true;
24570 }
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 (arg1)->SetFilename((wxString const &)*arg2);
24574 wxPyEndAllowThreads(__tstate);
24575 if (PyErr_Occurred()) SWIG_fail;
24576 }
24577 resultobj = SWIG_Py_Void();
24578 {
24579 if (temp2)
24580 delete arg2;
24581 }
24582 return resultobj;
24583 fail:
24584 {
24585 if (temp2)
24586 delete arg2;
24587 }
24588 return NULL;
24589 }
24590
24591
24592 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24593 PyObject *resultobj = 0;
24594 wxPrintData *arg1 = (wxPrintData *) 0 ;
24595 PyObject *result = 0 ;
24596 void *argp1 = 0 ;
24597 int res1 = 0 ;
24598 PyObject *swig_obj[1] ;
24599
24600 if (!args) SWIG_fail;
24601 swig_obj[0] = args;
24602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24603 if (!SWIG_IsOK(res1)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24605 }
24606 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
24613 resultobj = result;
24614 return resultobj;
24615 fail:
24616 return NULL;
24617 }
24618
24619
24620 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj = 0;
24622 wxPrintData *arg1 = (wxPrintData *) 0 ;
24623 PyObject *arg2 = (PyObject *) 0 ;
24624 void *argp1 = 0 ;
24625 int res1 = 0 ;
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj1 = 0 ;
24628 char * kwnames[] = {
24629 (char *) "self",(char *) "data", NULL
24630 };
24631
24632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24634 if (!SWIG_IsOK(res1)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24636 }
24637 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24638 arg2 = obj1;
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 wxPrintData_SetPrivData(arg1,arg2);
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 resultobj = SWIG_Py_Void();
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24653 PyObject *obj;
24654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24655 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24656 return SWIG_Py_Void();
24657 }
24658
24659 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24660 return SWIG_Python_InitShadowInstance(args);
24661 }
24662
24663 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24664 PyObject *resultobj = 0;
24665 wxPageSetupDialogData *result = 0 ;
24666
24667 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24682 PyObject *resultobj = 0;
24683 wxPageSetupDialogData *arg1 = 0 ;
24684 wxPageSetupDialogData *result = 0 ;
24685 void *argp1 = 0 ;
24686 int res1 = 0 ;
24687
24688 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24690 if (!SWIG_IsOK(res1)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24692 }
24693 if (!argp1) {
24694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24695 }
24696 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24704 return resultobj;
24705 fail:
24706 return NULL;
24707 }
24708
24709
24710 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24711 PyObject *resultobj = 0;
24712 wxPrintData *arg1 = 0 ;
24713 wxPageSetupDialogData *result = 0 ;
24714 void *argp1 = 0 ;
24715 int res1 = 0 ;
24716
24717 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24719 if (!SWIG_IsOK(res1)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24721 }
24722 if (!argp1) {
24723 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24724 }
24725 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24740 int argc;
24741 PyObject *argv[2];
24742
24743 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24744 --argc;
24745 if (argc == 0) {
24746 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24747 }
24748 if (argc == 1) {
24749 int _v = 0;
24750 {
24751 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24752 _v = SWIG_CheckState(res);
24753 }
24754 if (!_v) goto check_2;
24755 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24756 }
24757 check_2:
24758
24759 if (argc == 1) {
24760 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24761 }
24762
24763 fail:
24764 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24765 return NULL;
24766 }
24767
24768
24769 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24770 PyObject *resultobj = 0;
24771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24772 void *argp1 = 0 ;
24773 int res1 = 0 ;
24774 PyObject *swig_obj[1] ;
24775
24776 if (!args) SWIG_fail;
24777 swig_obj[0] = args;
24778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24779 if (!SWIG_IsOK(res1)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24781 }
24782 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 delete arg1;
24786
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 resultobj = SWIG_Py_Void();
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj = 0;
24799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24800 bool arg2 ;
24801 void *argp1 = 0 ;
24802 int res1 = 0 ;
24803 bool val2 ;
24804 int ecode2 = 0 ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char * kwnames[] = {
24808 (char *) "self",(char *) "flag", NULL
24809 };
24810
24811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24813 if (!SWIG_IsOK(res1)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24815 }
24816 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24817 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24818 if (!SWIG_IsOK(ecode2)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24820 }
24821 arg2 = static_cast< bool >(val2);
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 (arg1)->EnableHelp(arg2);
24825 wxPyEndAllowThreads(__tstate);
24826 if (PyErr_Occurred()) SWIG_fail;
24827 }
24828 resultobj = SWIG_Py_Void();
24829 return resultobj;
24830 fail:
24831 return NULL;
24832 }
24833
24834
24835 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24836 PyObject *resultobj = 0;
24837 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24838 bool arg2 ;
24839 void *argp1 = 0 ;
24840 int res1 = 0 ;
24841 bool val2 ;
24842 int ecode2 = 0 ;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char * kwnames[] = {
24846 (char *) "self",(char *) "flag", NULL
24847 };
24848
24849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24851 if (!SWIG_IsOK(res1)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24853 }
24854 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24855 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24856 if (!SWIG_IsOK(ecode2)) {
24857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24858 }
24859 arg2 = static_cast< bool >(val2);
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->EnableMargins(arg2);
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 resultobj = SWIG_Py_Void();
24867 return resultobj;
24868 fail:
24869 return NULL;
24870 }
24871
24872
24873 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj = 0;
24875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24876 bool arg2 ;
24877 void *argp1 = 0 ;
24878 int res1 = 0 ;
24879 bool val2 ;
24880 int ecode2 = 0 ;
24881 PyObject * obj0 = 0 ;
24882 PyObject * obj1 = 0 ;
24883 char * kwnames[] = {
24884 (char *) "self",(char *) "flag", NULL
24885 };
24886
24887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24889 if (!SWIG_IsOK(res1)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24891 }
24892 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24893 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24894 if (!SWIG_IsOK(ecode2)) {
24895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24896 }
24897 arg2 = static_cast< bool >(val2);
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 (arg1)->EnableOrientation(arg2);
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 resultobj = SWIG_Py_Void();
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj = 0;
24913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24914 bool arg2 ;
24915 void *argp1 = 0 ;
24916 int res1 = 0 ;
24917 bool val2 ;
24918 int ecode2 = 0 ;
24919 PyObject * obj0 = 0 ;
24920 PyObject * obj1 = 0 ;
24921 char * kwnames[] = {
24922 (char *) "self",(char *) "flag", NULL
24923 };
24924
24925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24927 if (!SWIG_IsOK(res1)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24929 }
24930 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24932 if (!SWIG_IsOK(ecode2)) {
24933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24934 }
24935 arg2 = static_cast< bool >(val2);
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 (arg1)->EnablePaper(arg2);
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 resultobj = SWIG_Py_Void();
24943 return resultobj;
24944 fail:
24945 return NULL;
24946 }
24947
24948
24949 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj = 0;
24951 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24952 bool arg2 ;
24953 void *argp1 = 0 ;
24954 int res1 = 0 ;
24955 bool val2 ;
24956 int ecode2 = 0 ;
24957 PyObject * obj0 = 0 ;
24958 PyObject * obj1 = 0 ;
24959 char * kwnames[] = {
24960 (char *) "self",(char *) "flag", NULL
24961 };
24962
24963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24965 if (!SWIG_IsOK(res1)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24967 }
24968 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24969 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24970 if (!SWIG_IsOK(ecode2)) {
24971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24972 }
24973 arg2 = static_cast< bool >(val2);
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 (arg1)->EnablePrinter(arg2);
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 resultobj = SWIG_Py_Void();
24981 return resultobj;
24982 fail:
24983 return NULL;
24984 }
24985
24986
24987 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24988 PyObject *resultobj = 0;
24989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24990 bool result;
24991 void *argp1 = 0 ;
24992 int res1 = 0 ;
24993 PyObject *swig_obj[1] ;
24994
24995 if (!args) SWIG_fail;
24996 swig_obj[0] = args;
24997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24998 if (!SWIG_IsOK(res1)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25000 }
25001 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 result = (bool)(arg1)->GetDefaultMinMargins();
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 {
25009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25018 PyObject *resultobj = 0;
25019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25020 bool result;
25021 void *argp1 = 0 ;
25022 int res1 = 0 ;
25023 PyObject *swig_obj[1] ;
25024
25025 if (!args) SWIG_fail;
25026 swig_obj[0] = args;
25027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25028 if (!SWIG_IsOK(res1)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25030 }
25031 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (bool)(arg1)->GetEnableMargins();
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 {
25039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25040 }
25041 return resultobj;
25042 fail:
25043 return NULL;
25044 }
25045
25046
25047 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25048 PyObject *resultobj = 0;
25049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25050 bool result;
25051 void *argp1 = 0 ;
25052 int res1 = 0 ;
25053 PyObject *swig_obj[1] ;
25054
25055 if (!args) SWIG_fail;
25056 swig_obj[0] = args;
25057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25058 if (!SWIG_IsOK(res1)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25060 }
25061 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (bool)(arg1)->GetEnableOrientation();
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 {
25069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25070 }
25071 return resultobj;
25072 fail:
25073 return NULL;
25074 }
25075
25076
25077 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25078 PyObject *resultobj = 0;
25079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25080 bool result;
25081 void *argp1 = 0 ;
25082 int res1 = 0 ;
25083 PyObject *swig_obj[1] ;
25084
25085 if (!args) SWIG_fail;
25086 swig_obj[0] = args;
25087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25088 if (!SWIG_IsOK(res1)) {
25089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25090 }
25091 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = (bool)(arg1)->GetEnablePaper();
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 {
25099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25100 }
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25108 PyObject *resultobj = 0;
25109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25110 bool result;
25111 void *argp1 = 0 ;
25112 int res1 = 0 ;
25113 PyObject *swig_obj[1] ;
25114
25115 if (!args) SWIG_fail;
25116 swig_obj[0] = args;
25117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25118 if (!SWIG_IsOK(res1)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25120 }
25121 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 result = (bool)(arg1)->GetEnablePrinter();
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 {
25129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25130 }
25131 return resultobj;
25132 fail:
25133 return NULL;
25134 }
25135
25136
25137 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25138 PyObject *resultobj = 0;
25139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25140 bool result;
25141 void *argp1 = 0 ;
25142 int res1 = 0 ;
25143 PyObject *swig_obj[1] ;
25144
25145 if (!args) SWIG_fail;
25146 swig_obj[0] = args;
25147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25148 if (!SWIG_IsOK(res1)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 }
25151 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (bool)(arg1)->GetEnableHelp();
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 {
25159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25160 }
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25168 PyObject *resultobj = 0;
25169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25170 bool result;
25171 void *argp1 = 0 ;
25172 int res1 = 0 ;
25173 PyObject *swig_obj[1] ;
25174
25175 if (!args) SWIG_fail;
25176 swig_obj[0] = args;
25177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25178 if (!SWIG_IsOK(res1)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25180 }
25181 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (bool)(arg1)->GetDefaultInfo();
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25190 }
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25198 PyObject *resultobj = 0;
25199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25200 wxPoint result;
25201 void *argp1 = 0 ;
25202 int res1 = 0 ;
25203 PyObject *swig_obj[1] ;
25204
25205 if (!args) SWIG_fail;
25206 swig_obj[0] = args;
25207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25208 if (!SWIG_IsOK(res1)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 }
25211 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = (arg1)->GetMarginTopLeft();
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25219 return resultobj;
25220 fail:
25221 return NULL;
25222 }
25223
25224
25225 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25226 PyObject *resultobj = 0;
25227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25228 wxPoint result;
25229 void *argp1 = 0 ;
25230 int res1 = 0 ;
25231 PyObject *swig_obj[1] ;
25232
25233 if (!args) SWIG_fail;
25234 swig_obj[0] = args;
25235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25236 if (!SWIG_IsOK(res1)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25238 }
25239 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = (arg1)->GetMarginBottomRight();
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25247 return resultobj;
25248 fail:
25249 return NULL;
25250 }
25251
25252
25253 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25254 PyObject *resultobj = 0;
25255 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25256 wxPoint result;
25257 void *argp1 = 0 ;
25258 int res1 = 0 ;
25259 PyObject *swig_obj[1] ;
25260
25261 if (!args) SWIG_fail;
25262 swig_obj[0] = args;
25263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25264 if (!SWIG_IsOK(res1)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25266 }
25267 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 result = (arg1)->GetMinMarginTopLeft();
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25282 PyObject *resultobj = 0;
25283 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25284 wxPoint result;
25285 void *argp1 = 0 ;
25286 int res1 = 0 ;
25287 PyObject *swig_obj[1] ;
25288
25289 if (!args) SWIG_fail;
25290 swig_obj[0] = args;
25291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25292 if (!SWIG_IsOK(res1)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25294 }
25295 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = (arg1)->GetMinMarginBottomRight();
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25303 return resultobj;
25304 fail:
25305 return NULL;
25306 }
25307
25308
25309 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25310 PyObject *resultobj = 0;
25311 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25312 wxPaperSize result;
25313 void *argp1 = 0 ;
25314 int res1 = 0 ;
25315 PyObject *swig_obj[1] ;
25316
25317 if (!args) SWIG_fail;
25318 swig_obj[0] = args;
25319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25320 if (!SWIG_IsOK(res1)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 }
25323 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25324 {
25325 PyThreadState* __tstate = wxPyBeginAllowThreads();
25326 result = (wxPaperSize)(arg1)->GetPaperId();
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 resultobj = SWIG_From_int(static_cast< int >(result));
25331 return resultobj;
25332 fail:
25333 return NULL;
25334 }
25335
25336
25337 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25338 PyObject *resultobj = 0;
25339 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25340 wxSize result;
25341 void *argp1 = 0 ;
25342 int res1 = 0 ;
25343 PyObject *swig_obj[1] ;
25344
25345 if (!args) SWIG_fail;
25346 swig_obj[0] = args;
25347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25348 if (!SWIG_IsOK(res1)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25350 }
25351 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (arg1)->GetPaperSize();
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25359 return resultobj;
25360 fail:
25361 return NULL;
25362 }
25363
25364
25365 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25366 PyObject *resultobj = 0;
25367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25368 wxPrintData *result = 0 ;
25369 void *argp1 = 0 ;
25370 int res1 = 0 ;
25371 PyObject *swig_obj[1] ;
25372
25373 if (!args) SWIG_fail;
25374 swig_obj[0] = args;
25375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25376 if (!SWIG_IsOK(res1)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25378 }
25379 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 {
25383 wxPrintData &_result_ref = (arg1)->GetPrintData();
25384 result = (wxPrintData *) &_result_ref;
25385 }
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25397 PyObject *resultobj = 0;
25398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25399 bool result;
25400 void *argp1 = 0 ;
25401 int res1 = 0 ;
25402 PyObject *swig_obj[1] ;
25403
25404 if (!args) SWIG_fail;
25405 swig_obj[0] = args;
25406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25407 if (!SWIG_IsOK(res1)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25409 }
25410 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25411 {
25412 PyThreadState* __tstate = wxPyBeginAllowThreads();
25413 result = (bool)(arg1)->Ok();
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 {
25418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25419 }
25420 return resultobj;
25421 fail:
25422 return NULL;
25423 }
25424
25425
25426 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25427 PyObject *resultobj = 0;
25428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25429 bool arg2 ;
25430 void *argp1 = 0 ;
25431 int res1 = 0 ;
25432 bool val2 ;
25433 int ecode2 = 0 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char * kwnames[] = {
25437 (char *) "self",(char *) "flag", NULL
25438 };
25439
25440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25442 if (!SWIG_IsOK(res1)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25444 }
25445 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25447 if (!SWIG_IsOK(ecode2)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25449 }
25450 arg2 = static_cast< bool >(val2);
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 (arg1)->SetDefaultInfo(arg2);
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 resultobj = SWIG_Py_Void();
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj = 0;
25466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25467 bool arg2 ;
25468 void *argp1 = 0 ;
25469 int res1 = 0 ;
25470 bool val2 ;
25471 int ecode2 = 0 ;
25472 PyObject * obj0 = 0 ;
25473 PyObject * obj1 = 0 ;
25474 char * kwnames[] = {
25475 (char *) "self",(char *) "flag", NULL
25476 };
25477
25478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25480 if (!SWIG_IsOK(res1)) {
25481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25482 }
25483 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25484 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25485 if (!SWIG_IsOK(ecode2)) {
25486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25487 }
25488 arg2 = static_cast< bool >(val2);
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 (arg1)->SetDefaultMinMargins(arg2);
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 resultobj = SWIG_Py_Void();
25496 return resultobj;
25497 fail:
25498 return NULL;
25499 }
25500
25501
25502 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj = 0;
25504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25505 wxPoint *arg2 = 0 ;
25506 void *argp1 = 0 ;
25507 int res1 = 0 ;
25508 wxPoint temp2 ;
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 char * kwnames[] = {
25512 (char *) "self",(char *) "pt", NULL
25513 };
25514
25515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25517 if (!SWIG_IsOK(res1)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25519 }
25520 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25521 {
25522 arg2 = &temp2;
25523 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25524 }
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 resultobj = SWIG_Py_Void();
25532 return resultobj;
25533 fail:
25534 return NULL;
25535 }
25536
25537
25538 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25539 PyObject *resultobj = 0;
25540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25541 wxPoint *arg2 = 0 ;
25542 void *argp1 = 0 ;
25543 int res1 = 0 ;
25544 wxPoint temp2 ;
25545 PyObject * obj0 = 0 ;
25546 PyObject * obj1 = 0 ;
25547 char * kwnames[] = {
25548 (char *) "self",(char *) "pt", NULL
25549 };
25550
25551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25553 if (!SWIG_IsOK(res1)) {
25554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25555 }
25556 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25557 {
25558 arg2 = &temp2;
25559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25560 }
25561 {
25562 PyThreadState* __tstate = wxPyBeginAllowThreads();
25563 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 resultobj = SWIG_Py_Void();
25568 return resultobj;
25569 fail:
25570 return NULL;
25571 }
25572
25573
25574 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj = 0;
25576 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25577 wxPoint *arg2 = 0 ;
25578 void *argp1 = 0 ;
25579 int res1 = 0 ;
25580 wxPoint temp2 ;
25581 PyObject * obj0 = 0 ;
25582 PyObject * obj1 = 0 ;
25583 char * kwnames[] = {
25584 (char *) "self",(char *) "pt", NULL
25585 };
25586
25587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25589 if (!SWIG_IsOK(res1)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25591 }
25592 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25593 {
25594 arg2 = &temp2;
25595 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25596 }
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 resultobj = SWIG_Py_Void();
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25611 PyObject *resultobj = 0;
25612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25613 wxPoint *arg2 = 0 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616 wxPoint temp2 ;
25617 PyObject * obj0 = 0 ;
25618 PyObject * obj1 = 0 ;
25619 char * kwnames[] = {
25620 (char *) "self",(char *) "pt", NULL
25621 };
25622
25623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25627 }
25628 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25629 {
25630 arg2 = &temp2;
25631 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25632 }
25633 {
25634 PyThreadState* __tstate = wxPyBeginAllowThreads();
25635 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 resultobj = SWIG_Py_Void();
25640 return resultobj;
25641 fail:
25642 return NULL;
25643 }
25644
25645
25646 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25647 PyObject *resultobj = 0;
25648 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25649 wxPaperSize arg2 ;
25650 void *argp1 = 0 ;
25651 int res1 = 0 ;
25652 int val2 ;
25653 int ecode2 = 0 ;
25654 PyObject * obj0 = 0 ;
25655 PyObject * obj1 = 0 ;
25656 char * kwnames[] = {
25657 (char *) "self",(char *) "id", NULL
25658 };
25659
25660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25662 if (!SWIG_IsOK(res1)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25664 }
25665 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25666 ecode2 = SWIG_AsVal_int(obj1, &val2);
25667 if (!SWIG_IsOK(ecode2)) {
25668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25669 }
25670 arg2 = static_cast< wxPaperSize >(val2);
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 (arg1)->SetPaperId(arg2);
25674 wxPyEndAllowThreads(__tstate);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 resultobj = SWIG_Py_Void();
25678 return resultobj;
25679 fail:
25680 return NULL;
25681 }
25682
25683
25684 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25685 PyObject *resultobj = 0;
25686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25687 wxSize *arg2 = 0 ;
25688 void *argp1 = 0 ;
25689 int res1 = 0 ;
25690 wxSize temp2 ;
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 char * kwnames[] = {
25694 (char *) "self",(char *) "size", NULL
25695 };
25696
25697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25699 if (!SWIG_IsOK(res1)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25701 }
25702 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25703 {
25704 arg2 = &temp2;
25705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25706 }
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 (arg1)->SetPaperSize((wxSize const &)*arg2);
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 resultobj = SWIG_Py_Void();
25714 return resultobj;
25715 fail:
25716 return NULL;
25717 }
25718
25719
25720 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj = 0;
25722 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25723 wxPrintData *arg2 = 0 ;
25724 void *argp1 = 0 ;
25725 int res1 = 0 ;
25726 void *argp2 = 0 ;
25727 int res2 = 0 ;
25728 PyObject * obj0 = 0 ;
25729 PyObject * obj1 = 0 ;
25730 char * kwnames[] = {
25731 (char *) "self",(char *) "printData", NULL
25732 };
25733
25734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25736 if (!SWIG_IsOK(res1)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25738 }
25739 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25740 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25741 if (!SWIG_IsOK(res2)) {
25742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25743 }
25744 if (!argp2) {
25745 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25746 }
25747 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_Py_Void();
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25762 PyObject *resultobj = 0;
25763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25764 void *argp1 = 0 ;
25765 int res1 = 0 ;
25766 PyObject *swig_obj[1] ;
25767
25768 if (!args) SWIG_fail;
25769 swig_obj[0] = args;
25770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25771 if (!SWIG_IsOK(res1)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25773 }
25774 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 (arg1)->CalculateIdFromPaperSize();
25778 wxPyEndAllowThreads(__tstate);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 resultobj = SWIG_Py_Void();
25782 return resultobj;
25783 fail:
25784 return NULL;
25785 }
25786
25787
25788 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25789 PyObject *resultobj = 0;
25790 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25791 void *argp1 = 0 ;
25792 int res1 = 0 ;
25793 PyObject *swig_obj[1] ;
25794
25795 if (!args) SWIG_fail;
25796 swig_obj[0] = args;
25797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25798 if (!SWIG_IsOK(res1)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25800 }
25801 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25802 {
25803 PyThreadState* __tstate = wxPyBeginAllowThreads();
25804 (arg1)->CalculatePaperSizeFromId();
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 resultobj = SWIG_Py_Void();
25809 return resultobj;
25810 fail:
25811 return NULL;
25812 }
25813
25814
25815 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25816 PyObject *obj;
25817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25819 return SWIG_Py_Void();
25820 }
25821
25822 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25823 return SWIG_Python_InitShadowInstance(args);
25824 }
25825
25826 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj = 0;
25828 wxWindow *arg1 = (wxWindow *) 0 ;
25829 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25830 wxPageSetupDialog *result = 0 ;
25831 void *argp1 = 0 ;
25832 int res1 = 0 ;
25833 void *argp2 = 0 ;
25834 int res2 = 0 ;
25835 PyObject * obj0 = 0 ;
25836 PyObject * obj1 = 0 ;
25837 char * kwnames[] = {
25838 (char *) "parent",(char *) "data", NULL
25839 };
25840
25841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25843 if (!SWIG_IsOK(res1)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25845 }
25846 arg1 = reinterpret_cast< wxWindow * >(argp1);
25847 if (obj1) {
25848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25849 if (!SWIG_IsOK(res2)) {
25850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25851 }
25852 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25853 }
25854 {
25855 if (!wxPyCheckForApp()) SWIG_fail;
25856 PyThreadState* __tstate = wxPyBeginAllowThreads();
25857 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25862 return resultobj;
25863 fail:
25864 return NULL;
25865 }
25866
25867
25868 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25869 PyObject *resultobj = 0;
25870 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25871 void *argp1 = 0 ;
25872 int res1 = 0 ;
25873 PyObject *swig_obj[1] ;
25874
25875 if (!args) SWIG_fail;
25876 swig_obj[0] = args;
25877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25878 if (!SWIG_IsOK(res1)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25880 }
25881 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 delete arg1;
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 resultobj = SWIG_Py_Void();
25890 return resultobj;
25891 fail:
25892 return NULL;
25893 }
25894
25895
25896 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25897 PyObject *resultobj = 0;
25898 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25899 wxPageSetupDialogData *result = 0 ;
25900 void *argp1 = 0 ;
25901 int res1 = 0 ;
25902 PyObject *swig_obj[1] ;
25903
25904 if (!args) SWIG_fail;
25905 swig_obj[0] = args;
25906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25907 if (!SWIG_IsOK(res1)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25909 }
25910 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 {
25914 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25915 result = (wxPageSetupDialogData *) &_result_ref;
25916 }
25917 wxPyEndAllowThreads(__tstate);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 }
25920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25921 return resultobj;
25922 fail:
25923 return NULL;
25924 }
25925
25926
25927 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25928 PyObject *resultobj = 0;
25929 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25930 wxPageSetupDialogData *result = 0 ;
25931 void *argp1 = 0 ;
25932 int res1 = 0 ;
25933 PyObject *swig_obj[1] ;
25934
25935 if (!args) SWIG_fail;
25936 swig_obj[0] = args;
25937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25938 if (!SWIG_IsOK(res1)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25940 }
25941 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25942 {
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 {
25945 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25946 result = (wxPageSetupDialogData *) &_result_ref;
25947 }
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25952 return resultobj;
25953 fail:
25954 return NULL;
25955 }
25956
25957
25958 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25959 PyObject *resultobj = 0;
25960 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25961 int result;
25962 void *argp1 = 0 ;
25963 int res1 = 0 ;
25964 PyObject *swig_obj[1] ;
25965
25966 if (!args) SWIG_fail;
25967 swig_obj[0] = args;
25968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25969 if (!SWIG_IsOK(res1)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25971 }
25972 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = (int)(arg1)->ShowModal();
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 resultobj = SWIG_From_int(static_cast< int >(result));
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25987 PyObject *obj;
25988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25989 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25990 return SWIG_Py_Void();
25991 }
25992
25993 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 return SWIG_Python_InitShadowInstance(args);
25995 }
25996
25997 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25998 PyObject *resultobj = 0;
25999 wxPrintDialogData *result = 0 ;
26000
26001 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 result = (wxPrintDialogData *)new wxPrintDialogData();
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26009 return resultobj;
26010 fail:
26011 return NULL;
26012 }
26013
26014
26015 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26016 PyObject *resultobj = 0;
26017 wxPrintData *arg1 = 0 ;
26018 wxPrintDialogData *result = 0 ;
26019 void *argp1 = 0 ;
26020 int res1 = 0 ;
26021
26022 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26024 if (!SWIG_IsOK(res1)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26026 }
26027 if (!argp1) {
26028 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26029 }
26030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26038 return resultobj;
26039 fail:
26040 return NULL;
26041 }
26042
26043
26044 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26045 PyObject *resultobj = 0;
26046 wxPrintDialogData *arg1 = 0 ;
26047 wxPrintDialogData *result = 0 ;
26048 void *argp1 = 0 ;
26049 int res1 = 0 ;
26050
26051 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26053 if (!SWIG_IsOK(res1)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26055 }
26056 if (!argp1) {
26057 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26058 }
26059 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26067 return resultobj;
26068 fail:
26069 return NULL;
26070 }
26071
26072
26073 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26074 int argc;
26075 PyObject *argv[2];
26076
26077 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26078 --argc;
26079 if (argc == 0) {
26080 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26081 }
26082 if (argc == 1) {
26083 int _v = 0;
26084 {
26085 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26086 _v = SWIG_CheckState(res);
26087 }
26088 if (!_v) goto check_2;
26089 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26090 }
26091 check_2:
26092
26093 if (argc == 1) {
26094 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26095 }
26096
26097 fail:
26098 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26099 return NULL;
26100 }
26101
26102
26103 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26104 PyObject *resultobj = 0;
26105 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26106 void *argp1 = 0 ;
26107 int res1 = 0 ;
26108 PyObject *swig_obj[1] ;
26109
26110 if (!args) SWIG_fail;
26111 swig_obj[0] = args;
26112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26113 if (!SWIG_IsOK(res1)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26115 }
26116 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 delete arg1;
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = SWIG_Py_Void();
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26132 PyObject *resultobj = 0;
26133 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26134 int result;
26135 void *argp1 = 0 ;
26136 int res1 = 0 ;
26137 PyObject *swig_obj[1] ;
26138
26139 if (!args) SWIG_fail;
26140 swig_obj[0] = args;
26141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26142 if (!SWIG_IsOK(res1)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26144 }
26145 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26146 {
26147 PyThreadState* __tstate = wxPyBeginAllowThreads();
26148 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = SWIG_From_int(static_cast< int >(result));
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26160 PyObject *resultobj = 0;
26161 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26162 int result;
26163 void *argp1 = 0 ;
26164 int res1 = 0 ;
26165 PyObject *swig_obj[1] ;
26166
26167 if (!args) SWIG_fail;
26168 swig_obj[0] = args;
26169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26170 if (!SWIG_IsOK(res1)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26172 }
26173 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 resultobj = SWIG_From_int(static_cast< int >(result));
26181 return resultobj;
26182 fail:
26183 return NULL;
26184 }
26185
26186
26187 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26188 PyObject *resultobj = 0;
26189 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26190 int result;
26191 void *argp1 = 0 ;
26192 int res1 = 0 ;
26193 PyObject *swig_obj[1] ;
26194
26195 if (!args) SWIG_fail;
26196 swig_obj[0] = args;
26197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26198 if (!SWIG_IsOK(res1)) {
26199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26200 }
26201 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26202 {
26203 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26205 wxPyEndAllowThreads(__tstate);
26206 if (PyErr_Occurred()) SWIG_fail;
26207 }
26208 resultobj = SWIG_From_int(static_cast< int >(result));
26209 return resultobj;
26210 fail:
26211 return NULL;
26212 }
26213
26214
26215 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26216 PyObject *resultobj = 0;
26217 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26218 int result;
26219 void *argp1 = 0 ;
26220 int res1 = 0 ;
26221 PyObject *swig_obj[1] ;
26222
26223 if (!args) SWIG_fail;
26224 swig_obj[0] = args;
26225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26226 if (!SWIG_IsOK(res1)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26228 }
26229 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 resultobj = SWIG_From_int(static_cast< int >(result));
26237 return resultobj;
26238 fail:
26239 return NULL;
26240 }
26241
26242
26243 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26244 PyObject *resultobj = 0;
26245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26246 int result;
26247 void *argp1 = 0 ;
26248 int res1 = 0 ;
26249 PyObject *swig_obj[1] ;
26250
26251 if (!args) SWIG_fail;
26252 swig_obj[0] = args;
26253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26254 if (!SWIG_IsOK(res1)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26256 }
26257 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 resultobj = SWIG_From_int(static_cast< int >(result));
26265 return resultobj;
26266 fail:
26267 return NULL;
26268 }
26269
26270
26271 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26272 PyObject *resultobj = 0;
26273 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26274 bool result;
26275 void *argp1 = 0 ;
26276 int res1 = 0 ;
26277 PyObject *swig_obj[1] ;
26278
26279 if (!args) SWIG_fail;
26280 swig_obj[0] = args;
26281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26282 if (!SWIG_IsOK(res1)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26284 }
26285 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26289 wxPyEndAllowThreads(__tstate);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
26292 {
26293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26294 }
26295 return resultobj;
26296 fail:
26297 return NULL;
26298 }
26299
26300
26301 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26302 PyObject *resultobj = 0;
26303 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26304 bool result;
26305 void *argp1 = 0 ;
26306 int res1 = 0 ;
26307 PyObject *swig_obj[1] ;
26308
26309 if (!args) SWIG_fail;
26310 swig_obj[0] = args;
26311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26312 if (!SWIG_IsOK(res1)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26314 }
26315 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26316 {
26317 PyThreadState* __tstate = wxPyBeginAllowThreads();
26318 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 {
26323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26324 }
26325 return resultobj;
26326 fail:
26327 return NULL;
26328 }
26329
26330
26331 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26332 PyObject *resultobj = 0;
26333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26334 bool result;
26335 void *argp1 = 0 ;
26336 int res1 = 0 ;
26337 PyObject *swig_obj[1] ;
26338
26339 if (!args) SWIG_fail;
26340 swig_obj[0] = args;
26341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26342 if (!SWIG_IsOK(res1)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26344 }
26345 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 {
26353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26354 }
26355 return resultobj;
26356 fail:
26357 return NULL;
26358 }
26359
26360
26361 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26362 PyObject *resultobj = 0;
26363 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26364 bool result;
26365 void *argp1 = 0 ;
26366 int res1 = 0 ;
26367 PyObject *swig_obj[1] ;
26368
26369 if (!args) SWIG_fail;
26370 swig_obj[0] = args;
26371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26372 if (!SWIG_IsOK(res1)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26374 }
26375 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 {
26383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26384 }
26385 return resultobj;
26386 fail:
26387 return NULL;
26388 }
26389
26390
26391 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26392 PyObject *resultobj = 0;
26393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26394 int arg2 ;
26395 void *argp1 = 0 ;
26396 int res1 = 0 ;
26397 int val2 ;
26398 int ecode2 = 0 ;
26399 PyObject * obj0 = 0 ;
26400 PyObject * obj1 = 0 ;
26401 char * kwnames[] = {
26402 (char *) "self",(char *) "v", NULL
26403 };
26404
26405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26407 if (!SWIG_IsOK(res1)) {
26408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26409 }
26410 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26411 ecode2 = SWIG_AsVal_int(obj1, &val2);
26412 if (!SWIG_IsOK(ecode2)) {
26413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26414 }
26415 arg2 = static_cast< int >(val2);
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 (arg1)->SetFromPage(arg2);
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 resultobj = SWIG_Py_Void();
26423 return resultobj;
26424 fail:
26425 return NULL;
26426 }
26427
26428
26429 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26430 PyObject *resultobj = 0;
26431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26432 int arg2 ;
26433 void *argp1 = 0 ;
26434 int res1 = 0 ;
26435 int val2 ;
26436 int ecode2 = 0 ;
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 char * kwnames[] = {
26440 (char *) "self",(char *) "v", NULL
26441 };
26442
26443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26445 if (!SWIG_IsOK(res1)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26447 }
26448 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26449 ecode2 = SWIG_AsVal_int(obj1, &val2);
26450 if (!SWIG_IsOK(ecode2)) {
26451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26452 }
26453 arg2 = static_cast< int >(val2);
26454 {
26455 PyThreadState* __tstate = wxPyBeginAllowThreads();
26456 (arg1)->SetToPage(arg2);
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 resultobj = SWIG_Py_Void();
26461 return resultobj;
26462 fail:
26463 return NULL;
26464 }
26465
26466
26467 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj = 0;
26469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26470 int arg2 ;
26471 void *argp1 = 0 ;
26472 int res1 = 0 ;
26473 int val2 ;
26474 int ecode2 = 0 ;
26475 PyObject * obj0 = 0 ;
26476 PyObject * obj1 = 0 ;
26477 char * kwnames[] = {
26478 (char *) "self",(char *) "v", NULL
26479 };
26480
26481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26483 if (!SWIG_IsOK(res1)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26485 }
26486 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26487 ecode2 = SWIG_AsVal_int(obj1, &val2);
26488 if (!SWIG_IsOK(ecode2)) {
26489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26490 }
26491 arg2 = static_cast< int >(val2);
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 (arg1)->SetMinPage(arg2);
26495 wxPyEndAllowThreads(__tstate);
26496 if (PyErr_Occurred()) SWIG_fail;
26497 }
26498 resultobj = SWIG_Py_Void();
26499 return resultobj;
26500 fail:
26501 return NULL;
26502 }
26503
26504
26505 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26506 PyObject *resultobj = 0;
26507 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26508 int arg2 ;
26509 void *argp1 = 0 ;
26510 int res1 = 0 ;
26511 int val2 ;
26512 int ecode2 = 0 ;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char * kwnames[] = {
26516 (char *) "self",(char *) "v", NULL
26517 };
26518
26519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26521 if (!SWIG_IsOK(res1)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26523 }
26524 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26525 ecode2 = SWIG_AsVal_int(obj1, &val2);
26526 if (!SWIG_IsOK(ecode2)) {
26527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26528 }
26529 arg2 = static_cast< int >(val2);
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 (arg1)->SetMaxPage(arg2);
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 resultobj = SWIG_Py_Void();
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26544 PyObject *resultobj = 0;
26545 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26546 int arg2 ;
26547 void *argp1 = 0 ;
26548 int res1 = 0 ;
26549 int val2 ;
26550 int ecode2 = 0 ;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 char * kwnames[] = {
26554 (char *) "self",(char *) "v", NULL
26555 };
26556
26557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26559 if (!SWIG_IsOK(res1)) {
26560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26561 }
26562 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26563 ecode2 = SWIG_AsVal_int(obj1, &val2);
26564 if (!SWIG_IsOK(ecode2)) {
26565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26566 }
26567 arg2 = static_cast< int >(val2);
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 (arg1)->SetNoCopies(arg2);
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 resultobj = SWIG_Py_Void();
26575 return resultobj;
26576 fail:
26577 return NULL;
26578 }
26579
26580
26581 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26582 PyObject *resultobj = 0;
26583 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26584 bool arg2 ;
26585 void *argp1 = 0 ;
26586 int res1 = 0 ;
26587 bool val2 ;
26588 int ecode2 = 0 ;
26589 PyObject * obj0 = 0 ;
26590 PyObject * obj1 = 0 ;
26591 char * kwnames[] = {
26592 (char *) "self",(char *) "flag", NULL
26593 };
26594
26595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26597 if (!SWIG_IsOK(res1)) {
26598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26599 }
26600 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26601 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26602 if (!SWIG_IsOK(ecode2)) {
26603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26604 }
26605 arg2 = static_cast< bool >(val2);
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 (arg1)->SetAllPages(arg2);
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 resultobj = SWIG_Py_Void();
26613 return resultobj;
26614 fail:
26615 return NULL;
26616 }
26617
26618
26619 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26620 PyObject *resultobj = 0;
26621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26622 bool arg2 ;
26623 void *argp1 = 0 ;
26624 int res1 = 0 ;
26625 bool val2 ;
26626 int ecode2 = 0 ;
26627 PyObject * obj0 = 0 ;
26628 PyObject * obj1 = 0 ;
26629 char * kwnames[] = {
26630 (char *) "self",(char *) "flag", NULL
26631 };
26632
26633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26635 if (!SWIG_IsOK(res1)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26637 }
26638 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26639 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26640 if (!SWIG_IsOK(ecode2)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26642 }
26643 arg2 = static_cast< bool >(val2);
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 (arg1)->SetSelection(arg2);
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 resultobj = SWIG_Py_Void();
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj = 0;
26659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26660 bool arg2 ;
26661 void *argp1 = 0 ;
26662 int res1 = 0 ;
26663 bool val2 ;
26664 int ecode2 = 0 ;
26665 PyObject * obj0 = 0 ;
26666 PyObject * obj1 = 0 ;
26667 char * kwnames[] = {
26668 (char *) "self",(char *) "flag", NULL
26669 };
26670
26671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26673 if (!SWIG_IsOK(res1)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26675 }
26676 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26677 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26678 if (!SWIG_IsOK(ecode2)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26680 }
26681 arg2 = static_cast< bool >(val2);
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 (arg1)->SetCollate(arg2);
26685 wxPyEndAllowThreads(__tstate);
26686 if (PyErr_Occurred()) SWIG_fail;
26687 }
26688 resultobj = SWIG_Py_Void();
26689 return resultobj;
26690 fail:
26691 return NULL;
26692 }
26693
26694
26695 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj = 0;
26697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26698 bool arg2 ;
26699 void *argp1 = 0 ;
26700 int res1 = 0 ;
26701 bool val2 ;
26702 int ecode2 = 0 ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 char * kwnames[] = {
26706 (char *) "self",(char *) "flag", NULL
26707 };
26708
26709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26711 if (!SWIG_IsOK(res1)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26713 }
26714 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26715 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26716 if (!SWIG_IsOK(ecode2)) {
26717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26718 }
26719 arg2 = static_cast< bool >(val2);
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 (arg1)->SetPrintToFile(arg2);
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 resultobj = SWIG_Py_Void();
26727 return resultobj;
26728 fail:
26729 return NULL;
26730 }
26731
26732
26733 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26734 PyObject *resultobj = 0;
26735 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26736 bool arg2 ;
26737 void *argp1 = 0 ;
26738 int res1 = 0 ;
26739 bool val2 ;
26740 int ecode2 = 0 ;
26741 PyObject * obj0 = 0 ;
26742 PyObject * obj1 = 0 ;
26743 char * kwnames[] = {
26744 (char *) "self",(char *) "flag", NULL
26745 };
26746
26747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26749 if (!SWIG_IsOK(res1)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26751 }
26752 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26753 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26754 if (!SWIG_IsOK(ecode2)) {
26755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26756 }
26757 arg2 = static_cast< bool >(val2);
26758 {
26759 PyThreadState* __tstate = wxPyBeginAllowThreads();
26760 (arg1)->EnablePrintToFile(arg2);
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 resultobj = SWIG_Py_Void();
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj = 0;
26773 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26774 bool arg2 ;
26775 void *argp1 = 0 ;
26776 int res1 = 0 ;
26777 bool val2 ;
26778 int ecode2 = 0 ;
26779 PyObject * obj0 = 0 ;
26780 PyObject * obj1 = 0 ;
26781 char * kwnames[] = {
26782 (char *) "self",(char *) "flag", NULL
26783 };
26784
26785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26787 if (!SWIG_IsOK(res1)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26789 }
26790 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26791 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26792 if (!SWIG_IsOK(ecode2)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26794 }
26795 arg2 = static_cast< bool >(val2);
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 (arg1)->EnableSelection(arg2);
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 resultobj = SWIG_Py_Void();
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26810 PyObject *resultobj = 0;
26811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26812 bool arg2 ;
26813 void *argp1 = 0 ;
26814 int res1 = 0 ;
26815 bool val2 ;
26816 int ecode2 = 0 ;
26817 PyObject * obj0 = 0 ;
26818 PyObject * obj1 = 0 ;
26819 char * kwnames[] = {
26820 (char *) "self",(char *) "flag", NULL
26821 };
26822
26823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26825 if (!SWIG_IsOK(res1)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26827 }
26828 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26829 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26830 if (!SWIG_IsOK(ecode2)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26832 }
26833 arg2 = static_cast< bool >(val2);
26834 {
26835 PyThreadState* __tstate = wxPyBeginAllowThreads();
26836 (arg1)->EnablePageNumbers(arg2);
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 resultobj = SWIG_Py_Void();
26841 return resultobj;
26842 fail:
26843 return NULL;
26844 }
26845
26846
26847 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26848 PyObject *resultobj = 0;
26849 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26850 bool arg2 ;
26851 void *argp1 = 0 ;
26852 int res1 = 0 ;
26853 bool val2 ;
26854 int ecode2 = 0 ;
26855 PyObject * obj0 = 0 ;
26856 PyObject * obj1 = 0 ;
26857 char * kwnames[] = {
26858 (char *) "self",(char *) "flag", NULL
26859 };
26860
26861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26863 if (!SWIG_IsOK(res1)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26865 }
26866 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26867 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26868 if (!SWIG_IsOK(ecode2)) {
26869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26870 }
26871 arg2 = static_cast< bool >(val2);
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 (arg1)->EnableHelp(arg2);
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 resultobj = SWIG_Py_Void();
26879 return resultobj;
26880 fail:
26881 return NULL;
26882 }
26883
26884
26885 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26886 PyObject *resultobj = 0;
26887 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26888 bool result;
26889 void *argp1 = 0 ;
26890 int res1 = 0 ;
26891 PyObject *swig_obj[1] ;
26892
26893 if (!args) SWIG_fail;
26894 swig_obj[0] = args;
26895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26896 if (!SWIG_IsOK(res1)) {
26897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26898 }
26899 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 {
26907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26908 }
26909 return resultobj;
26910 fail:
26911 return NULL;
26912 }
26913
26914
26915 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26916 PyObject *resultobj = 0;
26917 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26918 bool result;
26919 void *argp1 = 0 ;
26920 int res1 = 0 ;
26921 PyObject *swig_obj[1] ;
26922
26923 if (!args) SWIG_fail;
26924 swig_obj[0] = args;
26925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26926 if (!SWIG_IsOK(res1)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26928 }
26929 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26933 wxPyEndAllowThreads(__tstate);
26934 if (PyErr_Occurred()) SWIG_fail;
26935 }
26936 {
26937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26938 }
26939 return resultobj;
26940 fail:
26941 return NULL;
26942 }
26943
26944
26945 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26946 PyObject *resultobj = 0;
26947 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26948 bool result;
26949 void *argp1 = 0 ;
26950 int res1 = 0 ;
26951 PyObject *swig_obj[1] ;
26952
26953 if (!args) SWIG_fail;
26954 swig_obj[0] = args;
26955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26956 if (!SWIG_IsOK(res1)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26958 }
26959 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26963 wxPyEndAllowThreads(__tstate);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 {
26967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26968 }
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26976 PyObject *resultobj = 0;
26977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26978 bool result;
26979 void *argp1 = 0 ;
26980 int res1 = 0 ;
26981 PyObject *swig_obj[1] ;
26982
26983 if (!args) SWIG_fail;
26984 swig_obj[0] = args;
26985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26986 if (!SWIG_IsOK(res1)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26988 }
26989 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 {
26997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26998 }
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27006 PyObject *resultobj = 0;
27007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27008 bool result;
27009 void *argp1 = 0 ;
27010 int res1 = 0 ;
27011 PyObject *swig_obj[1] ;
27012
27013 if (!args) SWIG_fail;
27014 swig_obj[0] = args;
27015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27016 if (!SWIG_IsOK(res1)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27018 }
27019 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 {
27027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27028 }
27029 return resultobj;
27030 fail:
27031 return NULL;
27032 }
27033
27034
27035 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27036 PyObject *resultobj = 0;
27037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27038 wxPrintData *result = 0 ;
27039 void *argp1 = 0 ;
27040 int res1 = 0 ;
27041 PyObject *swig_obj[1] ;
27042
27043 if (!args) SWIG_fail;
27044 swig_obj[0] = args;
27045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27046 if (!SWIG_IsOK(res1)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27048 }
27049 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 {
27053 wxPrintData &_result_ref = (arg1)->GetPrintData();
27054 result = (wxPrintData *) &_result_ref;
27055 }
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27060 return resultobj;
27061 fail:
27062 return NULL;
27063 }
27064
27065
27066 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj = 0;
27068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27069 wxPrintData *arg2 = 0 ;
27070 void *argp1 = 0 ;
27071 int res1 = 0 ;
27072 void *argp2 = 0 ;
27073 int res2 = 0 ;
27074 PyObject * obj0 = 0 ;
27075 PyObject * obj1 = 0 ;
27076 char * kwnames[] = {
27077 (char *) "self",(char *) "printData", NULL
27078 };
27079
27080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27082 if (!SWIG_IsOK(res1)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27084 }
27085 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27086 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27087 if (!SWIG_IsOK(res2)) {
27088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27089 }
27090 if (!argp2) {
27091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27092 }
27093 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_Py_Void();
27101 return resultobj;
27102 fail:
27103 return NULL;
27104 }
27105
27106
27107 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27108 PyObject *obj;
27109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27111 return SWIG_Py_Void();
27112 }
27113
27114 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27115 return SWIG_Python_InitShadowInstance(args);
27116 }
27117
27118 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj = 0;
27120 wxWindow *arg1 = (wxWindow *) 0 ;
27121 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27122 wxPrintDialog *result = 0 ;
27123 void *argp1 = 0 ;
27124 int res1 = 0 ;
27125 void *argp2 = 0 ;
27126 int res2 = 0 ;
27127 PyObject * obj0 = 0 ;
27128 PyObject * obj1 = 0 ;
27129 char * kwnames[] = {
27130 (char *) "parent",(char *) "data", NULL
27131 };
27132
27133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27135 if (!SWIG_IsOK(res1)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27137 }
27138 arg1 = reinterpret_cast< wxWindow * >(argp1);
27139 if (obj1) {
27140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27141 if (!SWIG_IsOK(res2)) {
27142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27143 }
27144 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27145 }
27146 {
27147 if (!wxPyCheckForApp()) SWIG_fail;
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
27149 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27161 PyObject *resultobj = 0;
27162 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27163 void *argp1 = 0 ;
27164 int res1 = 0 ;
27165 PyObject *swig_obj[1] ;
27166
27167 if (!args) SWIG_fail;
27168 swig_obj[0] = args;
27169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27170 if (!SWIG_IsOK(res1)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27172 }
27173 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 delete arg1;
27177
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 resultobj = SWIG_Py_Void();
27182 return resultobj;
27183 fail:
27184 return NULL;
27185 }
27186
27187
27188 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27189 PyObject *resultobj = 0;
27190 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27191 int result;
27192 void *argp1 = 0 ;
27193 int res1 = 0 ;
27194 PyObject *swig_obj[1] ;
27195
27196 if (!args) SWIG_fail;
27197 swig_obj[0] = args;
27198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27199 if (!SWIG_IsOK(res1)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27201 }
27202 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27203 {
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 result = (int)(arg1)->ShowModal();
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 resultobj = SWIG_From_int(static_cast< int >(result));
27210 return resultobj;
27211 fail:
27212 return NULL;
27213 }
27214
27215
27216 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27217 PyObject *resultobj = 0;
27218 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27219 wxPrintDialogData *result = 0 ;
27220 void *argp1 = 0 ;
27221 int res1 = 0 ;
27222 PyObject *swig_obj[1] ;
27223
27224 if (!args) SWIG_fail;
27225 swig_obj[0] = args;
27226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27227 if (!SWIG_IsOK(res1)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27229 }
27230 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 {
27234 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27235 result = (wxPrintDialogData *) &_result_ref;
27236 }
27237 wxPyEndAllowThreads(__tstate);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 }
27240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27241 return resultobj;
27242 fail:
27243 return NULL;
27244 }
27245
27246
27247 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27248 PyObject *resultobj = 0;
27249 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27250 wxPrintData *result = 0 ;
27251 void *argp1 = 0 ;
27252 int res1 = 0 ;
27253 PyObject *swig_obj[1] ;
27254
27255 if (!args) SWIG_fail;
27256 swig_obj[0] = args;
27257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27258 if (!SWIG_IsOK(res1)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27260 }
27261 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 {
27265 wxPrintData &_result_ref = (arg1)->GetPrintData();
27266 result = (wxPrintData *) &_result_ref;
27267 }
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27272 return resultobj;
27273 fail:
27274 return NULL;
27275 }
27276
27277
27278 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27279 PyObject *resultobj = 0;
27280 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27281 wxDC *result = 0 ;
27282 void *argp1 = 0 ;
27283 int res1 = 0 ;
27284 PyObject *swig_obj[1] ;
27285
27286 if (!args) SWIG_fail;
27287 swig_obj[0] = args;
27288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27289 if (!SWIG_IsOK(res1)) {
27290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27291 }
27292 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 result = (wxDC *)(arg1)->GetPrintDC();
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 {
27300 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27301 }
27302 return resultobj;
27303 fail:
27304 return NULL;
27305 }
27306
27307
27308 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27309 PyObject *obj;
27310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27312 return SWIG_Py_Void();
27313 }
27314
27315 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27316 return SWIG_Python_InitShadowInstance(args);
27317 }
27318
27319 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27320 PyObject *resultobj = 0;
27321 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27322 wxPrinter *result = 0 ;
27323 void *argp1 = 0 ;
27324 int res1 = 0 ;
27325 PyObject * obj0 = 0 ;
27326 char * kwnames[] = {
27327 (char *) "data", NULL
27328 };
27329
27330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27331 if (obj0) {
27332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27333 if (!SWIG_IsOK(res1)) {
27334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27335 }
27336 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27337 }
27338 {
27339 if (!wxPyCheckForApp()) SWIG_fail;
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (wxPrinter *)new wxPrinter(arg1);
27342 wxPyEndAllowThreads(__tstate);
27343 if (PyErr_Occurred()) SWIG_fail;
27344 }
27345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27346 return resultobj;
27347 fail:
27348 return NULL;
27349 }
27350
27351
27352 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27353 PyObject *resultobj = 0;
27354 wxPrinter *arg1 = (wxPrinter *) 0 ;
27355 void *argp1 = 0 ;
27356 int res1 = 0 ;
27357 PyObject *swig_obj[1] ;
27358
27359 if (!args) SWIG_fail;
27360 swig_obj[0] = args;
27361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27362 if (!SWIG_IsOK(res1)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27364 }
27365 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 delete arg1;
27369
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 resultobj = SWIG_Py_Void();
27374 return resultobj;
27375 fail:
27376 return NULL;
27377 }
27378
27379
27380 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27381 PyObject *resultobj = 0;
27382 wxPrinter *arg1 = (wxPrinter *) 0 ;
27383 wxWindow *arg2 = (wxWindow *) 0 ;
27384 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27385 wxWindow *result = 0 ;
27386 void *argp1 = 0 ;
27387 int res1 = 0 ;
27388 void *argp2 = 0 ;
27389 int res2 = 0 ;
27390 void *argp3 = 0 ;
27391 int res3 = 0 ;
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj1 = 0 ;
27394 PyObject * obj2 = 0 ;
27395 char * kwnames[] = {
27396 (char *) "self",(char *) "parent",(char *) "printout", NULL
27397 };
27398
27399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27401 if (!SWIG_IsOK(res1)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27403 }
27404 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27406 if (!SWIG_IsOK(res2)) {
27407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27408 }
27409 arg2 = reinterpret_cast< wxWindow * >(argp2);
27410 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27411 if (!SWIG_IsOK(res3)) {
27412 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27413 }
27414 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27415 {
27416 PyThreadState* __tstate = wxPyBeginAllowThreads();
27417 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 {
27422 resultobj = wxPyMake_wxObject(result, 0);
27423 }
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj = 0;
27432 wxPrinter *arg1 = (wxPrinter *) 0 ;
27433 wxWindow *arg2 = (wxWindow *) 0 ;
27434 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27435 wxString *arg4 = 0 ;
27436 void *argp1 = 0 ;
27437 int res1 = 0 ;
27438 void *argp2 = 0 ;
27439 int res2 = 0 ;
27440 void *argp3 = 0 ;
27441 int res3 = 0 ;
27442 bool temp4 = false ;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj1 = 0 ;
27445 PyObject * obj2 = 0 ;
27446 PyObject * obj3 = 0 ;
27447 char * kwnames[] = {
27448 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27449 };
27450
27451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27453 if (!SWIG_IsOK(res1)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27455 }
27456 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27457 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27458 if (!SWIG_IsOK(res2)) {
27459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27460 }
27461 arg2 = reinterpret_cast< wxWindow * >(argp2);
27462 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27463 if (!SWIG_IsOK(res3)) {
27464 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27465 }
27466 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27467 {
27468 arg4 = wxString_in_helper(obj3);
27469 if (arg4 == NULL) SWIG_fail;
27470 temp4 = true;
27471 }
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27475 wxPyEndAllowThreads(__tstate);
27476 if (PyErr_Occurred()) SWIG_fail;
27477 }
27478 resultobj = SWIG_Py_Void();
27479 {
27480 if (temp4)
27481 delete arg4;
27482 }
27483 return resultobj;
27484 fail:
27485 {
27486 if (temp4)
27487 delete arg4;
27488 }
27489 return NULL;
27490 }
27491
27492
27493 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27494 PyObject *resultobj = 0;
27495 wxPrinter *arg1 = (wxPrinter *) 0 ;
27496 wxWindow *arg2 = (wxWindow *) 0 ;
27497 bool result;
27498 void *argp1 = 0 ;
27499 int res1 = 0 ;
27500 void *argp2 = 0 ;
27501 int res2 = 0 ;
27502 PyObject * obj0 = 0 ;
27503 PyObject * obj1 = 0 ;
27504 char * kwnames[] = {
27505 (char *) "self",(char *) "parent", NULL
27506 };
27507
27508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27510 if (!SWIG_IsOK(res1)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27512 }
27513 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27515 if (!SWIG_IsOK(res2)) {
27516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27517 }
27518 arg2 = reinterpret_cast< wxWindow * >(argp2);
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = (bool)(arg1)->Setup(arg2);
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 {
27526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27527 }
27528 return resultobj;
27529 fail:
27530 return NULL;
27531 }
27532
27533
27534 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj = 0;
27536 wxPrinter *arg1 = (wxPrinter *) 0 ;
27537 wxWindow *arg2 = (wxWindow *) 0 ;
27538 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27539 bool arg4 = (bool) true ;
27540 bool result;
27541 void *argp1 = 0 ;
27542 int res1 = 0 ;
27543 void *argp2 = 0 ;
27544 int res2 = 0 ;
27545 void *argp3 = 0 ;
27546 int res3 = 0 ;
27547 bool val4 ;
27548 int ecode4 = 0 ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 PyObject * obj2 = 0 ;
27552 PyObject * obj3 = 0 ;
27553 char * kwnames[] = {
27554 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27555 };
27556
27557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27559 if (!SWIG_IsOK(res1)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27561 }
27562 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27563 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27564 if (!SWIG_IsOK(res2)) {
27565 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27566 }
27567 arg2 = reinterpret_cast< wxWindow * >(argp2);
27568 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27569 if (!SWIG_IsOK(res3)) {
27570 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27571 }
27572 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27573 if (obj3) {
27574 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27575 if (!SWIG_IsOK(ecode4)) {
27576 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27577 }
27578 arg4 = static_cast< bool >(val4);
27579 }
27580 {
27581 PyThreadState* __tstate = wxPyBeginAllowThreads();
27582 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 {
27587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27588 }
27589 return resultobj;
27590 fail:
27591 return NULL;
27592 }
27593
27594
27595 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27596 PyObject *resultobj = 0;
27597 wxPrinter *arg1 = (wxPrinter *) 0 ;
27598 wxWindow *arg2 = (wxWindow *) 0 ;
27599 wxDC *result = 0 ;
27600 void *argp1 = 0 ;
27601 int res1 = 0 ;
27602 void *argp2 = 0 ;
27603 int res2 = 0 ;
27604 PyObject * obj0 = 0 ;
27605 PyObject * obj1 = 0 ;
27606 char * kwnames[] = {
27607 (char *) "self",(char *) "parent", NULL
27608 };
27609
27610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27612 if (!SWIG_IsOK(res1)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27614 }
27615 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27617 if (!SWIG_IsOK(res2)) {
27618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27619 }
27620 arg2 = reinterpret_cast< wxWindow * >(argp2);
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 result = (wxDC *)(arg1)->PrintDialog(arg2);
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 {
27628 resultobj = wxPyMake_wxObject(result, (bool)0);
27629 }
27630 return resultobj;
27631 fail:
27632 return NULL;
27633 }
27634
27635
27636 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27637 PyObject *resultobj = 0;
27638 wxPrinter *arg1 = (wxPrinter *) 0 ;
27639 wxPrintDialogData *result = 0 ;
27640 void *argp1 = 0 ;
27641 int res1 = 0 ;
27642 PyObject *swig_obj[1] ;
27643
27644 if (!args) SWIG_fail;
27645 swig_obj[0] = args;
27646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27647 if (!SWIG_IsOK(res1)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27649 }
27650 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 {
27654 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27655 result = (wxPrintDialogData *) &_result_ref;
27656 }
27657 wxPyEndAllowThreads(__tstate);
27658 if (PyErr_Occurred()) SWIG_fail;
27659 }
27660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27661 return resultobj;
27662 fail:
27663 return NULL;
27664 }
27665
27666
27667 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27668 PyObject *resultobj = 0;
27669 wxPrinter *arg1 = (wxPrinter *) 0 ;
27670 bool result;
27671 void *argp1 = 0 ;
27672 int res1 = 0 ;
27673 PyObject *swig_obj[1] ;
27674
27675 if (!args) SWIG_fail;
27676 swig_obj[0] = args;
27677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27678 if (!SWIG_IsOK(res1)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27680 }
27681 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 result = (bool)(arg1)->GetAbort();
27685 wxPyEndAllowThreads(__tstate);
27686 if (PyErr_Occurred()) SWIG_fail;
27687 }
27688 {
27689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27690 }
27691 return resultobj;
27692 fail:
27693 return NULL;
27694 }
27695
27696
27697 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27698 PyObject *resultobj = 0;
27699 wxPrinterError result;
27700
27701 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27702 {
27703 PyThreadState* __tstate = wxPyBeginAllowThreads();
27704 result = (wxPrinterError)wxPrinter::GetLastError();
27705 wxPyEndAllowThreads(__tstate);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
27708 resultobj = SWIG_From_int(static_cast< int >(result));
27709 return resultobj;
27710 fail:
27711 return NULL;
27712 }
27713
27714
27715 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27716 PyObject *obj;
27717 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27718 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27719 return SWIG_Py_Void();
27720 }
27721
27722 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27723 return SWIG_Python_InitShadowInstance(args);
27724 }
27725
27726 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27727 PyObject *resultobj = 0;
27728 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27729 wxString *arg1 = (wxString *) &arg1_defvalue ;
27730 wxPyPrintout *result = 0 ;
27731 bool temp1 = false ;
27732 PyObject * obj0 = 0 ;
27733 char * kwnames[] = {
27734 (char *) "title", NULL
27735 };
27736
27737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27738 if (obj0) {
27739 {
27740 arg1 = wxString_in_helper(obj0);
27741 if (arg1 == NULL) SWIG_fail;
27742 temp1 = true;
27743 }
27744 }
27745 {
27746 if (!wxPyCheckForApp()) SWIG_fail;
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27753 {
27754 if (temp1)
27755 delete arg1;
27756 }
27757 return resultobj;
27758 fail:
27759 {
27760 if (temp1)
27761 delete arg1;
27762 }
27763 return NULL;
27764 }
27765
27766
27767 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27768 PyObject *resultobj = 0;
27769 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27770 void *argp1 = 0 ;
27771 int res1 = 0 ;
27772 PyObject *swig_obj[1] ;
27773
27774 if (!args) SWIG_fail;
27775 swig_obj[0] = args;
27776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27777 if (!SWIG_IsOK(res1)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27779 }
27780 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
27783 delete arg1;
27784
27785 wxPyEndAllowThreads(__tstate);
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
27788 resultobj = SWIG_Py_Void();
27789 return resultobj;
27790 fail:
27791 return NULL;
27792 }
27793
27794
27795 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27796 PyObject *resultobj = 0;
27797 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27798 PyObject *arg2 = (PyObject *) 0 ;
27799 PyObject *arg3 = (PyObject *) 0 ;
27800 void *argp1 = 0 ;
27801 int res1 = 0 ;
27802 PyObject * obj0 = 0 ;
27803 PyObject * obj1 = 0 ;
27804 PyObject * obj2 = 0 ;
27805 char * kwnames[] = {
27806 (char *) "self",(char *) "self",(char *) "_class", NULL
27807 };
27808
27809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27811 if (!SWIG_IsOK(res1)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27813 }
27814 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27815 arg2 = obj1;
27816 arg3 = obj2;
27817 {
27818 PyThreadState* __tstate = wxPyBeginAllowThreads();
27819 (arg1)->_setCallbackInfo(arg2,arg3);
27820 wxPyEndAllowThreads(__tstate);
27821 if (PyErr_Occurred()) SWIG_fail;
27822 }
27823 resultobj = SWIG_Py_Void();
27824 return resultobj;
27825 fail:
27826 return NULL;
27827 }
27828
27829
27830 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27831 PyObject *resultobj = 0;
27832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27833 wxString result;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 PyObject *swig_obj[1] ;
27837
27838 if (!args) SWIG_fail;
27839 swig_obj[0] = args;
27840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27843 }
27844 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 result = ((wxPyPrintout const *)arg1)->GetTitle();
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 {
27852 #if wxUSE_UNICODE
27853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27854 #else
27855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27856 #endif
27857 }
27858 return resultobj;
27859 fail:
27860 return NULL;
27861 }
27862
27863
27864 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27865 PyObject *resultobj = 0;
27866 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27867 wxDC *result = 0 ;
27868 void *argp1 = 0 ;
27869 int res1 = 0 ;
27870 PyObject *swig_obj[1] ;
27871
27872 if (!args) SWIG_fail;
27873 swig_obj[0] = args;
27874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27875 if (!SWIG_IsOK(res1)) {
27876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27877 }
27878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 result = (wxDC *)(arg1)->GetDC();
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 {
27886 resultobj = wxPyMake_wxObject(result, (bool)0);
27887 }
27888 return resultobj;
27889 fail:
27890 return NULL;
27891 }
27892
27893
27894 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27895 PyObject *resultobj = 0;
27896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27897 wxDC *arg2 = (wxDC *) 0 ;
27898 void *argp1 = 0 ;
27899 int res1 = 0 ;
27900 void *argp2 = 0 ;
27901 int res2 = 0 ;
27902 PyObject * obj0 = 0 ;
27903 PyObject * obj1 = 0 ;
27904 char * kwnames[] = {
27905 (char *) "self",(char *) "dc", NULL
27906 };
27907
27908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27910 if (!SWIG_IsOK(res1)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27912 }
27913 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27915 if (!SWIG_IsOK(res2)) {
27916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27917 }
27918 arg2 = reinterpret_cast< wxDC * >(argp2);
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 (arg1)->SetDC(arg2);
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 resultobj = SWIG_Py_Void();
27926 return resultobj;
27927 fail:
27928 return NULL;
27929 }
27930
27931
27932 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27933 PyObject *resultobj = 0;
27934 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27935 int arg2 ;
27936 int arg3 ;
27937 void *argp1 = 0 ;
27938 int res1 = 0 ;
27939 int val2 ;
27940 int ecode2 = 0 ;
27941 int val3 ;
27942 int ecode3 = 0 ;
27943 PyObject * obj0 = 0 ;
27944 PyObject * obj1 = 0 ;
27945 PyObject * obj2 = 0 ;
27946 char * kwnames[] = {
27947 (char *) "self",(char *) "w",(char *) "h", NULL
27948 };
27949
27950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27952 if (!SWIG_IsOK(res1)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27954 }
27955 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27956 ecode2 = SWIG_AsVal_int(obj1, &val2);
27957 if (!SWIG_IsOK(ecode2)) {
27958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27959 }
27960 arg2 = static_cast< int >(val2);
27961 ecode3 = SWIG_AsVal_int(obj2, &val3);
27962 if (!SWIG_IsOK(ecode3)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27964 }
27965 arg3 = static_cast< int >(val3);
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 (arg1)->SetPageSizePixels(arg2,arg3);
27969 wxPyEndAllowThreads(__tstate);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 resultobj = SWIG_Py_Void();
27973 return resultobj;
27974 fail:
27975 return NULL;
27976 }
27977
27978
27979 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27980 PyObject *resultobj = 0;
27981 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27982 int *arg2 = (int *) 0 ;
27983 int *arg3 = (int *) 0 ;
27984 void *argp1 = 0 ;
27985 int res1 = 0 ;
27986 int temp2 ;
27987 int res2 = SWIG_TMPOBJ ;
27988 int temp3 ;
27989 int res3 = SWIG_TMPOBJ ;
27990 PyObject *swig_obj[1] ;
27991
27992 arg2 = &temp2;
27993 arg3 = &temp3;
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_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27999 }
28000 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 (arg1)->GetPageSizePixels(arg2,arg3);
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 resultobj = SWIG_Py_Void();
28008 if (SWIG_IsTmpObj(res2)) {
28009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28010 } else {
28011 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28012 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28013 }
28014 if (SWIG_IsTmpObj(res3)) {
28015 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28016 } else {
28017 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28018 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28019 }
28020 return resultobj;
28021 fail:
28022 return NULL;
28023 }
28024
28025
28026 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28027 PyObject *resultobj = 0;
28028 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28029 int arg2 ;
28030 int arg3 ;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 int val2 ;
28034 int ecode2 = 0 ;
28035 int val3 ;
28036 int ecode3 = 0 ;
28037 PyObject * obj0 = 0 ;
28038 PyObject * obj1 = 0 ;
28039 PyObject * obj2 = 0 ;
28040 char * kwnames[] = {
28041 (char *) "self",(char *) "w",(char *) "h", NULL
28042 };
28043
28044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28046 if (!SWIG_IsOK(res1)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28048 }
28049 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28050 ecode2 = SWIG_AsVal_int(obj1, &val2);
28051 if (!SWIG_IsOK(ecode2)) {
28052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28053 }
28054 arg2 = static_cast< int >(val2);
28055 ecode3 = SWIG_AsVal_int(obj2, &val3);
28056 if (!SWIG_IsOK(ecode3)) {
28057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28058 }
28059 arg3 = static_cast< int >(val3);
28060 {
28061 PyThreadState* __tstate = wxPyBeginAllowThreads();
28062 (arg1)->SetPageSizeMM(arg2,arg3);
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 resultobj = SWIG_Py_Void();
28067 return resultobj;
28068 fail:
28069 return NULL;
28070 }
28071
28072
28073 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28074 PyObject *resultobj = 0;
28075 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28076 int *arg2 = (int *) 0 ;
28077 int *arg3 = (int *) 0 ;
28078 void *argp1 = 0 ;
28079 int res1 = 0 ;
28080 int temp2 ;
28081 int res2 = SWIG_TMPOBJ ;
28082 int temp3 ;
28083 int res3 = SWIG_TMPOBJ ;
28084 PyObject *swig_obj[1] ;
28085
28086 arg2 = &temp2;
28087 arg3 = &temp3;
28088 if (!args) SWIG_fail;
28089 swig_obj[0] = args;
28090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28091 if (!SWIG_IsOK(res1)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28093 }
28094 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28095 {
28096 PyThreadState* __tstate = wxPyBeginAllowThreads();
28097 (arg1)->GetPageSizeMM(arg2,arg3);
28098 wxPyEndAllowThreads(__tstate);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
28101 resultobj = SWIG_Py_Void();
28102 if (SWIG_IsTmpObj(res2)) {
28103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28104 } else {
28105 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28106 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28107 }
28108 if (SWIG_IsTmpObj(res3)) {
28109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28110 } else {
28111 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28112 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28113 }
28114 return resultobj;
28115 fail:
28116 return NULL;
28117 }
28118
28119
28120 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28121 PyObject *resultobj = 0;
28122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28123 int arg2 ;
28124 int arg3 ;
28125 void *argp1 = 0 ;
28126 int res1 = 0 ;
28127 int val2 ;
28128 int ecode2 = 0 ;
28129 int val3 ;
28130 int ecode3 = 0 ;
28131 PyObject * obj0 = 0 ;
28132 PyObject * obj1 = 0 ;
28133 PyObject * obj2 = 0 ;
28134 char * kwnames[] = {
28135 (char *) "self",(char *) "x",(char *) "y", NULL
28136 };
28137
28138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28140 if (!SWIG_IsOK(res1)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28142 }
28143 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28144 ecode2 = SWIG_AsVal_int(obj1, &val2);
28145 if (!SWIG_IsOK(ecode2)) {
28146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28147 }
28148 arg2 = static_cast< int >(val2);
28149 ecode3 = SWIG_AsVal_int(obj2, &val3);
28150 if (!SWIG_IsOK(ecode3)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28152 }
28153 arg3 = static_cast< int >(val3);
28154 {
28155 PyThreadState* __tstate = wxPyBeginAllowThreads();
28156 (arg1)->SetPPIScreen(arg2,arg3);
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
28160 resultobj = SWIG_Py_Void();
28161 return resultobj;
28162 fail:
28163 return NULL;
28164 }
28165
28166
28167 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28168 PyObject *resultobj = 0;
28169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28170 int *arg2 = (int *) 0 ;
28171 int *arg3 = (int *) 0 ;
28172 void *argp1 = 0 ;
28173 int res1 = 0 ;
28174 int temp2 ;
28175 int res2 = SWIG_TMPOBJ ;
28176 int temp3 ;
28177 int res3 = SWIG_TMPOBJ ;
28178 PyObject *swig_obj[1] ;
28179
28180 arg2 = &temp2;
28181 arg3 = &temp3;
28182 if (!args) SWIG_fail;
28183 swig_obj[0] = args;
28184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28185 if (!SWIG_IsOK(res1)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28187 }
28188 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 (arg1)->GetPPIScreen(arg2,arg3);
28192 wxPyEndAllowThreads(__tstate);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 resultobj = SWIG_Py_Void();
28196 if (SWIG_IsTmpObj(res2)) {
28197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28198 } else {
28199 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28201 }
28202 if (SWIG_IsTmpObj(res3)) {
28203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28204 } else {
28205 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28207 }
28208 return resultobj;
28209 fail:
28210 return NULL;
28211 }
28212
28213
28214 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28215 PyObject *resultobj = 0;
28216 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28217 int arg2 ;
28218 int arg3 ;
28219 void *argp1 = 0 ;
28220 int res1 = 0 ;
28221 int val2 ;
28222 int ecode2 = 0 ;
28223 int val3 ;
28224 int ecode3 = 0 ;
28225 PyObject * obj0 = 0 ;
28226 PyObject * obj1 = 0 ;
28227 PyObject * obj2 = 0 ;
28228 char * kwnames[] = {
28229 (char *) "self",(char *) "x",(char *) "y", NULL
28230 };
28231
28232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28234 if (!SWIG_IsOK(res1)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28236 }
28237 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28238 ecode2 = SWIG_AsVal_int(obj1, &val2);
28239 if (!SWIG_IsOK(ecode2)) {
28240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28241 }
28242 arg2 = static_cast< int >(val2);
28243 ecode3 = SWIG_AsVal_int(obj2, &val3);
28244 if (!SWIG_IsOK(ecode3)) {
28245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28246 }
28247 arg3 = static_cast< int >(val3);
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->SetPPIPrinter(arg2,arg3);
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 resultobj = SWIG_Py_Void();
28255 return resultobj;
28256 fail:
28257 return NULL;
28258 }
28259
28260
28261 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28262 PyObject *resultobj = 0;
28263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28264 int *arg2 = (int *) 0 ;
28265 int *arg3 = (int *) 0 ;
28266 void *argp1 = 0 ;
28267 int res1 = 0 ;
28268 int temp2 ;
28269 int res2 = SWIG_TMPOBJ ;
28270 int temp3 ;
28271 int res3 = SWIG_TMPOBJ ;
28272 PyObject *swig_obj[1] ;
28273
28274 arg2 = &temp2;
28275 arg3 = &temp3;
28276 if (!args) SWIG_fail;
28277 swig_obj[0] = args;
28278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28279 if (!SWIG_IsOK(res1)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28281 }
28282 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28283 {
28284 PyThreadState* __tstate = wxPyBeginAllowThreads();
28285 (arg1)->GetPPIPrinter(arg2,arg3);
28286 wxPyEndAllowThreads(__tstate);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 }
28289 resultobj = SWIG_Py_Void();
28290 if (SWIG_IsTmpObj(res2)) {
28291 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28292 } else {
28293 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28294 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28295 }
28296 if (SWIG_IsTmpObj(res3)) {
28297 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28298 } else {
28299 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28301 }
28302 return resultobj;
28303 fail:
28304 return NULL;
28305 }
28306
28307
28308 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28309 PyObject *resultobj = 0;
28310 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28311 bool result;
28312 void *argp1 = 0 ;
28313 int res1 = 0 ;
28314 PyObject *swig_obj[1] ;
28315
28316 if (!args) SWIG_fail;
28317 swig_obj[0] = args;
28318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28319 if (!SWIG_IsOK(res1)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28321 }
28322 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28323 {
28324 PyThreadState* __tstate = wxPyBeginAllowThreads();
28325 result = (bool)(arg1)->IsPreview();
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
28329 {
28330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28331 }
28332 return resultobj;
28333 fail:
28334 return NULL;
28335 }
28336
28337
28338 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28339 PyObject *resultobj = 0;
28340 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28341 bool arg2 ;
28342 void *argp1 = 0 ;
28343 int res1 = 0 ;
28344 bool val2 ;
28345 int ecode2 = 0 ;
28346 PyObject * obj0 = 0 ;
28347 PyObject * obj1 = 0 ;
28348 char * kwnames[] = {
28349 (char *) "self",(char *) "p", NULL
28350 };
28351
28352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28356 }
28357 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28358 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28359 if (!SWIG_IsOK(ecode2)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28361 }
28362 arg2 = static_cast< bool >(val2);
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 (arg1)->SetIsPreview(arg2);
28366 wxPyEndAllowThreads(__tstate);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 resultobj = SWIG_Py_Void();
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj = 0;
28378 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28379 int arg2 ;
28380 int arg3 ;
28381 bool result;
28382 void *argp1 = 0 ;
28383 int res1 = 0 ;
28384 int val2 ;
28385 int ecode2 = 0 ;
28386 int val3 ;
28387 int ecode3 = 0 ;
28388 PyObject * obj0 = 0 ;
28389 PyObject * obj1 = 0 ;
28390 PyObject * obj2 = 0 ;
28391 char * kwnames[] = {
28392 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28393 };
28394
28395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28397 if (!SWIG_IsOK(res1)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28399 }
28400 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28401 ecode2 = SWIG_AsVal_int(obj1, &val2);
28402 if (!SWIG_IsOK(ecode2)) {
28403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28404 }
28405 arg2 = static_cast< int >(val2);
28406 ecode3 = SWIG_AsVal_int(obj2, &val3);
28407 if (!SWIG_IsOK(ecode3)) {
28408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28409 }
28410 arg3 = static_cast< int >(val3);
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 {
28418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28419 }
28420 return resultobj;
28421 fail:
28422 return NULL;
28423 }
28424
28425
28426 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28427 PyObject *resultobj = 0;
28428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28429 void *argp1 = 0 ;
28430 int res1 = 0 ;
28431 PyObject *swig_obj[1] ;
28432
28433 if (!args) SWIG_fail;
28434 swig_obj[0] = args;
28435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 }
28439 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28440 {
28441 PyThreadState* __tstate = wxPyBeginAllowThreads();
28442 (arg1)->OnEndDocument();
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 resultobj = SWIG_Py_Void();
28447 return resultobj;
28448 fail:
28449 return NULL;
28450 }
28451
28452
28453 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28454 PyObject *resultobj = 0;
28455 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28456 void *argp1 = 0 ;
28457 int res1 = 0 ;
28458 PyObject *swig_obj[1] ;
28459
28460 if (!args) SWIG_fail;
28461 swig_obj[0] = args;
28462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28463 if (!SWIG_IsOK(res1)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28465 }
28466 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28467 {
28468 PyThreadState* __tstate = wxPyBeginAllowThreads();
28469 (arg1)->OnBeginPrinting();
28470 wxPyEndAllowThreads(__tstate);
28471 if (PyErr_Occurred()) SWIG_fail;
28472 }
28473 resultobj = SWIG_Py_Void();
28474 return resultobj;
28475 fail:
28476 return NULL;
28477 }
28478
28479
28480 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28481 PyObject *resultobj = 0;
28482 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28483 void *argp1 = 0 ;
28484 int res1 = 0 ;
28485 PyObject *swig_obj[1] ;
28486
28487 if (!args) SWIG_fail;
28488 swig_obj[0] = args;
28489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28490 if (!SWIG_IsOK(res1)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28492 }
28493 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28494 {
28495 PyThreadState* __tstate = wxPyBeginAllowThreads();
28496 (arg1)->OnEndPrinting();
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 resultobj = SWIG_Py_Void();
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28508 PyObject *resultobj = 0;
28509 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28510 void *argp1 = 0 ;
28511 int res1 = 0 ;
28512 PyObject *swig_obj[1] ;
28513
28514 if (!args) SWIG_fail;
28515 swig_obj[0] = args;
28516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28517 if (!SWIG_IsOK(res1)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28519 }
28520 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 (arg1)->OnPreparePrinting();
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 resultobj = SWIG_Py_Void();
28528 return resultobj;
28529 fail:
28530 return NULL;
28531 }
28532
28533
28534 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28535 PyObject *resultobj = 0;
28536 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28537 int arg2 ;
28538 bool result;
28539 void *argp1 = 0 ;
28540 int res1 = 0 ;
28541 int val2 ;
28542 int ecode2 = 0 ;
28543 PyObject * obj0 = 0 ;
28544 PyObject * obj1 = 0 ;
28545 char * kwnames[] = {
28546 (char *) "self",(char *) "page", NULL
28547 };
28548
28549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28551 if (!SWIG_IsOK(res1)) {
28552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28553 }
28554 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28555 ecode2 = SWIG_AsVal_int(obj1, &val2);
28556 if (!SWIG_IsOK(ecode2)) {
28557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28558 }
28559 arg2 = static_cast< int >(val2);
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 result = (bool)(arg1)->HasPage(arg2);
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 {
28567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28568 }
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28576 PyObject *resultobj = 0;
28577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28578 int *arg2 = (int *) 0 ;
28579 int *arg3 = (int *) 0 ;
28580 int *arg4 = (int *) 0 ;
28581 int *arg5 = (int *) 0 ;
28582 void *argp1 = 0 ;
28583 int res1 = 0 ;
28584 int temp2 ;
28585 int res2 = SWIG_TMPOBJ ;
28586 int temp3 ;
28587 int res3 = SWIG_TMPOBJ ;
28588 int temp4 ;
28589 int res4 = SWIG_TMPOBJ ;
28590 int temp5 ;
28591 int res5 = SWIG_TMPOBJ ;
28592 PyObject *swig_obj[1] ;
28593
28594 arg2 = &temp2;
28595 arg3 = &temp3;
28596 arg4 = &temp4;
28597 arg5 = &temp5;
28598 if (!args) SWIG_fail;
28599 swig_obj[0] = args;
28600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28601 if (!SWIG_IsOK(res1)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28603 }
28604 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
28607 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
28611 resultobj = SWIG_Py_Void();
28612 if (SWIG_IsTmpObj(res2)) {
28613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28614 } else {
28615 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28616 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28617 }
28618 if (SWIG_IsTmpObj(res3)) {
28619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28620 } else {
28621 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28623 }
28624 if (SWIG_IsTmpObj(res4)) {
28625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28626 } else {
28627 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28629 }
28630 if (SWIG_IsTmpObj(res5)) {
28631 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28632 } else {
28633 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28635 }
28636 return resultobj;
28637 fail:
28638 return NULL;
28639 }
28640
28641
28642 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28643 PyObject *obj;
28644 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28646 return SWIG_Py_Void();
28647 }
28648
28649 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28650 return SWIG_Python_InitShadowInstance(args);
28651 }
28652
28653 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28654 PyObject *resultobj = 0;
28655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28656 wxWindow *arg2 = (wxWindow *) 0 ;
28657 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28658 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28659 wxSize const &arg4_defvalue = wxDefaultSize ;
28660 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28661 long arg5 = (long) 0 ;
28662 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28663 wxString *arg6 = (wxString *) &arg6_defvalue ;
28664 wxPreviewCanvas *result = 0 ;
28665 void *argp1 = 0 ;
28666 int res1 = 0 ;
28667 void *argp2 = 0 ;
28668 int res2 = 0 ;
28669 wxPoint temp3 ;
28670 wxSize temp4 ;
28671 long val5 ;
28672 int ecode5 = 0 ;
28673 bool temp6 = false ;
28674 PyObject * obj0 = 0 ;
28675 PyObject * obj1 = 0 ;
28676 PyObject * obj2 = 0 ;
28677 PyObject * obj3 = 0 ;
28678 PyObject * obj4 = 0 ;
28679 PyObject * obj5 = 0 ;
28680 char * kwnames[] = {
28681 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28682 };
28683
28684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28686 if (!SWIG_IsOK(res1)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28688 }
28689 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28690 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28691 if (!SWIG_IsOK(res2)) {
28692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28693 }
28694 arg2 = reinterpret_cast< wxWindow * >(argp2);
28695 if (obj2) {
28696 {
28697 arg3 = &temp3;
28698 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28699 }
28700 }
28701 if (obj3) {
28702 {
28703 arg4 = &temp4;
28704 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28705 }
28706 }
28707 if (obj4) {
28708 ecode5 = SWIG_AsVal_long(obj4, &val5);
28709 if (!SWIG_IsOK(ecode5)) {
28710 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28711 }
28712 arg5 = static_cast< long >(val5);
28713 }
28714 if (obj5) {
28715 {
28716 arg6 = wxString_in_helper(obj5);
28717 if (arg6 == NULL) SWIG_fail;
28718 temp6 = true;
28719 }
28720 }
28721 {
28722 if (!wxPyCheckForApp()) SWIG_fail;
28723 PyThreadState* __tstate = wxPyBeginAllowThreads();
28724 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28729 {
28730 if (temp6)
28731 delete arg6;
28732 }
28733 return resultobj;
28734 fail:
28735 {
28736 if (temp6)
28737 delete arg6;
28738 }
28739 return NULL;
28740 }
28741
28742
28743 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28744 PyObject *obj;
28745 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28746 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28747 return SWIG_Py_Void();
28748 }
28749
28750 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28751 return SWIG_Python_InitShadowInstance(args);
28752 }
28753
28754 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28755 PyObject *resultobj = 0;
28756 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28757 wxFrame *arg2 = (wxFrame *) 0 ;
28758 wxString *arg3 = 0 ;
28759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28761 wxSize const &arg5_defvalue = wxDefaultSize ;
28762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28763 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28764 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28765 wxString *arg7 = (wxString *) &arg7_defvalue ;
28766 wxPreviewFrame *result = 0 ;
28767 int res1 = 0 ;
28768 void *argp2 = 0 ;
28769 int res2 = 0 ;
28770 bool temp3 = false ;
28771 wxPoint temp4 ;
28772 wxSize temp5 ;
28773 long val6 ;
28774 int ecode6 = 0 ;
28775 bool temp7 = false ;
28776 PyObject * obj0 = 0 ;
28777 PyObject * obj1 = 0 ;
28778 PyObject * obj2 = 0 ;
28779 PyObject * obj3 = 0 ;
28780 PyObject * obj4 = 0 ;
28781 PyObject * obj5 = 0 ;
28782 PyObject * obj6 = 0 ;
28783 char * kwnames[] = {
28784 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28785 };
28786
28787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28788 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28789 if (!SWIG_IsOK(res1)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28791 }
28792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28793 if (!SWIG_IsOK(res2)) {
28794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28795 }
28796 arg2 = reinterpret_cast< wxFrame * >(argp2);
28797 {
28798 arg3 = wxString_in_helper(obj2);
28799 if (arg3 == NULL) SWIG_fail;
28800 temp3 = true;
28801 }
28802 if (obj3) {
28803 {
28804 arg4 = &temp4;
28805 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28806 }
28807 }
28808 if (obj4) {
28809 {
28810 arg5 = &temp5;
28811 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28812 }
28813 }
28814 if (obj5) {
28815 ecode6 = SWIG_AsVal_long(obj5, &val6);
28816 if (!SWIG_IsOK(ecode6)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28818 }
28819 arg6 = static_cast< long >(val6);
28820 }
28821 if (obj6) {
28822 {
28823 arg7 = wxString_in_helper(obj6);
28824 if (arg7 == NULL) SWIG_fail;
28825 temp7 = true;
28826 }
28827 }
28828 {
28829 if (!wxPyCheckForApp()) SWIG_fail;
28830 PyThreadState* __tstate = wxPyBeginAllowThreads();
28831 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28832 wxPyEndAllowThreads(__tstate);
28833 if (PyErr_Occurred()) SWIG_fail;
28834 }
28835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28836 {
28837 if (temp3)
28838 delete arg3;
28839 }
28840 {
28841 if (temp7)
28842 delete arg7;
28843 }
28844 return resultobj;
28845 fail:
28846 {
28847 if (temp3)
28848 delete arg3;
28849 }
28850 {
28851 if (temp7)
28852 delete arg7;
28853 }
28854 return NULL;
28855 }
28856
28857
28858 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28859 PyObject *resultobj = 0;
28860 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28861 void *argp1 = 0 ;
28862 int res1 = 0 ;
28863 PyObject *swig_obj[1] ;
28864
28865 if (!args) SWIG_fail;
28866 swig_obj[0] = args;
28867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28868 if (!SWIG_IsOK(res1)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28870 }
28871 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28872 {
28873 PyThreadState* __tstate = wxPyBeginAllowThreads();
28874 (arg1)->Initialize();
28875 wxPyEndAllowThreads(__tstate);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 resultobj = SWIG_Py_Void();
28879 return resultobj;
28880 fail:
28881 return NULL;
28882 }
28883
28884
28885 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28886 PyObject *resultobj = 0;
28887 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28888 void *argp1 = 0 ;
28889 int res1 = 0 ;
28890 PyObject *swig_obj[1] ;
28891
28892 if (!args) SWIG_fail;
28893 swig_obj[0] = args;
28894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28895 if (!SWIG_IsOK(res1)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28897 }
28898 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28899 {
28900 PyThreadState* __tstate = wxPyBeginAllowThreads();
28901 (arg1)->CreateControlBar();
28902 wxPyEndAllowThreads(__tstate);
28903 if (PyErr_Occurred()) SWIG_fail;
28904 }
28905 resultobj = SWIG_Py_Void();
28906 return resultobj;
28907 fail:
28908 return NULL;
28909 }
28910
28911
28912 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28913 PyObject *resultobj = 0;
28914 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28915 void *argp1 = 0 ;
28916 int res1 = 0 ;
28917 PyObject *swig_obj[1] ;
28918
28919 if (!args) SWIG_fail;
28920 swig_obj[0] = args;
28921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28922 if (!SWIG_IsOK(res1)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28924 }
28925 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 (arg1)->CreateCanvas();
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 resultobj = SWIG_Py_Void();
28933 return resultobj;
28934 fail:
28935 return NULL;
28936 }
28937
28938
28939 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28940 PyObject *resultobj = 0;
28941 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28942 wxPreviewControlBar *result = 0 ;
28943 void *argp1 = 0 ;
28944 int res1 = 0 ;
28945 PyObject *swig_obj[1] ;
28946
28947 if (!args) SWIG_fail;
28948 swig_obj[0] = args;
28949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28950 if (!SWIG_IsOK(res1)) {
28951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28952 }
28953 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28954 {
28955 PyThreadState* __tstate = wxPyBeginAllowThreads();
28956 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28957 wxPyEndAllowThreads(__tstate);
28958 if (PyErr_Occurred()) SWIG_fail;
28959 }
28960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28961 return resultobj;
28962 fail:
28963 return NULL;
28964 }
28965
28966
28967 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28968 PyObject *obj;
28969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28971 return SWIG_Py_Void();
28972 }
28973
28974 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28975 return SWIG_Python_InitShadowInstance(args);
28976 }
28977
28978 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28979 PyObject *resultobj = 0;
28980 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28981 long arg2 ;
28982 wxWindow *arg3 = (wxWindow *) 0 ;
28983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28985 wxSize const &arg5_defvalue = wxDefaultSize ;
28986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28987 long arg6 = (long) wxTAB_TRAVERSAL ;
28988 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28989 wxString *arg7 = (wxString *) &arg7_defvalue ;
28990 wxPreviewControlBar *result = 0 ;
28991 void *argp1 = 0 ;
28992 int res1 = 0 ;
28993 long val2 ;
28994 int ecode2 = 0 ;
28995 void *argp3 = 0 ;
28996 int res3 = 0 ;
28997 wxPoint temp4 ;
28998 wxSize temp5 ;
28999 long val6 ;
29000 int ecode6 = 0 ;
29001 bool temp7 = false ;
29002 PyObject * obj0 = 0 ;
29003 PyObject * obj1 = 0 ;
29004 PyObject * obj2 = 0 ;
29005 PyObject * obj3 = 0 ;
29006 PyObject * obj4 = 0 ;
29007 PyObject * obj5 = 0 ;
29008 PyObject * obj6 = 0 ;
29009 char * kwnames[] = {
29010 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29011 };
29012
29013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29015 if (!SWIG_IsOK(res1)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29017 }
29018 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29019 ecode2 = SWIG_AsVal_long(obj1, &val2);
29020 if (!SWIG_IsOK(ecode2)) {
29021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29022 }
29023 arg2 = static_cast< long >(val2);
29024 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29025 if (!SWIG_IsOK(res3)) {
29026 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29027 }
29028 arg3 = reinterpret_cast< wxWindow * >(argp3);
29029 if (obj3) {
29030 {
29031 arg4 = &temp4;
29032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29033 }
29034 }
29035 if (obj4) {
29036 {
29037 arg5 = &temp5;
29038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29039 }
29040 }
29041 if (obj5) {
29042 ecode6 = SWIG_AsVal_long(obj5, &val6);
29043 if (!SWIG_IsOK(ecode6)) {
29044 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29045 }
29046 arg6 = static_cast< long >(val6);
29047 }
29048 if (obj6) {
29049 {
29050 arg7 = wxString_in_helper(obj6);
29051 if (arg7 == NULL) SWIG_fail;
29052 temp7 = true;
29053 }
29054 }
29055 {
29056 if (!wxPyCheckForApp()) SWIG_fail;
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29063 {
29064 if (temp7)
29065 delete arg7;
29066 }
29067 return resultobj;
29068 fail:
29069 {
29070 if (temp7)
29071 delete arg7;
29072 }
29073 return NULL;
29074 }
29075
29076
29077 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29078 PyObject *resultobj = 0;
29079 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29080 int result;
29081 void *argp1 = 0 ;
29082 int res1 = 0 ;
29083 PyObject *swig_obj[1] ;
29084
29085 if (!args) SWIG_fail;
29086 swig_obj[0] = args;
29087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29088 if (!SWIG_IsOK(res1)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29090 }
29091 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29092 {
29093 PyThreadState* __tstate = wxPyBeginAllowThreads();
29094 result = (int)(arg1)->GetZoomControl();
29095 wxPyEndAllowThreads(__tstate);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
29098 resultobj = SWIG_From_int(static_cast< int >(result));
29099 return resultobj;
29100 fail:
29101 return NULL;
29102 }
29103
29104
29105 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29106 PyObject *resultobj = 0;
29107 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29108 int arg2 ;
29109 void *argp1 = 0 ;
29110 int res1 = 0 ;
29111 int val2 ;
29112 int ecode2 = 0 ;
29113 PyObject * obj0 = 0 ;
29114 PyObject * obj1 = 0 ;
29115 char * kwnames[] = {
29116 (char *) "self",(char *) "zoom", NULL
29117 };
29118
29119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29121 if (!SWIG_IsOK(res1)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29123 }
29124 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29125 ecode2 = SWIG_AsVal_int(obj1, &val2);
29126 if (!SWIG_IsOK(ecode2)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29128 }
29129 arg2 = static_cast< int >(val2);
29130 {
29131 PyThreadState* __tstate = wxPyBeginAllowThreads();
29132 (arg1)->SetZoomControl(arg2);
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 resultobj = SWIG_Py_Void();
29137 return resultobj;
29138 fail:
29139 return NULL;
29140 }
29141
29142
29143 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29144 PyObject *resultobj = 0;
29145 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29146 wxPrintPreview *result = 0 ;
29147 void *argp1 = 0 ;
29148 int res1 = 0 ;
29149 PyObject *swig_obj[1] ;
29150
29151 if (!args) SWIG_fail;
29152 swig_obj[0] = args;
29153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29154 if (!SWIG_IsOK(res1)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29156 }
29157 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29158 {
29159 PyThreadState* __tstate = wxPyBeginAllowThreads();
29160 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29161 wxPyEndAllowThreads(__tstate);
29162 if (PyErr_Occurred()) SWIG_fail;
29163 }
29164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29165 return resultobj;
29166 fail:
29167 return NULL;
29168 }
29169
29170
29171 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29172 PyObject *resultobj = 0;
29173 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29174 void *argp1 = 0 ;
29175 int res1 = 0 ;
29176 PyObject *swig_obj[1] ;
29177
29178 if (!args) SWIG_fail;
29179 swig_obj[0] = args;
29180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29181 if (!SWIG_IsOK(res1)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29183 }
29184 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29185 {
29186 PyThreadState* __tstate = wxPyBeginAllowThreads();
29187 (arg1)->OnNext();
29188 wxPyEndAllowThreads(__tstate);
29189 if (PyErr_Occurred()) SWIG_fail;
29190 }
29191 resultobj = SWIG_Py_Void();
29192 return resultobj;
29193 fail:
29194 return NULL;
29195 }
29196
29197
29198 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29199 PyObject *resultobj = 0;
29200 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29201 void *argp1 = 0 ;
29202 int res1 = 0 ;
29203 PyObject *swig_obj[1] ;
29204
29205 if (!args) SWIG_fail;
29206 swig_obj[0] = args;
29207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29208 if (!SWIG_IsOK(res1)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29210 }
29211 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 (arg1)->OnPrevious();
29215 wxPyEndAllowThreads(__tstate);
29216 if (PyErr_Occurred()) SWIG_fail;
29217 }
29218 resultobj = SWIG_Py_Void();
29219 return resultobj;
29220 fail:
29221 return NULL;
29222 }
29223
29224
29225 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29226 PyObject *resultobj = 0;
29227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29228 void *argp1 = 0 ;
29229 int res1 = 0 ;
29230 PyObject *swig_obj[1] ;
29231
29232 if (!args) SWIG_fail;
29233 swig_obj[0] = args;
29234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29235 if (!SWIG_IsOK(res1)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29237 }
29238 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29239 {
29240 PyThreadState* __tstate = wxPyBeginAllowThreads();
29241 (arg1)->OnFirst();
29242 wxPyEndAllowThreads(__tstate);
29243 if (PyErr_Occurred()) SWIG_fail;
29244 }
29245 resultobj = SWIG_Py_Void();
29246 return resultobj;
29247 fail:
29248 return NULL;
29249 }
29250
29251
29252 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29253 PyObject *resultobj = 0;
29254 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29255 void *argp1 = 0 ;
29256 int res1 = 0 ;
29257 PyObject *swig_obj[1] ;
29258
29259 if (!args) SWIG_fail;
29260 swig_obj[0] = args;
29261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29262 if (!SWIG_IsOK(res1)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29264 }
29265 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 (arg1)->OnLast();
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
29272 resultobj = SWIG_Py_Void();
29273 return resultobj;
29274 fail:
29275 return NULL;
29276 }
29277
29278
29279 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29280 PyObject *resultobj = 0;
29281 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29282 void *argp1 = 0 ;
29283 int res1 = 0 ;
29284 PyObject *swig_obj[1] ;
29285
29286 if (!args) SWIG_fail;
29287 swig_obj[0] = args;
29288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29289 if (!SWIG_IsOK(res1)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29291 }
29292 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29293 {
29294 PyThreadState* __tstate = wxPyBeginAllowThreads();
29295 (arg1)->OnGoto();
29296 wxPyEndAllowThreads(__tstate);
29297 if (PyErr_Occurred()) SWIG_fail;
29298 }
29299 resultobj = SWIG_Py_Void();
29300 return resultobj;
29301 fail:
29302 return NULL;
29303 }
29304
29305
29306 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29307 PyObject *obj;
29308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29310 return SWIG_Py_Void();
29311 }
29312
29313 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29314 return SWIG_Python_InitShadowInstance(args);
29315 }
29316
29317 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29318 PyObject *resultobj = 0;
29319 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29320 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29321 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29322 wxPrintPreview *result = 0 ;
29323 int res1 = 0 ;
29324 int res2 = 0 ;
29325 void *argp3 = 0 ;
29326 int res3 = 0 ;
29327
29328 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29329 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29330 if (!SWIG_IsOK(res1)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29332 }
29333 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29334 if (!SWIG_IsOK(res2)) {
29335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29336 }
29337 if (swig_obj[2]) {
29338 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29339 if (!SWIG_IsOK(res3)) {
29340 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29341 }
29342 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29343 }
29344 {
29345 if (!wxPyCheckForApp()) SWIG_fail;
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29348 wxPyEndAllowThreads(__tstate);
29349 if (PyErr_Occurred()) SWIG_fail;
29350 }
29351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29352 return resultobj;
29353 fail:
29354 return NULL;
29355 }
29356
29357
29358 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29359 PyObject *resultobj = 0;
29360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29361 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29362 wxPrintData *arg3 = (wxPrintData *) 0 ;
29363 wxPrintPreview *result = 0 ;
29364 int res1 = 0 ;
29365 int res2 = 0 ;
29366 void *argp3 = 0 ;
29367 int res3 = 0 ;
29368
29369 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29370 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29371 if (!SWIG_IsOK(res1)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29373 }
29374 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29375 if (!SWIG_IsOK(res2)) {
29376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29377 }
29378 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29379 if (!SWIG_IsOK(res3)) {
29380 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29381 }
29382 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29383 {
29384 if (!wxPyCheckForApp()) SWIG_fail;
29385 PyThreadState* __tstate = wxPyBeginAllowThreads();
29386 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29387 wxPyEndAllowThreads(__tstate);
29388 if (PyErr_Occurred()) SWIG_fail;
29389 }
29390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29391 return resultobj;
29392 fail:
29393 return NULL;
29394 }
29395
29396
29397 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29398 int argc;
29399 PyObject *argv[4];
29400
29401 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29402 --argc;
29403 if ((argc >= 2) && (argc <= 3)) {
29404 int _v = 0;
29405 if (argc > 2) {
29406 {
29407 void *vptr = 0;
29408 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29409 _v = SWIG_CheckState(res);
29410 }
29411 if (!_v) goto check_1;
29412 }
29413 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29414 }
29415 check_1:
29416
29417 if (argc == 3) {
29418 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29419 }
29420
29421 fail:
29422 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29423 return NULL;
29424 }
29425
29426
29427 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29428 PyObject *resultobj = 0;
29429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29430 void *argp1 = 0 ;
29431 int res1 = 0 ;
29432 PyObject *swig_obj[1] ;
29433
29434 if (!args) SWIG_fail;
29435 swig_obj[0] = args;
29436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29437 if (!SWIG_IsOK(res1)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29439 }
29440 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29441 {
29442 PyThreadState* __tstate = wxPyBeginAllowThreads();
29443 delete arg1;
29444
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 resultobj = SWIG_Py_Void();
29449 return resultobj;
29450 fail:
29451 return NULL;
29452 }
29453
29454
29455 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29456 PyObject *resultobj = 0;
29457 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29458 int arg2 ;
29459 bool result;
29460 void *argp1 = 0 ;
29461 int res1 = 0 ;
29462 int val2 ;
29463 int ecode2 = 0 ;
29464 PyObject * obj0 = 0 ;
29465 PyObject * obj1 = 0 ;
29466 char * kwnames[] = {
29467 (char *) "self",(char *) "pageNum", NULL
29468 };
29469
29470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29472 if (!SWIG_IsOK(res1)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29474 }
29475 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29476 ecode2 = SWIG_AsVal_int(obj1, &val2);
29477 if (!SWIG_IsOK(ecode2)) {
29478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29479 }
29480 arg2 = static_cast< int >(val2);
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 result = (bool)(arg1)->SetCurrentPage(arg2);
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29497 PyObject *resultobj = 0;
29498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29499 int result;
29500 void *argp1 = 0 ;
29501 int res1 = 0 ;
29502 PyObject *swig_obj[1] ;
29503
29504 if (!args) SWIG_fail;
29505 swig_obj[0] = args;
29506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29507 if (!SWIG_IsOK(res1)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29509 }
29510 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29511 {
29512 PyThreadState* __tstate = wxPyBeginAllowThreads();
29513 result = (int)(arg1)->GetCurrentPage();
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = SWIG_From_int(static_cast< int >(result));
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29525 PyObject *resultobj = 0;
29526 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29527 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 int res2 = 0 ;
29531 PyObject * obj0 = 0 ;
29532 PyObject * obj1 = 0 ;
29533 char * kwnames[] = {
29534 (char *) "self",(char *) "printout", NULL
29535 };
29536
29537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29539 if (!SWIG_IsOK(res1)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29541 }
29542 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29543 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29544 if (!SWIG_IsOK(res2)) {
29545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29546 }
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 (arg1)->SetPrintout(arg2);
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 resultobj = SWIG_Py_Void();
29554 return resultobj;
29555 fail:
29556 return NULL;
29557 }
29558
29559
29560 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29561 PyObject *resultobj = 0;
29562 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29563 wxPyPrintout *result = 0 ;
29564 void *argp1 = 0 ;
29565 int res1 = 0 ;
29566 PyObject *swig_obj[1] ;
29567
29568 if (!args) SWIG_fail;
29569 swig_obj[0] = args;
29570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29571 if (!SWIG_IsOK(res1)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29573 }
29574 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29575 {
29576 PyThreadState* __tstate = wxPyBeginAllowThreads();
29577 result = (wxPyPrintout *)(arg1)->GetPrintout();
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 {
29582 resultobj = wxPyMake_wxObject(result, 0);
29583 }
29584 return resultobj;
29585 fail:
29586 return NULL;
29587 }
29588
29589
29590 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29591 PyObject *resultobj = 0;
29592 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29593 wxPyPrintout *result = 0 ;
29594 void *argp1 = 0 ;
29595 int res1 = 0 ;
29596 PyObject *swig_obj[1] ;
29597
29598 if (!args) SWIG_fail;
29599 swig_obj[0] = args;
29600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29601 if (!SWIG_IsOK(res1)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29603 }
29604 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29608 wxPyEndAllowThreads(__tstate);
29609 if (PyErr_Occurred()) SWIG_fail;
29610 }
29611 {
29612 resultobj = wxPyMake_wxObject(result, 0);
29613 }
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj = 0;
29622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29623 wxFrame *arg2 = (wxFrame *) 0 ;
29624 void *argp1 = 0 ;
29625 int res1 = 0 ;
29626 void *argp2 = 0 ;
29627 int res2 = 0 ;
29628 PyObject * obj0 = 0 ;
29629 PyObject * obj1 = 0 ;
29630 char * kwnames[] = {
29631 (char *) "self",(char *) "frame", NULL
29632 };
29633
29634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29636 if (!SWIG_IsOK(res1)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29638 }
29639 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29641 if (!SWIG_IsOK(res2)) {
29642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29643 }
29644 arg2 = reinterpret_cast< wxFrame * >(argp2);
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
29647 (arg1)->SetFrame(arg2);
29648 wxPyEndAllowThreads(__tstate);
29649 if (PyErr_Occurred()) SWIG_fail;
29650 }
29651 resultobj = SWIG_Py_Void();
29652 return resultobj;
29653 fail:
29654 return NULL;
29655 }
29656
29657
29658 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29659 PyObject *resultobj = 0;
29660 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29661 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29662 void *argp1 = 0 ;
29663 int res1 = 0 ;
29664 void *argp2 = 0 ;
29665 int res2 = 0 ;
29666 PyObject * obj0 = 0 ;
29667 PyObject * obj1 = 0 ;
29668 char * kwnames[] = {
29669 (char *) "self",(char *) "canvas", NULL
29670 };
29671
29672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29679 if (!SWIG_IsOK(res2)) {
29680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29681 }
29682 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29683 {
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 (arg1)->SetCanvas(arg2);
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 resultobj = SWIG_Py_Void();
29690 return resultobj;
29691 fail:
29692 return NULL;
29693 }
29694
29695
29696 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29697 PyObject *resultobj = 0;
29698 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29699 wxFrame *result = 0 ;
29700 void *argp1 = 0 ;
29701 int res1 = 0 ;
29702 PyObject *swig_obj[1] ;
29703
29704 if (!args) SWIG_fail;
29705 swig_obj[0] = args;
29706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29707 if (!SWIG_IsOK(res1)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29709 }
29710 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (wxFrame *)(arg1)->GetFrame();
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 {
29718 resultobj = wxPyMake_wxObject(result, 0);
29719 }
29720 return resultobj;
29721 fail:
29722 return NULL;
29723 }
29724
29725
29726 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29727 PyObject *resultobj = 0;
29728 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29729 wxPreviewCanvas *result = 0 ;
29730 void *argp1 = 0 ;
29731 int res1 = 0 ;
29732 PyObject *swig_obj[1] ;
29733
29734 if (!args) SWIG_fail;
29735 swig_obj[0] = args;
29736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29737 if (!SWIG_IsOK(res1)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29739 }
29740 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29741 {
29742 PyThreadState* __tstate = wxPyBeginAllowThreads();
29743 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29748 return resultobj;
29749 fail:
29750 return NULL;
29751 }
29752
29753
29754 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29755 PyObject *resultobj = 0;
29756 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29757 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29758 wxDC *arg3 = 0 ;
29759 bool result;
29760 void *argp1 = 0 ;
29761 int res1 = 0 ;
29762 void *argp2 = 0 ;
29763 int res2 = 0 ;
29764 void *argp3 = 0 ;
29765 int res3 = 0 ;
29766 PyObject * obj0 = 0 ;
29767 PyObject * obj1 = 0 ;
29768 PyObject * obj2 = 0 ;
29769 char * kwnames[] = {
29770 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29771 };
29772
29773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29775 if (!SWIG_IsOK(res1)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 }
29778 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29780 if (!SWIG_IsOK(res2)) {
29781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29782 }
29783 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29784 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29785 if (!SWIG_IsOK(res3)) {
29786 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29787 }
29788 if (!argp3) {
29789 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29790 }
29791 arg3 = reinterpret_cast< wxDC * >(argp3);
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29800 }
29801 return resultobj;
29802 fail:
29803 return NULL;
29804 }
29805
29806
29807 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29808 PyObject *resultobj = 0;
29809 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29810 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29811 wxDC *arg3 = 0 ;
29812 bool result;
29813 void *argp1 = 0 ;
29814 int res1 = 0 ;
29815 void *argp2 = 0 ;
29816 int res2 = 0 ;
29817 void *argp3 = 0 ;
29818 int res3 = 0 ;
29819 PyObject * obj0 = 0 ;
29820 PyObject * obj1 = 0 ;
29821 PyObject * obj2 = 0 ;
29822 char * kwnames[] = {
29823 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29824 };
29825
29826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29828 if (!SWIG_IsOK(res1)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29830 }
29831 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29833 if (!SWIG_IsOK(res2)) {
29834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29835 }
29836 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29837 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29838 if (!SWIG_IsOK(res3)) {
29839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29840 }
29841 if (!argp3) {
29842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29843 }
29844 arg3 = reinterpret_cast< wxDC * >(argp3);
29845 {
29846 PyThreadState* __tstate = wxPyBeginAllowThreads();
29847 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 {
29852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29853 }
29854 return resultobj;
29855 fail:
29856 return NULL;
29857 }
29858
29859
29860 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj = 0;
29862 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29863 int arg2 ;
29864 bool result;
29865 void *argp1 = 0 ;
29866 int res1 = 0 ;
29867 int val2 ;
29868 int ecode2 = 0 ;
29869 PyObject * obj0 = 0 ;
29870 PyObject * obj1 = 0 ;
29871 char * kwnames[] = {
29872 (char *) "self",(char *) "pageNum", NULL
29873 };
29874
29875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29877 if (!SWIG_IsOK(res1)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29879 }
29880 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29881 ecode2 = SWIG_AsVal_int(obj1, &val2);
29882 if (!SWIG_IsOK(ecode2)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29884 }
29885 arg2 = static_cast< int >(val2);
29886 {
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 result = (bool)(arg1)->RenderPage(arg2);
29889 wxPyEndAllowThreads(__tstate);
29890 if (PyErr_Occurred()) SWIG_fail;
29891 }
29892 {
29893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29894 }
29895 return resultobj;
29896 fail:
29897 return NULL;
29898 }
29899
29900
29901 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29902 PyObject *resultobj = 0;
29903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29904 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29905 void *argp1 = 0 ;
29906 int res1 = 0 ;
29907 void *argp2 = 0 ;
29908 int res2 = 0 ;
29909 PyObject * obj0 = 0 ;
29910 PyObject * obj1 = 0 ;
29911 char * kwnames[] = {
29912 (char *) "self",(char *) "canvas", NULL
29913 };
29914
29915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29917 if (!SWIG_IsOK(res1)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29919 }
29920 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29921 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29922 if (!SWIG_IsOK(res2)) {
29923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29924 }
29925 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29926 {
29927 PyThreadState* __tstate = wxPyBeginAllowThreads();
29928 (arg1)->AdjustScrollbars(arg2);
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 resultobj = SWIG_Py_Void();
29933 return resultobj;
29934 fail:
29935 return NULL;
29936 }
29937
29938
29939 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29940 PyObject *resultobj = 0;
29941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29942 wxPrintDialogData *result = 0 ;
29943 void *argp1 = 0 ;
29944 int res1 = 0 ;
29945 PyObject *swig_obj[1] ;
29946
29947 if (!args) SWIG_fail;
29948 swig_obj[0] = args;
29949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29950 if (!SWIG_IsOK(res1)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29952 }
29953 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29954 {
29955 PyThreadState* __tstate = wxPyBeginAllowThreads();
29956 {
29957 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29958 result = (wxPrintDialogData *) &_result_ref;
29959 }
29960 wxPyEndAllowThreads(__tstate);
29961 if (PyErr_Occurred()) SWIG_fail;
29962 }
29963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29964 return resultobj;
29965 fail:
29966 return NULL;
29967 }
29968
29969
29970 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29971 PyObject *resultobj = 0;
29972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29973 int arg2 ;
29974 void *argp1 = 0 ;
29975 int res1 = 0 ;
29976 int val2 ;
29977 int ecode2 = 0 ;
29978 PyObject * obj0 = 0 ;
29979 PyObject * obj1 = 0 ;
29980 char * kwnames[] = {
29981 (char *) "self",(char *) "percent", NULL
29982 };
29983
29984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29986 if (!SWIG_IsOK(res1)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29988 }
29989 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29990 ecode2 = SWIG_AsVal_int(obj1, &val2);
29991 if (!SWIG_IsOK(ecode2)) {
29992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29993 }
29994 arg2 = static_cast< int >(val2);
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
29997 (arg1)->SetZoom(arg2);
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 resultobj = SWIG_Py_Void();
30002 return resultobj;
30003 fail:
30004 return NULL;
30005 }
30006
30007
30008 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30009 PyObject *resultobj = 0;
30010 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30011 int result;
30012 void *argp1 = 0 ;
30013 int res1 = 0 ;
30014 PyObject *swig_obj[1] ;
30015
30016 if (!args) SWIG_fail;
30017 swig_obj[0] = args;
30018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30019 if (!SWIG_IsOK(res1)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30021 }
30022 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30023 {
30024 PyThreadState* __tstate = wxPyBeginAllowThreads();
30025 result = (int)(arg1)->GetZoom();
30026 wxPyEndAllowThreads(__tstate);
30027 if (PyErr_Occurred()) SWIG_fail;
30028 }
30029 resultobj = SWIG_From_int(static_cast< int >(result));
30030 return resultobj;
30031 fail:
30032 return NULL;
30033 }
30034
30035
30036 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30037 PyObject *resultobj = 0;
30038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30039 int result;
30040 void *argp1 = 0 ;
30041 int res1 = 0 ;
30042 PyObject *swig_obj[1] ;
30043
30044 if (!args) SWIG_fail;
30045 swig_obj[0] = args;
30046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30047 if (!SWIG_IsOK(res1)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30049 }
30050 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30051 {
30052 PyThreadState* __tstate = wxPyBeginAllowThreads();
30053 result = (int)(arg1)->GetMaxPage();
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 resultobj = SWIG_From_int(static_cast< int >(result));
30058 return resultobj;
30059 fail:
30060 return NULL;
30061 }
30062
30063
30064 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30065 PyObject *resultobj = 0;
30066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30067 int result;
30068 void *argp1 = 0 ;
30069 int res1 = 0 ;
30070 PyObject *swig_obj[1] ;
30071
30072 if (!args) SWIG_fail;
30073 swig_obj[0] = args;
30074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30075 if (!SWIG_IsOK(res1)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30077 }
30078 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30079 {
30080 PyThreadState* __tstate = wxPyBeginAllowThreads();
30081 result = (int)(arg1)->GetMinPage();
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 resultobj = SWIG_From_int(static_cast< int >(result));
30086 return resultobj;
30087 fail:
30088 return NULL;
30089 }
30090
30091
30092 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30093 PyObject *resultobj = 0;
30094 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30095 bool result;
30096 void *argp1 = 0 ;
30097 int res1 = 0 ;
30098 PyObject *swig_obj[1] ;
30099
30100 if (!args) SWIG_fail;
30101 swig_obj[0] = args;
30102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30103 if (!SWIG_IsOK(res1)) {
30104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30105 }
30106 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30107 {
30108 PyThreadState* __tstate = wxPyBeginAllowThreads();
30109 result = (bool)(arg1)->Ok();
30110 wxPyEndAllowThreads(__tstate);
30111 if (PyErr_Occurred()) SWIG_fail;
30112 }
30113 {
30114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30115 }
30116 return resultobj;
30117 fail:
30118 return NULL;
30119 }
30120
30121
30122 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30123 PyObject *resultobj = 0;
30124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30125 bool arg2 ;
30126 void *argp1 = 0 ;
30127 int res1 = 0 ;
30128 bool val2 ;
30129 int ecode2 = 0 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 char * kwnames[] = {
30133 (char *) "self",(char *) "ok", NULL
30134 };
30135
30136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30138 if (!SWIG_IsOK(res1)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30140 }
30141 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30142 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30143 if (!SWIG_IsOK(ecode2)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30145 }
30146 arg2 = static_cast< bool >(val2);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 (arg1)->SetOk(arg2);
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 resultobj = SWIG_Py_Void();
30154 return resultobj;
30155 fail:
30156 return NULL;
30157 }
30158
30159
30160 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30161 PyObject *resultobj = 0;
30162 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30163 bool arg2 ;
30164 bool result;
30165 void *argp1 = 0 ;
30166 int res1 = 0 ;
30167 bool val2 ;
30168 int ecode2 = 0 ;
30169 PyObject * obj0 = 0 ;
30170 PyObject * obj1 = 0 ;
30171 char * kwnames[] = {
30172 (char *) "self",(char *) "interactive", NULL
30173 };
30174
30175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30177 if (!SWIG_IsOK(res1)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30179 }
30180 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30181 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30182 if (!SWIG_IsOK(ecode2)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30184 }
30185 arg2 = static_cast< bool >(val2);
30186 {
30187 PyThreadState* __tstate = wxPyBeginAllowThreads();
30188 result = (bool)(arg1)->Print(arg2);
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 {
30193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30194 }
30195 return resultobj;
30196 fail:
30197 return NULL;
30198 }
30199
30200
30201 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30202 PyObject *resultobj = 0;
30203 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30204 void *argp1 = 0 ;
30205 int res1 = 0 ;
30206 PyObject *swig_obj[1] ;
30207
30208 if (!args) SWIG_fail;
30209 swig_obj[0] = args;
30210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30211 if (!SWIG_IsOK(res1)) {
30212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30213 }
30214 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30215 {
30216 PyThreadState* __tstate = wxPyBeginAllowThreads();
30217 (arg1)->DetermineScaling();
30218 wxPyEndAllowThreads(__tstate);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 }
30221 resultobj = SWIG_Py_Void();
30222 return resultobj;
30223 fail:
30224 return NULL;
30225 }
30226
30227
30228 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30229 PyObject *obj;
30230 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30231 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30232 return SWIG_Py_Void();
30233 }
30234
30235 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30236 return SWIG_Python_InitShadowInstance(args);
30237 }
30238
30239 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30240 PyObject *resultobj = 0;
30241 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30242 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30243 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30244 wxPyPrintPreview *result = 0 ;
30245 int res1 = 0 ;
30246 int res2 = 0 ;
30247 void *argp3 = 0 ;
30248 int res3 = 0 ;
30249
30250 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30251 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30252 if (!SWIG_IsOK(res1)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30254 }
30255 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30256 if (!SWIG_IsOK(res2)) {
30257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30258 }
30259 if (swig_obj[2]) {
30260 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30261 if (!SWIG_IsOK(res3)) {
30262 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30263 }
30264 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30265 }
30266 {
30267 if (!wxPyCheckForApp()) SWIG_fail;
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30274 return resultobj;
30275 fail:
30276 return NULL;
30277 }
30278
30279
30280 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30281 PyObject *resultobj = 0;
30282 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30283 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30284 wxPrintData *arg3 = (wxPrintData *) 0 ;
30285 wxPyPrintPreview *result = 0 ;
30286 int res1 = 0 ;
30287 int res2 = 0 ;
30288 void *argp3 = 0 ;
30289 int res3 = 0 ;
30290
30291 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30292 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30293 if (!SWIG_IsOK(res1)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30295 }
30296 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30297 if (!SWIG_IsOK(res2)) {
30298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30299 }
30300 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30301 if (!SWIG_IsOK(res3)) {
30302 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30303 }
30304 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30305 {
30306 if (!wxPyCheckForApp()) SWIG_fail;
30307 PyThreadState* __tstate = wxPyBeginAllowThreads();
30308 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30313 return resultobj;
30314 fail:
30315 return NULL;
30316 }
30317
30318
30319 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30320 int argc;
30321 PyObject *argv[4];
30322
30323 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30324 --argc;
30325 if ((argc >= 2) && (argc <= 3)) {
30326 int _v = 0;
30327 if (argc > 2) {
30328 {
30329 void *vptr = 0;
30330 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30331 _v = SWIG_CheckState(res);
30332 }
30333 if (!_v) goto check_1;
30334 }
30335 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30336 }
30337 check_1:
30338
30339 if (argc == 3) {
30340 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30341 }
30342
30343 fail:
30344 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30345 return NULL;
30346 }
30347
30348
30349 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj = 0;
30351 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30352 PyObject *arg2 = (PyObject *) 0 ;
30353 PyObject *arg3 = (PyObject *) 0 ;
30354 void *argp1 = 0 ;
30355 int res1 = 0 ;
30356 PyObject * obj0 = 0 ;
30357 PyObject * obj1 = 0 ;
30358 PyObject * obj2 = 0 ;
30359 char * kwnames[] = {
30360 (char *) "self",(char *) "self",(char *) "_class", NULL
30361 };
30362
30363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30365 if (!SWIG_IsOK(res1)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30367 }
30368 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30369 arg2 = obj1;
30370 arg3 = obj2;
30371 {
30372 PyThreadState* __tstate = wxPyBeginAllowThreads();
30373 (arg1)->_setCallbackInfo(arg2,arg3);
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 *PyPrintPreview_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_wxPyPrintPreview, SWIG_NewClientData(obj));
30388 return SWIG_Py_Void();
30389 }
30390
30391 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30392 return SWIG_Python_InitShadowInstance(args);
30393 }
30394
30395 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30396 PyObject *resultobj = 0;
30397 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30398 wxFrame *arg2 = (wxFrame *) 0 ;
30399 wxString *arg3 = 0 ;
30400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30402 wxSize const &arg5_defvalue = wxDefaultSize ;
30403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30404 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30405 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30406 wxString *arg7 = (wxString *) &arg7_defvalue ;
30407 wxPyPreviewFrame *result = 0 ;
30408 void *argp1 = 0 ;
30409 int res1 = 0 ;
30410 void *argp2 = 0 ;
30411 int res2 = 0 ;
30412 bool temp3 = false ;
30413 wxPoint temp4 ;
30414 wxSize temp5 ;
30415 long val6 ;
30416 int ecode6 = 0 ;
30417 bool temp7 = false ;
30418 PyObject * obj0 = 0 ;
30419 PyObject * obj1 = 0 ;
30420 PyObject * obj2 = 0 ;
30421 PyObject * obj3 = 0 ;
30422 PyObject * obj4 = 0 ;
30423 PyObject * obj5 = 0 ;
30424 PyObject * obj6 = 0 ;
30425 char * kwnames[] = {
30426 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30427 };
30428
30429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30431 if (!SWIG_IsOK(res1)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30433 }
30434 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30436 if (!SWIG_IsOK(res2)) {
30437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30438 }
30439 arg2 = reinterpret_cast< wxFrame * >(argp2);
30440 {
30441 arg3 = wxString_in_helper(obj2);
30442 if (arg3 == NULL) SWIG_fail;
30443 temp3 = true;
30444 }
30445 if (obj3) {
30446 {
30447 arg4 = &temp4;
30448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30449 }
30450 }
30451 if (obj4) {
30452 {
30453 arg5 = &temp5;
30454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30455 }
30456 }
30457 if (obj5) {
30458 ecode6 = SWIG_AsVal_long(obj5, &val6);
30459 if (!SWIG_IsOK(ecode6)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30461 }
30462 arg6 = static_cast< long >(val6);
30463 }
30464 if (obj6) {
30465 {
30466 arg7 = wxString_in_helper(obj6);
30467 if (arg7 == NULL) SWIG_fail;
30468 temp7 = true;
30469 }
30470 }
30471 {
30472 if (!wxPyCheckForApp()) SWIG_fail;
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30475 wxPyEndAllowThreads(__tstate);
30476 if (PyErr_Occurred()) SWIG_fail;
30477 }
30478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30479 {
30480 if (temp3)
30481 delete arg3;
30482 }
30483 {
30484 if (temp7)
30485 delete arg7;
30486 }
30487 return resultobj;
30488 fail:
30489 {
30490 if (temp3)
30491 delete arg3;
30492 }
30493 {
30494 if (temp7)
30495 delete arg7;
30496 }
30497 return NULL;
30498 }
30499
30500
30501 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30502 PyObject *resultobj = 0;
30503 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30504 PyObject *arg2 = (PyObject *) 0 ;
30505 PyObject *arg3 = (PyObject *) 0 ;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 PyObject * obj0 = 0 ;
30509 PyObject * obj1 = 0 ;
30510 PyObject * obj2 = 0 ;
30511 char * kwnames[] = {
30512 (char *) "self",(char *) "self",(char *) "_class", NULL
30513 };
30514
30515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30517 if (!SWIG_IsOK(res1)) {
30518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30519 }
30520 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30521 arg2 = obj1;
30522 arg3 = obj2;
30523 {
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 (arg1)->_setCallbackInfo(arg2,arg3);
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 resultobj = SWIG_Py_Void();
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30537 PyObject *resultobj = 0;
30538 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30539 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30540 void *argp1 = 0 ;
30541 int res1 = 0 ;
30542 void *argp2 = 0 ;
30543 int res2 = 0 ;
30544 PyObject * obj0 = 0 ;
30545 PyObject * obj1 = 0 ;
30546 char * kwnames[] = {
30547 (char *) "self",(char *) "canvas", NULL
30548 };
30549
30550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30552 if (!SWIG_IsOK(res1)) {
30553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30554 }
30555 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30557 if (!SWIG_IsOK(res2)) {
30558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30559 }
30560 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30561 {
30562 PyThreadState* __tstate = wxPyBeginAllowThreads();
30563 (arg1)->SetPreviewCanvas(arg2);
30564 wxPyEndAllowThreads(__tstate);
30565 if (PyErr_Occurred()) SWIG_fail;
30566 }
30567 resultobj = SWIG_Py_Void();
30568 return resultobj;
30569 fail:
30570 return NULL;
30571 }
30572
30573
30574 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30575 PyObject *resultobj = 0;
30576 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30577 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30578 void *argp1 = 0 ;
30579 int res1 = 0 ;
30580 void *argp2 = 0 ;
30581 int res2 = 0 ;
30582 PyObject * obj0 = 0 ;
30583 PyObject * obj1 = 0 ;
30584 char * kwnames[] = {
30585 (char *) "self",(char *) "bar", NULL
30586 };
30587
30588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30590 if (!SWIG_IsOK(res1)) {
30591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30592 }
30593 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30595 if (!SWIG_IsOK(res2)) {
30596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30597 }
30598 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30599 {
30600 PyThreadState* __tstate = wxPyBeginAllowThreads();
30601 (arg1)->SetControlBar(arg2);
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 resultobj = SWIG_Py_Void();
30606 return resultobj;
30607 fail:
30608 return NULL;
30609 }
30610
30611
30612 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30613 PyObject *resultobj = 0;
30614 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30615 void *argp1 = 0 ;
30616 int res1 = 0 ;
30617 PyObject *swig_obj[1] ;
30618
30619 if (!args) SWIG_fail;
30620 swig_obj[0] = args;
30621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30622 if (!SWIG_IsOK(res1)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30624 }
30625 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30626 {
30627 PyThreadState* __tstate = wxPyBeginAllowThreads();
30628 (arg1)->Initialize();
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 resultobj = SWIG_Py_Void();
30633 return resultobj;
30634 fail:
30635 return NULL;
30636 }
30637
30638
30639 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30640 PyObject *resultobj = 0;
30641 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30642 void *argp1 = 0 ;
30643 int res1 = 0 ;
30644 PyObject *swig_obj[1] ;
30645
30646 if (!args) SWIG_fail;
30647 swig_obj[0] = args;
30648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30649 if (!SWIG_IsOK(res1)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30651 }
30652 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30653 {
30654 PyThreadState* __tstate = wxPyBeginAllowThreads();
30655 (arg1)->CreateCanvas();
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
30659 resultobj = SWIG_Py_Void();
30660 return resultobj;
30661 fail:
30662 return NULL;
30663 }
30664
30665
30666 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30667 PyObject *resultobj = 0;
30668 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30669 void *argp1 = 0 ;
30670 int res1 = 0 ;
30671 PyObject *swig_obj[1] ;
30672
30673 if (!args) SWIG_fail;
30674 swig_obj[0] = args;
30675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30676 if (!SWIG_IsOK(res1)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30678 }
30679 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 (arg1)->CreateControlBar();
30683 wxPyEndAllowThreads(__tstate);
30684 if (PyErr_Occurred()) SWIG_fail;
30685 }
30686 resultobj = SWIG_Py_Void();
30687 return resultobj;
30688 fail:
30689 return NULL;
30690 }
30691
30692
30693 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30694 PyObject *obj;
30695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30696 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30697 return SWIG_Py_Void();
30698 }
30699
30700 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30701 return SWIG_Python_InitShadowInstance(args);
30702 }
30703
30704 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30705 PyObject *resultobj = 0;
30706 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30707 long arg2 ;
30708 wxWindow *arg3 = (wxWindow *) 0 ;
30709 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30710 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30711 wxSize const &arg5_defvalue = wxDefaultSize ;
30712 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30713 long arg6 = (long) 0 ;
30714 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30715 wxString *arg7 = (wxString *) &arg7_defvalue ;
30716 wxPyPreviewControlBar *result = 0 ;
30717 void *argp1 = 0 ;
30718 int res1 = 0 ;
30719 long val2 ;
30720 int ecode2 = 0 ;
30721 void *argp3 = 0 ;
30722 int res3 = 0 ;
30723 wxPoint temp4 ;
30724 wxSize temp5 ;
30725 long val6 ;
30726 int ecode6 = 0 ;
30727 bool temp7 = false ;
30728 PyObject * obj0 = 0 ;
30729 PyObject * obj1 = 0 ;
30730 PyObject * obj2 = 0 ;
30731 PyObject * obj3 = 0 ;
30732 PyObject * obj4 = 0 ;
30733 PyObject * obj5 = 0 ;
30734 PyObject * obj6 = 0 ;
30735 char * kwnames[] = {
30736 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30737 };
30738
30739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30741 if (!SWIG_IsOK(res1)) {
30742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30743 }
30744 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30745 ecode2 = SWIG_AsVal_long(obj1, &val2);
30746 if (!SWIG_IsOK(ecode2)) {
30747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30748 }
30749 arg2 = static_cast< long >(val2);
30750 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30751 if (!SWIG_IsOK(res3)) {
30752 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30753 }
30754 arg3 = reinterpret_cast< wxWindow * >(argp3);
30755 if (obj3) {
30756 {
30757 arg4 = &temp4;
30758 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30759 }
30760 }
30761 if (obj4) {
30762 {
30763 arg5 = &temp5;
30764 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30765 }
30766 }
30767 if (obj5) {
30768 ecode6 = SWIG_AsVal_long(obj5, &val6);
30769 if (!SWIG_IsOK(ecode6)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30771 }
30772 arg6 = static_cast< long >(val6);
30773 }
30774 if (obj6) {
30775 {
30776 arg7 = wxString_in_helper(obj6);
30777 if (arg7 == NULL) SWIG_fail;
30778 temp7 = true;
30779 }
30780 }
30781 {
30782 if (!wxPyCheckForApp()) SWIG_fail;
30783 PyThreadState* __tstate = wxPyBeginAllowThreads();
30784 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30785 wxPyEndAllowThreads(__tstate);
30786 if (PyErr_Occurred()) SWIG_fail;
30787 }
30788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30789 {
30790 if (temp7)
30791 delete arg7;
30792 }
30793 return resultobj;
30794 fail:
30795 {
30796 if (temp7)
30797 delete arg7;
30798 }
30799 return NULL;
30800 }
30801
30802
30803 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30804 PyObject *resultobj = 0;
30805 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30806 PyObject *arg2 = (PyObject *) 0 ;
30807 PyObject *arg3 = (PyObject *) 0 ;
30808 void *argp1 = 0 ;
30809 int res1 = 0 ;
30810 PyObject * obj0 = 0 ;
30811 PyObject * obj1 = 0 ;
30812 PyObject * obj2 = 0 ;
30813 char * kwnames[] = {
30814 (char *) "self",(char *) "self",(char *) "_class", NULL
30815 };
30816
30817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30819 if (!SWIG_IsOK(res1)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30821 }
30822 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30823 arg2 = obj1;
30824 arg3 = obj2;
30825 {
30826 PyThreadState* __tstate = wxPyBeginAllowThreads();
30827 (arg1)->_setCallbackInfo(arg2,arg3);
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
30831 resultobj = SWIG_Py_Void();
30832 return resultobj;
30833 fail:
30834 return NULL;
30835 }
30836
30837
30838 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj = 0;
30840 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30841 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30842 void *argp1 = 0 ;
30843 int res1 = 0 ;
30844 void *argp2 = 0 ;
30845 int res2 = 0 ;
30846 PyObject * obj0 = 0 ;
30847 PyObject * obj1 = 0 ;
30848 char * kwnames[] = {
30849 (char *) "self",(char *) "preview", NULL
30850 };
30851
30852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30854 if (!SWIG_IsOK(res1)) {
30855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30856 }
30857 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30859 if (!SWIG_IsOK(res2)) {
30860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30861 }
30862 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30863 {
30864 PyThreadState* __tstate = wxPyBeginAllowThreads();
30865 (arg1)->SetPrintPreview(arg2);
30866 wxPyEndAllowThreads(__tstate);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
30869 resultobj = SWIG_Py_Void();
30870 return resultobj;
30871 fail:
30872 return NULL;
30873 }
30874
30875
30876 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30877 PyObject *resultobj = 0;
30878 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30879 void *argp1 = 0 ;
30880 int res1 = 0 ;
30881 PyObject *swig_obj[1] ;
30882
30883 if (!args) SWIG_fail;
30884 swig_obj[0] = args;
30885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30886 if (!SWIG_IsOK(res1)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30888 }
30889 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30890 {
30891 PyThreadState* __tstate = wxPyBeginAllowThreads();
30892 (arg1)->CreateButtons();
30893 wxPyEndAllowThreads(__tstate);
30894 if (PyErr_Occurred()) SWIG_fail;
30895 }
30896 resultobj = SWIG_Py_Void();
30897 return resultobj;
30898 fail:
30899 return NULL;
30900 }
30901
30902
30903 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30904 PyObject *resultobj = 0;
30905 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30906 int arg2 ;
30907 void *argp1 = 0 ;
30908 int res1 = 0 ;
30909 int val2 ;
30910 int ecode2 = 0 ;
30911 PyObject * obj0 = 0 ;
30912 PyObject * obj1 = 0 ;
30913 char * kwnames[] = {
30914 (char *) "self",(char *) "zoom", NULL
30915 };
30916
30917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30919 if (!SWIG_IsOK(res1)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30921 }
30922 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30923 ecode2 = SWIG_AsVal_int(obj1, &val2);
30924 if (!SWIG_IsOK(ecode2)) {
30925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30926 }
30927 arg2 = static_cast< int >(val2);
30928 {
30929 PyThreadState* __tstate = wxPyBeginAllowThreads();
30930 (arg1)->SetZoomControl(arg2);
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 resultobj = SWIG_Py_Void();
30935 return resultobj;
30936 fail:
30937 return NULL;
30938 }
30939
30940
30941 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30942 PyObject *obj;
30943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30944 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30945 return SWIG_Py_Void();
30946 }
30947
30948 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30949 return SWIG_Python_InitShadowInstance(args);
30950 }
30951
30952 static PyMethodDef SwigMethods[] = {
30953 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30955 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30957 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30959 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30960 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30962 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30969 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30971 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30973 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30974 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30975 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30976 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30977 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30980 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30983 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30984 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30986 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30988 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30989 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30990 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30991 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30995 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30997 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31000 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31002 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31005 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31008 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31009 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31011 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31013 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31015 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31018 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31025 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31027 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31032 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31033 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31035 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31038 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31040 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31042 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31046 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31047 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31050 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31051 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31053 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31055 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31056 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31059 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31060 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31061 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31063 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31064 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31065 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31066 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31067 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31069 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31072 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31081 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31082 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31084 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31085 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31087 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31089 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31090 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31092 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31098 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31099 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31102 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31103 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31105 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31107 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31109 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31111 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31113 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31115 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31116 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31119 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31120 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31121 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31122 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31123 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31124 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31126 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31134 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31136 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31139 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31140 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31143 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31144 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31146 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31147 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31148 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31151 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31153 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31155 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31156 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31157 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31160 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31162 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31164 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31166 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31168 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31169 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31170 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31173 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31175 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31176 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31177 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31179 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31181 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31182 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31186 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31187 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31188 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31189 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31193 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31194 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31196 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31199 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31200 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31202 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31205 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31206 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31207 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31210 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31211 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31212 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31214 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31223 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31224 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31225 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31226 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31228 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31229 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31232 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31233 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31235 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31238 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31239 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31240 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31243 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31244 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31246 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31247 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31249 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31254 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31255 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31261 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31262 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31264 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31268 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31270 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31271 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31272 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31273 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31275 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31276 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31277 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31279 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31281 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31282 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31284 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31286 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31287 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31288 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31289 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31294 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31295 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31297 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31298 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31299 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31302 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31303 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31306 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31307 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31315 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31316 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31317 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31318 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31319 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31320 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31321 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31322 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31323 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31324 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31327 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31328 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31329 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31331 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31332 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31334 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31335 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31337 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31339 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31340 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31342 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31343 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31345 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31346 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31347 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31348 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31349 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31351 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31352 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31353 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31354 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31355 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31356 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31363 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31364 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31366 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31367 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31368 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31371 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31372 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31376 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31377 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31378 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31380 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31381 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31382 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31383 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31387 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31388 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31390 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31391 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31392 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31393 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31397 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31398 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31400 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31402 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31404 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31405 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31407 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31409 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31410 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31411 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31412 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31413 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31414 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31415 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31417 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31418 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31420 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31422 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31423 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31424 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31426 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31428 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31429 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31431 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31439 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31440 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31441 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31442 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31443 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31444 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31445 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31446 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31447 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31449 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31457 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31458 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31459 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31460 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31461 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31462 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31463 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31464 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31465 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31467 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31475 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31476 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31477 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31478 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31479 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31480 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31481 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31482 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31483 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31484 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31485 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31486 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31487 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31488 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31489 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31490 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31491 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31492 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31493 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31494 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31495 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31496 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31497 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31509 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31511 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31513 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31514 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31515 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31516 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31522 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31523 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31524 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31525 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31526 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31527 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31528 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31529 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31530 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31531 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31532 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31533 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31534 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31535 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31536 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31546 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31547 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31548 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31549 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31551 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31552 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31553 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31554 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31555 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31556 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31557 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31558 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31559 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31560 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31561 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31562 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31563 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31564 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31565 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31566 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31567 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31581 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31582 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31583 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31584 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31585 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31586 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31588 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31589 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31591 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31592 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31593 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31594 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31595 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31596 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31597 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31599 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31605 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31606 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31607 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31608 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31609 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31611 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31613 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31614 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31617 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31619 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31621 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31623 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31624 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31627 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31628 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31629 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31630 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31632 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31633 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31634 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31636 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31637 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31639 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31640 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31641 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31642 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31643 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31644 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31646 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31648 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31649 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31650 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31651 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31652 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31653 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31654 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31655 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31656 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31657 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31659 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31661 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31662 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31665 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31666 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31671 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31673 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31674 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31675 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31676 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31679 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31680 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31681 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31682 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31684 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31685 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31690 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31691 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31692 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31693 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31694 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31698 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31700 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31701 { NULL, NULL, 0, NULL }
31702 };
31703
31704
31705 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31706
31707 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31708 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31709 }
31710 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31711 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31712 }
31713 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31714 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31715 }
31716 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31717 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31718 }
31719 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31720 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31721 }
31722 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31723 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31724 }
31725 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31726 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31727 }
31728 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31729 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31730 }
31731 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31732 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31733 }
31734 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31736 }
31737 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31738 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31739 }
31740 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31742 }
31743 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31744 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31745 }
31746 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31747 return (void *)((wxEvent *) ((wxPyEvent *) x));
31748 }
31749 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31750 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31751 }
31752 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31753 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31754 }
31755 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31757 }
31758 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31759 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31760 }
31761 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31762 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31763 }
31764 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31765 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31766 }
31767 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31768 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31769 }
31770 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31771 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31772 }
31773 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31774 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31775 }
31776 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31778 }
31779 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31780 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31781 }
31782 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31783 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31784 }
31785 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31787 }
31788 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31789 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31790 }
31791 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31792 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31793 }
31794 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31795 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31796 }
31797 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31798 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31799 }
31800 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31801 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31802 }
31803 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31804 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31805 }
31806 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31807 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31808 }
31809 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31810 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31811 }
31812 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31813 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31814 }
31815 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31816 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31817 }
31818 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31819 return (void *)((wxEvent *) ((wxShowEvent *) x));
31820 }
31821 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31822 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31823 }
31824 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31825 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31826 }
31827 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31829 }
31830 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31831 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31832 }
31833 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31834 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31835 }
31836 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31837 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31838 }
31839 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31840 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31841 }
31842 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31843 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31844 }
31845 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31846 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31847 }
31848 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31849 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31850 }
31851 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31852 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31853 }
31854 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31855 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31856 }
31857 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31858 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31859 }
31860 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31861 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31862 }
31863 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31864 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31865 }
31866 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31867 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31868 }
31869 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31871 }
31872 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31874 }
31875 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31877 }
31878 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31880 }
31881 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31883 }
31884 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31886 }
31887 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31889 }
31890 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31892 }
31893 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31895 }
31896 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31897 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31898 }
31899 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31900 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31901 }
31902 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31903 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31904 }
31905 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31906 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31907 }
31908 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31909 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31910 }
31911 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31912 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31913 }
31914 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31915 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31916 }
31917 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31919 }
31920 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31922 }
31923 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31925 }
31926 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31927 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31928 }
31929 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31930 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31931 }
31932 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31933 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31934 }
31935 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31937 }
31938 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31939 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31940 }
31941 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31943 }
31944 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31945 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31946 }
31947 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31948 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31949 }
31950 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31951 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31952 }
31953 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31954 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31955 }
31956 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31958 }
31959 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31961 }
31962 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31963 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31964 }
31965 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31966 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31967 }
31968 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31969 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31970 }
31971 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31972 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31973 }
31974 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31975 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31976 }
31977 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31978 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31979 }
31980 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31981 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31982 }
31983 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31984 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31985 }
31986 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31987 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31988 }
31989 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31990 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31991 }
31992 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31993 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31994 }
31995 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31997 }
31998 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31999 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32000 }
32001 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32002 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32003 }
32004 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32005 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32006 }
32007 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32008 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32009 }
32010 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32011 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32012 }
32013 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32014 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32015 }
32016 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32017 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32018 }
32019 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32020 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32021 }
32022 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32023 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32024 }
32025 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32026 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32027 }
32028 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32030 }
32031 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32033 }
32034 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32035 return (void *)((wxObject *) ((wxSizerItem *) x));
32036 }
32037 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32038 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32039 }
32040 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32042 }
32043 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32044 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32045 }
32046 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32047 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32048 }
32049 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32050 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32051 }
32052 static void *_p_wxSizerTo_p_wxObject(void *x) {
32053 return (void *)((wxObject *) ((wxSizer *) x));
32054 }
32055 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32056 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32057 }
32058 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32059 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32060 }
32061 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32063 }
32064 static void *_p_wxEventTo_p_wxObject(void *x) {
32065 return (void *)((wxObject *) ((wxEvent *) x));
32066 }
32067 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32068 return (void *)((wxObject *) ((wxFontData *) x));
32069 }
32070 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32071 return (void *)((wxObject *) ((wxPrintData *) x));
32072 }
32073 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32074 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32075 }
32076 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32077 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32078 }
32079 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32080 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32081 }
32082 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32083 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32084 }
32085 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32086 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32087 }
32088 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32090 }
32091 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32093 }
32094 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32095 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32096 }
32097 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32098 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32099 }
32100 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32101 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32102 }
32103 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32104 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32105 }
32106 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32107 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32108 }
32109 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32110 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32111 }
32112 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32114 }
32115 static void *_p_wxControlTo_p_wxObject(void *x) {
32116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32117 }
32118 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32119 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32120 }
32121 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32122 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32123 }
32124 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32125 return (void *)((wxObject *) ((wxFSFile *) x));
32126 }
32127 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32128 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32129 }
32130 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32131 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32132 }
32133 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32135 }
32136 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32137 return (void *)((wxObject *) ((wxColourData *) x));
32138 }
32139 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32140 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32141 }
32142 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32144 }
32145 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32147 }
32148 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32150 }
32151 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32153 }
32154 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32156 }
32157 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32159 }
32160 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32162 }
32163 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32165 }
32166 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32168 }
32169 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32171 }
32172 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32174 }
32175 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32177 }
32178 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32179 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32180 }
32181 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32182 return (void *)((wxObject *) ((wxPrinter *) x));
32183 }
32184 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) ((wxMenuItem *) x));
32186 }
32187 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32189 }
32190 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32192 }
32193 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32195 }
32196 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32198 }
32199 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32201 }
32202 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32204 }
32205 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32207 }
32208 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32210 }
32211 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32213 }
32214 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32216 }
32217 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32219 }
32220 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32222 }
32223 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32225 }
32226 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32228 }
32229 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32231 }
32232 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32234 }
32235 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32237 }
32238 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32240 }
32241 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32242 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32243 }
32244 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32245 return (void *)((wxObject *) ((wxImageHandler *) x));
32246 }
32247 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32248 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32249 }
32250 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32251 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32252 }
32253 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32254 return (void *)((wxObject *) ((wxEvtHandler *) x));
32255 }
32256 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32257 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32258 }
32259 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32260 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32261 }
32262 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32264 }
32265 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32267 }
32268 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32269 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32270 }
32271 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32272 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32273 }
32274 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32276 }
32277 static void *_p_wxImageTo_p_wxObject(void *x) {
32278 return (void *)((wxObject *) ((wxImage *) x));
32279 }
32280 static void *_p_wxFrameTo_p_wxObject(void *x) {
32281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32282 }
32283 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32284 return (void *)((wxObject *) ((wxPyPrintout *) x));
32285 }
32286 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32287 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32288 }
32289 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32290 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32291 }
32292 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32294 }
32295 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32297 }
32298 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32300 }
32301 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32302 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32303 }
32304 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32305 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32306 }
32307 static void *_p_wxWindowTo_p_wxObject(void *x) {
32308 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32309 }
32310 static void *_p_wxMenuTo_p_wxObject(void *x) {
32311 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32312 }
32313 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32315 }
32316 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32318 }
32319 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32321 }
32322 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32324 }
32325 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32327 }
32328 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32330 }
32331 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32333 }
32334 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32336 }
32337 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32339 }
32340 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32342 }
32343 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32345 }
32346 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32348 }
32349 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32351 }
32352 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32354 }
32355 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) ((wxPrintPreview *) x));
32357 }
32358 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32360 }
32361 static void *_p_wxPanelTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32363 }
32364 static void *_p_wxDialogTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32366 }
32367 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32369 }
32370 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32372 }
32373 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32375 }
32376 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32378 }
32379 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) ((wxPrintDialog *) x));
32381 }
32382 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) ((wxFileSystem *) x));
32384 }
32385 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32387 }
32388 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32390 }
32391 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32393 }
32394 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32396 }
32397 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32399 }
32400 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32402 }
32403 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32405 }
32406 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32408 }
32409 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32411 }
32412 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32414 }
32415 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32417 }
32418 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32420 }
32421 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32423 }
32424 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32426 }
32427 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32429 }
32430 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32432 }
32433 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32435 }
32436 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32438 }
32439 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32440 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32441 }
32442 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32443 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32444 }
32445 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32446 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32447 }
32448 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32449 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32450 }
32451 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32452 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32453 }
32454 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32455 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32456 }
32457 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32458 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32459 }
32460 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32461 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32462 }
32463 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32464 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32465 }
32466 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32467 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32468 }
32469 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32470 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32471 }
32472 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32473 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32474 }
32475 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32476 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32477 }
32478 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32479 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32480 }
32481 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32482 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32483 }
32484 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32485 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32486 }
32487 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32488 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32489 }
32490 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32491 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32492 }
32493 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32495 }
32496 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32498 }
32499 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32501 }
32502 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32503 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32504 }
32505 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32506 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32507 }
32508 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32509 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32510 }
32511 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32512 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32513 }
32514 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32515 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32516 }
32517 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32518 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32519 }
32520 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32521 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32522 }
32523 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32524 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32525 }
32526 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32527 return (void *)((wxWindow *) ((wxMenuBar *) x));
32528 }
32529 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32531 }
32532 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32534 }
32535 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32537 }
32538 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32540 }
32541 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32543 }
32544 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32546 }
32547 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32549 }
32550 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32552 }
32553 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32555 }
32556 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32557 return (void *)((wxWindow *) ((wxPanel *) x));
32558 }
32559 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32560 return (void *)((wxWindow *) ((wxStatusBar *) x));
32561 }
32562 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32563 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32564 }
32565 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32566 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32567 }
32568 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32569 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32570 }
32571 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32572 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32573 }
32574 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32575 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32576 }
32577 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32578 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32579 }
32580 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32581 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32582 }
32583 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32584 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32585 }
32586 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32587 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32588 }
32589 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32590 return (void *)((wxWindow *) ((wxSashWindow *) x));
32591 }
32592 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32593 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32594 }
32595 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32596 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32597 }
32598 static void *_p_wxControlTo_p_wxWindow(void *x) {
32599 return (void *)((wxWindow *) ((wxControl *) x));
32600 }
32601 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32603 }
32604 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32606 }
32607 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32608 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32609 }
32610 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32611 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32612 }
32613 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32614 return (void *)((wxWindow *) ((wxPyWindow *) x));
32615 }
32616 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32617 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32618 }
32619 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32620 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32621 }
32622 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32623 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32624 }
32625 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32626 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32627 }
32628 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32629 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32630 }
32631 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32632 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32633 }
32634 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32636 }
32637 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32638 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32639 }
32640 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32642 }
32643 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32644 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32645 }
32646 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32648 }
32649 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32650 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32651 }
32652 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32653 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32654 }
32655 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32656 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32657 }
32658 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32659 return (void *)((wxDialog *) ((wxColourDialog *) x));
32660 }
32661 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32662 return (void *)((wxDialog *) ((wxDirDialog *) x));
32663 }
32664 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32665 return (void *)((wxDialog *) ((wxFontDialog *) x));
32666 }
32667 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32668 return (void *)((wxDialog *) ((wxFileDialog *) x));
32669 }
32670 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32671 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32672 }
32673 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32674 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32675 }
32676 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32677 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32678 }
32679 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32680 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32681 }
32682 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32683 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32684 }
32685 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32686 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32687 }
32688 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32689 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32690 }
32691 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32692 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32693 }
32694 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32695 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32696 }
32697 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32698 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32699 }
32700 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32701 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32702 }
32703 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32704 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32705 }
32706 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32707 return (void *)((wxPanel *) ((wxPyPanel *) x));
32708 }
32709 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32710 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32711 }
32712 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32713 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32714 }
32715 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32716 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32717 }
32718 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32719 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32720 }
32721 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32722 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32723 }
32724 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32725 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32726 }
32727 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32728 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32729 }
32730 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32731 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32732 }
32733 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32734 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32735 }
32736 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32737 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32738 }
32739 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32740 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32741 }
32742 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32743 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32744 }
32745 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32746 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32747 }
32748 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32749 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32750 }
32751 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32752 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32753 }
32754 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32755 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32756 }
32757 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32758 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32759 }
32760 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32762 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};
32763 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32775 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32776 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32777 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32778 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32779 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32780 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32781 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32782 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32783 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32804 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32811 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32812 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32813 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32814 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32815 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32821 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32822 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32823 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32824 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32825 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32827 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32828 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32829 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32830 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32831 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32835 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32836 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32837 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32838 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32839 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32845 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32846 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32847 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32848 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32849 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32850 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32851 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32852 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32853 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32854 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32855 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32856 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32857 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32858 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32859 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32860 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32861 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32862 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32863 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32864 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32865 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32866 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32867 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32868 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32869 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32870 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32871 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32873 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32874 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32875 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32876 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32877 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32878 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32879 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32880 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32881 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32882 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32883 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32884 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32886 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32887 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32925
32926 static swig_type_info *swig_type_initial[] = {
32927 &_swigt__p_bool,
32928 &_swigt__p_char,
32929 &_swigt__p_form_ops_t,
32930 &_swigt__p_int,
32931 &_swigt__p_unsigned_char,
32932 &_swigt__p_unsigned_int,
32933 &_swigt__p_unsigned_long,
32934 &_swigt__p_wxANIHandler,
32935 &_swigt__p_wxAcceleratorTable,
32936 &_swigt__p_wxActivateEvent,
32937 &_swigt__p_wxArrayInt,
32938 &_swigt__p_wxBMPHandler,
32939 &_swigt__p_wxBitmap,
32940 &_swigt__p_wxBoxSizer,
32941 &_swigt__p_wxCURHandler,
32942 &_swigt__p_wxCalculateLayoutEvent,
32943 &_swigt__p_wxChildFocusEvent,
32944 &_swigt__p_wxClipboardTextEvent,
32945 &_swigt__p_wxCloseEvent,
32946 &_swigt__p_wxColour,
32947 &_swigt__p_wxColourData,
32948 &_swigt__p_wxColourDialog,
32949 &_swigt__p_wxCommandEvent,
32950 &_swigt__p_wxContextMenuEvent,
32951 &_swigt__p_wxControl,
32952 &_swigt__p_wxControlWithItems,
32953 &_swigt__p_wxDC,
32954 &_swigt__p_wxDateEvent,
32955 &_swigt__p_wxDialog,
32956 &_swigt__p_wxDirDialog,
32957 &_swigt__p_wxDisplayChangedEvent,
32958 &_swigt__p_wxDropFilesEvent,
32959 &_swigt__p_wxDuplexMode,
32960 &_swigt__p_wxEraseEvent,
32961 &_swigt__p_wxEvent,
32962 &_swigt__p_wxEvtHandler,
32963 &_swigt__p_wxFSFile,
32964 &_swigt__p_wxFileDialog,
32965 &_swigt__p_wxFileSystem,
32966 &_swigt__p_wxFindDialogEvent,
32967 &_swigt__p_wxFindReplaceData,
32968 &_swigt__p_wxFindReplaceDialog,
32969 &_swigt__p_wxFlexGridSizer,
32970 &_swigt__p_wxFocusEvent,
32971 &_swigt__p_wxFont,
32972 &_swigt__p_wxFontData,
32973 &_swigt__p_wxFontDialog,
32974 &_swigt__p_wxFrame,
32975 &_swigt__p_wxGBSizerItem,
32976 &_swigt__p_wxGIFHandler,
32977 &_swigt__p_wxGridBagSizer,
32978 &_swigt__p_wxGridSizer,
32979 &_swigt__p_wxHtmlLinkInfo,
32980 &_swigt__p_wxICOHandler,
32981 &_swigt__p_wxIcon,
32982 &_swigt__p_wxIconBundle,
32983 &_swigt__p_wxIconizeEvent,
32984 &_swigt__p_wxIdleEvent,
32985 &_swigt__p_wxImage,
32986 &_swigt__p_wxImageHandler,
32987 &_swigt__p_wxIndividualLayoutConstraint,
32988 &_swigt__p_wxInitDialogEvent,
32989 &_swigt__p_wxJPEGHandler,
32990 &_swigt__p_wxKeyEvent,
32991 &_swigt__p_wxLayoutAlgorithm,
32992 &_swigt__p_wxLayoutConstraints,
32993 &_swigt__p_wxMDIChildFrame,
32994 &_swigt__p_wxMDIClientWindow,
32995 &_swigt__p_wxMDIParentFrame,
32996 &_swigt__p_wxMaximizeEvent,
32997 &_swigt__p_wxMenu,
32998 &_swigt__p_wxMenuBar,
32999 &_swigt__p_wxMenuEvent,
33000 &_swigt__p_wxMenuItem,
33001 &_swigt__p_wxMessageDialog,
33002 &_swigt__p_wxMiniFrame,
33003 &_swigt__p_wxMouseCaptureChangedEvent,
33004 &_swigt__p_wxMouseCaptureLostEvent,
33005 &_swigt__p_wxMouseEvent,
33006 &_swigt__p_wxMoveEvent,
33007 &_swigt__p_wxMultiChoiceDialog,
33008 &_swigt__p_wxNavigationKeyEvent,
33009 &_swigt__p_wxNcPaintEvent,
33010 &_swigt__p_wxNotifyEvent,
33011 &_swigt__p_wxNumberEntryDialog,
33012 &_swigt__p_wxObject,
33013 &_swigt__p_wxPCXHandler,
33014 &_swigt__p_wxPNGHandler,
33015 &_swigt__p_wxPNMHandler,
33016 &_swigt__p_wxPageSetupDialog,
33017 &_swigt__p_wxPageSetupDialogData,
33018 &_swigt__p_wxPaintEvent,
33019 &_swigt__p_wxPaletteChangedEvent,
33020 &_swigt__p_wxPanel,
33021 &_swigt__p_wxPaperSize,
33022 &_swigt__p_wxPasswordEntryDialog,
33023 &_swigt__p_wxPoint,
33024 &_swigt__p_wxPopupWindow,
33025 &_swigt__p_wxPreviewCanvas,
33026 &_swigt__p_wxPreviewControlBar,
33027 &_swigt__p_wxPreviewFrame,
33028 &_swigt__p_wxPrintData,
33029 &_swigt__p_wxPrintDialog,
33030 &_swigt__p_wxPrintDialogData,
33031 &_swigt__p_wxPrintPreview,
33032 &_swigt__p_wxPrinter,
33033 &_swigt__p_wxProgressDialog,
33034 &_swigt__p_wxPyApp,
33035 &_swigt__p_wxPyCommandEvent,
33036 &_swigt__p_wxPyEvent,
33037 &_swigt__p_wxPyHtmlListBox,
33038 &_swigt__p_wxPyImageHandler,
33039 &_swigt__p_wxPyPanel,
33040 &_swigt__p_wxPyPopupTransientWindow,
33041 &_swigt__p_wxPyPreviewControlBar,
33042 &_swigt__p_wxPyPreviewFrame,
33043 &_swigt__p_wxPyPrintPreview,
33044 &_swigt__p_wxPyPrintout,
33045 &_swigt__p_wxPyScrolledWindow,
33046 &_swigt__p_wxPySizer,
33047 &_swigt__p_wxPyTaskBarIcon,
33048 &_swigt__p_wxPyVListBox,
33049 &_swigt__p_wxPyVScrolledWindow,
33050 &_swigt__p_wxPyValidator,
33051 &_swigt__p_wxPyWindow,
33052 &_swigt__p_wxQueryLayoutInfoEvent,
33053 &_swigt__p_wxQueryNewPaletteEvent,
33054 &_swigt__p_wxRect,
33055 &_swigt__p_wxRegion,
33056 &_swigt__p_wxSashEvent,
33057 &_swigt__p_wxSashLayoutWindow,
33058 &_swigt__p_wxSashWindow,
33059 &_swigt__p_wxScrollEvent,
33060 &_swigt__p_wxScrollWinEvent,
33061 &_swigt__p_wxScrolledWindow,
33062 &_swigt__p_wxSetCursorEvent,
33063 &_swigt__p_wxShowEvent,
33064 &_swigt__p_wxSingleChoiceDialog,
33065 &_swigt__p_wxSize,
33066 &_swigt__p_wxSizeEvent,
33067 &_swigt__p_wxSizer,
33068 &_swigt__p_wxSizerItem,
33069 &_swigt__p_wxSplashScreen,
33070 &_swigt__p_wxSplashScreenWindow,
33071 &_swigt__p_wxSplitterEvent,
33072 &_swigt__p_wxSplitterWindow,
33073 &_swigt__p_wxStaticBoxSizer,
33074 &_swigt__p_wxStatusBar,
33075 &_swigt__p_wxStdDialogButtonSizer,
33076 &_swigt__p_wxString,
33077 &_swigt__p_wxSysColourChangedEvent,
33078 &_swigt__p_wxTIFFHandler,
33079 &_swigt__p_wxTaskBarIcon,
33080 &_swigt__p_wxTaskBarIconEvent,
33081 &_swigt__p_wxTextEntryDialog,
33082 &_swigt__p_wxTipWindow,
33083 &_swigt__p_wxToolBar,
33084 &_swigt__p_wxTopLevelWindow,
33085 &_swigt__p_wxUpdateUIEvent,
33086 &_swigt__p_wxValidator,
33087 &_swigt__p_wxVisualAttributes,
33088 &_swigt__p_wxWindow,
33089 &_swigt__p_wxWindowCreateEvent,
33090 &_swigt__p_wxWindowDestroyEvent,
33091 &_swigt__p_wxXPMHandler,
33092 };
33093
33094 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33116 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}};
33117 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33118 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}};
33119 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33153 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}};
33154 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33162 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}};
33163 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33175 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}};
33176 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33203 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33208 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}};
33209 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33212 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}};
33213 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33214 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}};
33215 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}};
33216 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33219 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}};
33220 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33222 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33224 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}};
33225 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33228 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33229 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33231 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}};
33232 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}};
33233 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33239 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}};
33240 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33241 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}};
33242 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33253 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}};
33254 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33256 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}};
33257 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33258 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}};
33259
33260 static swig_cast_info *swig_cast_initial[] = {
33261 _swigc__p_bool,
33262 _swigc__p_char,
33263 _swigc__p_form_ops_t,
33264 _swigc__p_int,
33265 _swigc__p_unsigned_char,
33266 _swigc__p_unsigned_int,
33267 _swigc__p_unsigned_long,
33268 _swigc__p_wxANIHandler,
33269 _swigc__p_wxAcceleratorTable,
33270 _swigc__p_wxActivateEvent,
33271 _swigc__p_wxArrayInt,
33272 _swigc__p_wxBMPHandler,
33273 _swigc__p_wxBitmap,
33274 _swigc__p_wxBoxSizer,
33275 _swigc__p_wxCURHandler,
33276 _swigc__p_wxCalculateLayoutEvent,
33277 _swigc__p_wxChildFocusEvent,
33278 _swigc__p_wxClipboardTextEvent,
33279 _swigc__p_wxCloseEvent,
33280 _swigc__p_wxColour,
33281 _swigc__p_wxColourData,
33282 _swigc__p_wxColourDialog,
33283 _swigc__p_wxCommandEvent,
33284 _swigc__p_wxContextMenuEvent,
33285 _swigc__p_wxControl,
33286 _swigc__p_wxControlWithItems,
33287 _swigc__p_wxDC,
33288 _swigc__p_wxDateEvent,
33289 _swigc__p_wxDialog,
33290 _swigc__p_wxDirDialog,
33291 _swigc__p_wxDisplayChangedEvent,
33292 _swigc__p_wxDropFilesEvent,
33293 _swigc__p_wxDuplexMode,
33294 _swigc__p_wxEraseEvent,
33295 _swigc__p_wxEvent,
33296 _swigc__p_wxEvtHandler,
33297 _swigc__p_wxFSFile,
33298 _swigc__p_wxFileDialog,
33299 _swigc__p_wxFileSystem,
33300 _swigc__p_wxFindDialogEvent,
33301 _swigc__p_wxFindReplaceData,
33302 _swigc__p_wxFindReplaceDialog,
33303 _swigc__p_wxFlexGridSizer,
33304 _swigc__p_wxFocusEvent,
33305 _swigc__p_wxFont,
33306 _swigc__p_wxFontData,
33307 _swigc__p_wxFontDialog,
33308 _swigc__p_wxFrame,
33309 _swigc__p_wxGBSizerItem,
33310 _swigc__p_wxGIFHandler,
33311 _swigc__p_wxGridBagSizer,
33312 _swigc__p_wxGridSizer,
33313 _swigc__p_wxHtmlLinkInfo,
33314 _swigc__p_wxICOHandler,
33315 _swigc__p_wxIcon,
33316 _swigc__p_wxIconBundle,
33317 _swigc__p_wxIconizeEvent,
33318 _swigc__p_wxIdleEvent,
33319 _swigc__p_wxImage,
33320 _swigc__p_wxImageHandler,
33321 _swigc__p_wxIndividualLayoutConstraint,
33322 _swigc__p_wxInitDialogEvent,
33323 _swigc__p_wxJPEGHandler,
33324 _swigc__p_wxKeyEvent,
33325 _swigc__p_wxLayoutAlgorithm,
33326 _swigc__p_wxLayoutConstraints,
33327 _swigc__p_wxMDIChildFrame,
33328 _swigc__p_wxMDIClientWindow,
33329 _swigc__p_wxMDIParentFrame,
33330 _swigc__p_wxMaximizeEvent,
33331 _swigc__p_wxMenu,
33332 _swigc__p_wxMenuBar,
33333 _swigc__p_wxMenuEvent,
33334 _swigc__p_wxMenuItem,
33335 _swigc__p_wxMessageDialog,
33336 _swigc__p_wxMiniFrame,
33337 _swigc__p_wxMouseCaptureChangedEvent,
33338 _swigc__p_wxMouseCaptureLostEvent,
33339 _swigc__p_wxMouseEvent,
33340 _swigc__p_wxMoveEvent,
33341 _swigc__p_wxMultiChoiceDialog,
33342 _swigc__p_wxNavigationKeyEvent,
33343 _swigc__p_wxNcPaintEvent,
33344 _swigc__p_wxNotifyEvent,
33345 _swigc__p_wxNumberEntryDialog,
33346 _swigc__p_wxObject,
33347 _swigc__p_wxPCXHandler,
33348 _swigc__p_wxPNGHandler,
33349 _swigc__p_wxPNMHandler,
33350 _swigc__p_wxPageSetupDialog,
33351 _swigc__p_wxPageSetupDialogData,
33352 _swigc__p_wxPaintEvent,
33353 _swigc__p_wxPaletteChangedEvent,
33354 _swigc__p_wxPanel,
33355 _swigc__p_wxPaperSize,
33356 _swigc__p_wxPasswordEntryDialog,
33357 _swigc__p_wxPoint,
33358 _swigc__p_wxPopupWindow,
33359 _swigc__p_wxPreviewCanvas,
33360 _swigc__p_wxPreviewControlBar,
33361 _swigc__p_wxPreviewFrame,
33362 _swigc__p_wxPrintData,
33363 _swigc__p_wxPrintDialog,
33364 _swigc__p_wxPrintDialogData,
33365 _swigc__p_wxPrintPreview,
33366 _swigc__p_wxPrinter,
33367 _swigc__p_wxProgressDialog,
33368 _swigc__p_wxPyApp,
33369 _swigc__p_wxPyCommandEvent,
33370 _swigc__p_wxPyEvent,
33371 _swigc__p_wxPyHtmlListBox,
33372 _swigc__p_wxPyImageHandler,
33373 _swigc__p_wxPyPanel,
33374 _swigc__p_wxPyPopupTransientWindow,
33375 _swigc__p_wxPyPreviewControlBar,
33376 _swigc__p_wxPyPreviewFrame,
33377 _swigc__p_wxPyPrintPreview,
33378 _swigc__p_wxPyPrintout,
33379 _swigc__p_wxPyScrolledWindow,
33380 _swigc__p_wxPySizer,
33381 _swigc__p_wxPyTaskBarIcon,
33382 _swigc__p_wxPyVListBox,
33383 _swigc__p_wxPyVScrolledWindow,
33384 _swigc__p_wxPyValidator,
33385 _swigc__p_wxPyWindow,
33386 _swigc__p_wxQueryLayoutInfoEvent,
33387 _swigc__p_wxQueryNewPaletteEvent,
33388 _swigc__p_wxRect,
33389 _swigc__p_wxRegion,
33390 _swigc__p_wxSashEvent,
33391 _swigc__p_wxSashLayoutWindow,
33392 _swigc__p_wxSashWindow,
33393 _swigc__p_wxScrollEvent,
33394 _swigc__p_wxScrollWinEvent,
33395 _swigc__p_wxScrolledWindow,
33396 _swigc__p_wxSetCursorEvent,
33397 _swigc__p_wxShowEvent,
33398 _swigc__p_wxSingleChoiceDialog,
33399 _swigc__p_wxSize,
33400 _swigc__p_wxSizeEvent,
33401 _swigc__p_wxSizer,
33402 _swigc__p_wxSizerItem,
33403 _swigc__p_wxSplashScreen,
33404 _swigc__p_wxSplashScreenWindow,
33405 _swigc__p_wxSplitterEvent,
33406 _swigc__p_wxSplitterWindow,
33407 _swigc__p_wxStaticBoxSizer,
33408 _swigc__p_wxStatusBar,
33409 _swigc__p_wxStdDialogButtonSizer,
33410 _swigc__p_wxString,
33411 _swigc__p_wxSysColourChangedEvent,
33412 _swigc__p_wxTIFFHandler,
33413 _swigc__p_wxTaskBarIcon,
33414 _swigc__p_wxTaskBarIconEvent,
33415 _swigc__p_wxTextEntryDialog,
33416 _swigc__p_wxTipWindow,
33417 _swigc__p_wxToolBar,
33418 _swigc__p_wxTopLevelWindow,
33419 _swigc__p_wxUpdateUIEvent,
33420 _swigc__p_wxValidator,
33421 _swigc__p_wxVisualAttributes,
33422 _swigc__p_wxWindow,
33423 _swigc__p_wxWindowCreateEvent,
33424 _swigc__p_wxWindowDestroyEvent,
33425 _swigc__p_wxXPMHandler,
33426 };
33427
33428
33429 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33430
33431 static swig_const_info swig_const_table[] = {
33432 {0, 0, 0, 0.0, 0, 0}};
33433
33434 #ifdef __cplusplus
33435 }
33436 #endif
33437 /* -----------------------------------------------------------------------------
33438 * Type initialization:
33439 * This problem is tough by the requirement that no dynamic
33440 * memory is used. Also, since swig_type_info structures store pointers to
33441 * swig_cast_info structures and swig_cast_info structures store pointers back
33442 * to swig_type_info structures, we need some lookup code at initialization.
33443 * The idea is that swig generates all the structures that are needed.
33444 * The runtime then collects these partially filled structures.
33445 * The SWIG_InitializeModule function takes these initial arrays out of
33446 * swig_module, and does all the lookup, filling in the swig_module.types
33447 * array with the correct data and linking the correct swig_cast_info
33448 * structures together.
33449 *
33450 * The generated swig_type_info structures are assigned staticly to an initial
33451 * array. We just loop though that array, and handle each type individually.
33452 * First we lookup if this type has been already loaded, and if so, use the
33453 * loaded structure instead of the generated one. Then we have to fill in the
33454 * cast linked list. The cast data is initially stored in something like a
33455 * two-dimensional array. Each row corresponds to a type (there are the same
33456 * number of rows as there are in the swig_type_initial array). Each entry in
33457 * a column is one of the swig_cast_info structures for that type.
33458 * The cast_initial array is actually an array of arrays, because each row has
33459 * a variable number of columns. So to actually build the cast linked list,
33460 * we find the array of casts associated with the type, and loop through it
33461 * adding the casts to the list. The one last trick we need to do is making
33462 * sure the type pointer in the swig_cast_info struct is correct.
33463 *
33464 * First off, we lookup the cast->type name to see if it is already loaded.
33465 * There are three cases to handle:
33466 * 1) If the cast->type has already been loaded AND the type we are adding
33467 * casting info to has not been loaded (it is in this module), THEN we
33468 * replace the cast->type pointer with the type pointer that has already
33469 * been loaded.
33470 * 2) If BOTH types (the one we are adding casting info to, and the
33471 * cast->type) are loaded, THEN the cast info has already been loaded by
33472 * the previous module so we just ignore it.
33473 * 3) Finally, if cast->type has not already been loaded, then we add that
33474 * swig_cast_info to the linked list (because the cast->type) pointer will
33475 * be correct.
33476 * ----------------------------------------------------------------------------- */
33477
33478 #ifdef __cplusplus
33479 extern "C" {
33480 #if 0
33481 } /* c-mode */
33482 #endif
33483 #endif
33484
33485 #if 0
33486 #define SWIGRUNTIME_DEBUG
33487 #endif
33488
33489 SWIGRUNTIME void
33490 SWIG_InitializeModule(void *clientdata) {
33491 size_t i;
33492 swig_module_info *module_head;
33493 static int init_run = 0;
33494
33495 clientdata = clientdata;
33496
33497 if (init_run) return;
33498 init_run = 1;
33499
33500 /* Initialize the swig_module */
33501 swig_module.type_initial = swig_type_initial;
33502 swig_module.cast_initial = swig_cast_initial;
33503
33504 /* Try and load any already created modules */
33505 module_head = SWIG_GetModule(clientdata);
33506 if (module_head) {
33507 swig_module.next = module_head->next;
33508 module_head->next = &swig_module;
33509 } else {
33510 /* This is the first module loaded */
33511 swig_module.next = &swig_module;
33512 SWIG_SetModule(clientdata, &swig_module);
33513 }
33514
33515 /* Now work on filling in swig_module.types */
33516 #ifdef SWIGRUNTIME_DEBUG
33517 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33518 #endif
33519 for (i = 0; i < swig_module.size; ++i) {
33520 swig_type_info *type = 0;
33521 swig_type_info *ret;
33522 swig_cast_info *cast;
33523
33524 #ifdef SWIGRUNTIME_DEBUG
33525 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33526 #endif
33527
33528 /* if there is another module already loaded */
33529 if (swig_module.next != &swig_module) {
33530 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33531 }
33532 if (type) {
33533 /* Overwrite clientdata field */
33534 #ifdef SWIGRUNTIME_DEBUG
33535 printf("SWIG_InitializeModule: found type %s\n", type->name);
33536 #endif
33537 if (swig_module.type_initial[i]->clientdata) {
33538 type->clientdata = swig_module.type_initial[i]->clientdata;
33539 #ifdef SWIGRUNTIME_DEBUG
33540 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33541 #endif
33542 }
33543 } else {
33544 type = swig_module.type_initial[i];
33545 }
33546
33547 /* Insert casting types */
33548 cast = swig_module.cast_initial[i];
33549 while (cast->type) {
33550 /* Don't need to add information already in the list */
33551 ret = 0;
33552 #ifdef SWIGRUNTIME_DEBUG
33553 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33554 #endif
33555 if (swig_module.next != &swig_module) {
33556 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33557 #ifdef SWIGRUNTIME_DEBUG
33558 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33559 #endif
33560 }
33561 if (ret) {
33562 if (type == swig_module.type_initial[i]) {
33563 #ifdef SWIGRUNTIME_DEBUG
33564 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33565 #endif
33566 cast->type = ret;
33567 ret = 0;
33568 } else {
33569 /* Check for casting already in the list */
33570 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33571 #ifdef SWIGRUNTIME_DEBUG
33572 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33573 #endif
33574 if (!ocast) ret = 0;
33575 }
33576 }
33577
33578 if (!ret) {
33579 #ifdef SWIGRUNTIME_DEBUG
33580 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33581 #endif
33582 if (type->cast) {
33583 type->cast->prev = cast;
33584 cast->next = type->cast;
33585 }
33586 type->cast = cast;
33587 }
33588 cast++;
33589 }
33590 /* Set entry in modules->types array equal to the type */
33591 swig_module.types[i] = type;
33592 }
33593 swig_module.types[i] = 0;
33594
33595 #ifdef SWIGRUNTIME_DEBUG
33596 printf("**** SWIG_InitializeModule: Cast List ******\n");
33597 for (i = 0; i < swig_module.size; ++i) {
33598 int j = 0;
33599 swig_cast_info *cast = swig_module.cast_initial[i];
33600 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33601 while (cast->type) {
33602 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33603 cast++;
33604 ++j;
33605 }
33606 printf("---- Total casts: %d\n",j);
33607 }
33608 printf("**** SWIG_InitializeModule: Cast List ******\n");
33609 #endif
33610 }
33611
33612 /* This function will propagate the clientdata field of type to
33613 * any new swig_type_info structures that have been added into the list
33614 * of equivalent types. It is like calling
33615 * SWIG_TypeClientData(type, clientdata) a second time.
33616 */
33617 SWIGRUNTIME void
33618 SWIG_PropagateClientData(void) {
33619 size_t i;
33620 swig_cast_info *equiv;
33621 static int init_run = 0;
33622
33623 if (init_run) return;
33624 init_run = 1;
33625
33626 for (i = 0; i < swig_module.size; i++) {
33627 if (swig_module.types[i]->clientdata) {
33628 equiv = swig_module.types[i]->cast;
33629 while (equiv) {
33630 if (!equiv->converter) {
33631 if (equiv->type && !equiv->type->clientdata)
33632 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33633 }
33634 equiv = equiv->next;
33635 }
33636 }
33637 }
33638 }
33639
33640 #ifdef __cplusplus
33641 #if 0
33642 {
33643 /* c-mode */
33644 #endif
33645 }
33646 #endif
33647
33648
33649
33650 #ifdef __cplusplus
33651 extern "C" {
33652 #endif
33653
33654 /* Python-specific SWIG API */
33655 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33656 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33657 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33658
33659 /* -----------------------------------------------------------------------------
33660 * global variable support code.
33661 * ----------------------------------------------------------------------------- */
33662
33663 typedef struct swig_globalvar {
33664 char *name; /* Name of global variable */
33665 PyObject *(*get_attr)(void); /* Return the current value */
33666 int (*set_attr)(PyObject *); /* Set the value */
33667 struct swig_globalvar *next;
33668 } swig_globalvar;
33669
33670 typedef struct swig_varlinkobject {
33671 PyObject_HEAD
33672 swig_globalvar *vars;
33673 } swig_varlinkobject;
33674
33675 SWIGINTERN PyObject *
33676 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33677 return PyString_FromString("<Swig global variables>");
33678 }
33679
33680 SWIGINTERN PyObject *
33681 swig_varlink_str(swig_varlinkobject *v) {
33682 PyObject *str = PyString_FromString("(");
33683 swig_globalvar *var;
33684 for (var = v->vars; var; var=var->next) {
33685 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33686 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33687 }
33688 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33689 return str;
33690 }
33691
33692 SWIGINTERN int
33693 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33694 PyObject *str = swig_varlink_str(v);
33695 fprintf(fp,"Swig global variables ");
33696 fprintf(fp,"%s\n", PyString_AsString(str));
33697 Py_DECREF(str);
33698 return 0;
33699 }
33700
33701 SWIGINTERN void
33702 swig_varlink_dealloc(swig_varlinkobject *v) {
33703 swig_globalvar *var = v->vars;
33704 while (var) {
33705 swig_globalvar *n = var->next;
33706 free(var->name);
33707 free(var);
33708 var = n;
33709 }
33710 }
33711
33712 SWIGINTERN PyObject *
33713 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33714 PyObject *res = NULL;
33715 swig_globalvar *var = v->vars;
33716 while (var) {
33717 if (strcmp(var->name,n) == 0) {
33718 res = (*var->get_attr)();
33719 break;
33720 }
33721 var = var->next;
33722 }
33723 if (res == NULL && !PyErr_Occurred()) {
33724 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33725 }
33726 return res;
33727 }
33728
33729 SWIGINTERN int
33730 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33731 int res = 1;
33732 swig_globalvar *var = v->vars;
33733 while (var) {
33734 if (strcmp(var->name,n) == 0) {
33735 res = (*var->set_attr)(p);
33736 break;
33737 }
33738 var = var->next;
33739 }
33740 if (res == 1 && !PyErr_Occurred()) {
33741 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33742 }
33743 return res;
33744 }
33745
33746 SWIGINTERN PyTypeObject*
33747 swig_varlink_type(void) {
33748 static char varlink__doc__[] = "Swig var link object";
33749 static PyTypeObject varlink_type;
33750 static int type_init = 0;
33751 if (!type_init) {
33752 const PyTypeObject tmp
33753 = {
33754 PyObject_HEAD_INIT(NULL)
33755 0, /* Number of items in variable part (ob_size) */
33756 (char *)"swigvarlink", /* Type name (tp_name) */
33757 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33758 0, /* Itemsize (tp_itemsize) */
33759 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33760 (printfunc) swig_varlink_print, /* Print (tp_print) */
33761 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33762 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33763 0, /* tp_compare */
33764 (reprfunc) swig_varlink_repr, /* tp_repr */
33765 0, /* tp_as_number */
33766 0, /* tp_as_sequence */
33767 0, /* tp_as_mapping */
33768 0, /* tp_hash */
33769 0, /* tp_call */
33770 (reprfunc)swig_varlink_str, /* tp_str */
33771 0, /* tp_getattro */
33772 0, /* tp_setattro */
33773 0, /* tp_as_buffer */
33774 0, /* tp_flags */
33775 varlink__doc__, /* tp_doc */
33776 0, /* tp_traverse */
33777 0, /* tp_clear */
33778 0, /* tp_richcompare */
33779 0, /* tp_weaklistoffset */
33780 #if PY_VERSION_HEX >= 0x02020000
33781 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33782 #endif
33783 #if PY_VERSION_HEX >= 0x02030000
33784 0, /* tp_del */
33785 #endif
33786 #ifdef COUNT_ALLOCS
33787 0,0,0,0 /* tp_alloc -> tp_next */
33788 #endif
33789 };
33790 varlink_type = tmp;
33791 varlink_type.ob_type = &PyType_Type;
33792 type_init = 1;
33793 }
33794 return &varlink_type;
33795 }
33796
33797 /* Create a variable linking object for use later */
33798 SWIGINTERN PyObject *
33799 SWIG_Python_newvarlink(void) {
33800 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33801 if (result) {
33802 result->vars = 0;
33803 }
33804 return ((PyObject*) result);
33805 }
33806
33807 SWIGINTERN void
33808 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33809 swig_varlinkobject *v = (swig_varlinkobject *) p;
33810 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33811 if (gv) {
33812 size_t size = strlen(name)+1;
33813 gv->name = (char *)malloc(size);
33814 if (gv->name) {
33815 strncpy(gv->name,name,size);
33816 gv->get_attr = get_attr;
33817 gv->set_attr = set_attr;
33818 gv->next = v->vars;
33819 }
33820 }
33821 v->vars = gv;
33822 }
33823
33824 SWIGINTERN PyObject *
33825 SWIG_globals() {
33826 static PyObject *_SWIG_globals = 0;
33827 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33828 return _SWIG_globals;
33829 }
33830
33831 /* -----------------------------------------------------------------------------
33832 * constants/methods manipulation
33833 * ----------------------------------------------------------------------------- */
33834
33835 /* Install Constants */
33836 SWIGINTERN void
33837 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33838 PyObject *obj = 0;
33839 size_t i;
33840 for (i = 0; constants[i].type; ++i) {
33841 switch(constants[i].type) {
33842 case SWIG_PY_POINTER:
33843 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33844 break;
33845 case SWIG_PY_BINARY:
33846 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33847 break;
33848 default:
33849 obj = 0;
33850 break;
33851 }
33852 if (obj) {
33853 PyDict_SetItemString(d, constants[i].name, obj);
33854 Py_DECREF(obj);
33855 }
33856 }
33857 }
33858
33859 /* -----------------------------------------------------------------------------*/
33860 /* Fix SwigMethods to carry the callback ptrs when needed */
33861 /* -----------------------------------------------------------------------------*/
33862
33863 SWIGINTERN void
33864 SWIG_Python_FixMethods(PyMethodDef *methods,
33865 swig_const_info *const_table,
33866 swig_type_info **types,
33867 swig_type_info **types_initial) {
33868 size_t i;
33869 for (i = 0; methods[i].ml_name; ++i) {
33870 const char *c = methods[i].ml_doc;
33871 if (c && (c = strstr(c, "swig_ptr: "))) {
33872 int j;
33873 swig_const_info *ci = 0;
33874 const char *name = c + 10;
33875 for (j = 0; const_table[j].type; ++j) {
33876 if (strncmp(const_table[j].name, name,
33877 strlen(const_table[j].name)) == 0) {
33878 ci = &(const_table[j]);
33879 break;
33880 }
33881 }
33882 if (ci) {
33883 size_t shift = (ci->ptype) - types;
33884 swig_type_info *ty = types_initial[shift];
33885 size_t ldoc = (c - methods[i].ml_doc);
33886 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33887 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33888 if (ndoc) {
33889 char *buff = ndoc;
33890 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33891 if (ptr) {
33892 strncpy(buff, methods[i].ml_doc, ldoc);
33893 buff += ldoc;
33894 strncpy(buff, "swig_ptr: ", 10);
33895 buff += 10;
33896 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33897 methods[i].ml_doc = ndoc;
33898 }
33899 }
33900 }
33901 }
33902 }
33903 }
33904
33905 #ifdef __cplusplus
33906 }
33907 #endif
33908
33909 /* -----------------------------------------------------------------------------*
33910 * Partial Init method
33911 * -----------------------------------------------------------------------------*/
33912
33913 #ifdef __cplusplus
33914 extern "C"
33915 #endif
33916 SWIGEXPORT void SWIG_init(void) {
33917 PyObject *m, *d;
33918
33919 /* Fix SwigMethods to carry the callback ptrs when needed */
33920 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33921
33922 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33923 d = PyModule_GetDict(m);
33924
33925 SWIG_InitializeModule(0);
33926 SWIG_InstallConstants(d,swig_const_table);
33927
33928
33929 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33930 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33931 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33932 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33933 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33934 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33935 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33936 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33937 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33938 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33939 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33940 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33941 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33942 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33943 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33944 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33945 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33946 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33947 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33948 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33949 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33950 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33951 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33952 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33953 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33954 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33955 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33956 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33957 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33958 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
33959 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33960 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33961 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33962 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33963 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
33964 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
33965 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33966 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33967 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33968 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33969 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33970 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33971 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33972 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33973 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33974 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33975 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33976 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33977 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33978 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33979 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33980 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33981 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33982 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33983 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33984 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33985 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33986 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33987 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33988 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33989 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33990 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33991 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33992 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33993 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33994 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33995 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33996 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33997 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33998 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33999 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34000 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34001 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34002 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34003 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34004 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34005 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34006 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34007 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34008 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34009 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34010 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34011 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34012 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34013 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34014 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34015 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34016 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34017 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34018 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34019 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34020 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34021 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34022 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34023 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34024 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34025 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34026 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34027 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34028 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34029 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34030 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34031 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34032 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34033 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34034
34035 // Map renamed classes back to their common name for OOR
34036 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34037 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34038 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34039
34040 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34041 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34042 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34043 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34044 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34045 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34046 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34047 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34048 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34049 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34050 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34051 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34052 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34053 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34054 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34055 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34056 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34057 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34058 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34059 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34060 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34061 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34062 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34063 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34064 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34065 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34066 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34067 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34068 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34069 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34070 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34071 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34072 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34073 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34074 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34075 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34076 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34077 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34078 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34079 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34080 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34081 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34082 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34083 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34084 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34085 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34086 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34087 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34088 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34089 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34090 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34091 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34092 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34093 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34094 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34095 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34096 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34097 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34098 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34099 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34100 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34101 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34102 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34103 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34104 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34105 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34106 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34107 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34108 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34109 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34110 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34111 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34112 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34113 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34114 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34115 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34116 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34117 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34118 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34119 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34120 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34121 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34122 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34123 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34124 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34125 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34126 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34127 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34128 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34129 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34130 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34131 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34132 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34133 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34134 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34135 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34136 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34137 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34138 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34139 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34140 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34141 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34142 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34143 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34144
34145 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34146
34147 }
34148