]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
make control children of a panel and not directly the frame
[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 SWIGINTERN int
2828 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2829 {
2830 long v = 0;
2831 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2832 return SWIG_TypeError;
2833 }
2834 else if (val)
2835 *val = (unsigned long)v;
2836 return SWIG_OK;
2837 }
2838
2839
2840 SWIGINTERN int
2841 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2842 {
2843 unsigned long v;
2844 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2845 if (SWIG_IsOK(res)) {
2846 if ((v > UCHAR_MAX)) {
2847 return SWIG_OverflowError;
2848 } else {
2849 if (val) *val = static_cast< unsigned char >(v);
2850 }
2851 }
2852 return res;
2853 }
2854
2855
2856
2857 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2858 wxRect r;
2859 self->GetFieldRect(i, r);
2860 return r;
2861 }
2862 static const wxString wxPySplitterNameStr(wxT("splitter"));
2863 static const wxString wxPySashNameStr(wxT("sashWindow"));
2864 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2865
2866 #include <wx/popupwin.h>
2867
2868
2869 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2870 {
2871 public:
2872 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2873 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2874 : wxPopupTransientWindow(parent, style) {}
2875
2876 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2877 DEC_PYCALLBACK__(OnDismiss);
2878 DEC_PYCALLBACK_BOOL_(CanDismiss);
2879 PYPRIVATE;
2880 };
2881
2882
2883 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2884 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2885 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2886
2887
2888 #include <wx/tipwin.h>
2889
2890 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2892 }
2893
2894 #include <wx/tipwin.h>
2895
2896
2897 #include <wx/vscroll.h>
2898
2899
2900 class wxPyVScrolledWindow : public wxVScrolledWindow
2901 {
2902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2903 public:
2904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2905
2906 wxPyVScrolledWindow(wxWindow *parent,
2907 wxWindowID id = wxID_ANY,
2908 const wxPoint& pos = wxDefaultPosition,
2909 const wxSize& size = wxDefaultSize,
2910 long style = 0,
2911 const wxString& name = wxPyPanelNameStr)
2912 : wxVScrolledWindow(parent, id, pos, size, style, name)
2913 {}
2914
2915 // Overridable virtuals
2916
2917 // this function must be overridden in the derived class and it should
2918 // return the height of the given line in pixels
2919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2920
2921
2922 // this function doesn't have to be overridden but it may be useful to do
2923 // it if calculating the lines heights is a relatively expensive operation
2924 // as it gives the user code a possibility to calculate several of them at
2925 // once
2926 //
2927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2928 // shouldn't rely on the latter being called for all lines in the interval
2929 // specified here. It is also possible that OnGetLineHeight() will be
2930 // called for the lines outside of this interval, so this is really just a
2931 // hint, not a promise.
2932 //
2933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2934 // usual
2935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2936
2937
2938 // when the number of lines changes, we try to estimate the total height
2939 // of all lines which is a rather expensive operation in terms of lines
2940 // access, so if the user code may estimate the average height
2941 // better/faster than we do, it should override this function to implement
2942 // its own logic
2943 //
2944 // this function should return the best guess for the total height it may
2945 // make
2946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2947
2948
2949 // Also expose some other interesting protected methods
2950
2951
2952 // find the index of the line we need to show at the top of the window such
2953 // that the last (fully or partially) visible line is the given one
2954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2956
2957 // get the total height of the lines between lineMin (inclusive) and
2958 // lineMax (exclusive)
2959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2961
2962 // update the thumb size shown by the scrollbar
2963 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2964
2965 // remove the scrollbar completely because we don't need it
2966 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2967
2968 PYPRIVATE;
2969 };
2970
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2972
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2975 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2976
2977
2978 SWIGINTERNINLINE int
2979 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2980 {
2981 unsigned long v;
2982 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2983 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2984 return res;
2985 }
2986
2987
2988 SWIGINTERNINLINE PyObject*
2989 SWIG_From_unsigned_SS_long (unsigned long value)
2990 {
2991 return (value > LONG_MAX) ?
2992 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2993 }
2994
2995
2996 SWIGINTERNINLINE PyObject *
2997 SWIG_From_size_t (size_t value)
2998 {
2999 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
3000 }
3001
3002
3003 #include <wx/vlbox.h>
3004
3005 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3006
3007 class wxPyVListBox : public wxVListBox
3008 {
3009 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3010 public:
3011 wxPyVListBox() : wxVListBox() {}
3012
3013 wxPyVListBox(wxWindow *parent,
3014 wxWindowID id = wxID_ANY,
3015 const wxPoint& pos = wxDefaultPosition,
3016 const wxSize& size = wxDefaultSize,
3017 long style = 0,
3018 const wxString& name = wxPyVListBoxNameStr)
3019 : wxVListBox(parent, id, pos, size, style, name)
3020 {}
3021
3022 // Overridable virtuals
3023
3024 // the derived class must implement this function to actually draw the item
3025 // with the given index on the provided DC
3026 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3027 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3028
3029
3030 // the derived class must implement this method to return the height of the
3031 // specified item
3032 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3033 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3034
3035
3036 // this method may be used to draw separators between the lines; note that
3037 // the rectangle may be modified, typically to deflate it a bit before
3038 // passing to OnDrawItem()
3039 //
3040 // the base class version doesn't do anything
3041 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3042 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3043
3044
3045 // this method is used to draw the items background and, maybe, a border
3046 // around it
3047 //
3048 // the base class version implements a reasonable default behaviour which
3049 // consists in drawing the selected item with the standard background
3050 // colour and drawing a border around the item if it is either selected or
3051 // current
3052 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3053 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3054
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3060
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3063 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3064 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3065
3066
3067 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3068 unsigned long cookie = 0;
3069 int selected = self->GetFirstSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3078 int selected = self->GetNextSelected(cookie);
3079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3080 PyObject* tup = PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3082 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3083 wxPyEndBlockThreads(blocked);
3084 return tup;
3085 }
3086
3087 #include <wx/htmllbox.h>
3088
3089
3090 class wxPyHtmlListBox : public wxHtmlListBox
3091 {
3092 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3093 public:
3094 wxPyHtmlListBox() : wxHtmlListBox() {}
3095
3096 wxPyHtmlListBox(wxWindow *parent,
3097 wxWindowID id = wxID_ANY,
3098 const wxPoint& pos = wxDefaultPosition,
3099 const wxSize& size = wxDefaultSize,
3100 long style = 0,
3101 const wxString& name = wxPyVListBoxNameStr)
3102 : wxHtmlListBox(parent, id, pos, size, style, name)
3103 {}
3104
3105 // Overridable virtuals
3106
3107 // this method must be implemented in the derived class and should return
3108 // the body (i.e. without <html>) of the HTML for the given item
3109 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3110
3111 // this function may be overridden to decorate HTML returned by OnGetItem()
3112 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3113
3114 // These are from wxVListBox
3115 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3116 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3117
3118 // TODO:
3119 // // this method allows to customize the selection appearance: it may be used
3120 // // to specify the colour of the text which normally has the given colour
3121 // // colFg when it is inside the selection
3122 // //
3123 // // by default, the original colour is not used at all and all text has the
3124 // // same (default for this system) colour inside selection
3125 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3126
3127 // // this is the same as GetSelectedTextColour() but allows to customize the
3128 // // background colour -- this is even more rarely used as you can change it
3129 // // globally using SetSelectionBackground()
3130 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3131
3132
3133 // This method may be overriden to handle clicking on a link in
3134 // the listbox. By default, clicking links is ignored.
3135 virtual void OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link);
3137
3138 PYPRIVATE;
3139 };
3140
3141
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3143
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3145 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3146 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3147 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3148
3149
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3151 const wxHtmlLinkInfo& link) {
3152 bool found;
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3155 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3156 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3157 Py_DECREF(obj);
3158 }
3159 wxPyEndBlockThreads(blocked);
3160 if (! found)
3161 wxPyHtmlListBox::OnLinkClicked(n, link);
3162 }
3163
3164
3165
3166
3167
3168 #ifndef wxHAS_TASK_BAR_ICON
3169 // implement dummy classes for platforms that don't have it
3170
3171 class wxTaskBarIcon : public wxEvtHandler
3172 {
3173 public:
3174 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3175 };
3176
3177
3178 class wxTaskBarIconEvent : public wxEvent
3179 {
3180 public:
3181 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3182 { wxPyRaiseNotImplemented(); }
3183 virtual wxEvent* Clone() const { return NULL; }
3184 bool IsOk() const { return false; }
3185 bool IsIconInstalled() const { return false; }
3186 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3187 bool RemoveIcon() { return false; }
3188 bool PopupMenu(wxMenu *menu) { return false; }
3189 };
3190
3191 enum {
3192 wxEVT_TASKBAR_MOVE = 0,
3193 wxEVT_TASKBAR_LEFT_DOWN = 0,
3194 wxEVT_TASKBAR_LEFT_UP = 0,
3195 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3196 wxEVT_TASKBAR_RIGHT_UP = 0,
3197 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3198 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3199 };
3200
3201
3202 #else
3203 // Otherwise make a class that can virtualize CreatePopupMenu
3204 class wxPyTaskBarIcon : public wxTaskBarIcon
3205 {
3206 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3207 public:
3208 wxPyTaskBarIcon() : wxTaskBarIcon()
3209 {}
3210
3211 wxMenu* CreatePopupMenu() {
3212 wxMenu *rval = NULL;
3213 bool found;
3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3215 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3216 PyObject* ro;
3217 wxMenu* ptr;
3218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3219 if (ro) {
3220 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3221 rval = ptr;
3222 Py_DECREF(ro);
3223 }
3224 }
3225 wxPyEndBlockThreads(blocked);
3226 if (! found)
3227 rval = wxTaskBarIcon::CreatePopupMenu();
3228 return rval;
3229 }
3230
3231 PYPRIVATE;
3232 };
3233
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3235
3236 #endif
3237
3238 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3239 self->RemoveIcon();
3240 delete self;
3241 }
3242 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3243 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3244 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3245 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3246 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3247 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3248
3249 // for compatibility only
3250 #define wxHIDE_READONLY 0
3251
3252 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetFilenames(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3258 wxArrayString arr;
3259 self->GetPaths(arr);
3260 return wxArrayString2PyList_helper(arr);
3261 }
3262 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3263 return wxArrayInt2PyList_helper(self->GetSelections());
3264 }
3265 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){
3266 return new wxSingleChoiceDialog(parent, message, caption,
3267 choices, choices_array, NULL, style, pos);
3268 }
3269 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3270
3271 SWIGINTERNINLINE PyObject*
3272 SWIG_From_bool (bool value)
3273 {
3274 return PyBool_FromLong(value ? 1 : 0);
3275 }
3276
3277
3278 #include <wx/mdi.h>
3279
3280 // C++ version of Python aware wxWindow
3281 class wxPyWindow : public wxWindow
3282 {
3283 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3284 public:
3285 wxPyWindow() : wxWindow() {}
3286 wxPyWindow(wxWindow* parent, const wxWindowID id,
3287 const wxPoint& pos = wxDefaultPosition,
3288 const wxSize& size = wxDefaultSize,
3289 long style = 0,
3290 const wxString& name = wxPyPanelNameStr)
3291 : wxWindow(parent, id, pos, size, style, name) {}
3292
3293 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3294
3295 bool DoEraseBackground(wxDC* dc) {
3296 #ifdef __WXMSW__
3297 return wxWindow::DoEraseBackground(dc->GetHDC());
3298 #else
3299 dc->SetBackground(wxBrush(GetBackgroundColour()));
3300 dc->Clear();
3301 return true;
3302 #endif
3303 }
3304
3305 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3306 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3309
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3313
3314 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3315 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3316
3317 DEC_PYCALLBACK__(InitDialog);
3318 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3319 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3320 DEC_PYCALLBACK_BOOL_(Validate);
3321
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3324 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3325
3326 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3328
3329 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3330 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3331
3332 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3333
3334 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3335
3336 PYPRIVATE;
3337 };
3338
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3340
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3345
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3349
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3352
3353 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3357
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3361
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3364
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3367
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3369
3370 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3371
3372 // C++ version of Python aware wxPanel
3373 class wxPyPanel : public wxPanel
3374 {
3375 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3376 public:
3377 wxPyPanel() : wxPanel() {}
3378 wxPyPanel(wxWindow* parent, const wxWindowID id,
3379 const wxPoint& pos = wxDefaultPosition,
3380 const wxSize& size = wxDefaultSize,
3381 long style = 0,
3382 const wxString& name = wxPyPanelNameStr)
3383 : wxPanel(parent, id, pos, size, style, name) {}
3384
3385 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3386 bool DoEraseBackground(wxDC* dc) {
3387 #ifdef __WXMSW__
3388 return wxWindow::DoEraseBackground(dc->GetHDC());
3389 #else
3390 dc->SetBackground(wxBrush(GetBackgroundColour()));
3391 dc->Clear();
3392 return true;
3393 #endif
3394 }
3395
3396
3397 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3398 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3401
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3405
3406 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3407 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3408
3409 DEC_PYCALLBACK__(InitDialog);
3410 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3411 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3412 DEC_PYCALLBACK_BOOL_(Validate);
3413
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3416 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3417
3418 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3420
3421 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3422 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3423
3424 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3425
3426 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3427
3428 PYPRIVATE;
3429 };
3430
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3432
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3437
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3441
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3444
3445 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3453
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3456
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3459
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3461
3462 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3463
3464 // C++ version of Python aware wxScrolledWindow
3465 class wxPyScrolledWindow : public wxScrolledWindow
3466 {
3467 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3468 public:
3469 wxPyScrolledWindow() : wxScrolledWindow() {}
3470 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3471 const wxPoint& pos = wxDefaultPosition,
3472 const wxSize& size = wxDefaultSize,
3473 long style = 0,
3474 const wxString& name = wxPyPanelNameStr)
3475 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3476
3477 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3478 bool DoEraseBackground(wxDC* dc) {
3479 #ifdef __WXMSW__
3480 return wxWindow::DoEraseBackground(dc->GetHDC());
3481 #else
3482 dc->SetBackground(wxBrush(GetBackgroundColour()));
3483 dc->Clear();
3484 return true;
3485 #endif
3486 }
3487
3488 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3489 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3492
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3496
3497 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3498 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3499
3500 DEC_PYCALLBACK__(InitDialog);
3501 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3502 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3503 DEC_PYCALLBACK_BOOL_(Validate);
3504
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3507 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3508
3509 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3511
3512 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3513 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3514
3515 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3516
3517 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3518
3519 PYPRIVATE;
3520 };
3521
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3523
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3528
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3532
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3535
3536 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3540
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3544
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3547
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3550
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3552
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3554
3555
3556 #include "wx/wxPython/printfw.h"
3557
3558
3559 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3560 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3561 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3562 PyObject* data;
3563 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3564 data = PyString_FromStringAndSize(self->GetPrivData(),
3565 self->GetPrivDataLen());
3566 wxPyEndBlockThreads(blocked);
3567 return data;
3568 }
3569 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3570 if (! PyString_Check(data)) {
3571 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3572 "Expected string object"));
3573 return /* NULL */ ;
3574 }
3575
3576 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3577 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3578 wxPyEndBlockThreads(blocked);
3579 }
3580
3581
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3583
3584 // Since this one would be tough and ugly to do with the Macros...
3585 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3586 bool hadErr = false;
3587 bool found;
3588
3589 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3590 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3591 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3592 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3593 PyObject* val;
3594
3595 val = PyTuple_GetItem(result, 0);
3596 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 1);
3600 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3601 else hadErr = true;
3602
3603 val = PyTuple_GetItem(result, 2);
3604 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3605 else hadErr = true;
3606
3607 val = PyTuple_GetItem(result, 3);
3608 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3609 else hadErr = true;
3610 }
3611 else
3612 hadErr = true;
3613
3614 if (hadErr) {
3615 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3616 PyErr_Print();
3617 }
3618 Py_DECREF(result);
3619 }
3620 wxPyEndBlockThreads(blocked);
3621 if (! found)
3622 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3623 }
3624
3625
3626
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3630 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3631 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3634
3635
3636
3637
3638
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3640 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3641
3642
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3644 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3645 bool rval=false; \
3646 bool found; \
3647 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3648 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3649 PyObject* win = wxPyMake_wxObject(a,false); \
3650 PyObject* dc = wxPyMake_wxObject(&b,false); \
3651 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3652 Py_DECREF(win); \
3653 Py_DECREF(dc); \
3654 } \
3655 wxPyEndBlockThreads(blocked); \
3656 if (! found) \
3657 rval = PCLASS::CBNAME(a, b); \
3658 return rval; \
3659 }
3660
3661
3662
3663
3664 class wxPyPrintPreview : public wxPrintPreview
3665 {
3666 DECLARE_CLASS(wxPyPrintPreview)
3667 public:
3668 wxPyPrintPreview(wxPyPrintout* printout,
3669 wxPyPrintout* printoutForPrinting,
3670 wxPrintDialogData* data=NULL)
3671 : wxPrintPreview(printout, printoutForPrinting, data)
3672 {}
3673 wxPyPrintPreview(wxPyPrintout* printout,
3674 wxPyPrintout* printoutForPrinting,
3675 wxPrintData* data)
3676 : wxPrintPreview(printout, printoutForPrinting, data)
3677 {}
3678
3679 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3682 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3683 DEC_PYCALLBACK_VOID_INT(SetZoom);
3684 DEC_PYCALLBACK_BOOL_BOOL(Print);
3685 DEC_PYCALLBACK_VOID_(DetermineScaling);
3686
3687 PYPRIVATE;
3688 };
3689
3690 // Stupid renamed classes... Fix this in 2.5...
3691 #if defined(__WXMSW__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3693 #elif defined(__WXMAC__)
3694 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3695 #else
3696 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3697 #endif
3698
3699 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3702 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3703 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3704 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3705 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3706
3707
3708 class wxPyPreviewFrame : public wxPreviewFrame
3709 {
3710 DECLARE_CLASS(wxPyPreviewFrame)
3711 public:
3712 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3713 const wxString& title,
3714 const wxPoint& pos = wxDefaultPosition,
3715 const wxSize& size = wxDefaultSize,
3716 long style = wxDEFAULT_FRAME_STYLE,
3717 const wxString& name = wxPyFrameNameStr)
3718 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3719 {}
3720
3721 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3722 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3723
3724 DEC_PYCALLBACK_VOID_(Initialize);
3725 DEC_PYCALLBACK_VOID_(CreateCanvas);
3726 DEC_PYCALLBACK_VOID_(CreateControlBar);
3727
3728 PYPRIVATE;
3729 };
3730
3731 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3732
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3736
3737
3738 class wxPyPreviewControlBar : public wxPreviewControlBar
3739 {
3740 DECLARE_CLASS(wxPyPreviewControlBar)
3741 public:
3742 wxPyPreviewControlBar(wxPrintPreview *preview,
3743 long buttons,
3744 wxWindow *parent,
3745 const wxPoint& pos = wxDefaultPosition,
3746 const wxSize& size = wxDefaultSize,
3747 long style = 0,
3748 const wxString& name = wxPyPanelNameStr)
3749 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3750 {}
3751
3752 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3753
3754 DEC_PYCALLBACK_VOID_(CreateButtons);
3755 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3756
3757 PYPRIVATE;
3758 };
3759
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3763
3764 #ifdef __cplusplus
3765 extern "C" {
3766 #endif
3767 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj = 0;
3769 wxWindow *arg1 = (wxWindow *) 0 ;
3770 int arg2 = (int) (int)-1 ;
3771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3773 wxSize const &arg4_defvalue = wxDefaultSize ;
3774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3775 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3776 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3777 wxString *arg6 = (wxString *) &arg6_defvalue ;
3778 wxPanel *result = 0 ;
3779 void *argp1 = 0 ;
3780 int res1 = 0 ;
3781 int val2 ;
3782 int ecode2 = 0 ;
3783 wxPoint temp3 ;
3784 wxSize temp4 ;
3785 long val5 ;
3786 int ecode5 = 0 ;
3787 bool temp6 = false ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 PyObject * obj2 = 0 ;
3791 PyObject * obj3 = 0 ;
3792 PyObject * obj4 = 0 ;
3793 PyObject * obj5 = 0 ;
3794 char * kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 };
3797
3798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3800 if (!SWIG_IsOK(res1)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3802 }
3803 arg1 = reinterpret_cast< wxWindow * >(argp1);
3804 if (obj1) {
3805 ecode2 = SWIG_AsVal_int(obj1, &val2);
3806 if (!SWIG_IsOK(ecode2)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3808 }
3809 arg2 = static_cast< int >(val2);
3810 }
3811 if (obj2) {
3812 {
3813 arg3 = &temp3;
3814 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3815 }
3816 }
3817 if (obj3) {
3818 {
3819 arg4 = &temp4;
3820 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3821 }
3822 }
3823 if (obj4) {
3824 ecode5 = SWIG_AsVal_long(obj4, &val5);
3825 if (!SWIG_IsOK(ecode5)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3827 }
3828 arg5 = static_cast< long >(val5);
3829 }
3830 if (obj5) {
3831 {
3832 arg6 = wxString_in_helper(obj5);
3833 if (arg6 == NULL) SWIG_fail;
3834 temp6 = true;
3835 }
3836 }
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3845 {
3846 if (temp6)
3847 delete arg6;
3848 }
3849 return resultobj;
3850 fail:
3851 {
3852 if (temp6)
3853 delete arg6;
3854 }
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3860 PyObject *resultobj = 0;
3861 wxPanel *result = 0 ;
3862
3863 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3864 {
3865 if (!wxPyCheckForApp()) SWIG_fail;
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (wxPanel *)new wxPanel();
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj = 0;
3880 wxPanel *arg1 = (wxPanel *) 0 ;
3881 wxWindow *arg2 = (wxWindow *) 0 ;
3882 int arg3 = (int) (int)-1 ;
3883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3885 wxSize const &arg5_defvalue = wxDefaultSize ;
3886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3887 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3888 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3889 wxString *arg7 = (wxString *) &arg7_defvalue ;
3890 bool result;
3891 void *argp1 = 0 ;
3892 int res1 = 0 ;
3893 void *argp2 = 0 ;
3894 int res2 = 0 ;
3895 int val3 ;
3896 int ecode3 = 0 ;
3897 wxPoint temp4 ;
3898 wxSize temp5 ;
3899 long val6 ;
3900 int ecode6 = 0 ;
3901 bool temp7 = false ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 PyObject * obj2 = 0 ;
3905 PyObject * obj3 = 0 ;
3906 PyObject * obj4 = 0 ;
3907 PyObject * obj5 = 0 ;
3908 PyObject * obj6 = 0 ;
3909 char * kwnames[] = {
3910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3911 };
3912
3913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3915 if (!SWIG_IsOK(res1)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3917 }
3918 arg1 = reinterpret_cast< wxPanel * >(argp1);
3919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3920 if (!SWIG_IsOK(res2)) {
3921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3922 }
3923 arg2 = reinterpret_cast< wxWindow * >(argp2);
3924 if (obj2) {
3925 ecode3 = SWIG_AsVal_int(obj2, &val3);
3926 if (!SWIG_IsOK(ecode3)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3928 }
3929 arg3 = static_cast< int >(val3);
3930 }
3931 if (obj3) {
3932 {
3933 arg4 = &temp4;
3934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3935 }
3936 }
3937 if (obj4) {
3938 {
3939 arg5 = &temp5;
3940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3941 }
3942 }
3943 if (obj5) {
3944 ecode6 = SWIG_AsVal_long(obj5, &val6);
3945 if (!SWIG_IsOK(ecode6)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3947 }
3948 arg6 = static_cast< long >(val6);
3949 }
3950 if (obj6) {
3951 {
3952 arg7 = wxString_in_helper(obj6);
3953 if (arg7 == NULL) SWIG_fail;
3954 temp7 = true;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3965 }
3966 {
3967 if (temp7)
3968 delete arg7;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (temp7)
3974 delete arg7;
3975 }
3976 return NULL;
3977 }
3978
3979
3980 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3981 PyObject *resultobj = 0;
3982 wxPanel *arg1 = (wxPanel *) 0 ;
3983 void *argp1 = 0 ;
3984 int res1 = 0 ;
3985 PyObject *swig_obj[1] ;
3986
3987 if (!args) SWIG_fail;
3988 swig_obj[0] = args;
3989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3990 if (!SWIG_IsOK(res1)) {
3991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3992 }
3993 arg1 = reinterpret_cast< wxPanel * >(argp1);
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->SetFocusIgnoringChildren();
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = SWIG_Py_Void();
4001 return resultobj;
4002 fail:
4003 return NULL;
4004 }
4005
4006
4007 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj = 0;
4009 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4010 SwigValueWrapper<wxVisualAttributes > result;
4011 int val1 ;
4012 int ecode1 = 0 ;
4013 PyObject * obj0 = 0 ;
4014 char * kwnames[] = {
4015 (char *) "variant", NULL
4016 };
4017
4018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4019 if (obj0) {
4020 ecode1 = SWIG_AsVal_int(obj0, &val1);
4021 if (!SWIG_IsOK(ecode1)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4023 }
4024 arg1 = static_cast< wxWindowVariant >(val1);
4025 }
4026 {
4027 if (!wxPyCheckForApp()) SWIG_fail;
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = wxPanel::GetClassDefaultAttributes(arg1);
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *obj;
4042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4044 return SWIG_Py_Void();
4045 }
4046
4047 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4048 return SWIG_Python_InitShadowInstance(args);
4049 }
4050
4051 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj = 0;
4053 wxWindow *arg1 = (wxWindow *) 0 ;
4054 int arg2 = (int) (int)-1 ;
4055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4057 wxSize const &arg4_defvalue = wxDefaultSize ;
4058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4059 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4060 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4061 wxString *arg6 = (wxString *) &arg6_defvalue ;
4062 wxScrolledWindow *result = 0 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 int val2 ;
4066 int ecode2 = 0 ;
4067 wxPoint temp3 ;
4068 wxSize temp4 ;
4069 long val5 ;
4070 int ecode5 = 0 ;
4071 bool temp6 = false ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074 PyObject * obj2 = 0 ;
4075 PyObject * obj3 = 0 ;
4076 PyObject * obj4 = 0 ;
4077 PyObject * obj5 = 0 ;
4078 char * kwnames[] = {
4079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 };
4081
4082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4086 }
4087 arg1 = reinterpret_cast< wxWindow * >(argp1);
4088 if (obj1) {
4089 ecode2 = SWIG_AsVal_int(obj1, &val2);
4090 if (!SWIG_IsOK(ecode2)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4092 }
4093 arg2 = static_cast< int >(val2);
4094 }
4095 if (obj2) {
4096 {
4097 arg3 = &temp3;
4098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4099 }
4100 }
4101 if (obj3) {
4102 {
4103 arg4 = &temp4;
4104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4105 }
4106 }
4107 if (obj4) {
4108 ecode5 = SWIG_AsVal_long(obj4, &val5);
4109 if (!SWIG_IsOK(ecode5)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4111 }
4112 arg5 = static_cast< long >(val5);
4113 }
4114 if (obj5) {
4115 {
4116 arg6 = wxString_in_helper(obj5);
4117 if (arg6 == NULL) SWIG_fail;
4118 temp6 = true;
4119 }
4120 }
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4129 {
4130 if (temp6)
4131 delete arg6;
4132 }
4133 return resultobj;
4134 fail:
4135 {
4136 if (temp6)
4137 delete arg6;
4138 }
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *result = 0 ;
4146
4147 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4148 {
4149 if (!wxPyCheckForApp()) SWIG_fail;
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxScrolledWindow *)new wxScrolledWindow();
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj = 0;
4164 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4165 wxWindow *arg2 = (wxWindow *) 0 ;
4166 int arg3 = (int) (int)-1 ;
4167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4169 wxSize const &arg5_defvalue = wxDefaultSize ;
4170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4171 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4172 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4173 wxString *arg7 = (wxString *) &arg7_defvalue ;
4174 bool result;
4175 void *argp1 = 0 ;
4176 int res1 = 0 ;
4177 void *argp2 = 0 ;
4178 int res2 = 0 ;
4179 int val3 ;
4180 int ecode3 = 0 ;
4181 wxPoint temp4 ;
4182 wxSize temp5 ;
4183 long val6 ;
4184 int ecode6 = 0 ;
4185 bool temp7 = false ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 PyObject * obj2 = 0 ;
4189 PyObject * obj3 = 0 ;
4190 PyObject * obj4 = 0 ;
4191 PyObject * obj5 = 0 ;
4192 PyObject * obj6 = 0 ;
4193 char * kwnames[] = {
4194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 };
4196
4197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4199 if (!SWIG_IsOK(res1)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4201 }
4202 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4204 if (!SWIG_IsOK(res2)) {
4205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4206 }
4207 arg2 = reinterpret_cast< wxWindow * >(argp2);
4208 if (obj2) {
4209 ecode3 = SWIG_AsVal_int(obj2, &val3);
4210 if (!SWIG_IsOK(ecode3)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4212 }
4213 arg3 = static_cast< int >(val3);
4214 }
4215 if (obj3) {
4216 {
4217 arg4 = &temp4;
4218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4219 }
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 ecode6 = SWIG_AsVal_long(obj5, &val6);
4229 if (!SWIG_IsOK(ecode6)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4231 }
4232 arg6 = static_cast< long >(val6);
4233 }
4234 if (obj6) {
4235 {
4236 arg7 = wxString_in_helper(obj6);
4237 if (arg7 == NULL) SWIG_fail;
4238 temp7 = true;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4249 }
4250 {
4251 if (temp7)
4252 delete arg7;
4253 }
4254 return resultobj;
4255 fail:
4256 {
4257 if (temp7)
4258 delete arg7;
4259 }
4260 return NULL;
4261 }
4262
4263
4264 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj = 0;
4266 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4267 int arg2 ;
4268 int arg3 ;
4269 int arg4 ;
4270 int arg5 ;
4271 int arg6 = (int) 0 ;
4272 int arg7 = (int) 0 ;
4273 bool arg8 = (bool) false ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 int val2 ;
4277 int ecode2 = 0 ;
4278 int val3 ;
4279 int ecode3 = 0 ;
4280 int val4 ;
4281 int ecode4 = 0 ;
4282 int val5 ;
4283 int ecode5 = 0 ;
4284 int val6 ;
4285 int ecode6 = 0 ;
4286 int val7 ;
4287 int ecode7 = 0 ;
4288 bool val8 ;
4289 int ecode8 = 0 ;
4290 PyObject * obj0 = 0 ;
4291 PyObject * obj1 = 0 ;
4292 PyObject * obj2 = 0 ;
4293 PyObject * obj3 = 0 ;
4294 PyObject * obj4 = 0 ;
4295 PyObject * obj5 = 0 ;
4296 PyObject * obj6 = 0 ;
4297 PyObject * obj7 = 0 ;
4298 char * kwnames[] = {
4299 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4300 };
4301
4302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4304 if (!SWIG_IsOK(res1)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4306 }
4307 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4308 ecode2 = SWIG_AsVal_int(obj1, &val2);
4309 if (!SWIG_IsOK(ecode2)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4311 }
4312 arg2 = static_cast< int >(val2);
4313 ecode3 = SWIG_AsVal_int(obj2, &val3);
4314 if (!SWIG_IsOK(ecode3)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4316 }
4317 arg3 = static_cast< int >(val3);
4318 ecode4 = SWIG_AsVal_int(obj3, &val4);
4319 if (!SWIG_IsOK(ecode4)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4321 }
4322 arg4 = static_cast< int >(val4);
4323 ecode5 = SWIG_AsVal_int(obj4, &val5);
4324 if (!SWIG_IsOK(ecode5)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4326 }
4327 arg5 = static_cast< int >(val5);
4328 if (obj5) {
4329 ecode6 = SWIG_AsVal_int(obj5, &val6);
4330 if (!SWIG_IsOK(ecode6)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4332 }
4333 arg6 = static_cast< int >(val6);
4334 }
4335 if (obj6) {
4336 ecode7 = SWIG_AsVal_int(obj6, &val7);
4337 if (!SWIG_IsOK(ecode7)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4339 }
4340 arg7 = static_cast< int >(val7);
4341 }
4342 if (obj7) {
4343 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4344 if (!SWIG_IsOK(ecode8)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4346 }
4347 arg8 = static_cast< bool >(val8);
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_Py_Void();
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj = 0;
4364 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4365 int arg2 ;
4366 int arg3 ;
4367 void *argp1 = 0 ;
4368 int res1 = 0 ;
4369 int val2 ;
4370 int ecode2 = 0 ;
4371 int val3 ;
4372 int ecode3 = 0 ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 PyObject * obj2 = 0 ;
4376 char * kwnames[] = {
4377 (char *) "self",(char *) "x",(char *) "y", NULL
4378 };
4379
4380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4382 if (!SWIG_IsOK(res1)) {
4383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4384 }
4385 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4386 ecode2 = SWIG_AsVal_int(obj1, &val2);
4387 if (!SWIG_IsOK(ecode2)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4389 }
4390 arg2 = static_cast< int >(val2);
4391 ecode3 = SWIG_AsVal_int(obj2, &val3);
4392 if (!SWIG_IsOK(ecode3)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4394 }
4395 arg3 = static_cast< int >(val3);
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->Scroll(arg2,arg3);
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_Py_Void();
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj = 0;
4411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4412 int arg2 ;
4413 int result;
4414 void *argp1 = 0 ;
4415 int res1 = 0 ;
4416 int val2 ;
4417 int ecode2 = 0 ;
4418 PyObject * obj0 = 0 ;
4419 PyObject * obj1 = 0 ;
4420 char * kwnames[] = {
4421 (char *) "self",(char *) "orient", NULL
4422 };
4423
4424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4426 if (!SWIG_IsOK(res1)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4428 }
4429 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4430 ecode2 = SWIG_AsVal_int(obj1, &val2);
4431 if (!SWIG_IsOK(ecode2)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4433 }
4434 arg2 = static_cast< int >(val2);
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 resultobj = SWIG_From_int(static_cast< int >(result));
4442 return resultobj;
4443 fail:
4444 return NULL;
4445 }
4446
4447
4448 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4449 PyObject *resultobj = 0;
4450 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4451 int arg2 ;
4452 int arg3 ;
4453 void *argp1 = 0 ;
4454 int res1 = 0 ;
4455 int val2 ;
4456 int ecode2 = 0 ;
4457 int val3 ;
4458 int ecode3 = 0 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
4462 char * kwnames[] = {
4463 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4464 };
4465
4466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4468 if (!SWIG_IsOK(res1)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4470 }
4471 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4472 ecode2 = SWIG_AsVal_int(obj1, &val2);
4473 if (!SWIG_IsOK(ecode2)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4475 }
4476 arg2 = static_cast< int >(val2);
4477 ecode3 = SWIG_AsVal_int(obj2, &val3);
4478 if (!SWIG_IsOK(ecode3)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4480 }
4481 arg3 = static_cast< int >(val3);
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetScrollPageSize(arg2,arg3);
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_Py_Void();
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj = 0;
4497 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4498 int arg2 ;
4499 int arg3 ;
4500 void *argp1 = 0 ;
4501 int res1 = 0 ;
4502 int val2 ;
4503 int ecode2 = 0 ;
4504 int val3 ;
4505 int ecode3 = 0 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 PyObject * obj2 = 0 ;
4509 char * kwnames[] = {
4510 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4511 };
4512
4513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4515 if (!SWIG_IsOK(res1)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4517 }
4518 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4519 ecode2 = SWIG_AsVal_int(obj1, &val2);
4520 if (!SWIG_IsOK(ecode2)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4522 }
4523 arg2 = static_cast< int >(val2);
4524 ecode3 = SWIG_AsVal_int(obj2, &val3);
4525 if (!SWIG_IsOK(ecode3)) {
4526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4527 }
4528 arg3 = static_cast< int >(val3);
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->SetScrollRate(arg2,arg3);
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_Py_Void();
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4543 PyObject *resultobj = 0;
4544 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4545 int *arg2 = (int *) 0 ;
4546 int *arg3 = (int *) 0 ;
4547 void *argp1 = 0 ;
4548 int res1 = 0 ;
4549 int temp2 ;
4550 int res2 = SWIG_TMPOBJ ;
4551 int temp3 ;
4552 int res3 = SWIG_TMPOBJ ;
4553 PyObject *swig_obj[1] ;
4554
4555 arg2 = &temp2;
4556 arg3 = &temp3;
4557 if (!args) SWIG_fail;
4558 swig_obj[0] = args;
4559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4560 if (!SWIG_IsOK(res1)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4562 }
4563 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = SWIG_Py_Void();
4571 if (SWIG_IsTmpObj(res2)) {
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4573 } else {
4574 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4576 }
4577 if (SWIG_IsTmpObj(res3)) {
4578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4579 } else {
4580 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4582 }
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj = 0;
4591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4592 bool arg2 ;
4593 bool arg3 ;
4594 void *argp1 = 0 ;
4595 int res1 = 0 ;
4596 bool val2 ;
4597 int ecode2 = 0 ;
4598 bool val3 ;
4599 int ecode3 = 0 ;
4600 PyObject * obj0 = 0 ;
4601 PyObject * obj1 = 0 ;
4602 PyObject * obj2 = 0 ;
4603 char * kwnames[] = {
4604 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4605 };
4606
4607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4609 if (!SWIG_IsOK(res1)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4611 }
4612 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4613 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4614 if (!SWIG_IsOK(ecode2)) {
4615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4616 }
4617 arg2 = static_cast< bool >(val2);
4618 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4619 if (!SWIG_IsOK(ecode3)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4621 }
4622 arg3 = static_cast< bool >(val3);
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 (arg1)->EnableScrolling(arg2,arg3);
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_Py_Void();
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4637 PyObject *resultobj = 0;
4638 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4639 int *arg2 = (int *) 0 ;
4640 int *arg3 = (int *) 0 ;
4641 void *argp1 = 0 ;
4642 int res1 = 0 ;
4643 int temp2 ;
4644 int res2 = SWIG_TMPOBJ ;
4645 int temp3 ;
4646 int res3 = SWIG_TMPOBJ ;
4647 PyObject *swig_obj[1] ;
4648
4649 arg2 = &temp2;
4650 arg3 = &temp3;
4651 if (!args) SWIG_fail;
4652 swig_obj[0] = args;
4653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4654 if (!SWIG_IsOK(res1)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4656 }
4657 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_Py_Void();
4665 if (SWIG_IsTmpObj(res2)) {
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4667 } else {
4668 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4670 }
4671 if (SWIG_IsTmpObj(res3)) {
4672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4673 } else {
4674 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4676 }
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj = 0;
4685 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4686 double arg2 ;
4687 double arg3 ;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 double val2 ;
4691 int ecode2 = 0 ;
4692 double val3 ;
4693 int ecode3 = 0 ;
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 PyObject * obj2 = 0 ;
4697 char * kwnames[] = {
4698 (char *) "self",(char *) "xs",(char *) "ys", NULL
4699 };
4700
4701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4703 if (!SWIG_IsOK(res1)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4705 }
4706 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4707 ecode2 = SWIG_AsVal_double(obj1, &val2);
4708 if (!SWIG_IsOK(ecode2)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4710 }
4711 arg2 = static_cast< double >(val2);
4712 ecode3 = SWIG_AsVal_double(obj2, &val3);
4713 if (!SWIG_IsOK(ecode3)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4715 }
4716 arg3 = static_cast< double >(val3);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 (arg1)->SetScale(arg2,arg3);
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_Py_Void();
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4731 PyObject *resultobj = 0;
4732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4733 double result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737
4738 if (!args) SWIG_fail;
4739 swig_obj[0] = args;
4740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4741 if (!SWIG_IsOK(res1)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 }
4744 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_From_double(static_cast< double >(result));
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4759 PyObject *resultobj = 0;
4760 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4761 double result;
4762 void *argp1 = 0 ;
4763 int res1 = 0 ;
4764 PyObject *swig_obj[1] ;
4765
4766 if (!args) SWIG_fail;
4767 swig_obj[0] = args;
4768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res1)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 }
4772 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 resultobj = SWIG_From_double(static_cast< double >(result));
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4787 PyObject *resultobj = 0;
4788 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4789 wxPoint *arg2 = 0 ;
4790 wxPoint result;
4791 void *argp1 = 0 ;
4792 int res1 = 0 ;
4793 wxPoint temp2 ;
4794
4795 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4797 if (!SWIG_IsOK(res1)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4799 }
4800 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4801 {
4802 arg2 = &temp2;
4803 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4819 PyObject *resultobj = 0;
4820 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4821 int arg2 ;
4822 int arg3 ;
4823 int *arg4 = (int *) 0 ;
4824 int *arg5 = (int *) 0 ;
4825 void *argp1 = 0 ;
4826 int res1 = 0 ;
4827 int val2 ;
4828 int ecode2 = 0 ;
4829 int val3 ;
4830 int ecode3 = 0 ;
4831 int temp4 ;
4832 int res4 = SWIG_TMPOBJ ;
4833 int temp5 ;
4834 int res5 = SWIG_TMPOBJ ;
4835
4836 arg4 = &temp4;
4837 arg5 = &temp5;
4838 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4840 if (!SWIG_IsOK(res1)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 }
4843 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4844 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4845 if (!SWIG_IsOK(ecode2)) {
4846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4847 }
4848 arg2 = static_cast< int >(val2);
4849 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4850 if (!SWIG_IsOK(ecode3)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4852 }
4853 arg3 = static_cast< int >(val3);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_Py_Void();
4861 if (SWIG_IsTmpObj(res4)) {
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4863 } else {
4864 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4866 }
4867 if (SWIG_IsTmpObj(res5)) {
4868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4869 } else {
4870 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4872 }
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4880 int argc;
4881 PyObject *argv[4];
4882
4883 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4884 --argc;
4885 if (argc == 2) {
4886 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4887 }
4888 if (argc == 3) {
4889 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4890 }
4891
4892 fail:
4893 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4894 return NULL;
4895 }
4896
4897
4898 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4899 PyObject *resultobj = 0;
4900 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4901 wxPoint *arg2 = 0 ;
4902 wxPoint result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 wxPoint temp2 ;
4906
4907 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 {
4914 arg2 = &temp2;
4915 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4931 PyObject *resultobj = 0;
4932 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4933 int arg2 ;
4934 int arg3 ;
4935 int *arg4 = (int *) 0 ;
4936 int *arg5 = (int *) 0 ;
4937 void *argp1 = 0 ;
4938 int res1 = 0 ;
4939 int val2 ;
4940 int ecode2 = 0 ;
4941 int val3 ;
4942 int ecode3 = 0 ;
4943 int temp4 ;
4944 int res4 = SWIG_TMPOBJ ;
4945 int temp5 ;
4946 int res5 = SWIG_TMPOBJ ;
4947
4948 arg4 = &temp4;
4949 arg5 = &temp5;
4950 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4952 if (!SWIG_IsOK(res1)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4954 }
4955 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4956 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4957 if (!SWIG_IsOK(ecode2)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4959 }
4960 arg2 = static_cast< int >(val2);
4961 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4962 if (!SWIG_IsOK(ecode3)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4964 }
4965 arg3 = static_cast< int >(val3);
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 resultobj = SWIG_Py_Void();
4973 if (SWIG_IsTmpObj(res4)) {
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4975 } else {
4976 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4978 }
4979 if (SWIG_IsTmpObj(res5)) {
4980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4981 } else {
4982 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4992 int argc;
4993 PyObject *argv[4];
4994
4995 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4996 --argc;
4997 if (argc == 2) {
4998 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4999 }
5000 if (argc == 3) {
5001 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5002 }
5003
5004 fail:
5005 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 void *argp1 = 0 ;
5014 int res1 = 0 ;
5015 PyObject *swig_obj[1] ;
5016
5017 if (!args) SWIG_fail;
5018 swig_obj[0] = args;
5019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5020 if (!SWIG_IsOK(res1)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5022 }
5023 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 (arg1)->AdjustScrollbars();
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 resultobj = SWIG_Py_Void();
5031 return resultobj;
5032 fail:
5033 return NULL;
5034 }
5035
5036
5037 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj = 0;
5039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5040 wxScrollWinEvent *arg2 = 0 ;
5041 int result;
5042 void *argp1 = 0 ;
5043 int res1 = 0 ;
5044 void *argp2 = 0 ;
5045 int res2 = 0 ;
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 char * kwnames[] = {
5049 (char *) "self",(char *) "event", NULL
5050 };
5051
5052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5054 if (!SWIG_IsOK(res1)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 }
5057 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5058 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5059 if (!SWIG_IsOK(res2)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5061 }
5062 if (!argp2) {
5063 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 }
5065 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (int)(arg1)->CalcScrollInc(*arg2);
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = SWIG_From_int(static_cast< int >(result));
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 wxWindow *arg2 = (wxWindow *) 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 void *argp2 = 0 ;
5086 int res2 = 0 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char * kwnames[] = {
5090 (char *) "self",(char *) "target", NULL
5091 };
5092
5093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5095 if (!SWIG_IsOK(res1)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 }
5098 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res2)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5102 }
5103 arg2 = reinterpret_cast< wxWindow * >(argp2);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 (arg1)->SetTargetWindow(arg2);
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_Py_Void();
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5118 PyObject *resultobj = 0;
5119 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5120 wxWindow *result = 0 ;
5121 void *argp1 = 0 ;
5122 int res1 = 0 ;
5123 PyObject *swig_obj[1] ;
5124
5125 if (!args) SWIG_fail;
5126 swig_obj[0] = args;
5127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5128 if (!SWIG_IsOK(res1)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 }
5131 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 {
5139 resultobj = wxPyMake_wxObject(result, 0);
5140 }
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj = 0;
5149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5150 wxDC *arg2 = 0 ;
5151 void *argp1 = 0 ;
5152 int res1 = 0 ;
5153 void *argp2 = 0 ;
5154 int res2 = 0 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char * kwnames[] = {
5158 (char *) "self",(char *) "dc", NULL
5159 };
5160
5161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5163 if (!SWIG_IsOK(res1)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5165 }
5166 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5167 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5168 if (!SWIG_IsOK(res2)) {
5169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5170 }
5171 if (!argp2) {
5172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5173 }
5174 arg2 = reinterpret_cast< wxDC * >(argp2);
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->DoPrepareDC(*arg2);
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = SWIG_Py_Void();
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj = 0;
5190 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5191 SwigValueWrapper<wxVisualAttributes > result;
5192 int val1 ;
5193 int ecode1 = 0 ;
5194 PyObject * obj0 = 0 ;
5195 char * kwnames[] = {
5196 (char *) "variant", NULL
5197 };
5198
5199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5200 if (obj0) {
5201 ecode1 = SWIG_AsVal_int(obj0, &val1);
5202 if (!SWIG_IsOK(ecode1)) {
5203 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5204 }
5205 arg1 = static_cast< wxWindowVariant >(val1);
5206 }
5207 {
5208 if (!wxPyCheckForApp()) SWIG_fail;
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5215 return resultobj;
5216 fail:
5217 return NULL;
5218 }
5219
5220
5221 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5222 PyObject *obj;
5223 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5224 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5225 return SWIG_Py_Void();
5226 }
5227
5228 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5229 return SWIG_Python_InitShadowInstance(args);
5230 }
5231
5232 SWIGINTERN int FrameNameStr_set(PyObject *) {
5233 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5234 return 1;
5235 }
5236
5237
5238 SWIGINTERN PyObject *FrameNameStr_get(void) {
5239 PyObject *pyobj = 0;
5240
5241 {
5242 #if wxUSE_UNICODE
5243 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5244 #else
5245 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5246 #endif
5247 }
5248 return pyobj;
5249 }
5250
5251
5252 SWIGINTERN int DialogNameStr_set(PyObject *) {
5253 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5254 return 1;
5255 }
5256
5257
5258 SWIGINTERN PyObject *DialogNameStr_get(void) {
5259 PyObject *pyobj = 0;
5260
5261 {
5262 #if wxUSE_UNICODE
5263 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5264 #else
5265 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5266 #endif
5267 }
5268 return pyobj;
5269 }
5270
5271
5272 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5273 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5274 return 1;
5275 }
5276
5277
5278 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5279 PyObject *pyobj = 0;
5280
5281 {
5282 #if wxUSE_UNICODE
5283 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5284 #else
5285 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5286 #endif
5287 }
5288 return pyobj;
5289 }
5290
5291
5292 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5293 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5294 return 1;
5295 }
5296
5297
5298 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5299 PyObject *pyobj = 0;
5300
5301 {
5302 #if wxUSE_UNICODE
5303 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5304 #else
5305 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5306 #endif
5307 }
5308 return pyobj;
5309 }
5310
5311
5312 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj = 0;
5314 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5315 bool arg2 = (bool) true ;
5316 void *argp1 = 0 ;
5317 int res1 = 0 ;
5318 bool val2 ;
5319 int ecode2 = 0 ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char * kwnames[] = {
5323 (char *) "self",(char *) "maximize", NULL
5324 };
5325
5326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5328 if (!SWIG_IsOK(res1)) {
5329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5330 }
5331 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5332 if (obj1) {
5333 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5334 if (!SWIG_IsOK(ecode2)) {
5335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5336 }
5337 arg2 = static_cast< bool >(val2);
5338 }
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 (arg1)->Maximize(arg2);
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 resultobj = SWIG_Py_Void();
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5353 PyObject *resultobj = 0;
5354 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5355 void *argp1 = 0 ;
5356 int res1 = 0 ;
5357 PyObject *swig_obj[1] ;
5358
5359 if (!args) SWIG_fail;
5360 swig_obj[0] = args;
5361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5362 if (!SWIG_IsOK(res1)) {
5363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5364 }
5365 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 (arg1)->Restore();
5369 wxPyEndAllowThreads(__tstate);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 }
5372 resultobj = SWIG_Py_Void();
5373 return resultobj;
5374 fail:
5375 return NULL;
5376 }
5377
5378
5379 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj = 0;
5381 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5382 bool arg2 = (bool) true ;
5383 void *argp1 = 0 ;
5384 int res1 = 0 ;
5385 bool val2 ;
5386 int ecode2 = 0 ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char * kwnames[] = {
5390 (char *) "self",(char *) "iconize", NULL
5391 };
5392
5393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5395 if (!SWIG_IsOK(res1)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5397 }
5398 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5399 if (obj1) {
5400 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5401 if (!SWIG_IsOK(ecode2)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5403 }
5404 arg2 = static_cast< bool >(val2);
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->Iconize(arg2);
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 resultobj = SWIG_Py_Void();
5413 return resultobj;
5414 fail:
5415 return NULL;
5416 }
5417
5418
5419 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5420 PyObject *resultobj = 0;
5421 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5422 bool result;
5423 void *argp1 = 0 ;
5424 int res1 = 0 ;
5425 PyObject *swig_obj[1] ;
5426
5427 if (!args) SWIG_fail;
5428 swig_obj[0] = args;
5429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5430 if (!SWIG_IsOK(res1)) {
5431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5432 }
5433 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 {
5441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5442 }
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5450 PyObject *resultobj = 0;
5451 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5452 bool result;
5453 void *argp1 = 0 ;
5454 int res1 = 0 ;
5455 PyObject *swig_obj[1] ;
5456
5457 if (!args) SWIG_fail;
5458 swig_obj[0] = args;
5459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5460 if (!SWIG_IsOK(res1)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5462 }
5463 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 {
5471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5472 }
5473 return resultobj;
5474 fail:
5475 return NULL;
5476 }
5477
5478
5479 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5480 PyObject *resultobj = 0;
5481 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5482 bool result;
5483 void *argp1 = 0 ;
5484 int res1 = 0 ;
5485 PyObject *swig_obj[1] ;
5486
5487 if (!args) SWIG_fail;
5488 swig_obj[0] = args;
5489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5490 if (!SWIG_IsOK(res1)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5492 }
5493 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5502 }
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5510 PyObject *resultobj = 0;
5511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5512 wxIcon result;
5513 void *argp1 = 0 ;
5514 int res1 = 0 ;
5515 PyObject *swig_obj[1] ;
5516
5517 if (!args) SWIG_fail;
5518 swig_obj[0] = args;
5519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5520 if (!SWIG_IsOK(res1)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5522 }
5523 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj = 0;
5539 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5540 wxIcon *arg2 = 0 ;
5541 void *argp1 = 0 ;
5542 int res1 = 0 ;
5543 void *argp2 = 0 ;
5544 int res2 = 0 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char * kwnames[] = {
5548 (char *) "self",(char *) "icon", NULL
5549 };
5550
5551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5553 if (!SWIG_IsOK(res1)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5555 }
5556 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5557 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5558 if (!SWIG_IsOK(res2)) {
5559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5560 }
5561 if (!argp2) {
5562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5563 }
5564 arg2 = reinterpret_cast< wxIcon * >(argp2);
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetIcon((wxIcon const &)*arg2);
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 resultobj = SWIG_Py_Void();
5572 return resultobj;
5573 fail:
5574 return NULL;
5575 }
5576
5577
5578 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj = 0;
5580 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5581 wxIconBundle *arg2 = 0 ;
5582 void *argp1 = 0 ;
5583 int res1 = 0 ;
5584 void *argp2 = 0 ;
5585 int res2 = 0 ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 char * kwnames[] = {
5589 (char *) "self",(char *) "icons", NULL
5590 };
5591
5592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5596 }
5597 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5598 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5599 if (!SWIG_IsOK(res2)) {
5600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5601 }
5602 if (!argp2) {
5603 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5604 }
5605 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_Py_Void();
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj = 0;
5621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5622 bool arg2 ;
5623 long arg3 = (long) wxFULLSCREEN_ALL ;
5624 bool result;
5625 void *argp1 = 0 ;
5626 int res1 = 0 ;
5627 bool val2 ;
5628 int ecode2 = 0 ;
5629 long val3 ;
5630 int ecode3 = 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 PyObject * obj2 = 0 ;
5634 char * kwnames[] = {
5635 (char *) "self",(char *) "show",(char *) "style", NULL
5636 };
5637
5638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5640 if (!SWIG_IsOK(res1)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 }
5643 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5644 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5645 if (!SWIG_IsOK(ecode2)) {
5646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5647 }
5648 arg2 = static_cast< bool >(val2);
5649 if (obj2) {
5650 ecode3 = SWIG_AsVal_long(obj2, &val3);
5651 if (!SWIG_IsOK(ecode3)) {
5652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5653 }
5654 arg3 = static_cast< long >(val3);
5655 }
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 {
5663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5664 }
5665 return resultobj;
5666 fail:
5667 return NULL;
5668 }
5669
5670
5671 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5672 PyObject *resultobj = 0;
5673 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5674 bool result;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 PyObject *swig_obj[1] ;
5678
5679 if (!args) SWIG_fail;
5680 swig_obj[0] = args;
5681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5682 if (!SWIG_IsOK(res1)) {
5683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5684 }
5685 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5686 {
5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
5688 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 {
5693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5694 }
5695 return resultobj;
5696 fail:
5697 return NULL;
5698 }
5699
5700
5701 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj = 0;
5703 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5704 wxString *arg2 = 0 ;
5705 void *argp1 = 0 ;
5706 int res1 = 0 ;
5707 bool temp2 = false ;
5708 PyObject * obj0 = 0 ;
5709 PyObject * obj1 = 0 ;
5710 char * kwnames[] = {
5711 (char *) "self",(char *) "title", NULL
5712 };
5713
5714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5716 if (!SWIG_IsOK(res1)) {
5717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5718 }
5719 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5720 {
5721 arg2 = wxString_in_helper(obj1);
5722 if (arg2 == NULL) SWIG_fail;
5723 temp2 = true;
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 (arg1)->SetTitle((wxString const &)*arg2);
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 resultobj = SWIG_Py_Void();
5732 {
5733 if (temp2)
5734 delete arg2;
5735 }
5736 return resultobj;
5737 fail:
5738 {
5739 if (temp2)
5740 delete arg2;
5741 }
5742 return NULL;
5743 }
5744
5745
5746 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5747 PyObject *resultobj = 0;
5748 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5749 wxString result;
5750 void *argp1 = 0 ;
5751 int res1 = 0 ;
5752 PyObject *swig_obj[1] ;
5753
5754 if (!args) SWIG_fail;
5755 swig_obj[0] = args;
5756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5757 if (!SWIG_IsOK(res1)) {
5758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5759 }
5760 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 {
5768 #if wxUSE_UNICODE
5769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5770 #else
5771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5772 #endif
5773 }
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj = 0;
5782 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5783 wxRegion *arg2 = 0 ;
5784 bool result;
5785 void *argp1 = 0 ;
5786 int res1 = 0 ;
5787 void *argp2 = 0 ;
5788 int res2 = 0 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char * kwnames[] = {
5792 (char *) "self",(char *) "region", NULL
5793 };
5794
5795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5797 if (!SWIG_IsOK(res1)) {
5798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5799 }
5800 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5801 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5802 if (!SWIG_IsOK(res2)) {
5803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5804 }
5805 if (!argp2) {
5806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5807 }
5808 arg2 = reinterpret_cast< wxRegion * >(argp2);
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5817 }
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj = 0;
5826 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5827 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5828 void *argp1 = 0 ;
5829 int res1 = 0 ;
5830 int val2 ;
5831 int ecode2 = 0 ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 char * kwnames[] = {
5835 (char *) "self",(char *) "flags", NULL
5836 };
5837
5838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5840 if (!SWIG_IsOK(res1)) {
5841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5842 }
5843 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5844 if (obj1) {
5845 ecode2 = SWIG_AsVal_int(obj1, &val2);
5846 if (!SWIG_IsOK(ecode2)) {
5847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5848 }
5849 arg2 = static_cast< int >(val2);
5850 }
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 (arg1)->RequestUserAttention(arg2);
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = SWIG_Py_Void();
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5865 PyObject *resultobj = 0;
5866 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5867 bool result;
5868 void *argp1 = 0 ;
5869 int res1 = 0 ;
5870 PyObject *swig_obj[1] ;
5871
5872 if (!args) SWIG_fail;
5873 swig_obj[0] = args;
5874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5875 if (!SWIG_IsOK(res1)) {
5876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5877 }
5878 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 result = (bool)(arg1)->IsActive();
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 {
5886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5887 }
5888 return resultobj;
5889 fail:
5890 return NULL;
5891 }
5892
5893
5894 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj = 0;
5896 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5897 bool arg2 ;
5898 void *argp1 = 0 ;
5899 int res1 = 0 ;
5900 bool val2 ;
5901 int ecode2 = 0 ;
5902 PyObject * obj0 = 0 ;
5903 PyObject * obj1 = 0 ;
5904 char * kwnames[] = {
5905 (char *) "self",(char *) "on", NULL
5906 };
5907
5908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5912 }
5913 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5914 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5915 if (!SWIG_IsOK(ecode2)) {
5916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5917 }
5918 arg2 = static_cast< bool >(val2);
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_Py_Void();
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5933 PyObject *resultobj = 0;
5934 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5935 bool result;
5936 void *argp1 = 0 ;
5937 int res1 = 0 ;
5938 PyObject *swig_obj[1] ;
5939
5940 if (!args) SWIG_fail;
5941 swig_obj[0] = args;
5942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5945 }
5946 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 {
5954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5955 }
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj = 0;
5964 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5965 int arg2 = (int) wxBOTH ;
5966 void *argp1 = 0 ;
5967 int res1 = 0 ;
5968 int val2 ;
5969 int ecode2 = 0 ;
5970 PyObject * obj0 = 0 ;
5971 PyObject * obj1 = 0 ;
5972 char * kwnames[] = {
5973 (char *) "self",(char *) "dir", NULL
5974 };
5975
5976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5978 if (!SWIG_IsOK(res1)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5980 }
5981 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5982 if (obj1) {
5983 ecode2 = SWIG_AsVal_int(obj1, &val2);
5984 if (!SWIG_IsOK(ecode2)) {
5985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5986 }
5987 arg2 = static_cast< int >(val2);
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 (arg1)->CenterOnScreen(arg2);
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 resultobj = SWIG_Py_Void();
5996 return resultobj;
5997 fail:
5998 return NULL;
5999 }
6000
6001
6002 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6003 PyObject *resultobj = 0;
6004 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6005 bool arg2 = (bool) true ;
6006 bool result;
6007 void *argp1 = 0 ;
6008 int res1 = 0 ;
6009 bool val2 ;
6010 int ecode2 = 0 ;
6011 PyObject * obj0 = 0 ;
6012 PyObject * obj1 = 0 ;
6013 char * kwnames[] = {
6014 (char *) "self",(char *) "enable", NULL
6015 };
6016
6017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6019 if (!SWIG_IsOK(res1)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6021 }
6022 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6023 if (obj1) {
6024 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6027 }
6028 arg2 = static_cast< bool >(val2);
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6038 }
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj = 0;
6047 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6048 byte arg2 ;
6049 bool result;
6050 void *argp1 = 0 ;
6051 int res1 = 0 ;
6052 unsigned char val2 ;
6053 int ecode2 = 0 ;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 char * kwnames[] = {
6057 (char *) "self",(char *) "alpha", NULL
6058 };
6059
6060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6062 if (!SWIG_IsOK(res1)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6064 }
6065 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6066 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6067 if (!SWIG_IsOK(ecode2)) {
6068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6069 }
6070 arg2 = static_cast< byte >(val2);
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)(arg1)->SetTransparent(arg2);
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 {
6078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6079 }
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6087 PyObject *resultobj = 0;
6088 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6089 bool result;
6090 void *argp1 = 0 ;
6091 int res1 = 0 ;
6092 PyObject *swig_obj[1] ;
6093
6094 if (!args) SWIG_fail;
6095 swig_obj[0] = args;
6096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6097 if (!SWIG_IsOK(res1)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6099 }
6100 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (bool)(arg1)->CanSetTransparent();
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6109 }
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6117 PyObject *resultobj = 0;
6118 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6119 wxWindow *result = 0 ;
6120 void *argp1 = 0 ;
6121 int res1 = 0 ;
6122 PyObject *swig_obj[1] ;
6123
6124 if (!args) SWIG_fail;
6125 swig_obj[0] = args;
6126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6127 if (!SWIG_IsOK(res1)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6129 }
6130 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 resultobj = wxPyMake_wxObject(result, 0);
6139 }
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj = 0;
6148 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6149 wxWindow *arg2 = (wxWindow *) 0 ;
6150 wxWindow *result = 0 ;
6151 void *argp1 = 0 ;
6152 int res1 = 0 ;
6153 void *argp2 = 0 ;
6154 int res2 = 0 ;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 char * kwnames[] = {
6158 (char *) "self",(char *) "child", NULL
6159 };
6160
6161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6163 if (!SWIG_IsOK(res1)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6165 }
6166 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6168 if (!SWIG_IsOK(res2)) {
6169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6170 }
6171 arg2 = reinterpret_cast< wxWindow * >(argp2);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 resultobj = wxPyMake_wxObject(result, 0);
6180 }
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj = 0;
6189 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6190 wxWindow *arg2 = (wxWindow *) 0 ;
6191 void *argp1 = 0 ;
6192 int res1 = 0 ;
6193 void *argp2 = 0 ;
6194 int res2 = 0 ;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char * kwnames[] = {
6198 (char *) "self",(char *) "win", NULL
6199 };
6200
6201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6203 if (!SWIG_IsOK(res1)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6205 }
6206 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6208 if (!SWIG_IsOK(res2)) {
6209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6210 }
6211 arg2 = reinterpret_cast< wxWindow * >(argp2);
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 (arg1)->SetTmpDefaultItem(arg2);
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 resultobj = SWIG_Py_Void();
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6226 PyObject *resultobj = 0;
6227 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6228 wxWindow *result = 0 ;
6229 void *argp1 = 0 ;
6230 int res1 = 0 ;
6231 PyObject *swig_obj[1] ;
6232
6233 if (!args) SWIG_fail;
6234 swig_obj[0] = args;
6235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6236 if (!SWIG_IsOK(res1)) {
6237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6238 }
6239 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = wxPyMake_wxObject(result, 0);
6248 }
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6256 PyObject *obj;
6257 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6258 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6259 return SWIG_Py_Void();
6260 }
6261
6262 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj = 0;
6264 wxWindow *arg1 = (wxWindow *) 0 ;
6265 int arg2 = (int) (int)-1 ;
6266 wxString const &arg3_defvalue = wxPyEmptyString ;
6267 wxString *arg3 = (wxString *) &arg3_defvalue ;
6268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6270 wxSize const &arg5_defvalue = wxDefaultSize ;
6271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6272 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6273 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6274 wxString *arg7 = (wxString *) &arg7_defvalue ;
6275 wxFrame *result = 0 ;
6276 void *argp1 = 0 ;
6277 int res1 = 0 ;
6278 int val2 ;
6279 int ecode2 = 0 ;
6280 bool temp3 = false ;
6281 wxPoint temp4 ;
6282 wxSize temp5 ;
6283 long val6 ;
6284 int ecode6 = 0 ;
6285 bool temp7 = false ;
6286 PyObject * obj0 = 0 ;
6287 PyObject * obj1 = 0 ;
6288 PyObject * obj2 = 0 ;
6289 PyObject * obj3 = 0 ;
6290 PyObject * obj4 = 0 ;
6291 PyObject * obj5 = 0 ;
6292 PyObject * obj6 = 0 ;
6293 char * kwnames[] = {
6294 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6295 };
6296
6297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6301 }
6302 arg1 = reinterpret_cast< wxWindow * >(argp1);
6303 if (obj1) {
6304 ecode2 = SWIG_AsVal_int(obj1, &val2);
6305 if (!SWIG_IsOK(ecode2)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6307 }
6308 arg2 = static_cast< int >(val2);
6309 }
6310 if (obj2) {
6311 {
6312 arg3 = wxString_in_helper(obj2);
6313 if (arg3 == NULL) SWIG_fail;
6314 temp3 = true;
6315 }
6316 }
6317 if (obj3) {
6318 {
6319 arg4 = &temp4;
6320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6321 }
6322 }
6323 if (obj4) {
6324 {
6325 arg5 = &temp5;
6326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6327 }
6328 }
6329 if (obj5) {
6330 ecode6 = SWIG_AsVal_long(obj5, &val6);
6331 if (!SWIG_IsOK(ecode6)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6333 }
6334 arg6 = static_cast< long >(val6);
6335 }
6336 if (obj6) {
6337 {
6338 arg7 = wxString_in_helper(obj6);
6339 if (arg7 == NULL) SWIG_fail;
6340 temp7 = true;
6341 }
6342 }
6343 {
6344 if (!wxPyCheckForApp()) SWIG_fail;
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6351 {
6352 if (temp3)
6353 delete arg3;
6354 }
6355 {
6356 if (temp7)
6357 delete arg7;
6358 }
6359 return resultobj;
6360 fail:
6361 {
6362 if (temp3)
6363 delete arg3;
6364 }
6365 {
6366 if (temp7)
6367 delete arg7;
6368 }
6369 return NULL;
6370 }
6371
6372
6373 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6374 PyObject *resultobj = 0;
6375 wxFrame *result = 0 ;
6376
6377 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6378 {
6379 if (!wxPyCheckForApp()) SWIG_fail;
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (wxFrame *)new wxFrame();
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6386 return resultobj;
6387 fail:
6388 return NULL;
6389 }
6390
6391
6392 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj = 0;
6394 wxFrame *arg1 = (wxFrame *) 0 ;
6395 wxWindow *arg2 = (wxWindow *) 0 ;
6396 int arg3 = (int) (int)-1 ;
6397 wxString const &arg4_defvalue = wxPyEmptyString ;
6398 wxString *arg4 = (wxString *) &arg4_defvalue ;
6399 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6400 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6401 wxSize const &arg6_defvalue = wxDefaultSize ;
6402 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6403 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6404 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6405 wxString *arg8 = (wxString *) &arg8_defvalue ;
6406 bool result;
6407 void *argp1 = 0 ;
6408 int res1 = 0 ;
6409 void *argp2 = 0 ;
6410 int res2 = 0 ;
6411 int val3 ;
6412 int ecode3 = 0 ;
6413 bool temp4 = false ;
6414 wxPoint temp5 ;
6415 wxSize temp6 ;
6416 long val7 ;
6417 int ecode7 = 0 ;
6418 bool temp8 = false ;
6419 PyObject * obj0 = 0 ;
6420 PyObject * obj1 = 0 ;
6421 PyObject * obj2 = 0 ;
6422 PyObject * obj3 = 0 ;
6423 PyObject * obj4 = 0 ;
6424 PyObject * obj5 = 0 ;
6425 PyObject * obj6 = 0 ;
6426 PyObject * obj7 = 0 ;
6427 char * kwnames[] = {
6428 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6429 };
6430
6431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6433 if (!SWIG_IsOK(res1)) {
6434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6435 }
6436 arg1 = reinterpret_cast< wxFrame * >(argp1);
6437 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6438 if (!SWIG_IsOK(res2)) {
6439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6440 }
6441 arg2 = reinterpret_cast< wxWindow * >(argp2);
6442 if (obj2) {
6443 ecode3 = SWIG_AsVal_int(obj2, &val3);
6444 if (!SWIG_IsOK(ecode3)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6446 }
6447 arg3 = static_cast< int >(val3);
6448 }
6449 if (obj3) {
6450 {
6451 arg4 = wxString_in_helper(obj3);
6452 if (arg4 == NULL) SWIG_fail;
6453 temp4 = true;
6454 }
6455 }
6456 if (obj4) {
6457 {
6458 arg5 = &temp5;
6459 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6460 }
6461 }
6462 if (obj5) {
6463 {
6464 arg6 = &temp6;
6465 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6466 }
6467 }
6468 if (obj6) {
6469 ecode7 = SWIG_AsVal_long(obj6, &val7);
6470 if (!SWIG_IsOK(ecode7)) {
6471 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6472 }
6473 arg7 = static_cast< long >(val7);
6474 }
6475 if (obj7) {
6476 {
6477 arg8 = wxString_in_helper(obj7);
6478 if (arg8 == NULL) SWIG_fail;
6479 temp8 = true;
6480 }
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6490 }
6491 {
6492 if (temp4)
6493 delete arg4;
6494 }
6495 {
6496 if (temp8)
6497 delete arg8;
6498 }
6499 return resultobj;
6500 fail:
6501 {
6502 if (temp4)
6503 delete arg4;
6504 }
6505 {
6506 if (temp8)
6507 delete arg8;
6508 }
6509 return NULL;
6510 }
6511
6512
6513 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6514 PyObject *resultobj = 0;
6515 wxFrame *arg1 = (wxFrame *) 0 ;
6516 void *argp1 = 0 ;
6517 int res1 = 0 ;
6518 PyObject *swig_obj[1] ;
6519
6520 if (!args) SWIG_fail;
6521 swig_obj[0] = args;
6522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6523 if (!SWIG_IsOK(res1)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6525 }
6526 arg1 = reinterpret_cast< wxFrame * >(argp1);
6527 {
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 (arg1)->SendSizeEvent();
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 resultobj = SWIG_Py_Void();
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj = 0;
6542 wxFrame *arg1 = (wxFrame *) 0 ;
6543 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6544 void *argp1 = 0 ;
6545 int res1 = 0 ;
6546 void *argp2 = 0 ;
6547 int res2 = 0 ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 char * kwnames[] = {
6551 (char *) "self",(char *) "menubar", NULL
6552 };
6553
6554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6556 if (!SWIG_IsOK(res1)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6558 }
6559 arg1 = reinterpret_cast< wxFrame * >(argp1);
6560 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6561 if (!SWIG_IsOK(res2)) {
6562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6563 }
6564 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 (arg1)->SetMenuBar(arg2);
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 resultobj = SWIG_Py_Void();
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6579 PyObject *resultobj = 0;
6580 wxFrame *arg1 = (wxFrame *) 0 ;
6581 wxMenuBar *result = 0 ;
6582 void *argp1 = 0 ;
6583 int res1 = 0 ;
6584 PyObject *swig_obj[1] ;
6585
6586 if (!args) SWIG_fail;
6587 swig_obj[0] = args;
6588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6589 if (!SWIG_IsOK(res1)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6591 }
6592 arg1 = reinterpret_cast< wxFrame * >(argp1);
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 {
6600 resultobj = wxPyMake_wxObject(result, 0);
6601 }
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj = 0;
6610 wxFrame *arg1 = (wxFrame *) 0 ;
6611 int arg2 ;
6612 bool result;
6613 void *argp1 = 0 ;
6614 int res1 = 0 ;
6615 int val2 ;
6616 int ecode2 = 0 ;
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
6619 char * kwnames[] = {
6620 (char *) "self",(char *) "winid", NULL
6621 };
6622
6623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6625 if (!SWIG_IsOK(res1)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6627 }
6628 arg1 = reinterpret_cast< wxFrame * >(argp1);
6629 ecode2 = SWIG_AsVal_int(obj1, &val2);
6630 if (!SWIG_IsOK(ecode2)) {
6631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6632 }
6633 arg2 = static_cast< int >(val2);
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (bool)(arg1)->ProcessCommand(arg2);
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 {
6641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6642 }
6643 return resultobj;
6644 fail:
6645 return NULL;
6646 }
6647
6648
6649 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj = 0;
6651 wxFrame *arg1 = (wxFrame *) 0 ;
6652 int arg2 = (int) 1 ;
6653 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6654 int arg4 = (int) 0 ;
6655 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6656 wxString *arg5 = (wxString *) &arg5_defvalue ;
6657 wxStatusBar *result = 0 ;
6658 void *argp1 = 0 ;
6659 int res1 = 0 ;
6660 int val2 ;
6661 int ecode2 = 0 ;
6662 long val3 ;
6663 int ecode3 = 0 ;
6664 int val4 ;
6665 int ecode4 = 0 ;
6666 bool temp5 = false ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 PyObject * obj2 = 0 ;
6670 PyObject * obj3 = 0 ;
6671 PyObject * obj4 = 0 ;
6672 char * kwnames[] = {
6673 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6674 };
6675
6676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6678 if (!SWIG_IsOK(res1)) {
6679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6680 }
6681 arg1 = reinterpret_cast< wxFrame * >(argp1);
6682 if (obj1) {
6683 ecode2 = SWIG_AsVal_int(obj1, &val2);
6684 if (!SWIG_IsOK(ecode2)) {
6685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6686 }
6687 arg2 = static_cast< int >(val2);
6688 }
6689 if (obj2) {
6690 ecode3 = SWIG_AsVal_long(obj2, &val3);
6691 if (!SWIG_IsOK(ecode3)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6693 }
6694 arg3 = static_cast< long >(val3);
6695 }
6696 if (obj3) {
6697 ecode4 = SWIG_AsVal_int(obj3, &val4);
6698 if (!SWIG_IsOK(ecode4)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6700 }
6701 arg4 = static_cast< int >(val4);
6702 }
6703 if (obj4) {
6704 {
6705 arg5 = wxString_in_helper(obj4);
6706 if (arg5 == NULL) SWIG_fail;
6707 temp5 = true;
6708 }
6709 }
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 {
6717 resultobj = wxPyMake_wxObject(result, (bool)0);
6718 }
6719 {
6720 if (temp5)
6721 delete arg5;
6722 }
6723 return resultobj;
6724 fail:
6725 {
6726 if (temp5)
6727 delete arg5;
6728 }
6729 return NULL;
6730 }
6731
6732
6733 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6734 PyObject *resultobj = 0;
6735 wxFrame *arg1 = (wxFrame *) 0 ;
6736 wxStatusBar *result = 0 ;
6737 void *argp1 = 0 ;
6738 int res1 = 0 ;
6739 PyObject *swig_obj[1] ;
6740
6741 if (!args) SWIG_fail;
6742 swig_obj[0] = args;
6743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6744 if (!SWIG_IsOK(res1)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6746 }
6747 arg1 = reinterpret_cast< wxFrame * >(argp1);
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755 resultobj = wxPyMake_wxObject(result, (bool)0);
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj = 0;
6765 wxFrame *arg1 = (wxFrame *) 0 ;
6766 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 void *argp2 = 0 ;
6770 int res2 = 0 ;
6771 PyObject * obj0 = 0 ;
6772 PyObject * obj1 = 0 ;
6773 char * kwnames[] = {
6774 (char *) "self",(char *) "statBar", NULL
6775 };
6776
6777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6779 if (!SWIG_IsOK(res1)) {
6780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6781 }
6782 arg1 = reinterpret_cast< wxFrame * >(argp1);
6783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6784 if (!SWIG_IsOK(res2)) {
6785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6786 }
6787 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 (arg1)->SetStatusBar(arg2);
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 resultobj = SWIG_Py_Void();
6795 return resultobj;
6796 fail:
6797 return NULL;
6798 }
6799
6800
6801 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj = 0;
6803 wxFrame *arg1 = (wxFrame *) 0 ;
6804 wxString *arg2 = 0 ;
6805 int arg3 = (int) 0 ;
6806 void *argp1 = 0 ;
6807 int res1 = 0 ;
6808 bool temp2 = false ;
6809 int val3 ;
6810 int ecode3 = 0 ;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 PyObject * obj2 = 0 ;
6814 char * kwnames[] = {
6815 (char *) "self",(char *) "text",(char *) "number", NULL
6816 };
6817
6818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6820 if (!SWIG_IsOK(res1)) {
6821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6822 }
6823 arg1 = reinterpret_cast< wxFrame * >(argp1);
6824 {
6825 arg2 = wxString_in_helper(obj1);
6826 if (arg2 == NULL) SWIG_fail;
6827 temp2 = true;
6828 }
6829 if (obj2) {
6830 ecode3 = SWIG_AsVal_int(obj2, &val3);
6831 if (!SWIG_IsOK(ecode3)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6833 }
6834 arg3 = static_cast< int >(val3);
6835 }
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 resultobj = SWIG_Py_Void();
6843 {
6844 if (temp2)
6845 delete arg2;
6846 }
6847 return resultobj;
6848 fail:
6849 {
6850 if (temp2)
6851 delete arg2;
6852 }
6853 return NULL;
6854 }
6855
6856
6857 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj = 0;
6859 wxFrame *arg1 = (wxFrame *) 0 ;
6860 int arg2 ;
6861 int *arg3 = (int *) 0 ;
6862 void *argp1 = 0 ;
6863 int res1 = 0 ;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char * kwnames[] = {
6867 (char *) "self",(char *) "widths", NULL
6868 };
6869
6870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6872 if (!SWIG_IsOK(res1)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 }
6875 arg1 = reinterpret_cast< wxFrame * >(argp1);
6876 {
6877 arg2 = PyList_Size(obj1);
6878 arg3 = int_LIST_helper(obj1);
6879 if (arg3 == NULL) SWIG_fail;
6880 }
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 resultobj = SWIG_Py_Void();
6888 {
6889 if (arg3) delete [] arg3;
6890 }
6891 return resultobj;
6892 fail:
6893 {
6894 if (arg3) delete [] arg3;
6895 }
6896 return NULL;
6897 }
6898
6899
6900 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj = 0;
6902 wxFrame *arg1 = (wxFrame *) 0 ;
6903 wxString *arg2 = 0 ;
6904 int arg3 = (int) 0 ;
6905 void *argp1 = 0 ;
6906 int res1 = 0 ;
6907 bool temp2 = false ;
6908 int val3 ;
6909 int ecode3 = 0 ;
6910 PyObject * obj0 = 0 ;
6911 PyObject * obj1 = 0 ;
6912 PyObject * obj2 = 0 ;
6913 char * kwnames[] = {
6914 (char *) "self",(char *) "text",(char *) "number", NULL
6915 };
6916
6917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6919 if (!SWIG_IsOK(res1)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6921 }
6922 arg1 = reinterpret_cast< wxFrame * >(argp1);
6923 {
6924 arg2 = wxString_in_helper(obj1);
6925 if (arg2 == NULL) SWIG_fail;
6926 temp2 = true;
6927 }
6928 if (obj2) {
6929 ecode3 = SWIG_AsVal_int(obj2, &val3);
6930 if (!SWIG_IsOK(ecode3)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6932 }
6933 arg3 = static_cast< int >(val3);
6934 }
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 resultobj = SWIG_Py_Void();
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return resultobj;
6947 fail:
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return NULL;
6953 }
6954
6955
6956 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj = 0;
6958 wxFrame *arg1 = (wxFrame *) 0 ;
6959 int arg2 = (int) 0 ;
6960 void *argp1 = 0 ;
6961 int res1 = 0 ;
6962 int val2 ;
6963 int ecode2 = 0 ;
6964 PyObject * obj0 = 0 ;
6965 PyObject * obj1 = 0 ;
6966 char * kwnames[] = {
6967 (char *) "self",(char *) "number", NULL
6968 };
6969
6970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6972 if (!SWIG_IsOK(res1)) {
6973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6974 }
6975 arg1 = reinterpret_cast< wxFrame * >(argp1);
6976 if (obj1) {
6977 ecode2 = SWIG_AsVal_int(obj1, &val2);
6978 if (!SWIG_IsOK(ecode2)) {
6979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6980 }
6981 arg2 = static_cast< int >(val2);
6982 }
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 (arg1)->PopStatusText(arg2);
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 resultobj = SWIG_Py_Void();
6990 return resultobj;
6991 fail:
6992 return NULL;
6993 }
6994
6995
6996 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj = 0;
6998 wxFrame *arg1 = (wxFrame *) 0 ;
6999 int arg2 ;
7000 void *argp1 = 0 ;
7001 int res1 = 0 ;
7002 int val2 ;
7003 int ecode2 = 0 ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 char * kwnames[] = {
7007 (char *) "self",(char *) "n", NULL
7008 };
7009
7010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7012 if (!SWIG_IsOK(res1)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7014 }
7015 arg1 = reinterpret_cast< wxFrame * >(argp1);
7016 ecode2 = SWIG_AsVal_int(obj1, &val2);
7017 if (!SWIG_IsOK(ecode2)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7019 }
7020 arg2 = static_cast< int >(val2);
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->SetStatusBarPane(arg2);
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_Py_Void();
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7035 PyObject *resultobj = 0;
7036 wxFrame *arg1 = (wxFrame *) 0 ;
7037 int result;
7038 void *argp1 = 0 ;
7039 int res1 = 0 ;
7040 PyObject *swig_obj[1] ;
7041
7042 if (!args) SWIG_fail;
7043 swig_obj[0] = args;
7044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7045 if (!SWIG_IsOK(res1)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7047 }
7048 arg1 = reinterpret_cast< wxFrame * >(argp1);
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 resultobj = SWIG_From_int(static_cast< int >(result));
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj = 0;
7064 wxFrame *arg1 = (wxFrame *) 0 ;
7065 long arg2 = (long) -1 ;
7066 int arg3 = (int) -1 ;
7067 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7068 wxString *arg4 = (wxString *) &arg4_defvalue ;
7069 wxToolBar *result = 0 ;
7070 void *argp1 = 0 ;
7071 int res1 = 0 ;
7072 long val2 ;
7073 int ecode2 = 0 ;
7074 int val3 ;
7075 int ecode3 = 0 ;
7076 bool temp4 = false ;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 PyObject * obj2 = 0 ;
7080 PyObject * obj3 = 0 ;
7081 char * kwnames[] = {
7082 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7083 };
7084
7085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7087 if (!SWIG_IsOK(res1)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7089 }
7090 arg1 = reinterpret_cast< wxFrame * >(argp1);
7091 if (obj1) {
7092 ecode2 = SWIG_AsVal_long(obj1, &val2);
7093 if (!SWIG_IsOK(ecode2)) {
7094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7095 }
7096 arg2 = static_cast< long >(val2);
7097 }
7098 if (obj2) {
7099 ecode3 = SWIG_AsVal_int(obj2, &val3);
7100 if (!SWIG_IsOK(ecode3)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7102 }
7103 arg3 = static_cast< int >(val3);
7104 }
7105 if (obj3) {
7106 {
7107 arg4 = wxString_in_helper(obj3);
7108 if (arg4 == NULL) SWIG_fail;
7109 temp4 = true;
7110 }
7111 }
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = wxPyMake_wxObject(result, (bool)0);
7120 }
7121 {
7122 if (temp4)
7123 delete arg4;
7124 }
7125 return resultobj;
7126 fail:
7127 {
7128 if (temp4)
7129 delete arg4;
7130 }
7131 return NULL;
7132 }
7133
7134
7135 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7136 PyObject *resultobj = 0;
7137 wxFrame *arg1 = (wxFrame *) 0 ;
7138 wxToolBar *result = 0 ;
7139 void *argp1 = 0 ;
7140 int res1 = 0 ;
7141 PyObject *swig_obj[1] ;
7142
7143 if (!args) SWIG_fail;
7144 swig_obj[0] = args;
7145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7148 }
7149 arg1 = reinterpret_cast< wxFrame * >(argp1);
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 {
7157 resultobj = wxPyMake_wxObject(result, (bool)0);
7158 }
7159 return resultobj;
7160 fail:
7161 return NULL;
7162 }
7163
7164
7165 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj = 0;
7167 wxFrame *arg1 = (wxFrame *) 0 ;
7168 wxToolBar *arg2 = (wxToolBar *) 0 ;
7169 void *argp1 = 0 ;
7170 int res1 = 0 ;
7171 void *argp2 = 0 ;
7172 int res2 = 0 ;
7173 PyObject * obj0 = 0 ;
7174 PyObject * obj1 = 0 ;
7175 char * kwnames[] = {
7176 (char *) "self",(char *) "toolbar", NULL
7177 };
7178
7179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7181 if (!SWIG_IsOK(res1)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7183 }
7184 arg1 = reinterpret_cast< wxFrame * >(argp1);
7185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7186 if (!SWIG_IsOK(res2)) {
7187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7188 }
7189 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 (arg1)->SetToolBar(arg2);
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = SWIG_Py_Void();
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj = 0;
7205 wxFrame *arg1 = (wxFrame *) 0 ;
7206 wxString *arg2 = 0 ;
7207 bool arg3 ;
7208 void *argp1 = 0 ;
7209 int res1 = 0 ;
7210 bool temp2 = false ;
7211 bool val3 ;
7212 int ecode3 = 0 ;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 char * kwnames[] = {
7217 (char *) "self",(char *) "text",(char *) "show", NULL
7218 };
7219
7220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7222 if (!SWIG_IsOK(res1)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7224 }
7225 arg1 = reinterpret_cast< wxFrame * >(argp1);
7226 {
7227 arg2 = wxString_in_helper(obj1);
7228 if (arg2 == NULL) SWIG_fail;
7229 temp2 = true;
7230 }
7231 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7232 if (!SWIG_IsOK(ecode3)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7234 }
7235 arg3 = static_cast< bool >(val3);
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_Py_Void();
7243 {
7244 if (temp2)
7245 delete arg2;
7246 }
7247 return resultobj;
7248 fail:
7249 {
7250 if (temp2)
7251 delete arg2;
7252 }
7253 return NULL;
7254 }
7255
7256
7257 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj = 0;
7259 wxFrame *arg1 = (wxFrame *) 0 ;
7260 wxMenu *arg2 = (wxMenu *) NULL ;
7261 void *argp1 = 0 ;
7262 int res1 = 0 ;
7263 void *argp2 = 0 ;
7264 int res2 = 0 ;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 char * kwnames[] = {
7268 (char *) "self",(char *) "menu", NULL
7269 };
7270
7271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7273 if (!SWIG_IsOK(res1)) {
7274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7275 }
7276 arg1 = reinterpret_cast< wxFrame * >(argp1);
7277 if (obj1) {
7278 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7279 if (!SWIG_IsOK(res2)) {
7280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7281 }
7282 arg2 = reinterpret_cast< wxMenu * >(argp2);
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->DoMenuUpdates(arg2);
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 resultobj = SWIG_Py_Void();
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj = 0;
7299 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7300 SwigValueWrapper<wxVisualAttributes > result;
7301 int val1 ;
7302 int ecode1 = 0 ;
7303 PyObject * obj0 = 0 ;
7304 char * kwnames[] = {
7305 (char *) "variant", NULL
7306 };
7307
7308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7309 if (obj0) {
7310 ecode1 = SWIG_AsVal_int(obj0, &val1);
7311 if (!SWIG_IsOK(ecode1)) {
7312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7313 }
7314 arg1 = static_cast< wxWindowVariant >(val1);
7315 }
7316 {
7317 if (!wxPyCheckForApp()) SWIG_fail;
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 result = wxFrame::GetClassDefaultAttributes(arg1);
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7324 return resultobj;
7325 fail:
7326 return NULL;
7327 }
7328
7329
7330 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7331 PyObject *obj;
7332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7333 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7334 return SWIG_Py_Void();
7335 }
7336
7337 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7338 return SWIG_Python_InitShadowInstance(args);
7339 }
7340
7341 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj = 0;
7343 wxWindow *arg1 = (wxWindow *) 0 ;
7344 int arg2 = (int) (int)-1 ;
7345 wxString const &arg3_defvalue = wxPyEmptyString ;
7346 wxString *arg3 = (wxString *) &arg3_defvalue ;
7347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7349 wxSize const &arg5_defvalue = wxDefaultSize ;
7350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7351 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7352 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7353 wxString *arg7 = (wxString *) &arg7_defvalue ;
7354 wxDialog *result = 0 ;
7355 void *argp1 = 0 ;
7356 int res1 = 0 ;
7357 int val2 ;
7358 int ecode2 = 0 ;
7359 bool temp3 = false ;
7360 wxPoint temp4 ;
7361 wxSize temp5 ;
7362 long val6 ;
7363 int ecode6 = 0 ;
7364 bool temp7 = false ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 PyObject * obj2 = 0 ;
7368 PyObject * obj3 = 0 ;
7369 PyObject * obj4 = 0 ;
7370 PyObject * obj5 = 0 ;
7371 PyObject * obj6 = 0 ;
7372 char * kwnames[] = {
7373 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7374 };
7375
7376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7378 if (!SWIG_IsOK(res1)) {
7379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7380 }
7381 arg1 = reinterpret_cast< wxWindow * >(argp1);
7382 if (obj1) {
7383 ecode2 = SWIG_AsVal_int(obj1, &val2);
7384 if (!SWIG_IsOK(ecode2)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7386 }
7387 arg2 = static_cast< int >(val2);
7388 }
7389 if (obj2) {
7390 {
7391 arg3 = wxString_in_helper(obj2);
7392 if (arg3 == NULL) SWIG_fail;
7393 temp3 = true;
7394 }
7395 }
7396 if (obj3) {
7397 {
7398 arg4 = &temp4;
7399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7400 }
7401 }
7402 if (obj4) {
7403 {
7404 arg5 = &temp5;
7405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7406 }
7407 }
7408 if (obj5) {
7409 ecode6 = SWIG_AsVal_long(obj5, &val6);
7410 if (!SWIG_IsOK(ecode6)) {
7411 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7412 }
7413 arg6 = static_cast< long >(val6);
7414 }
7415 if (obj6) {
7416 {
7417 arg7 = wxString_in_helper(obj6);
7418 if (arg7 == NULL) SWIG_fail;
7419 temp7 = true;
7420 }
7421 }
7422 {
7423 if (!wxPyCheckForApp()) SWIG_fail;
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7430 {
7431 if (temp3)
7432 delete arg3;
7433 }
7434 {
7435 if (temp7)
7436 delete arg7;
7437 }
7438 return resultobj;
7439 fail:
7440 {
7441 if (temp3)
7442 delete arg3;
7443 }
7444 {
7445 if (temp7)
7446 delete arg7;
7447 }
7448 return NULL;
7449 }
7450
7451
7452 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7453 PyObject *resultobj = 0;
7454 wxDialog *result = 0 ;
7455
7456 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7457 {
7458 if (!wxPyCheckForApp()) SWIG_fail;
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (wxDialog *)new wxDialog();
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj = 0;
7473 wxDialog *arg1 = (wxDialog *) 0 ;
7474 wxWindow *arg2 = (wxWindow *) 0 ;
7475 int arg3 = (int) (int)-1 ;
7476 wxString const &arg4_defvalue = wxPyEmptyString ;
7477 wxString *arg4 = (wxString *) &arg4_defvalue ;
7478 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7479 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7480 wxSize const &arg6_defvalue = wxDefaultSize ;
7481 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7482 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7483 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7484 wxString *arg8 = (wxString *) &arg8_defvalue ;
7485 bool result;
7486 void *argp1 = 0 ;
7487 int res1 = 0 ;
7488 void *argp2 = 0 ;
7489 int res2 = 0 ;
7490 int val3 ;
7491 int ecode3 = 0 ;
7492 bool temp4 = false ;
7493 wxPoint temp5 ;
7494 wxSize temp6 ;
7495 long val7 ;
7496 int ecode7 = 0 ;
7497 bool temp8 = false ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 PyObject * obj2 = 0 ;
7501 PyObject * obj3 = 0 ;
7502 PyObject * obj4 = 0 ;
7503 PyObject * obj5 = 0 ;
7504 PyObject * obj6 = 0 ;
7505 PyObject * obj7 = 0 ;
7506 char * kwnames[] = {
7507 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7508 };
7509
7510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7512 if (!SWIG_IsOK(res1)) {
7513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7514 }
7515 arg1 = reinterpret_cast< wxDialog * >(argp1);
7516 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7517 if (!SWIG_IsOK(res2)) {
7518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7519 }
7520 arg2 = reinterpret_cast< wxWindow * >(argp2);
7521 if (obj2) {
7522 ecode3 = SWIG_AsVal_int(obj2, &val3);
7523 if (!SWIG_IsOK(ecode3)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7525 }
7526 arg3 = static_cast< int >(val3);
7527 }
7528 if (obj3) {
7529 {
7530 arg4 = wxString_in_helper(obj3);
7531 if (arg4 == NULL) SWIG_fail;
7532 temp4 = true;
7533 }
7534 }
7535 if (obj4) {
7536 {
7537 arg5 = &temp5;
7538 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7539 }
7540 }
7541 if (obj5) {
7542 {
7543 arg6 = &temp6;
7544 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7545 }
7546 }
7547 if (obj6) {
7548 ecode7 = SWIG_AsVal_long(obj6, &val7);
7549 if (!SWIG_IsOK(ecode7)) {
7550 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7551 }
7552 arg7 = static_cast< long >(val7);
7553 }
7554 if (obj7) {
7555 {
7556 arg8 = wxString_in_helper(obj7);
7557 if (arg8 == NULL) SWIG_fail;
7558 temp8 = true;
7559 }
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 {
7568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7569 }
7570 {
7571 if (temp4)
7572 delete arg4;
7573 }
7574 {
7575 if (temp8)
7576 delete arg8;
7577 }
7578 return resultobj;
7579 fail:
7580 {
7581 if (temp4)
7582 delete arg4;
7583 }
7584 {
7585 if (temp8)
7586 delete arg8;
7587 }
7588 return NULL;
7589 }
7590
7591
7592 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj = 0;
7594 wxDialog *arg1 = (wxDialog *) 0 ;
7595 int arg2 ;
7596 void *argp1 = 0 ;
7597 int res1 = 0 ;
7598 int val2 ;
7599 int ecode2 = 0 ;
7600 PyObject * obj0 = 0 ;
7601 PyObject * obj1 = 0 ;
7602 char * kwnames[] = {
7603 (char *) "self",(char *) "returnCode", NULL
7604 };
7605
7606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7608 if (!SWIG_IsOK(res1)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7610 }
7611 arg1 = reinterpret_cast< wxDialog * >(argp1);
7612 ecode2 = SWIG_AsVal_int(obj1, &val2);
7613 if (!SWIG_IsOK(ecode2)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7615 }
7616 arg2 = static_cast< int >(val2);
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SetReturnCode(arg2);
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = SWIG_Py_Void();
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7631 PyObject *resultobj = 0;
7632 wxDialog *arg1 = (wxDialog *) 0 ;
7633 int result;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 PyObject *swig_obj[1] ;
7637
7638 if (!args) SWIG_fail;
7639 swig_obj[0] = args;
7640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7641 if (!SWIG_IsOK(res1)) {
7642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7643 }
7644 arg1 = reinterpret_cast< wxDialog * >(argp1);
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 resultobj = SWIG_From_int(static_cast< int >(result));
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj = 0;
7660 wxDialog *arg1 = (wxDialog *) 0 ;
7661 int arg2 ;
7662 void *argp1 = 0 ;
7663 int res1 = 0 ;
7664 int val2 ;
7665 int ecode2 = 0 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 char * kwnames[] = {
7669 (char *) "self",(char *) "affirmativeId", NULL
7670 };
7671
7672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7674 if (!SWIG_IsOK(res1)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7676 }
7677 arg1 = reinterpret_cast< wxDialog * >(argp1);
7678 ecode2 = SWIG_AsVal_int(obj1, &val2);
7679 if (!SWIG_IsOK(ecode2)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7681 }
7682 arg2 = static_cast< int >(val2);
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 (arg1)->SetAffirmativeId(arg2);
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_Py_Void();
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7697 PyObject *resultobj = 0;
7698 wxDialog *arg1 = (wxDialog *) 0 ;
7699 int result;
7700 void *argp1 = 0 ;
7701 int res1 = 0 ;
7702 PyObject *swig_obj[1] ;
7703
7704 if (!args) SWIG_fail;
7705 swig_obj[0] = args;
7706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7707 if (!SWIG_IsOK(res1)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7709 }
7710 arg1 = reinterpret_cast< wxDialog * >(argp1);
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_From_int(static_cast< int >(result));
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj = 0;
7726 wxDialog *arg1 = (wxDialog *) 0 ;
7727 int arg2 ;
7728 void *argp1 = 0 ;
7729 int res1 = 0 ;
7730 int val2 ;
7731 int ecode2 = 0 ;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 char * kwnames[] = {
7735 (char *) "self",(char *) "escapeId", NULL
7736 };
7737
7738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7740 if (!SWIG_IsOK(res1)) {
7741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7742 }
7743 arg1 = reinterpret_cast< wxDialog * >(argp1);
7744 ecode2 = SWIG_AsVal_int(obj1, &val2);
7745 if (!SWIG_IsOK(ecode2)) {
7746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7747 }
7748 arg2 = static_cast< int >(val2);
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 (arg1)->SetEscapeId(arg2);
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 resultobj = SWIG_Py_Void();
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7763 PyObject *resultobj = 0;
7764 wxDialog *arg1 = (wxDialog *) 0 ;
7765 int result;
7766 void *argp1 = 0 ;
7767 int res1 = 0 ;
7768 PyObject *swig_obj[1] ;
7769
7770 if (!args) SWIG_fail;
7771 swig_obj[0] = args;
7772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7773 if (!SWIG_IsOK(res1)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7775 }
7776 arg1 = reinterpret_cast< wxDialog * >(argp1);
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_From_int(static_cast< int >(result));
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxDialog *arg1 = (wxDialog *) 0 ;
7793 wxString *arg2 = 0 ;
7794 wxSizer *result = 0 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 bool temp2 = false ;
7798 PyObject * obj0 = 0 ;
7799 PyObject * obj1 = 0 ;
7800 char * kwnames[] = {
7801 (char *) "self",(char *) "message", NULL
7802 };
7803
7804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7806 if (!SWIG_IsOK(res1)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7808 }
7809 arg1 = reinterpret_cast< wxDialog * >(argp1);
7810 {
7811 arg2 = wxString_in_helper(obj1);
7812 if (arg2 == NULL) SWIG_fail;
7813 temp2 = true;
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 {
7822 resultobj = wxPyMake_wxObject(result, (bool)0);
7823 }
7824 {
7825 if (temp2)
7826 delete arg2;
7827 }
7828 return resultobj;
7829 fail:
7830 {
7831 if (temp2)
7832 delete arg2;
7833 }
7834 return NULL;
7835 }
7836
7837
7838 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = 0;
7840 wxDialog *arg1 = (wxDialog *) 0 ;
7841 long arg2 ;
7842 bool arg3 = (bool) false ;
7843 int arg4 = (int) 0 ;
7844 wxSizer *result = 0 ;
7845 void *argp1 = 0 ;
7846 int res1 = 0 ;
7847 long val2 ;
7848 int ecode2 = 0 ;
7849 bool val3 ;
7850 int ecode3 = 0 ;
7851 int val4 ;
7852 int ecode4 = 0 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 PyObject * obj2 = 0 ;
7856 PyObject * obj3 = 0 ;
7857 char * kwnames[] = {
7858 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7859 };
7860
7861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7863 if (!SWIG_IsOK(res1)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7865 }
7866 arg1 = reinterpret_cast< wxDialog * >(argp1);
7867 ecode2 = SWIG_AsVal_long(obj1, &val2);
7868 if (!SWIG_IsOK(ecode2)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7870 }
7871 arg2 = static_cast< long >(val2);
7872 if (obj2) {
7873 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7874 if (!SWIG_IsOK(ecode3)) {
7875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7876 }
7877 arg3 = static_cast< bool >(val3);
7878 }
7879 if (obj3) {
7880 ecode4 = SWIG_AsVal_int(obj3, &val4);
7881 if (!SWIG_IsOK(ecode4)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7883 }
7884 arg4 = static_cast< int >(val4);
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 {
7893 resultobj = wxPyMake_wxObject(result, (bool)0);
7894 }
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = 0;
7903 wxDialog *arg1 = (wxDialog *) 0 ;
7904 long arg2 ;
7905 wxStdDialogButtonSizer *result = 0 ;
7906 void *argp1 = 0 ;
7907 int res1 = 0 ;
7908 long val2 ;
7909 int ecode2 = 0 ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 char * kwnames[] = {
7913 (char *) "self",(char *) "flags", NULL
7914 };
7915
7916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7918 if (!SWIG_IsOK(res1)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7920 }
7921 arg1 = reinterpret_cast< wxDialog * >(argp1);
7922 ecode2 = SWIG_AsVal_long(obj1, &val2);
7923 if (!SWIG_IsOK(ecode2)) {
7924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7925 }
7926 arg2 = static_cast< long >(val2);
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7934 return resultobj;
7935 fail:
7936 return NULL;
7937 }
7938
7939
7940 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7941 PyObject *resultobj = 0;
7942 wxDialog *arg1 = (wxDialog *) 0 ;
7943 bool result;
7944 void *argp1 = 0 ;
7945 int res1 = 0 ;
7946 PyObject *swig_obj[1] ;
7947
7948 if (!args) SWIG_fail;
7949 swig_obj[0] = args;
7950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7951 if (!SWIG_IsOK(res1)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7953 }
7954 arg1 = reinterpret_cast< wxDialog * >(argp1);
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (bool)((wxDialog const *)arg1)->IsModal();
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 {
7962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7963 }
7964 return resultobj;
7965 fail:
7966 return NULL;
7967 }
7968
7969
7970 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7971 PyObject *resultobj = 0;
7972 wxDialog *arg1 = (wxDialog *) 0 ;
7973 int result;
7974 void *argp1 = 0 ;
7975 int res1 = 0 ;
7976 PyObject *swig_obj[1] ;
7977
7978 if (!args) SWIG_fail;
7979 swig_obj[0] = args;
7980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7981 if (!SWIG_IsOK(res1)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7983 }
7984 arg1 = reinterpret_cast< wxDialog * >(argp1);
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (int)(arg1)->ShowModal();
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_From_int(static_cast< int >(result));
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj = 0;
8000 wxDialog *arg1 = (wxDialog *) 0 ;
8001 int arg2 ;
8002 void *argp1 = 0 ;
8003 int res1 = 0 ;
8004 int val2 ;
8005 int ecode2 = 0 ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 char * kwnames[] = {
8009 (char *) "self",(char *) "retCode", NULL
8010 };
8011
8012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8016 }
8017 arg1 = reinterpret_cast< wxDialog * >(argp1);
8018 ecode2 = SWIG_AsVal_int(obj1, &val2);
8019 if (!SWIG_IsOK(ecode2)) {
8020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8021 }
8022 arg2 = static_cast< int >(val2);
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->EndModal(arg2);
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_Py_Void();
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj = 0;
8038 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8039 SwigValueWrapper<wxVisualAttributes > result;
8040 int val1 ;
8041 int ecode1 = 0 ;
8042 PyObject * obj0 = 0 ;
8043 char * kwnames[] = {
8044 (char *) "variant", NULL
8045 };
8046
8047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8048 if (obj0) {
8049 ecode1 = SWIG_AsVal_int(obj0, &val1);
8050 if (!SWIG_IsOK(ecode1)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8052 }
8053 arg1 = static_cast< wxWindowVariant >(val1);
8054 }
8055 {
8056 if (!wxPyCheckForApp()) SWIG_fail;
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 result = wxDialog::GetClassDefaultAttributes(arg1);
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8070 PyObject *obj;
8071 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8072 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8073 return SWIG_Py_Void();
8074 }
8075
8076 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8077 return SWIG_Python_InitShadowInstance(args);
8078 }
8079
8080 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj = 0;
8082 wxWindow *arg1 = (wxWindow *) 0 ;
8083 int arg2 = (int) (int)-1 ;
8084 wxString const &arg3_defvalue = wxPyEmptyString ;
8085 wxString *arg3 = (wxString *) &arg3_defvalue ;
8086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8088 wxSize const &arg5_defvalue = wxDefaultSize ;
8089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8090 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8091 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8092 wxString *arg7 = (wxString *) &arg7_defvalue ;
8093 wxMiniFrame *result = 0 ;
8094 void *argp1 = 0 ;
8095 int res1 = 0 ;
8096 int val2 ;
8097 int ecode2 = 0 ;
8098 bool temp3 = false ;
8099 wxPoint temp4 ;
8100 wxSize temp5 ;
8101 long val6 ;
8102 int ecode6 = 0 ;
8103 bool temp7 = false ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 PyObject * obj2 = 0 ;
8107 PyObject * obj3 = 0 ;
8108 PyObject * obj4 = 0 ;
8109 PyObject * obj5 = 0 ;
8110 PyObject * obj6 = 0 ;
8111 char * kwnames[] = {
8112 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8113 };
8114
8115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8117 if (!SWIG_IsOK(res1)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8119 }
8120 arg1 = reinterpret_cast< wxWindow * >(argp1);
8121 if (obj1) {
8122 ecode2 = SWIG_AsVal_int(obj1, &val2);
8123 if (!SWIG_IsOK(ecode2)) {
8124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8125 }
8126 arg2 = static_cast< int >(val2);
8127 }
8128 if (obj2) {
8129 {
8130 arg3 = wxString_in_helper(obj2);
8131 if (arg3 == NULL) SWIG_fail;
8132 temp3 = true;
8133 }
8134 }
8135 if (obj3) {
8136 {
8137 arg4 = &temp4;
8138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8139 }
8140 }
8141 if (obj4) {
8142 {
8143 arg5 = &temp5;
8144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8145 }
8146 }
8147 if (obj5) {
8148 ecode6 = SWIG_AsVal_long(obj5, &val6);
8149 if (!SWIG_IsOK(ecode6)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8151 }
8152 arg6 = static_cast< long >(val6);
8153 }
8154 if (obj6) {
8155 {
8156 arg7 = wxString_in_helper(obj6);
8157 if (arg7 == NULL) SWIG_fail;
8158 temp7 = true;
8159 }
8160 }
8161 {
8162 if (!wxPyCheckForApp()) SWIG_fail;
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8165 wxPyEndAllowThreads(__tstate);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8169 {
8170 if (temp3)
8171 delete arg3;
8172 }
8173 {
8174 if (temp7)
8175 delete arg7;
8176 }
8177 return resultobj;
8178 fail:
8179 {
8180 if (temp3)
8181 delete arg3;
8182 }
8183 {
8184 if (temp7)
8185 delete arg7;
8186 }
8187 return NULL;
8188 }
8189
8190
8191 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8192 PyObject *resultobj = 0;
8193 wxMiniFrame *result = 0 ;
8194
8195 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8196 {
8197 if (!wxPyCheckForApp()) SWIG_fail;
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (wxMiniFrame *)new wxMiniFrame();
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8213 wxWindow *arg2 = (wxWindow *) 0 ;
8214 int arg3 = (int) (int)-1 ;
8215 wxString const &arg4_defvalue = wxPyEmptyString ;
8216 wxString *arg4 = (wxString *) &arg4_defvalue ;
8217 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8218 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8219 wxSize const &arg6_defvalue = wxDefaultSize ;
8220 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8221 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8222 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8223 wxString *arg8 = (wxString *) &arg8_defvalue ;
8224 bool result;
8225 void *argp1 = 0 ;
8226 int res1 = 0 ;
8227 void *argp2 = 0 ;
8228 int res2 = 0 ;
8229 int val3 ;
8230 int ecode3 = 0 ;
8231 bool temp4 = false ;
8232 wxPoint temp5 ;
8233 wxSize temp6 ;
8234 long val7 ;
8235 int ecode7 = 0 ;
8236 bool temp8 = false ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 PyObject * obj2 = 0 ;
8240 PyObject * obj3 = 0 ;
8241 PyObject * obj4 = 0 ;
8242 PyObject * obj5 = 0 ;
8243 PyObject * obj6 = 0 ;
8244 PyObject * obj7 = 0 ;
8245 char * kwnames[] = {
8246 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8247 };
8248
8249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8251 if (!SWIG_IsOK(res1)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8253 }
8254 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8255 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8256 if (!SWIG_IsOK(res2)) {
8257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8258 }
8259 arg2 = reinterpret_cast< wxWindow * >(argp2);
8260 if (obj2) {
8261 ecode3 = SWIG_AsVal_int(obj2, &val3);
8262 if (!SWIG_IsOK(ecode3)) {
8263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8264 }
8265 arg3 = static_cast< int >(val3);
8266 }
8267 if (obj3) {
8268 {
8269 arg4 = wxString_in_helper(obj3);
8270 if (arg4 == NULL) SWIG_fail;
8271 temp4 = true;
8272 }
8273 }
8274 if (obj4) {
8275 {
8276 arg5 = &temp5;
8277 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8278 }
8279 }
8280 if (obj5) {
8281 {
8282 arg6 = &temp6;
8283 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8284 }
8285 }
8286 if (obj6) {
8287 ecode7 = SWIG_AsVal_long(obj6, &val7);
8288 if (!SWIG_IsOK(ecode7)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8290 }
8291 arg7 = static_cast< long >(val7);
8292 }
8293 if (obj7) {
8294 {
8295 arg8 = wxString_in_helper(obj7);
8296 if (arg8 == NULL) SWIG_fail;
8297 temp8 = true;
8298 }
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 {
8307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8308 }
8309 {
8310 if (temp4)
8311 delete arg4;
8312 }
8313 {
8314 if (temp8)
8315 delete arg8;
8316 }
8317 return resultobj;
8318 fail:
8319 {
8320 if (temp4)
8321 delete arg4;
8322 }
8323 {
8324 if (temp8)
8325 delete arg8;
8326 }
8327 return NULL;
8328 }
8329
8330
8331 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8332 PyObject *obj;
8333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8334 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8335 return SWIG_Py_Void();
8336 }
8337
8338 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8339 return SWIG_Python_InitShadowInstance(args);
8340 }
8341
8342 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj = 0;
8344 wxBitmap *arg1 = 0 ;
8345 wxWindow *arg2 = (wxWindow *) 0 ;
8346 int arg3 ;
8347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8349 wxSize const &arg5_defvalue = wxDefaultSize ;
8350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8351 long arg6 = (long) wxNO_BORDER ;
8352 wxSplashScreenWindow *result = 0 ;
8353 void *argp1 = 0 ;
8354 int res1 = 0 ;
8355 void *argp2 = 0 ;
8356 int res2 = 0 ;
8357 int val3 ;
8358 int ecode3 = 0 ;
8359 wxPoint temp4 ;
8360 wxSize temp5 ;
8361 long val6 ;
8362 int ecode6 = 0 ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 PyObject * obj2 = 0 ;
8366 PyObject * obj3 = 0 ;
8367 PyObject * obj4 = 0 ;
8368 PyObject * obj5 = 0 ;
8369 char * kwnames[] = {
8370 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8371 };
8372
8373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8374 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8375 if (!SWIG_IsOK(res1)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8377 }
8378 if (!argp1) {
8379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 }
8381 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8382 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8383 if (!SWIG_IsOK(res2)) {
8384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8385 }
8386 arg2 = reinterpret_cast< wxWindow * >(argp2);
8387 ecode3 = SWIG_AsVal_int(obj2, &val3);
8388 if (!SWIG_IsOK(ecode3)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8390 }
8391 arg3 = static_cast< int >(val3);
8392 if (obj3) {
8393 {
8394 arg4 = &temp4;
8395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8396 }
8397 }
8398 if (obj4) {
8399 {
8400 arg5 = &temp5;
8401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8402 }
8403 }
8404 if (obj5) {
8405 ecode6 = SWIG_AsVal_long(obj5, &val6);
8406 if (!SWIG_IsOK(ecode6)) {
8407 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8408 }
8409 arg6 = static_cast< long >(val6);
8410 }
8411 {
8412 if (!wxPyCheckForApp()) SWIG_fail;
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj = 0;
8427 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8428 wxBitmap *arg2 = 0 ;
8429 void *argp1 = 0 ;
8430 int res1 = 0 ;
8431 void *argp2 = 0 ;
8432 int res2 = 0 ;
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 char * kwnames[] = {
8436 (char *) "self",(char *) "bitmap", NULL
8437 };
8438
8439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8441 if (!SWIG_IsOK(res1)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8443 }
8444 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8445 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8446 if (!SWIG_IsOK(res2)) {
8447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8448 }
8449 if (!argp2) {
8450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 }
8452 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = SWIG_Py_Void();
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8467 PyObject *resultobj = 0;
8468 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8469 wxBitmap *result = 0 ;
8470 void *argp1 = 0 ;
8471 int res1 = 0 ;
8472 PyObject *swig_obj[1] ;
8473
8474 if (!args) SWIG_fail;
8475 swig_obj[0] = args;
8476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8477 if (!SWIG_IsOK(res1)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8479 }
8480 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 {
8484 wxBitmap &_result_ref = (arg1)->GetBitmap();
8485 result = (wxBitmap *) &_result_ref;
8486 }
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 {
8491 wxBitmap* resultptr = new wxBitmap(*result);
8492 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8493 }
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 PyObject *obj;
8502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8503 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8504 return SWIG_Py_Void();
8505 }
8506
8507 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8508 return SWIG_Python_InitShadowInstance(args);
8509 }
8510
8511 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj = 0;
8513 wxBitmap *arg1 = 0 ;
8514 long arg2 ;
8515 int arg3 ;
8516 wxWindow *arg4 = (wxWindow *) 0 ;
8517 int arg5 = (int) -1 ;
8518 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8519 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8520 wxSize const &arg7_defvalue = wxDefaultSize ;
8521 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8522 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8523 wxSplashScreen *result = 0 ;
8524 void *argp1 = 0 ;
8525 int res1 = 0 ;
8526 long val2 ;
8527 int ecode2 = 0 ;
8528 int val3 ;
8529 int ecode3 = 0 ;
8530 void *argp4 = 0 ;
8531 int res4 = 0 ;
8532 int val5 ;
8533 int ecode5 = 0 ;
8534 wxPoint temp6 ;
8535 wxSize temp7 ;
8536 long val8 ;
8537 int ecode8 = 0 ;
8538 PyObject * obj0 = 0 ;
8539 PyObject * obj1 = 0 ;
8540 PyObject * obj2 = 0 ;
8541 PyObject * obj3 = 0 ;
8542 PyObject * obj4 = 0 ;
8543 PyObject * obj5 = 0 ;
8544 PyObject * obj6 = 0 ;
8545 PyObject * obj7 = 0 ;
8546 char * kwnames[] = {
8547 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8548 };
8549
8550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8551 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8552 if (!SWIG_IsOK(res1)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8554 }
8555 if (!argp1) {
8556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 }
8558 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8559 ecode2 = SWIG_AsVal_long(obj1, &val2);
8560 if (!SWIG_IsOK(ecode2)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8562 }
8563 arg2 = static_cast< long >(val2);
8564 ecode3 = SWIG_AsVal_int(obj2, &val3);
8565 if (!SWIG_IsOK(ecode3)) {
8566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8567 }
8568 arg3 = static_cast< int >(val3);
8569 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8570 if (!SWIG_IsOK(res4)) {
8571 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8572 }
8573 arg4 = reinterpret_cast< wxWindow * >(argp4);
8574 if (obj4) {
8575 ecode5 = SWIG_AsVal_int(obj4, &val5);
8576 if (!SWIG_IsOK(ecode5)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8578 }
8579 arg5 = static_cast< int >(val5);
8580 }
8581 if (obj5) {
8582 {
8583 arg6 = &temp6;
8584 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8585 }
8586 }
8587 if (obj6) {
8588 {
8589 arg7 = &temp7;
8590 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8591 }
8592 }
8593 if (obj7) {
8594 ecode8 = SWIG_AsVal_long(obj7, &val8);
8595 if (!SWIG_IsOK(ecode8)) {
8596 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8597 }
8598 arg8 = static_cast< long >(val8);
8599 }
8600 {
8601 if (!wxPyCheckForApp()) SWIG_fail;
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8615 PyObject *resultobj = 0;
8616 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8617 long result;
8618 void *argp1 = 0 ;
8619 int res1 = 0 ;
8620 PyObject *swig_obj[1] ;
8621
8622 if (!args) SWIG_fail;
8623 swig_obj[0] = args;
8624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8625 if (!SWIG_IsOK(res1)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8627 }
8628 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 resultobj = SWIG_From_long(static_cast< long >(result));
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8643 PyObject *resultobj = 0;
8644 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8645 wxSplashScreenWindow *result = 0 ;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 PyObject *swig_obj[1] ;
8649
8650 if (!args) SWIG_fail;
8651 swig_obj[0] = args;
8652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8653 if (!SWIG_IsOK(res1)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8655 }
8656 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8671 PyObject *resultobj = 0;
8672 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8673 int result;
8674 void *argp1 = 0 ;
8675 int res1 = 0 ;
8676 PyObject *swig_obj[1] ;
8677
8678 if (!args) SWIG_fail;
8679 swig_obj[0] = args;
8680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8681 if (!SWIG_IsOK(res1)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8683 }
8684 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 resultobj = SWIG_From_int(static_cast< int >(result));
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8699 PyObject *obj;
8700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8701 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8702 return SWIG_Py_Void();
8703 }
8704
8705 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8706 return SWIG_Python_InitShadowInstance(args);
8707 }
8708
8709 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj = 0;
8711 wxWindow *arg1 = (wxWindow *) 0 ;
8712 int arg2 = (int) -1 ;
8713 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8714 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8715 wxString *arg4 = (wxString *) &arg4_defvalue ;
8716 wxStatusBar *result = 0 ;
8717 void *argp1 = 0 ;
8718 int res1 = 0 ;
8719 int val2 ;
8720 int ecode2 = 0 ;
8721 long val3 ;
8722 int ecode3 = 0 ;
8723 bool temp4 = false ;
8724 PyObject * obj0 = 0 ;
8725 PyObject * obj1 = 0 ;
8726 PyObject * obj2 = 0 ;
8727 PyObject * obj3 = 0 ;
8728 char * kwnames[] = {
8729 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8730 };
8731
8732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8734 if (!SWIG_IsOK(res1)) {
8735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8736 }
8737 arg1 = reinterpret_cast< wxWindow * >(argp1);
8738 if (obj1) {
8739 ecode2 = SWIG_AsVal_int(obj1, &val2);
8740 if (!SWIG_IsOK(ecode2)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8742 }
8743 arg2 = static_cast< int >(val2);
8744 }
8745 if (obj2) {
8746 ecode3 = SWIG_AsVal_long(obj2, &val3);
8747 if (!SWIG_IsOK(ecode3)) {
8748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8749 }
8750 arg3 = static_cast< long >(val3);
8751 }
8752 if (obj3) {
8753 {
8754 arg4 = wxString_in_helper(obj3);
8755 if (arg4 == NULL) SWIG_fail;
8756 temp4 = true;
8757 }
8758 }
8759 {
8760 if (!wxPyCheckForApp()) SWIG_fail;
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8767 {
8768 if (temp4)
8769 delete arg4;
8770 }
8771 return resultobj;
8772 fail:
8773 {
8774 if (temp4)
8775 delete arg4;
8776 }
8777 return NULL;
8778 }
8779
8780
8781 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8782 PyObject *resultobj = 0;
8783 wxStatusBar *result = 0 ;
8784
8785 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8786 {
8787 if (!wxPyCheckForApp()) SWIG_fail;
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 result = (wxStatusBar *)new wxStatusBar();
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj = 0;
8802 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8803 wxWindow *arg2 = (wxWindow *) 0 ;
8804 int arg3 = (int) -1 ;
8805 long arg4 = (long) wxST_SIZEGRIP ;
8806 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8807 wxString *arg5 = (wxString *) &arg5_defvalue ;
8808 bool result;
8809 void *argp1 = 0 ;
8810 int res1 = 0 ;
8811 void *argp2 = 0 ;
8812 int res2 = 0 ;
8813 int val3 ;
8814 int ecode3 = 0 ;
8815 long val4 ;
8816 int ecode4 = 0 ;
8817 bool temp5 = false ;
8818 PyObject * obj0 = 0 ;
8819 PyObject * obj1 = 0 ;
8820 PyObject * obj2 = 0 ;
8821 PyObject * obj3 = 0 ;
8822 PyObject * obj4 = 0 ;
8823 char * kwnames[] = {
8824 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8825 };
8826
8827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8829 if (!SWIG_IsOK(res1)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8831 }
8832 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8833 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8834 if (!SWIG_IsOK(res2)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8836 }
8837 arg2 = reinterpret_cast< wxWindow * >(argp2);
8838 if (obj2) {
8839 ecode3 = SWIG_AsVal_int(obj2, &val3);
8840 if (!SWIG_IsOK(ecode3)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8842 }
8843 arg3 = static_cast< int >(val3);
8844 }
8845 if (obj3) {
8846 ecode4 = SWIG_AsVal_long(obj3, &val4);
8847 if (!SWIG_IsOK(ecode4)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8849 }
8850 arg4 = static_cast< long >(val4);
8851 }
8852 if (obj4) {
8853 {
8854 arg5 = wxString_in_helper(obj4);
8855 if (arg5 == NULL) SWIG_fail;
8856 temp5 = true;
8857 }
8858 }
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 {
8866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8867 }
8868 {
8869 if (temp5)
8870 delete arg5;
8871 }
8872 return resultobj;
8873 fail:
8874 {
8875 if (temp5)
8876 delete arg5;
8877 }
8878 return NULL;
8879 }
8880
8881
8882 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj = 0;
8884 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8885 int arg2 = (int) 1 ;
8886 void *argp1 = 0 ;
8887 int res1 = 0 ;
8888 int val2 ;
8889 int ecode2 = 0 ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 char * kwnames[] = {
8893 (char *) "self",(char *) "number", NULL
8894 };
8895
8896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8898 if (!SWIG_IsOK(res1)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8900 }
8901 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8902 if (obj1) {
8903 ecode2 = SWIG_AsVal_int(obj1, &val2);
8904 if (!SWIG_IsOK(ecode2)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8906 }
8907 arg2 = static_cast< int >(val2);
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->SetFieldsCount(arg2);
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = SWIG_Py_Void();
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8923 PyObject *resultobj = 0;
8924 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8925 int result;
8926 void *argp1 = 0 ;
8927 int res1 = 0 ;
8928 PyObject *swig_obj[1] ;
8929
8930 if (!args) SWIG_fail;
8931 swig_obj[0] = args;
8932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8933 if (!SWIG_IsOK(res1)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8935 }
8936 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 resultobj = SWIG_From_int(static_cast< int >(result));
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj = 0;
8952 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8953 wxString *arg2 = 0 ;
8954 int arg3 = (int) 0 ;
8955 void *argp1 = 0 ;
8956 int res1 = 0 ;
8957 bool temp2 = false ;
8958 int val3 ;
8959 int ecode3 = 0 ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 PyObject * obj2 = 0 ;
8963 char * kwnames[] = {
8964 (char *) "self",(char *) "text",(char *) "number", NULL
8965 };
8966
8967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8969 if (!SWIG_IsOK(res1)) {
8970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8971 }
8972 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8973 {
8974 arg2 = wxString_in_helper(obj1);
8975 if (arg2 == NULL) SWIG_fail;
8976 temp2 = true;
8977 }
8978 if (obj2) {
8979 ecode3 = SWIG_AsVal_int(obj2, &val3);
8980 if (!SWIG_IsOK(ecode3)) {
8981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8982 }
8983 arg3 = static_cast< int >(val3);
8984 }
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 resultobj = SWIG_Py_Void();
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return resultobj;
8997 fail:
8998 {
8999 if (temp2)
9000 delete arg2;
9001 }
9002 return NULL;
9003 }
9004
9005
9006 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj = 0;
9008 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9009 int arg2 = (int) 0 ;
9010 wxString result;
9011 void *argp1 = 0 ;
9012 int res1 = 0 ;
9013 int val2 ;
9014 int ecode2 = 0 ;
9015 PyObject * obj0 = 0 ;
9016 PyObject * obj1 = 0 ;
9017 char * kwnames[] = {
9018 (char *) "self",(char *) "number", NULL
9019 };
9020
9021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9023 if (!SWIG_IsOK(res1)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9025 }
9026 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9027 if (obj1) {
9028 ecode2 = SWIG_AsVal_int(obj1, &val2);
9029 if (!SWIG_IsOK(ecode2)) {
9030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9031 }
9032 arg2 = static_cast< int >(val2);
9033 }
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 {
9041 #if wxUSE_UNICODE
9042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9043 #else
9044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9045 #endif
9046 }
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj = 0;
9055 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9056 wxString *arg2 = 0 ;
9057 int arg3 = (int) 0 ;
9058 void *argp1 = 0 ;
9059 int res1 = 0 ;
9060 bool temp2 = false ;
9061 int val3 ;
9062 int ecode3 = 0 ;
9063 PyObject * obj0 = 0 ;
9064 PyObject * obj1 = 0 ;
9065 PyObject * obj2 = 0 ;
9066 char * kwnames[] = {
9067 (char *) "self",(char *) "text",(char *) "number", NULL
9068 };
9069
9070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9072 if (!SWIG_IsOK(res1)) {
9073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9074 }
9075 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9076 {
9077 arg2 = wxString_in_helper(obj1);
9078 if (arg2 == NULL) SWIG_fail;
9079 temp2 = true;
9080 }
9081 if (obj2) {
9082 ecode3 = SWIG_AsVal_int(obj2, &val3);
9083 if (!SWIG_IsOK(ecode3)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9085 }
9086 arg3 = static_cast< int >(val3);
9087 }
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 resultobj = SWIG_Py_Void();
9095 {
9096 if (temp2)
9097 delete arg2;
9098 }
9099 return resultobj;
9100 fail:
9101 {
9102 if (temp2)
9103 delete arg2;
9104 }
9105 return NULL;
9106 }
9107
9108
9109 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj = 0;
9111 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9112 int arg2 = (int) 0 ;
9113 void *argp1 = 0 ;
9114 int res1 = 0 ;
9115 int val2 ;
9116 int ecode2 = 0 ;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 char * kwnames[] = {
9120 (char *) "self",(char *) "number", NULL
9121 };
9122
9123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9125 if (!SWIG_IsOK(res1)) {
9126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9127 }
9128 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9129 if (obj1) {
9130 ecode2 = SWIG_AsVal_int(obj1, &val2);
9131 if (!SWIG_IsOK(ecode2)) {
9132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9133 }
9134 arg2 = static_cast< int >(val2);
9135 }
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 (arg1)->PopStatusText(arg2);
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 resultobj = SWIG_Py_Void();
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj = 0;
9151 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9152 int arg2 ;
9153 int *arg3 = (int *) 0 ;
9154 void *argp1 = 0 ;
9155 int res1 = 0 ;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 char * kwnames[] = {
9159 (char *) "self",(char *) "widths", NULL
9160 };
9161
9162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9164 if (!SWIG_IsOK(res1)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9166 }
9167 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9168 {
9169 arg2 = PyList_Size(obj1);
9170 arg3 = int_LIST_helper(obj1);
9171 if (arg3 == NULL) SWIG_fail;
9172 }
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_Py_Void();
9180 {
9181 if (arg3) delete [] arg3;
9182 }
9183 return resultobj;
9184 fail:
9185 {
9186 if (arg3) delete [] arg3;
9187 }
9188 return NULL;
9189 }
9190
9191
9192 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj = 0;
9194 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9195 int arg2 ;
9196 int *arg3 = (int *) 0 ;
9197 void *argp1 = 0 ;
9198 int res1 = 0 ;
9199 PyObject * obj0 = 0 ;
9200 PyObject * obj1 = 0 ;
9201 char * kwnames[] = {
9202 (char *) "self",(char *) "styles", NULL
9203 };
9204
9205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9207 if (!SWIG_IsOK(res1)) {
9208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9209 }
9210 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9211 {
9212 arg2 = PyList_Size(obj1);
9213 arg3 = int_LIST_helper(obj1);
9214 if (arg3 == NULL) SWIG_fail;
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_Py_Void();
9223 {
9224 if (arg3) delete [] arg3;
9225 }
9226 return resultobj;
9227 fail:
9228 {
9229 if (arg3) delete [] arg3;
9230 }
9231 return NULL;
9232 }
9233
9234
9235 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj = 0;
9237 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9238 int arg2 ;
9239 wxRect result;
9240 void *argp1 = 0 ;
9241 int res1 = 0 ;
9242 int val2 ;
9243 int ecode2 = 0 ;
9244 PyObject * obj0 = 0 ;
9245 PyObject * obj1 = 0 ;
9246 char * kwnames[] = {
9247 (char *) "self",(char *) "i", NULL
9248 };
9249
9250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9252 if (!SWIG_IsOK(res1)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9254 }
9255 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9256 ecode2 = SWIG_AsVal_int(obj1, &val2);
9257 if (!SWIG_IsOK(ecode2)) {
9258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9259 }
9260 arg2 = static_cast< int >(val2);
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = wxStatusBar_GetFieldRect(arg1,arg2);
9264 wxPyEndAllowThreads(__tstate);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9268 return resultobj;
9269 fail:
9270 return NULL;
9271 }
9272
9273
9274 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9275 PyObject *resultobj = 0;
9276 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9277 int arg2 ;
9278 void *argp1 = 0 ;
9279 int res1 = 0 ;
9280 int val2 ;
9281 int ecode2 = 0 ;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj1 = 0 ;
9284 char * kwnames[] = {
9285 (char *) "self",(char *) "height", NULL
9286 };
9287
9288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9290 if (!SWIG_IsOK(res1)) {
9291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9292 }
9293 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9294 ecode2 = SWIG_AsVal_int(obj1, &val2);
9295 if (!SWIG_IsOK(ecode2)) {
9296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9297 }
9298 arg2 = static_cast< int >(val2);
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->SetMinHeight(arg2);
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_Py_Void();
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9313 PyObject *resultobj = 0;
9314 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9315 int result;
9316 void *argp1 = 0 ;
9317 int res1 = 0 ;
9318 PyObject *swig_obj[1] ;
9319
9320 if (!args) SWIG_fail;
9321 swig_obj[0] = args;
9322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9323 if (!SWIG_IsOK(res1)) {
9324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9325 }
9326 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = SWIG_From_int(static_cast< int >(result));
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9341 PyObject *resultobj = 0;
9342 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9343 int result;
9344 void *argp1 = 0 ;
9345 int res1 = 0 ;
9346 PyObject *swig_obj[1] ;
9347
9348 if (!args) SWIG_fail;
9349 swig_obj[0] = args;
9350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9351 if (!SWIG_IsOK(res1)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9353 }
9354 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 resultobj = SWIG_From_int(static_cast< int >(result));
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj = 0;
9370 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9371 SwigValueWrapper<wxVisualAttributes > result;
9372 int val1 ;
9373 int ecode1 = 0 ;
9374 PyObject * obj0 = 0 ;
9375 char * kwnames[] = {
9376 (char *) "variant", NULL
9377 };
9378
9379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9380 if (obj0) {
9381 ecode1 = SWIG_AsVal_int(obj0, &val1);
9382 if (!SWIG_IsOK(ecode1)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9384 }
9385 arg1 = static_cast< wxWindowVariant >(val1);
9386 }
9387 {
9388 if (!wxPyCheckForApp()) SWIG_fail;
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9402 PyObject *obj;
9403 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9404 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9405 return SWIG_Py_Void();
9406 }
9407
9408 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9409 return SWIG_Python_InitShadowInstance(args);
9410 }
9411
9412 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9413 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9414 return 1;
9415 }
9416
9417
9418 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9419 PyObject *pyobj = 0;
9420
9421 {
9422 #if wxUSE_UNICODE
9423 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9424 #else
9425 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9426 #endif
9427 }
9428 return pyobj;
9429 }
9430
9431
9432 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj = 0;
9434 wxWindow *arg1 = (wxWindow *) 0 ;
9435 int arg2 = (int) -1 ;
9436 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9437 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9438 wxSize const &arg4_defvalue = wxDefaultSize ;
9439 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9440 long arg5 = (long) wxSP_3D ;
9441 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9442 wxString *arg6 = (wxString *) &arg6_defvalue ;
9443 wxSplitterWindow *result = 0 ;
9444 void *argp1 = 0 ;
9445 int res1 = 0 ;
9446 int val2 ;
9447 int ecode2 = 0 ;
9448 wxPoint temp3 ;
9449 wxSize temp4 ;
9450 long val5 ;
9451 int ecode5 = 0 ;
9452 bool temp6 = false ;
9453 PyObject * obj0 = 0 ;
9454 PyObject * obj1 = 0 ;
9455 PyObject * obj2 = 0 ;
9456 PyObject * obj3 = 0 ;
9457 PyObject * obj4 = 0 ;
9458 PyObject * obj5 = 0 ;
9459 char * kwnames[] = {
9460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9461 };
9462
9463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9465 if (!SWIG_IsOK(res1)) {
9466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9467 }
9468 arg1 = reinterpret_cast< wxWindow * >(argp1);
9469 if (obj1) {
9470 ecode2 = SWIG_AsVal_int(obj1, &val2);
9471 if (!SWIG_IsOK(ecode2)) {
9472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9473 }
9474 arg2 = static_cast< int >(val2);
9475 }
9476 if (obj2) {
9477 {
9478 arg3 = &temp3;
9479 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9480 }
9481 }
9482 if (obj3) {
9483 {
9484 arg4 = &temp4;
9485 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9486 }
9487 }
9488 if (obj4) {
9489 ecode5 = SWIG_AsVal_long(obj4, &val5);
9490 if (!SWIG_IsOK(ecode5)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9492 }
9493 arg5 = static_cast< long >(val5);
9494 }
9495 if (obj5) {
9496 {
9497 arg6 = wxString_in_helper(obj5);
9498 if (arg6 == NULL) SWIG_fail;
9499 temp6 = true;
9500 }
9501 }
9502 {
9503 if (!wxPyCheckForApp()) SWIG_fail;
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9510 {
9511 if (temp6)
9512 delete arg6;
9513 }
9514 return resultobj;
9515 fail:
9516 {
9517 if (temp6)
9518 delete arg6;
9519 }
9520 return NULL;
9521 }
9522
9523
9524 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9525 PyObject *resultobj = 0;
9526 wxSplitterWindow *result = 0 ;
9527
9528 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9529 {
9530 if (!wxPyCheckForApp()) SWIG_fail;
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (wxSplitterWindow *)new wxSplitterWindow();
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9537 return resultobj;
9538 fail:
9539 return NULL;
9540 }
9541
9542
9543 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj = 0;
9545 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9546 wxWindow *arg2 = (wxWindow *) 0 ;
9547 int arg3 = (int) -1 ;
9548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9550 wxSize const &arg5_defvalue = wxDefaultSize ;
9551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9552 long arg6 = (long) wxSP_3D ;
9553 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9554 wxString *arg7 = (wxString *) &arg7_defvalue ;
9555 bool result;
9556 void *argp1 = 0 ;
9557 int res1 = 0 ;
9558 void *argp2 = 0 ;
9559 int res2 = 0 ;
9560 int val3 ;
9561 int ecode3 = 0 ;
9562 wxPoint temp4 ;
9563 wxSize temp5 ;
9564 long val6 ;
9565 int ecode6 = 0 ;
9566 bool temp7 = false ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 PyObject * obj2 = 0 ;
9570 PyObject * obj3 = 0 ;
9571 PyObject * obj4 = 0 ;
9572 PyObject * obj5 = 0 ;
9573 PyObject * obj6 = 0 ;
9574 char * kwnames[] = {
9575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9576 };
9577
9578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res1)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9582 }
9583 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9585 if (!SWIG_IsOK(res2)) {
9586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9587 }
9588 arg2 = reinterpret_cast< wxWindow * >(argp2);
9589 if (obj2) {
9590 ecode3 = SWIG_AsVal_int(obj2, &val3);
9591 if (!SWIG_IsOK(ecode3)) {
9592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9593 }
9594 arg3 = static_cast< int >(val3);
9595 }
9596 if (obj3) {
9597 {
9598 arg4 = &temp4;
9599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9600 }
9601 }
9602 if (obj4) {
9603 {
9604 arg5 = &temp5;
9605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9606 }
9607 }
9608 if (obj5) {
9609 ecode6 = SWIG_AsVal_long(obj5, &val6);
9610 if (!SWIG_IsOK(ecode6)) {
9611 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9612 }
9613 arg6 = static_cast< long >(val6);
9614 }
9615 if (obj6) {
9616 {
9617 arg7 = wxString_in_helper(obj6);
9618 if (arg7 == NULL) SWIG_fail;
9619 temp7 = true;
9620 }
9621 }
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9630 }
9631 {
9632 if (temp7)
9633 delete arg7;
9634 }
9635 return resultobj;
9636 fail:
9637 {
9638 if (temp7)
9639 delete arg7;
9640 }
9641 return NULL;
9642 }
9643
9644
9645 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9646 PyObject *resultobj = 0;
9647 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9648 wxWindow *result = 0 ;
9649 void *argp1 = 0 ;
9650 int res1 = 0 ;
9651 PyObject *swig_obj[1] ;
9652
9653 if (!args) SWIG_fail;
9654 swig_obj[0] = args;
9655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9656 if (!SWIG_IsOK(res1)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9658 }
9659 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 {
9667 resultobj = wxPyMake_wxObject(result, 0);
9668 }
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9676 PyObject *resultobj = 0;
9677 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9678 wxWindow *result = 0 ;
9679 void *argp1 = 0 ;
9680 int res1 = 0 ;
9681 PyObject *swig_obj[1] ;
9682
9683 if (!args) SWIG_fail;
9684 swig_obj[0] = args;
9685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9686 if (!SWIG_IsOK(res1)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9688 }
9689 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 resultobj = wxPyMake_wxObject(result, 0);
9698 }
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = 0;
9707 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9708 int arg2 ;
9709 void *argp1 = 0 ;
9710 int res1 = 0 ;
9711 int val2 ;
9712 int ecode2 = 0 ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char * kwnames[] = {
9716 (char *) "self",(char *) "mode", NULL
9717 };
9718
9719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9723 }
9724 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9725 ecode2 = SWIG_AsVal_int(obj1, &val2);
9726 if (!SWIG_IsOK(ecode2)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9728 }
9729 arg2 = static_cast< int >(val2);
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->SetSplitMode(arg2);
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 resultobj = SWIG_Py_Void();
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9744 PyObject *resultobj = 0;
9745 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9746 wxSplitMode result;
9747 void *argp1 = 0 ;
9748 int res1 = 0 ;
9749 PyObject *swig_obj[1] ;
9750
9751 if (!args) SWIG_fail;
9752 swig_obj[0] = args;
9753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9754 if (!SWIG_IsOK(res1)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9756 }
9757 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 resultobj = SWIG_From_int(static_cast< int >(result));
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj = 0;
9773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9774 wxWindow *arg2 = (wxWindow *) 0 ;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 void *argp2 = 0 ;
9778 int res2 = 0 ;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 char * kwnames[] = {
9782 (char *) "self",(char *) "window", NULL
9783 };
9784
9785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9787 if (!SWIG_IsOK(res1)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9789 }
9790 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9792 if (!SWIG_IsOK(res2)) {
9793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9794 }
9795 arg2 = reinterpret_cast< wxWindow * >(argp2);
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 (arg1)->Initialize(arg2);
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_Py_Void();
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj = 0;
9811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9812 wxWindow *arg2 = (wxWindow *) 0 ;
9813 wxWindow *arg3 = (wxWindow *) 0 ;
9814 int arg4 = (int) 0 ;
9815 bool result;
9816 void *argp1 = 0 ;
9817 int res1 = 0 ;
9818 void *argp2 = 0 ;
9819 int res2 = 0 ;
9820 void *argp3 = 0 ;
9821 int res3 = 0 ;
9822 int val4 ;
9823 int ecode4 = 0 ;
9824 PyObject * obj0 = 0 ;
9825 PyObject * obj1 = 0 ;
9826 PyObject * obj2 = 0 ;
9827 PyObject * obj3 = 0 ;
9828 char * kwnames[] = {
9829 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9830 };
9831
9832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9834 if (!SWIG_IsOK(res1)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9836 }
9837 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9838 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9839 if (!SWIG_IsOK(res2)) {
9840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9841 }
9842 arg2 = reinterpret_cast< wxWindow * >(argp2);
9843 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9844 if (!SWIG_IsOK(res3)) {
9845 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9846 }
9847 arg3 = reinterpret_cast< wxWindow * >(argp3);
9848 if (obj3) {
9849 ecode4 = SWIG_AsVal_int(obj3, &val4);
9850 if (!SWIG_IsOK(ecode4)) {
9851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9852 }
9853 arg4 = static_cast< int >(val4);
9854 }
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 {
9862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9863 }
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj = 0;
9872 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9873 wxWindow *arg2 = (wxWindow *) 0 ;
9874 wxWindow *arg3 = (wxWindow *) 0 ;
9875 int arg4 = (int) 0 ;
9876 bool result;
9877 void *argp1 = 0 ;
9878 int res1 = 0 ;
9879 void *argp2 = 0 ;
9880 int res2 = 0 ;
9881 void *argp3 = 0 ;
9882 int res3 = 0 ;
9883 int val4 ;
9884 int ecode4 = 0 ;
9885 PyObject * obj0 = 0 ;
9886 PyObject * obj1 = 0 ;
9887 PyObject * obj2 = 0 ;
9888 PyObject * obj3 = 0 ;
9889 char * kwnames[] = {
9890 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9891 };
9892
9893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9895 if (!SWIG_IsOK(res1)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9897 }
9898 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9899 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9900 if (!SWIG_IsOK(res2)) {
9901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9902 }
9903 arg2 = reinterpret_cast< wxWindow * >(argp2);
9904 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9905 if (!SWIG_IsOK(res3)) {
9906 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9907 }
9908 arg3 = reinterpret_cast< wxWindow * >(argp3);
9909 if (obj3) {
9910 ecode4 = SWIG_AsVal_int(obj3, &val4);
9911 if (!SWIG_IsOK(ecode4)) {
9912 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9913 }
9914 arg4 = static_cast< int >(val4);
9915 }
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9924 }
9925 return resultobj;
9926 fail:
9927 return NULL;
9928 }
9929
9930
9931 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj = 0;
9933 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9934 wxWindow *arg2 = (wxWindow *) NULL ;
9935 bool result;
9936 void *argp1 = 0 ;
9937 int res1 = 0 ;
9938 void *argp2 = 0 ;
9939 int res2 = 0 ;
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 char * kwnames[] = {
9943 (char *) "self",(char *) "toRemove", NULL
9944 };
9945
9946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9948 if (!SWIG_IsOK(res1)) {
9949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9950 }
9951 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9952 if (obj1) {
9953 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9954 if (!SWIG_IsOK(res2)) {
9955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9956 }
9957 arg2 = reinterpret_cast< wxWindow * >(argp2);
9958 }
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (bool)(arg1)->Unsplit(arg2);
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 {
9966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9967 }
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj = 0;
9976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9977 wxWindow *arg2 = (wxWindow *) 0 ;
9978 wxWindow *arg3 = (wxWindow *) 0 ;
9979 bool result;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 void *argp2 = 0 ;
9983 int res2 = 0 ;
9984 void *argp3 = 0 ;
9985 int res3 = 0 ;
9986 PyObject * obj0 = 0 ;
9987 PyObject * obj1 = 0 ;
9988 PyObject * obj2 = 0 ;
9989 char * kwnames[] = {
9990 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9991 };
9992
9993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9995 if (!SWIG_IsOK(res1)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9997 }
9998 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9999 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10000 if (!SWIG_IsOK(res2)) {
10001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10002 }
10003 arg2 = reinterpret_cast< wxWindow * >(argp2);
10004 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10005 if (!SWIG_IsOK(res3)) {
10006 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10007 }
10008 arg3 = reinterpret_cast< wxWindow * >(argp3);
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 {
10016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10017 }
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 PyObject *resultobj = 0;
10026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10027 void *argp1 = 0 ;
10028 int res1 = 0 ;
10029 PyObject *swig_obj[1] ;
10030
10031 if (!args) SWIG_fail;
10032 swig_obj[0] = args;
10033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10034 if (!SWIG_IsOK(res1)) {
10035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10036 }
10037 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 (arg1)->UpdateSize();
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 resultobj = SWIG_Py_Void();
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10052 PyObject *resultobj = 0;
10053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10054 bool result;
10055 void *argp1 = 0 ;
10056 int res1 = 0 ;
10057 PyObject *swig_obj[1] ;
10058
10059 if (!args) SWIG_fail;
10060 swig_obj[0] = args;
10061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10062 if (!SWIG_IsOK(res1)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10064 }
10065 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10074 }
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj = 0;
10083 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10084 int arg2 ;
10085 void *argp1 = 0 ;
10086 int res1 = 0 ;
10087 int val2 ;
10088 int ecode2 = 0 ;
10089 PyObject * obj0 = 0 ;
10090 PyObject * obj1 = 0 ;
10091 char * kwnames[] = {
10092 (char *) "self",(char *) "width", NULL
10093 };
10094
10095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10097 if (!SWIG_IsOK(res1)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 }
10100 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10101 ecode2 = SWIG_AsVal_int(obj1, &val2);
10102 if (!SWIG_IsOK(ecode2)) {
10103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10104 }
10105 arg2 = static_cast< int >(val2);
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 (arg1)->SetSashSize(arg2);
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_Py_Void();
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj = 0;
10121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10122 int arg2 ;
10123 void *argp1 = 0 ;
10124 int res1 = 0 ;
10125 int val2 ;
10126 int ecode2 = 0 ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 char * kwnames[] = {
10130 (char *) "self",(char *) "width", NULL
10131 };
10132
10133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10135 if (!SWIG_IsOK(res1)) {
10136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10137 }
10138 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10139 ecode2 = SWIG_AsVal_int(obj1, &val2);
10140 if (!SWIG_IsOK(ecode2)) {
10141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10142 }
10143 arg2 = static_cast< int >(val2);
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 (arg1)->SetBorderSize(arg2);
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 resultobj = SWIG_Py_Void();
10151 return resultobj;
10152 fail:
10153 return NULL;
10154 }
10155
10156
10157 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10158 PyObject *resultobj = 0;
10159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10160 int result;
10161 void *argp1 = 0 ;
10162 int res1 = 0 ;
10163 PyObject *swig_obj[1] ;
10164
10165 if (!args) SWIG_fail;
10166 swig_obj[0] = args;
10167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10168 if (!SWIG_IsOK(res1)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10170 }
10171 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 resultobj = SWIG_From_int(static_cast< int >(result));
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10186 PyObject *resultobj = 0;
10187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10188 int result;
10189 void *argp1 = 0 ;
10190 int res1 = 0 ;
10191 PyObject *swig_obj[1] ;
10192
10193 if (!args) SWIG_fail;
10194 swig_obj[0] = args;
10195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10196 if (!SWIG_IsOK(res1)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10198 }
10199 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = SWIG_From_int(static_cast< int >(result));
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj = 0;
10215 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10216 int arg2 ;
10217 bool arg3 = (bool) true ;
10218 void *argp1 = 0 ;
10219 int res1 = 0 ;
10220 int val2 ;
10221 int ecode2 = 0 ;
10222 bool val3 ;
10223 int ecode3 = 0 ;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 PyObject * obj2 = 0 ;
10227 char * kwnames[] = {
10228 (char *) "self",(char *) "position",(char *) "redraw", NULL
10229 };
10230
10231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10233 if (!SWIG_IsOK(res1)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10235 }
10236 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10237 ecode2 = SWIG_AsVal_int(obj1, &val2);
10238 if (!SWIG_IsOK(ecode2)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10240 }
10241 arg2 = static_cast< int >(val2);
10242 if (obj2) {
10243 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10244 if (!SWIG_IsOK(ecode3)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10246 }
10247 arg3 = static_cast< bool >(val3);
10248 }
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->SetSashPosition(arg2,arg3);
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = SWIG_Py_Void();
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10263 PyObject *resultobj = 0;
10264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10265 int result;
10266 void *argp1 = 0 ;
10267 int res1 = 0 ;
10268 PyObject *swig_obj[1] ;
10269
10270 if (!args) SWIG_fail;
10271 swig_obj[0] = args;
10272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10273 if (!SWIG_IsOK(res1)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10275 }
10276 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 resultobj = SWIG_From_int(static_cast< int >(result));
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj = 0;
10292 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10293 double arg2 ;
10294 void *argp1 = 0 ;
10295 int res1 = 0 ;
10296 double val2 ;
10297 int ecode2 = 0 ;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj1 = 0 ;
10300 char * kwnames[] = {
10301 (char *) "self",(char *) "gravity", NULL
10302 };
10303
10304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10306 if (!SWIG_IsOK(res1)) {
10307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10308 }
10309 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10310 ecode2 = SWIG_AsVal_double(obj1, &val2);
10311 if (!SWIG_IsOK(ecode2)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10313 }
10314 arg2 = static_cast< double >(val2);
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 (arg1)->SetSashGravity(arg2);
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 resultobj = SWIG_Py_Void();
10322 return resultobj;
10323 fail:
10324 return NULL;
10325 }
10326
10327
10328 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10329 PyObject *resultobj = 0;
10330 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10331 double result;
10332 void *argp1 = 0 ;
10333 int res1 = 0 ;
10334 PyObject *swig_obj[1] ;
10335
10336 if (!args) SWIG_fail;
10337 swig_obj[0] = args;
10338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10339 if (!SWIG_IsOK(res1)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10341 }
10342 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = SWIG_From_double(static_cast< double >(result));
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj = 0;
10358 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10359 int arg2 ;
10360 void *argp1 = 0 ;
10361 int res1 = 0 ;
10362 int val2 ;
10363 int ecode2 = 0 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 char * kwnames[] = {
10367 (char *) "self",(char *) "min", NULL
10368 };
10369
10370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10372 if (!SWIG_IsOK(res1)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10374 }
10375 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10376 ecode2 = SWIG_AsVal_int(obj1, &val2);
10377 if (!SWIG_IsOK(ecode2)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10379 }
10380 arg2 = static_cast< int >(val2);
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetMinimumPaneSize(arg2);
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 resultobj = SWIG_Py_Void();
10388 return resultobj;
10389 fail:
10390 return NULL;
10391 }
10392
10393
10394 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10395 PyObject *resultobj = 0;
10396 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10397 int result;
10398 void *argp1 = 0 ;
10399 int res1 = 0 ;
10400 PyObject *swig_obj[1] ;
10401
10402 if (!args) SWIG_fail;
10403 swig_obj[0] = args;
10404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10405 if (!SWIG_IsOK(res1)) {
10406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10407 }
10408 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = SWIG_From_int(static_cast< int >(result));
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj = 0;
10424 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10425 int arg2 ;
10426 int arg3 ;
10427 int arg4 = (int) 5 ;
10428 bool result;
10429 void *argp1 = 0 ;
10430 int res1 = 0 ;
10431 int val2 ;
10432 int ecode2 = 0 ;
10433 int val3 ;
10434 int ecode3 = 0 ;
10435 int val4 ;
10436 int ecode4 = 0 ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439 PyObject * obj2 = 0 ;
10440 PyObject * obj3 = 0 ;
10441 char * kwnames[] = {
10442 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10443 };
10444
10445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10447 if (!SWIG_IsOK(res1)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10449 }
10450 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10451 ecode2 = SWIG_AsVal_int(obj1, &val2);
10452 if (!SWIG_IsOK(ecode2)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10454 }
10455 arg2 = static_cast< int >(val2);
10456 ecode3 = SWIG_AsVal_int(obj2, &val3);
10457 if (!SWIG_IsOK(ecode3)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10459 }
10460 arg3 = static_cast< int >(val3);
10461 if (obj3) {
10462 ecode4 = SWIG_AsVal_int(obj3, &val4);
10463 if (!SWIG_IsOK(ecode4)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10465 }
10466 arg4 = static_cast< int >(val4);
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 {
10475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10476 }
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10484 PyObject *resultobj = 0;
10485 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10486 void *argp1 = 0 ;
10487 int res1 = 0 ;
10488 PyObject *swig_obj[1] ;
10489
10490 if (!args) SWIG_fail;
10491 swig_obj[0] = args;
10492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10493 if (!SWIG_IsOK(res1)) {
10494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10495 }
10496 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->SizeWindows();
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 resultobj = SWIG_Py_Void();
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj = 0;
10512 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10513 bool arg2 ;
10514 void *argp1 = 0 ;
10515 int res1 = 0 ;
10516 bool val2 ;
10517 int ecode2 = 0 ;
10518 PyObject * obj0 = 0 ;
10519 PyObject * obj1 = 0 ;
10520 char * kwnames[] = {
10521 (char *) "self",(char *) "needUpdating", NULL
10522 };
10523
10524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10526 if (!SWIG_IsOK(res1)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10528 }
10529 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10530 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10531 if (!SWIG_IsOK(ecode2)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10533 }
10534 arg2 = static_cast< bool >(val2);
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetNeedUpdating(arg2);
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 resultobj = SWIG_Py_Void();
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 PyObject *resultobj = 0;
10550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10551 bool result;
10552 void *argp1 = 0 ;
10553 int res1 = 0 ;
10554 PyObject *swig_obj[1] ;
10555
10556 if (!args) SWIG_fail;
10557 swig_obj[0] = args;
10558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10559 if (!SWIG_IsOK(res1)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10561 }
10562 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 {
10570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10571 }
10572 return resultobj;
10573 fail:
10574 return NULL;
10575 }
10576
10577
10578 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10579 PyObject *resultobj = 0;
10580 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10581 SwigValueWrapper<wxVisualAttributes > result;
10582 int val1 ;
10583 int ecode1 = 0 ;
10584 PyObject * obj0 = 0 ;
10585 char * kwnames[] = {
10586 (char *) "variant", NULL
10587 };
10588
10589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10590 if (obj0) {
10591 ecode1 = SWIG_AsVal_int(obj0, &val1);
10592 if (!SWIG_IsOK(ecode1)) {
10593 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10594 }
10595 arg1 = static_cast< wxWindowVariant >(val1);
10596 }
10597 {
10598 if (!wxPyCheckForApp()) SWIG_fail;
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 PyObject *obj;
10613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10615 return SWIG_Py_Void();
10616 }
10617
10618 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10619 return SWIG_Python_InitShadowInstance(args);
10620 }
10621
10622 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj = 0;
10624 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10625 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10626 wxSplitterEvent *result = 0 ;
10627 int val1 ;
10628 int ecode1 = 0 ;
10629 void *argp2 = 0 ;
10630 int res2 = 0 ;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 char * kwnames[] = {
10634 (char *) "type",(char *) "splitter", NULL
10635 };
10636
10637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10638 if (obj0) {
10639 ecode1 = SWIG_AsVal_int(obj0, &val1);
10640 if (!SWIG_IsOK(ecode1)) {
10641 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10642 }
10643 arg1 = static_cast< wxEventType >(val1);
10644 }
10645 if (obj1) {
10646 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10647 if (!SWIG_IsOK(res2)) {
10648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10649 }
10650 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10651 }
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
10658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10659 return resultobj;
10660 fail:
10661 return NULL;
10662 }
10663
10664
10665 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10666 PyObject *resultobj = 0;
10667 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10668 int arg2 ;
10669 void *argp1 = 0 ;
10670 int res1 = 0 ;
10671 int val2 ;
10672 int ecode2 = 0 ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 char * kwnames[] = {
10676 (char *) "self",(char *) "pos", NULL
10677 };
10678
10679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10681 if (!SWIG_IsOK(res1)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10683 }
10684 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10685 ecode2 = SWIG_AsVal_int(obj1, &val2);
10686 if (!SWIG_IsOK(ecode2)) {
10687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10688 }
10689 arg2 = static_cast< int >(val2);
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->SetSashPosition(arg2);
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 resultobj = SWIG_Py_Void();
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10704 PyObject *resultobj = 0;
10705 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10706 int result;
10707 void *argp1 = 0 ;
10708 int res1 = 0 ;
10709 PyObject *swig_obj[1] ;
10710
10711 if (!args) SWIG_fail;
10712 swig_obj[0] = args;
10713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10714 if (!SWIG_IsOK(res1)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10716 }
10717 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 resultobj = SWIG_From_int(static_cast< int >(result));
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10732 PyObject *resultobj = 0;
10733 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10734 wxWindow *result = 0 ;
10735 void *argp1 = 0 ;
10736 int res1 = 0 ;
10737 PyObject *swig_obj[1] ;
10738
10739 if (!args) SWIG_fail;
10740 swig_obj[0] = args;
10741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10742 if (!SWIG_IsOK(res1)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10744 }
10745 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 {
10753 resultobj = wxPyMake_wxObject(result, 0);
10754 }
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10762 PyObject *resultobj = 0;
10763 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10764 int result;
10765 void *argp1 = 0 ;
10766 int res1 = 0 ;
10767 PyObject *swig_obj[1] ;
10768
10769 if (!args) SWIG_fail;
10770 swig_obj[0] = args;
10771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10772 if (!SWIG_IsOK(res1)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10774 }
10775 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 resultobj = SWIG_From_int(static_cast< int >(result));
10783 return resultobj;
10784 fail:
10785 return NULL;
10786 }
10787
10788
10789 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10790 PyObject *resultobj = 0;
10791 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10792 int result;
10793 void *argp1 = 0 ;
10794 int res1 = 0 ;
10795 PyObject *swig_obj[1] ;
10796
10797 if (!args) SWIG_fail;
10798 swig_obj[0] = args;
10799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10802 }
10803 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 resultobj = SWIG_From_int(static_cast< int >(result));
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10818 PyObject *obj;
10819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10820 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10821 return SWIG_Py_Void();
10822 }
10823
10824 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10825 return SWIG_Python_InitShadowInstance(args);
10826 }
10827
10828 SWIGINTERN int SashNameStr_set(PyObject *) {
10829 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10830 return 1;
10831 }
10832
10833
10834 SWIGINTERN PyObject *SashNameStr_get(void) {
10835 PyObject *pyobj = 0;
10836
10837 {
10838 #if wxUSE_UNICODE
10839 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10840 #else
10841 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10842 #endif
10843 }
10844 return pyobj;
10845 }
10846
10847
10848 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10849 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10850 return 1;
10851 }
10852
10853
10854 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10855 PyObject *pyobj = 0;
10856
10857 {
10858 #if wxUSE_UNICODE
10859 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10860 #else
10861 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10862 #endif
10863 }
10864 return pyobj;
10865 }
10866
10867
10868 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj = 0;
10870 wxWindow *arg1 = (wxWindow *) 0 ;
10871 int arg2 = (int) -1 ;
10872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10874 wxSize const &arg4_defvalue = wxDefaultSize ;
10875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10876 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10877 wxString const &arg6_defvalue = wxPySashNameStr ;
10878 wxString *arg6 = (wxString *) &arg6_defvalue ;
10879 wxSashWindow *result = 0 ;
10880 void *argp1 = 0 ;
10881 int res1 = 0 ;
10882 int val2 ;
10883 int ecode2 = 0 ;
10884 wxPoint temp3 ;
10885 wxSize temp4 ;
10886 long val5 ;
10887 int ecode5 = 0 ;
10888 bool temp6 = false ;
10889 PyObject * obj0 = 0 ;
10890 PyObject * obj1 = 0 ;
10891 PyObject * obj2 = 0 ;
10892 PyObject * obj3 = 0 ;
10893 PyObject * obj4 = 0 ;
10894 PyObject * obj5 = 0 ;
10895 char * kwnames[] = {
10896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10897 };
10898
10899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10901 if (!SWIG_IsOK(res1)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10903 }
10904 arg1 = reinterpret_cast< wxWindow * >(argp1);
10905 if (obj1) {
10906 ecode2 = SWIG_AsVal_int(obj1, &val2);
10907 if (!SWIG_IsOK(ecode2)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10909 }
10910 arg2 = static_cast< int >(val2);
10911 }
10912 if (obj2) {
10913 {
10914 arg3 = &temp3;
10915 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10916 }
10917 }
10918 if (obj3) {
10919 {
10920 arg4 = &temp4;
10921 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10922 }
10923 }
10924 if (obj4) {
10925 ecode5 = SWIG_AsVal_long(obj4, &val5);
10926 if (!SWIG_IsOK(ecode5)) {
10927 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10928 }
10929 arg5 = static_cast< long >(val5);
10930 }
10931 if (obj5) {
10932 {
10933 arg6 = wxString_in_helper(obj5);
10934 if (arg6 == NULL) SWIG_fail;
10935 temp6 = true;
10936 }
10937 }
10938 {
10939 if (!wxPyCheckForApp()) SWIG_fail;
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10946 {
10947 if (temp6)
10948 delete arg6;
10949 }
10950 return resultobj;
10951 fail:
10952 {
10953 if (temp6)
10954 delete arg6;
10955 }
10956 return NULL;
10957 }
10958
10959
10960 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10961 PyObject *resultobj = 0;
10962 wxSashWindow *result = 0 ;
10963
10964 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10965 {
10966 if (!wxPyCheckForApp()) SWIG_fail;
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (wxSashWindow *)new wxSashWindow();
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10973 return resultobj;
10974 fail:
10975 return NULL;
10976 }
10977
10978
10979 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj = 0;
10981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10982 wxWindow *arg2 = (wxWindow *) 0 ;
10983 int arg3 = (int) -1 ;
10984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10986 wxSize const &arg5_defvalue = wxDefaultSize ;
10987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10988 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10989 wxString const &arg7_defvalue = wxPySashNameStr ;
10990 wxString *arg7 = (wxString *) &arg7_defvalue ;
10991 bool result;
10992 void *argp1 = 0 ;
10993 int res1 = 0 ;
10994 void *argp2 = 0 ;
10995 int res2 = 0 ;
10996 int val3 ;
10997 int ecode3 = 0 ;
10998 wxPoint temp4 ;
10999 wxSize temp5 ;
11000 long val6 ;
11001 int ecode6 = 0 ;
11002 bool temp7 = false ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 PyObject * obj2 = 0 ;
11006 PyObject * obj3 = 0 ;
11007 PyObject * obj4 = 0 ;
11008 PyObject * obj5 = 0 ;
11009 PyObject * obj6 = 0 ;
11010 char * kwnames[] = {
11011 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11012 };
11013
11014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11016 if (!SWIG_IsOK(res1)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11018 }
11019 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11021 if (!SWIG_IsOK(res2)) {
11022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11023 }
11024 arg2 = reinterpret_cast< wxWindow * >(argp2);
11025 if (obj2) {
11026 ecode3 = SWIG_AsVal_int(obj2, &val3);
11027 if (!SWIG_IsOK(ecode3)) {
11028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11029 }
11030 arg3 = static_cast< int >(val3);
11031 }
11032 if (obj3) {
11033 {
11034 arg4 = &temp4;
11035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11036 }
11037 }
11038 if (obj4) {
11039 {
11040 arg5 = &temp5;
11041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11042 }
11043 }
11044 if (obj5) {
11045 ecode6 = SWIG_AsVal_long(obj5, &val6);
11046 if (!SWIG_IsOK(ecode6)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11048 }
11049 arg6 = static_cast< long >(val6);
11050 }
11051 if (obj6) {
11052 {
11053 arg7 = wxString_in_helper(obj6);
11054 if (arg7 == NULL) SWIG_fail;
11055 temp7 = true;
11056 }
11057 }
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 {
11065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11066 }
11067 {
11068 if (temp7)
11069 delete arg7;
11070 }
11071 return resultobj;
11072 fail:
11073 {
11074 if (temp7)
11075 delete arg7;
11076 }
11077 return NULL;
11078 }
11079
11080
11081 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj = 0;
11083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11084 wxSashEdgePosition arg2 ;
11085 bool arg3 ;
11086 void *argp1 = 0 ;
11087 int res1 = 0 ;
11088 int val2 ;
11089 int ecode2 = 0 ;
11090 bool val3 ;
11091 int ecode3 = 0 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 char * kwnames[] = {
11096 (char *) "self",(char *) "edge",(char *) "sash", NULL
11097 };
11098
11099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11101 if (!SWIG_IsOK(res1)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11103 }
11104 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11105 ecode2 = SWIG_AsVal_int(obj1, &val2);
11106 if (!SWIG_IsOK(ecode2)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11108 }
11109 arg2 = static_cast< wxSashEdgePosition >(val2);
11110 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11111 if (!SWIG_IsOK(ecode3)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11113 }
11114 arg3 = static_cast< bool >(val3);
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->SetSashVisible(arg2,arg3);
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 resultobj = SWIG_Py_Void();
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj = 0;
11130 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11131 wxSashEdgePosition arg2 ;
11132 bool result;
11133 void *argp1 = 0 ;
11134 int res1 = 0 ;
11135 int val2 ;
11136 int ecode2 = 0 ;
11137 PyObject * obj0 = 0 ;
11138 PyObject * obj1 = 0 ;
11139 char * kwnames[] = {
11140 (char *) "self",(char *) "edge", NULL
11141 };
11142
11143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11145 if (!SWIG_IsOK(res1)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11147 }
11148 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11149 ecode2 = SWIG_AsVal_int(obj1, &val2);
11150 if (!SWIG_IsOK(ecode2)) {
11151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11152 }
11153 arg2 = static_cast< wxSashEdgePosition >(val2);
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 {
11161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11162 }
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj = 0;
11171 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11172 wxSashEdgePosition arg2 ;
11173 bool arg3 ;
11174 void *argp1 = 0 ;
11175 int res1 = 0 ;
11176 int val2 ;
11177 int ecode2 = 0 ;
11178 bool val3 ;
11179 int ecode3 = 0 ;
11180 PyObject * obj0 = 0 ;
11181 PyObject * obj1 = 0 ;
11182 PyObject * obj2 = 0 ;
11183 char * kwnames[] = {
11184 (char *) "self",(char *) "edge",(char *) "border", NULL
11185 };
11186
11187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11189 if (!SWIG_IsOK(res1)) {
11190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11191 }
11192 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11193 ecode2 = SWIG_AsVal_int(obj1, &val2);
11194 if (!SWIG_IsOK(ecode2)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11196 }
11197 arg2 = static_cast< wxSashEdgePosition >(val2);
11198 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11199 if (!SWIG_IsOK(ecode3)) {
11200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11201 }
11202 arg3 = static_cast< bool >(val3);
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 (arg1)->SetSashBorder(arg2,arg3);
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 resultobj = SWIG_Py_Void();
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj = 0;
11218 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11219 wxSashEdgePosition arg2 ;
11220 bool result;
11221 void *argp1 = 0 ;
11222 int res1 = 0 ;
11223 int val2 ;
11224 int ecode2 = 0 ;
11225 PyObject * obj0 = 0 ;
11226 PyObject * obj1 = 0 ;
11227 char * kwnames[] = {
11228 (char *) "self",(char *) "edge", NULL
11229 };
11230
11231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11233 if (!SWIG_IsOK(res1)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11235 }
11236 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11237 ecode2 = SWIG_AsVal_int(obj1, &val2);
11238 if (!SWIG_IsOK(ecode2)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11240 }
11241 arg2 = static_cast< wxSashEdgePosition >(val2);
11242 {
11243 PyThreadState* __tstate = wxPyBeginAllowThreads();
11244 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11245 wxPyEndAllowThreads(__tstate);
11246 if (PyErr_Occurred()) SWIG_fail;
11247 }
11248 {
11249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11250 }
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj = 0;
11259 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11260 wxSashEdgePosition arg2 ;
11261 int result;
11262 void *argp1 = 0 ;
11263 int res1 = 0 ;
11264 int val2 ;
11265 int ecode2 = 0 ;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 char * kwnames[] = {
11269 (char *) "self",(char *) "edge", NULL
11270 };
11271
11272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11274 if (!SWIG_IsOK(res1)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11276 }
11277 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11278 ecode2 = SWIG_AsVal_int(obj1, &val2);
11279 if (!SWIG_IsOK(ecode2)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11281 }
11282 arg2 = static_cast< wxSashEdgePosition >(val2);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 resultobj = SWIG_From_int(static_cast< int >(result));
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj = 0;
11298 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11299 int arg2 ;
11300 void *argp1 = 0 ;
11301 int res1 = 0 ;
11302 int val2 ;
11303 int ecode2 = 0 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char * kwnames[] = {
11307 (char *) "self",(char *) "width", NULL
11308 };
11309
11310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11312 if (!SWIG_IsOK(res1)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11314 }
11315 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11316 ecode2 = SWIG_AsVal_int(obj1, &val2);
11317 if (!SWIG_IsOK(ecode2)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11319 }
11320 arg2 = static_cast< int >(val2);
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 (arg1)->SetDefaultBorderSize(arg2);
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 resultobj = SWIG_Py_Void();
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11335 PyObject *resultobj = 0;
11336 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11337 int result;
11338 void *argp1 = 0 ;
11339 int res1 = 0 ;
11340 PyObject *swig_obj[1] ;
11341
11342 if (!args) SWIG_fail;
11343 swig_obj[0] = args;
11344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11345 if (!SWIG_IsOK(res1)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11347 }
11348 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 resultobj = SWIG_From_int(static_cast< int >(result));
11356 return resultobj;
11357 fail:
11358 return NULL;
11359 }
11360
11361
11362 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj = 0;
11364 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11365 int arg2 ;
11366 void *argp1 = 0 ;
11367 int res1 = 0 ;
11368 int val2 ;
11369 int ecode2 = 0 ;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char * kwnames[] = {
11373 (char *) "self",(char *) "width", NULL
11374 };
11375
11376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11378 if (!SWIG_IsOK(res1)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11380 }
11381 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11382 ecode2 = SWIG_AsVal_int(obj1, &val2);
11383 if (!SWIG_IsOK(ecode2)) {
11384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11385 }
11386 arg2 = static_cast< int >(val2);
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 (arg1)->SetExtraBorderSize(arg2);
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_Py_Void();
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11403 int result;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11413 }
11414 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_From_int(static_cast< int >(result));
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj = 0;
11430 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11431 int arg2 ;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 int val2 ;
11435 int ecode2 = 0 ;
11436 PyObject * obj0 = 0 ;
11437 PyObject * obj1 = 0 ;
11438 char * kwnames[] = {
11439 (char *) "self",(char *) "min", NULL
11440 };
11441
11442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11444 if (!SWIG_IsOK(res1)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11446 }
11447 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11448 ecode2 = SWIG_AsVal_int(obj1, &val2);
11449 if (!SWIG_IsOK(ecode2)) {
11450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11451 }
11452 arg2 = static_cast< int >(val2);
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 (arg1)->SetMinimumSizeX(arg2);
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 resultobj = SWIG_Py_Void();
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj = 0;
11468 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11469 int arg2 ;
11470 void *argp1 = 0 ;
11471 int res1 = 0 ;
11472 int val2 ;
11473 int ecode2 = 0 ;
11474 PyObject * obj0 = 0 ;
11475 PyObject * obj1 = 0 ;
11476 char * kwnames[] = {
11477 (char *) "self",(char *) "min", NULL
11478 };
11479
11480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11482 if (!SWIG_IsOK(res1)) {
11483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11484 }
11485 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11486 ecode2 = SWIG_AsVal_int(obj1, &val2);
11487 if (!SWIG_IsOK(ecode2)) {
11488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11489 }
11490 arg2 = static_cast< int >(val2);
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 (arg1)->SetMinimumSizeY(arg2);
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 resultobj = SWIG_Py_Void();
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11505 PyObject *resultobj = 0;
11506 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11507 int result;
11508 void *argp1 = 0 ;
11509 int res1 = 0 ;
11510 PyObject *swig_obj[1] ;
11511
11512 if (!args) SWIG_fail;
11513 swig_obj[0] = args;
11514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11515 if (!SWIG_IsOK(res1)) {
11516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11517 }
11518 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 resultobj = SWIG_From_int(static_cast< int >(result));
11526 return resultobj;
11527 fail:
11528 return NULL;
11529 }
11530
11531
11532 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11533 PyObject *resultobj = 0;
11534 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11535 int result;
11536 void *argp1 = 0 ;
11537 int res1 = 0 ;
11538 PyObject *swig_obj[1] ;
11539
11540 if (!args) SWIG_fail;
11541 swig_obj[0] = args;
11542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11543 if (!SWIG_IsOK(res1)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11545 }
11546 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 resultobj = SWIG_From_int(static_cast< int >(result));
11554 return resultobj;
11555 fail:
11556 return NULL;
11557 }
11558
11559
11560 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj = 0;
11562 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11563 int arg2 ;
11564 void *argp1 = 0 ;
11565 int res1 = 0 ;
11566 int val2 ;
11567 int ecode2 = 0 ;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char * kwnames[] = {
11571 (char *) "self",(char *) "max", NULL
11572 };
11573
11574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11576 if (!SWIG_IsOK(res1)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11578 }
11579 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11580 ecode2 = SWIG_AsVal_int(obj1, &val2);
11581 if (!SWIG_IsOK(ecode2)) {
11582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11583 }
11584 arg2 = static_cast< int >(val2);
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->SetMaximumSizeX(arg2);
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = SWIG_Py_Void();
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj = 0;
11600 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11601 int arg2 ;
11602 void *argp1 = 0 ;
11603 int res1 = 0 ;
11604 int val2 ;
11605 int ecode2 = 0 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 char * kwnames[] = {
11609 (char *) "self",(char *) "max", NULL
11610 };
11611
11612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11614 if (!SWIG_IsOK(res1)) {
11615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11616 }
11617 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11618 ecode2 = SWIG_AsVal_int(obj1, &val2);
11619 if (!SWIG_IsOK(ecode2)) {
11620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11621 }
11622 arg2 = static_cast< int >(val2);
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 (arg1)->SetMaximumSizeY(arg2);
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 resultobj = SWIG_Py_Void();
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11637 PyObject *resultobj = 0;
11638 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11639 int result;
11640 void *argp1 = 0 ;
11641 int res1 = 0 ;
11642 PyObject *swig_obj[1] ;
11643
11644 if (!args) SWIG_fail;
11645 swig_obj[0] = args;
11646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11647 if (!SWIG_IsOK(res1)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11649 }
11650 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
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_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11665 PyObject *resultobj = 0;
11666 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11667 int result;
11668 void *argp1 = 0 ;
11669 int res1 = 0 ;
11670 PyObject *swig_obj[1] ;
11671
11672 if (!args) SWIG_fail;
11673 swig_obj[0] = args;
11674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11675 if (!SWIG_IsOK(res1)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11677 }
11678 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 resultobj = SWIG_From_int(static_cast< int >(result));
11686 return resultobj;
11687 fail:
11688 return NULL;
11689 }
11690
11691
11692 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11693 PyObject *resultobj = 0;
11694 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11695 int arg2 ;
11696 int arg3 ;
11697 int arg4 = (int) 2 ;
11698 wxSashEdgePosition result;
11699 void *argp1 = 0 ;
11700 int res1 = 0 ;
11701 int val2 ;
11702 int ecode2 = 0 ;
11703 int val3 ;
11704 int ecode3 = 0 ;
11705 int val4 ;
11706 int ecode4 = 0 ;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 PyObject * obj2 = 0 ;
11710 PyObject * obj3 = 0 ;
11711 char * kwnames[] = {
11712 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11713 };
11714
11715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11717 if (!SWIG_IsOK(res1)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11719 }
11720 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11721 ecode2 = SWIG_AsVal_int(obj1, &val2);
11722 if (!SWIG_IsOK(ecode2)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11724 }
11725 arg2 = static_cast< int >(val2);
11726 ecode3 = SWIG_AsVal_int(obj2, &val3);
11727 if (!SWIG_IsOK(ecode3)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11729 }
11730 arg3 = static_cast< int >(val3);
11731 if (obj3) {
11732 ecode4 = SWIG_AsVal_int(obj3, &val4);
11733 if (!SWIG_IsOK(ecode4)) {
11734 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11735 }
11736 arg4 = static_cast< int >(val4);
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_From_int(static_cast< int >(result));
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11752 PyObject *resultobj = 0;
11753 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11754 void *argp1 = 0 ;
11755 int res1 = 0 ;
11756 PyObject *swig_obj[1] ;
11757
11758 if (!args) SWIG_fail;
11759 swig_obj[0] = args;
11760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11761 if (!SWIG_IsOK(res1)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11763 }
11764 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 (arg1)->SizeWindows();
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 resultobj = SWIG_Py_Void();
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11779 PyObject *obj;
11780 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11781 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11782 return SWIG_Py_Void();
11783 }
11784
11785 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 return SWIG_Python_InitShadowInstance(args);
11787 }
11788
11789 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj = 0;
11791 int arg1 = (int) 0 ;
11792 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11793 wxSashEvent *result = 0 ;
11794 int val1 ;
11795 int ecode1 = 0 ;
11796 int val2 ;
11797 int ecode2 = 0 ;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 char * kwnames[] = {
11801 (char *) "id",(char *) "edge", NULL
11802 };
11803
11804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11805 if (obj0) {
11806 ecode1 = SWIG_AsVal_int(obj0, &val1);
11807 if (!SWIG_IsOK(ecode1)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11809 }
11810 arg1 = static_cast< int >(val1);
11811 }
11812 if (obj1) {
11813 ecode2 = SWIG_AsVal_int(obj1, &val2);
11814 if (!SWIG_IsOK(ecode2)) {
11815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11816 }
11817 arg2 = static_cast< wxSashEdgePosition >(val2);
11818 }
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj = 0;
11834 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11835 wxSashEdgePosition arg2 ;
11836 void *argp1 = 0 ;
11837 int res1 = 0 ;
11838 int val2 ;
11839 int ecode2 = 0 ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 char * kwnames[] = {
11843 (char *) "self",(char *) "edge", NULL
11844 };
11845
11846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11848 if (!SWIG_IsOK(res1)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11850 }
11851 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11852 ecode2 = SWIG_AsVal_int(obj1, &val2);
11853 if (!SWIG_IsOK(ecode2)) {
11854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11855 }
11856 arg2 = static_cast< wxSashEdgePosition >(val2);
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 (arg1)->SetEdge(arg2);
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = SWIG_Py_Void();
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11871 PyObject *resultobj = 0;
11872 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11873 wxSashEdgePosition result;
11874 void *argp1 = 0 ;
11875 int res1 = 0 ;
11876 PyObject *swig_obj[1] ;
11877
11878 if (!args) SWIG_fail;
11879 swig_obj[0] = args;
11880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11881 if (!SWIG_IsOK(res1)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11883 }
11884 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11885 {
11886 PyThreadState* __tstate = wxPyBeginAllowThreads();
11887 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 resultobj = SWIG_From_int(static_cast< int >(result));
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj = 0;
11900 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11901 wxRect *arg2 = 0 ;
11902 void *argp1 = 0 ;
11903 int res1 = 0 ;
11904 wxRect temp2 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907 char * kwnames[] = {
11908 (char *) "self",(char *) "rect", NULL
11909 };
11910
11911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11913 if (!SWIG_IsOK(res1)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11915 }
11916 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11917 {
11918 arg2 = &temp2;
11919 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11920 }
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetDragRect((wxRect const &)*arg2);
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 resultobj = SWIG_Py_Void();
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11935 PyObject *resultobj = 0;
11936 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11937 wxRect result;
11938 void *argp1 = 0 ;
11939 int res1 = 0 ;
11940 PyObject *swig_obj[1] ;
11941
11942 if (!args) SWIG_fail;
11943 swig_obj[0] = args;
11944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11945 if (!SWIG_IsOK(res1)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11947 }
11948 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = ((wxSashEvent const *)arg1)->GetDragRect();
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj = 0;
11964 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11965 wxSashDragStatus arg2 ;
11966 void *argp1 = 0 ;
11967 int res1 = 0 ;
11968 int val2 ;
11969 int ecode2 = 0 ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char * kwnames[] = {
11973 (char *) "self",(char *) "status", NULL
11974 };
11975
11976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11978 if (!SWIG_IsOK(res1)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11980 }
11981 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11982 ecode2 = SWIG_AsVal_int(obj1, &val2);
11983 if (!SWIG_IsOK(ecode2)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11985 }
11986 arg2 = static_cast< wxSashDragStatus >(val2);
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 (arg1)->SetDragStatus(arg2);
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = SWIG_Py_Void();
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12001 PyObject *resultobj = 0;
12002 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12003 wxSashDragStatus result;
12004 void *argp1 = 0 ;
12005 int res1 = 0 ;
12006 PyObject *swig_obj[1] ;
12007
12008 if (!args) SWIG_fail;
12009 swig_obj[0] = args;
12010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12013 }
12014 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
12017 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 resultobj = SWIG_From_int(static_cast< int >(result));
12022 return resultobj;
12023 fail:
12024 return NULL;
12025 }
12026
12027
12028 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12029 PyObject *obj;
12030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12031 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12032 return SWIG_Py_Void();
12033 }
12034
12035 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12036 return SWIG_Python_InitShadowInstance(args);
12037 }
12038
12039 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12040 PyObject *resultobj = 0;
12041 int arg1 = (int) 0 ;
12042 wxQueryLayoutInfoEvent *result = 0 ;
12043 int val1 ;
12044 int ecode1 = 0 ;
12045 PyObject * obj0 = 0 ;
12046 char * kwnames[] = {
12047 (char *) "id", NULL
12048 };
12049
12050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12051 if (obj0) {
12052 ecode1 = SWIG_AsVal_int(obj0, &val1);
12053 if (!SWIG_IsOK(ecode1)) {
12054 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12055 }
12056 arg1 = static_cast< int >(val1);
12057 }
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj = 0;
12073 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12074 int arg2 ;
12075 void *argp1 = 0 ;
12076 int res1 = 0 ;
12077 int val2 ;
12078 int ecode2 = 0 ;
12079 PyObject * obj0 = 0 ;
12080 PyObject * obj1 = 0 ;
12081 char * kwnames[] = {
12082 (char *) "self",(char *) "length", NULL
12083 };
12084
12085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12087 if (!SWIG_IsOK(res1)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12089 }
12090 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12091 ecode2 = SWIG_AsVal_int(obj1, &val2);
12092 if (!SWIG_IsOK(ecode2)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12094 }
12095 arg2 = static_cast< int >(val2);
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->SetRequestedLength(arg2);
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = SWIG_Py_Void();
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12110 PyObject *resultobj = 0;
12111 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12112 int result;
12113 void *argp1 = 0 ;
12114 int res1 = 0 ;
12115 PyObject *swig_obj[1] ;
12116
12117 if (!args) SWIG_fail;
12118 swig_obj[0] = args;
12119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12120 if (!SWIG_IsOK(res1)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12122 }
12123 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 resultobj = SWIG_From_int(static_cast< int >(result));
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj = 0;
12139 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12140 int arg2 ;
12141 void *argp1 = 0 ;
12142 int res1 = 0 ;
12143 int val2 ;
12144 int ecode2 = 0 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char * kwnames[] = {
12148 (char *) "self",(char *) "flags", NULL
12149 };
12150
12151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12153 if (!SWIG_IsOK(res1)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12155 }
12156 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12157 ecode2 = SWIG_AsVal_int(obj1, &val2);
12158 if (!SWIG_IsOK(ecode2)) {
12159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12160 }
12161 arg2 = static_cast< int >(val2);
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->SetFlags(arg2);
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 resultobj = SWIG_Py_Void();
12169 return resultobj;
12170 fail:
12171 return NULL;
12172 }
12173
12174
12175 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12176 PyObject *resultobj = 0;
12177 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12178 int result;
12179 void *argp1 = 0 ;
12180 int res1 = 0 ;
12181 PyObject *swig_obj[1] ;
12182
12183 if (!args) SWIG_fail;
12184 swig_obj[0] = args;
12185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12186 if (!SWIG_IsOK(res1)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12188 }
12189 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = SWIG_From_int(static_cast< int >(result));
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj = 0;
12205 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12206 wxSize *arg2 = 0 ;
12207 void *argp1 = 0 ;
12208 int res1 = 0 ;
12209 wxSize temp2 ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char * kwnames[] = {
12213 (char *) "self",(char *) "size", NULL
12214 };
12215
12216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12218 if (!SWIG_IsOK(res1)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12220 }
12221 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12222 {
12223 arg2 = &temp2;
12224 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12225 }
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 (arg1)->SetSize((wxSize const &)*arg2);
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 resultobj = SWIG_Py_Void();
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12240 PyObject *resultobj = 0;
12241 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12242 wxSize result;
12243 void *argp1 = 0 ;
12244 int res1 = 0 ;
12245 PyObject *swig_obj[1] ;
12246
12247 if (!args) SWIG_fail;
12248 swig_obj[0] = args;
12249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12252 }
12253 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj = 0;
12269 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12270 wxLayoutOrientation arg2 ;
12271 void *argp1 = 0 ;
12272 int res1 = 0 ;
12273 int val2 ;
12274 int ecode2 = 0 ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char * kwnames[] = {
12278 (char *) "self",(char *) "orient", NULL
12279 };
12280
12281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12285 }
12286 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12287 ecode2 = SWIG_AsVal_int(obj1, &val2);
12288 if (!SWIG_IsOK(ecode2)) {
12289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12290 }
12291 arg2 = static_cast< wxLayoutOrientation >(val2);
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 (arg1)->SetOrientation(arg2);
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 resultobj = SWIG_Py_Void();
12299 return resultobj;
12300 fail:
12301 return NULL;
12302 }
12303
12304
12305 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12306 PyObject *resultobj = 0;
12307 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12308 wxLayoutOrientation result;
12309 void *argp1 = 0 ;
12310 int res1 = 0 ;
12311 PyObject *swig_obj[1] ;
12312
12313 if (!args) SWIG_fail;
12314 swig_obj[0] = args;
12315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12318 }
12319 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_From_int(static_cast< int >(result));
12327 return resultobj;
12328 fail:
12329 return NULL;
12330 }
12331
12332
12333 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = 0;
12335 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12336 wxLayoutAlignment arg2 ;
12337 void *argp1 = 0 ;
12338 int res1 = 0 ;
12339 int val2 ;
12340 int ecode2 = 0 ;
12341 PyObject * obj0 = 0 ;
12342 PyObject * obj1 = 0 ;
12343 char * kwnames[] = {
12344 (char *) "self",(char *) "align", NULL
12345 };
12346
12347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12349 if (!SWIG_IsOK(res1)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12351 }
12352 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12353 ecode2 = SWIG_AsVal_int(obj1, &val2);
12354 if (!SWIG_IsOK(ecode2)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12356 }
12357 arg2 = static_cast< wxLayoutAlignment >(val2);
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 (arg1)->SetAlignment(arg2);
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = SWIG_Py_Void();
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12372 PyObject *resultobj = 0;
12373 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12374 wxLayoutAlignment result;
12375 void *argp1 = 0 ;
12376 int res1 = 0 ;
12377 PyObject *swig_obj[1] ;
12378
12379 if (!args) SWIG_fail;
12380 swig_obj[0] = args;
12381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12382 if (!SWIG_IsOK(res1)) {
12383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12384 }
12385 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 resultobj = SWIG_From_int(static_cast< int >(result));
12393 return resultobj;
12394 fail:
12395 return NULL;
12396 }
12397
12398
12399 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12400 PyObject *obj;
12401 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12402 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12403 return SWIG_Py_Void();
12404 }
12405
12406 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12407 return SWIG_Python_InitShadowInstance(args);
12408 }
12409
12410 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj = 0;
12412 int arg1 = (int) 0 ;
12413 wxCalculateLayoutEvent *result = 0 ;
12414 int val1 ;
12415 int ecode1 = 0 ;
12416 PyObject * obj0 = 0 ;
12417 char * kwnames[] = {
12418 (char *) "id", NULL
12419 };
12420
12421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12422 if (obj0) {
12423 ecode1 = SWIG_AsVal_int(obj0, &val1);
12424 if (!SWIG_IsOK(ecode1)) {
12425 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12426 }
12427 arg1 = static_cast< int >(val1);
12428 }
12429 {
12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
12431 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12436 return resultobj;
12437 fail:
12438 return NULL;
12439 }
12440
12441
12442 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj = 0;
12444 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12445 int arg2 ;
12446 void *argp1 = 0 ;
12447 int res1 = 0 ;
12448 int val2 ;
12449 int ecode2 = 0 ;
12450 PyObject * obj0 = 0 ;
12451 PyObject * obj1 = 0 ;
12452 char * kwnames[] = {
12453 (char *) "self",(char *) "flags", NULL
12454 };
12455
12456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12458 if (!SWIG_IsOK(res1)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12460 }
12461 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12462 ecode2 = SWIG_AsVal_int(obj1, &val2);
12463 if (!SWIG_IsOK(ecode2)) {
12464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12465 }
12466 arg2 = static_cast< int >(val2);
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 (arg1)->SetFlags(arg2);
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) SWIG_fail;
12472 }
12473 resultobj = SWIG_Py_Void();
12474 return resultobj;
12475 fail:
12476 return NULL;
12477 }
12478
12479
12480 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12481 PyObject *resultobj = 0;
12482 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12483 int result;
12484 void *argp1 = 0 ;
12485 int res1 = 0 ;
12486 PyObject *swig_obj[1] ;
12487
12488 if (!args) SWIG_fail;
12489 swig_obj[0] = args;
12490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12491 if (!SWIG_IsOK(res1)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12493 }
12494 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_From_int(static_cast< int >(result));
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj = 0;
12510 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12511 wxRect *arg2 = 0 ;
12512 void *argp1 = 0 ;
12513 int res1 = 0 ;
12514 wxRect temp2 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "rect", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12525 }
12526 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12527 {
12528 arg2 = &temp2;
12529 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->SetRect((wxRect const &)*arg2);
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_Py_Void();
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12545 PyObject *resultobj = 0;
12546 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12547 wxRect result;
12548 void *argp1 = 0 ;
12549 int res1 = 0 ;
12550 PyObject *swig_obj[1] ;
12551
12552 if (!args) SWIG_fail;
12553 swig_obj[0] = args;
12554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12557 }
12558 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12573 PyObject *obj;
12574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12575 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12576 return SWIG_Py_Void();
12577 }
12578
12579 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12580 return SWIG_Python_InitShadowInstance(args);
12581 }
12582
12583 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj = 0;
12585 wxWindow *arg1 = (wxWindow *) 0 ;
12586 int arg2 = (int) -1 ;
12587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12589 wxSize const &arg4_defvalue = wxDefaultSize ;
12590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12591 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12592 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12593 wxString *arg6 = (wxString *) &arg6_defvalue ;
12594 wxSashLayoutWindow *result = 0 ;
12595 void *argp1 = 0 ;
12596 int res1 = 0 ;
12597 int val2 ;
12598 int ecode2 = 0 ;
12599 wxPoint temp3 ;
12600 wxSize temp4 ;
12601 long val5 ;
12602 int ecode5 = 0 ;
12603 bool temp6 = false ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 PyObject * obj2 = 0 ;
12607 PyObject * obj3 = 0 ;
12608 PyObject * obj4 = 0 ;
12609 PyObject * obj5 = 0 ;
12610 char * kwnames[] = {
12611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12612 };
12613
12614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12616 if (!SWIG_IsOK(res1)) {
12617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12618 }
12619 arg1 = reinterpret_cast< wxWindow * >(argp1);
12620 if (obj1) {
12621 ecode2 = SWIG_AsVal_int(obj1, &val2);
12622 if (!SWIG_IsOK(ecode2)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12624 }
12625 arg2 = static_cast< int >(val2);
12626 }
12627 if (obj2) {
12628 {
12629 arg3 = &temp3;
12630 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12631 }
12632 }
12633 if (obj3) {
12634 {
12635 arg4 = &temp4;
12636 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12637 }
12638 }
12639 if (obj4) {
12640 ecode5 = SWIG_AsVal_long(obj4, &val5);
12641 if (!SWIG_IsOK(ecode5)) {
12642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12643 }
12644 arg5 = static_cast< long >(val5);
12645 }
12646 if (obj5) {
12647 {
12648 arg6 = wxString_in_helper(obj5);
12649 if (arg6 == NULL) SWIG_fail;
12650 temp6 = true;
12651 }
12652 }
12653 {
12654 if (!wxPyCheckForApp()) SWIG_fail;
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12661 {
12662 if (temp6)
12663 delete arg6;
12664 }
12665 return resultobj;
12666 fail:
12667 {
12668 if (temp6)
12669 delete arg6;
12670 }
12671 return NULL;
12672 }
12673
12674
12675 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12676 PyObject *resultobj = 0;
12677 wxSashLayoutWindow *result = 0 ;
12678
12679 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12680 {
12681 if (!wxPyCheckForApp()) SWIG_fail;
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12688 return resultobj;
12689 fail:
12690 return NULL;
12691 }
12692
12693
12694 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12695 PyObject *resultobj = 0;
12696 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12697 wxWindow *arg2 = (wxWindow *) 0 ;
12698 int arg3 = (int) -1 ;
12699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12701 wxSize const &arg5_defvalue = wxDefaultSize ;
12702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12703 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12704 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12705 wxString *arg7 = (wxString *) &arg7_defvalue ;
12706 bool result;
12707 void *argp1 = 0 ;
12708 int res1 = 0 ;
12709 void *argp2 = 0 ;
12710 int res2 = 0 ;
12711 int val3 ;
12712 int ecode3 = 0 ;
12713 wxPoint temp4 ;
12714 wxSize temp5 ;
12715 long val6 ;
12716 int ecode6 = 0 ;
12717 bool temp7 = false ;
12718 PyObject * obj0 = 0 ;
12719 PyObject * obj1 = 0 ;
12720 PyObject * obj2 = 0 ;
12721 PyObject * obj3 = 0 ;
12722 PyObject * obj4 = 0 ;
12723 PyObject * obj5 = 0 ;
12724 PyObject * obj6 = 0 ;
12725 char * kwnames[] = {
12726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12727 };
12728
12729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12731 if (!SWIG_IsOK(res1)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12733 }
12734 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12735 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12736 if (!SWIG_IsOK(res2)) {
12737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12738 }
12739 arg2 = reinterpret_cast< wxWindow * >(argp2);
12740 if (obj2) {
12741 ecode3 = SWIG_AsVal_int(obj2, &val3);
12742 if (!SWIG_IsOK(ecode3)) {
12743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12744 }
12745 arg3 = static_cast< int >(val3);
12746 }
12747 if (obj3) {
12748 {
12749 arg4 = &temp4;
12750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12751 }
12752 }
12753 if (obj4) {
12754 {
12755 arg5 = &temp5;
12756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12757 }
12758 }
12759 if (obj5) {
12760 ecode6 = SWIG_AsVal_long(obj5, &val6);
12761 if (!SWIG_IsOK(ecode6)) {
12762 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12763 }
12764 arg6 = static_cast< long >(val6);
12765 }
12766 if (obj6) {
12767 {
12768 arg7 = wxString_in_helper(obj6);
12769 if (arg7 == NULL) SWIG_fail;
12770 temp7 = true;
12771 }
12772 }
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 {
12780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12781 }
12782 {
12783 if (temp7)
12784 delete arg7;
12785 }
12786 return resultobj;
12787 fail:
12788 {
12789 if (temp7)
12790 delete arg7;
12791 }
12792 return NULL;
12793 }
12794
12795
12796 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12797 PyObject *resultobj = 0;
12798 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12799 wxLayoutAlignment result;
12800 void *argp1 = 0 ;
12801 int res1 = 0 ;
12802 PyObject *swig_obj[1] ;
12803
12804 if (!args) SWIG_fail;
12805 swig_obj[0] = args;
12806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12807 if (!SWIG_IsOK(res1)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12809 }
12810 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 resultobj = SWIG_From_int(static_cast< int >(result));
12818 return resultobj;
12819 fail:
12820 return NULL;
12821 }
12822
12823
12824 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12825 PyObject *resultobj = 0;
12826 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12827 wxLayoutOrientation result;
12828 void *argp1 = 0 ;
12829 int res1 = 0 ;
12830 PyObject *swig_obj[1] ;
12831
12832 if (!args) SWIG_fail;
12833 swig_obj[0] = args;
12834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12835 if (!SWIG_IsOK(res1)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12837 }
12838 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 resultobj = SWIG_From_int(static_cast< int >(result));
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj = 0;
12854 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12855 wxLayoutAlignment arg2 ;
12856 void *argp1 = 0 ;
12857 int res1 = 0 ;
12858 int val2 ;
12859 int ecode2 = 0 ;
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
12862 char * kwnames[] = {
12863 (char *) "self",(char *) "alignment", NULL
12864 };
12865
12866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12868 if (!SWIG_IsOK(res1)) {
12869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12870 }
12871 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12872 ecode2 = SWIG_AsVal_int(obj1, &val2);
12873 if (!SWIG_IsOK(ecode2)) {
12874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12875 }
12876 arg2 = static_cast< wxLayoutAlignment >(val2);
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 (arg1)->SetAlignment(arg2);
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 resultobj = SWIG_Py_Void();
12884 return resultobj;
12885 fail:
12886 return NULL;
12887 }
12888
12889
12890 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj = 0;
12892 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12893 wxSize *arg2 = 0 ;
12894 void *argp1 = 0 ;
12895 int res1 = 0 ;
12896 wxSize temp2 ;
12897 PyObject * obj0 = 0 ;
12898 PyObject * obj1 = 0 ;
12899 char * kwnames[] = {
12900 (char *) "self",(char *) "size", NULL
12901 };
12902
12903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12905 if (!SWIG_IsOK(res1)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12907 }
12908 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12909 {
12910 arg2 = &temp2;
12911 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12912 }
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 resultobj = SWIG_Py_Void();
12920 return resultobj;
12921 fail:
12922 return NULL;
12923 }
12924
12925
12926 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj = 0;
12928 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12929 wxLayoutOrientation arg2 ;
12930 void *argp1 = 0 ;
12931 int res1 = 0 ;
12932 int val2 ;
12933 int ecode2 = 0 ;
12934 PyObject * obj0 = 0 ;
12935 PyObject * obj1 = 0 ;
12936 char * kwnames[] = {
12937 (char *) "self",(char *) "orientation", NULL
12938 };
12939
12940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12942 if (!SWIG_IsOK(res1)) {
12943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12944 }
12945 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12946 ecode2 = SWIG_AsVal_int(obj1, &val2);
12947 if (!SWIG_IsOK(ecode2)) {
12948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12949 }
12950 arg2 = static_cast< wxLayoutOrientation >(val2);
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetOrientation(arg2);
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 resultobj = SWIG_Py_Void();
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12965 PyObject *obj;
12966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12967 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12968 return SWIG_Py_Void();
12969 }
12970
12971 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 return SWIG_Python_InitShadowInstance(args);
12973 }
12974
12975 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12976 PyObject *resultobj = 0;
12977 wxLayoutAlgorithm *result = 0 ;
12978
12979 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12987 return resultobj;
12988 fail:
12989 return NULL;
12990 }
12991
12992
12993 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12994 PyObject *resultobj = 0;
12995 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12996 void *argp1 = 0 ;
12997 int res1 = 0 ;
12998 PyObject *swig_obj[1] ;
12999
13000 if (!args) SWIG_fail;
13001 swig_obj[0] = args;
13002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13003 if (!SWIG_IsOK(res1)) {
13004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13005 }
13006 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 delete arg1;
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 resultobj = SWIG_Py_Void();
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj = 0;
13023 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13024 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13025 wxRect *arg3 = (wxRect *) NULL ;
13026 bool result;
13027 void *argp1 = 0 ;
13028 int res1 = 0 ;
13029 void *argp2 = 0 ;
13030 int res2 = 0 ;
13031 void *argp3 = 0 ;
13032 int res3 = 0 ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj1 = 0 ;
13035 PyObject * obj2 = 0 ;
13036 char * kwnames[] = {
13037 (char *) "self",(char *) "frame",(char *) "rect", NULL
13038 };
13039
13040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13042 if (!SWIG_IsOK(res1)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13044 }
13045 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13046 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13047 if (!SWIG_IsOK(res2)) {
13048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13049 }
13050 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13051 if (obj2) {
13052 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13053 if (!SWIG_IsOK(res3)) {
13054 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13055 }
13056 arg3 = reinterpret_cast< wxRect * >(argp3);
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13061 wxPyEndAllowThreads(__tstate);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 }
13064 {
13065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13066 }
13067 return resultobj;
13068 fail:
13069 return NULL;
13070 }
13071
13072
13073 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj = 0;
13075 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13076 wxFrame *arg2 = (wxFrame *) 0 ;
13077 wxWindow *arg3 = (wxWindow *) NULL ;
13078 bool result;
13079 void *argp1 = 0 ;
13080 int res1 = 0 ;
13081 void *argp2 = 0 ;
13082 int res2 = 0 ;
13083 void *argp3 = 0 ;
13084 int res3 = 0 ;
13085 PyObject * obj0 = 0 ;
13086 PyObject * obj1 = 0 ;
13087 PyObject * obj2 = 0 ;
13088 char * kwnames[] = {
13089 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13090 };
13091
13092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13094 if (!SWIG_IsOK(res1)) {
13095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13096 }
13097 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13099 if (!SWIG_IsOK(res2)) {
13100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13101 }
13102 arg2 = reinterpret_cast< wxFrame * >(argp2);
13103 if (obj2) {
13104 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13105 if (!SWIG_IsOK(res3)) {
13106 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13107 }
13108 arg3 = reinterpret_cast< wxWindow * >(argp3);
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 {
13117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13118 }
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj = 0;
13127 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13128 wxWindow *arg2 = (wxWindow *) 0 ;
13129 wxWindow *arg3 = (wxWindow *) NULL ;
13130 bool result;
13131 void *argp1 = 0 ;
13132 int res1 = 0 ;
13133 void *argp2 = 0 ;
13134 int res2 = 0 ;
13135 void *argp3 = 0 ;
13136 int res3 = 0 ;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 PyObject * obj2 = 0 ;
13140 char * kwnames[] = {
13141 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13142 };
13143
13144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13146 if (!SWIG_IsOK(res1)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13148 }
13149 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13151 if (!SWIG_IsOK(res2)) {
13152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13153 }
13154 arg2 = reinterpret_cast< wxWindow * >(argp2);
13155 if (obj2) {
13156 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13157 if (!SWIG_IsOK(res3)) {
13158 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13159 }
13160 arg3 = reinterpret_cast< wxWindow * >(argp3);
13161 }
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 {
13169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13170 }
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13178 PyObject *obj;
13179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13180 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13181 return SWIG_Py_Void();
13182 }
13183
13184 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13185 return SWIG_Python_InitShadowInstance(args);
13186 }
13187
13188 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj = 0;
13190 wxWindow *arg1 = (wxWindow *) 0 ;
13191 int arg2 = (int) wxBORDER_NONE ;
13192 wxPopupWindow *result = 0 ;
13193 void *argp1 = 0 ;
13194 int res1 = 0 ;
13195 int val2 ;
13196 int ecode2 = 0 ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 char * kwnames[] = {
13200 (char *) "parent",(char *) "flags", NULL
13201 };
13202
13203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13205 if (!SWIG_IsOK(res1)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13207 }
13208 arg1 = reinterpret_cast< wxWindow * >(argp1);
13209 if (obj1) {
13210 ecode2 = SWIG_AsVal_int(obj1, &val2);
13211 if (!SWIG_IsOK(ecode2)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13213 }
13214 arg2 = static_cast< int >(val2);
13215 }
13216 {
13217 if (!wxPyCheckForApp()) SWIG_fail;
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13231 PyObject *resultobj = 0;
13232 wxPopupWindow *result = 0 ;
13233
13234 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13235 {
13236 if (!wxPyCheckForApp()) SWIG_fail;
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (wxPopupWindow *)new wxPopupWindow();
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj = 0;
13251 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13252 wxWindow *arg2 = (wxWindow *) 0 ;
13253 int arg3 = (int) wxBORDER_NONE ;
13254 bool result;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 void *argp2 = 0 ;
13258 int res2 = 0 ;
13259 int val3 ;
13260 int ecode3 = 0 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 PyObject * obj2 = 0 ;
13264 char * kwnames[] = {
13265 (char *) "self",(char *) "parent",(char *) "flags", NULL
13266 };
13267
13268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13270 if (!SWIG_IsOK(res1)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13272 }
13273 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13275 if (!SWIG_IsOK(res2)) {
13276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13277 }
13278 arg2 = reinterpret_cast< wxWindow * >(argp2);
13279 if (obj2) {
13280 ecode3 = SWIG_AsVal_int(obj2, &val3);
13281 if (!SWIG_IsOK(ecode3)) {
13282 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13283 }
13284 arg3 = static_cast< int >(val3);
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (bool)(arg1)->Create(arg2,arg3);
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13294 }
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj = 0;
13303 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13304 wxPoint *arg2 = 0 ;
13305 wxSize *arg3 = 0 ;
13306 void *argp1 = 0 ;
13307 int res1 = 0 ;
13308 wxPoint temp2 ;
13309 wxSize temp3 ;
13310 PyObject * obj0 = 0 ;
13311 PyObject * obj1 = 0 ;
13312 PyObject * obj2 = 0 ;
13313 char * kwnames[] = {
13314 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13315 };
13316
13317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13319 if (!SWIG_IsOK(res1)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13321 }
13322 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13323 {
13324 arg2 = &temp2;
13325 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13326 }
13327 {
13328 arg3 = &temp3;
13329 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13330 }
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_Py_Void();
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 PyObject *obj;
13346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13348 return SWIG_Py_Void();
13349 }
13350
13351 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13352 return SWIG_Python_InitShadowInstance(args);
13353 }
13354
13355 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj = 0;
13357 wxWindow *arg1 = (wxWindow *) 0 ;
13358 int arg2 = (int) wxBORDER_NONE ;
13359 wxPyPopupTransientWindow *result = 0 ;
13360 void *argp1 = 0 ;
13361 int res1 = 0 ;
13362 int val2 ;
13363 int ecode2 = 0 ;
13364 PyObject * obj0 = 0 ;
13365 PyObject * obj1 = 0 ;
13366 char * kwnames[] = {
13367 (char *) "parent",(char *) "style", NULL
13368 };
13369
13370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13372 if (!SWIG_IsOK(res1)) {
13373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13374 }
13375 arg1 = reinterpret_cast< wxWindow * >(argp1);
13376 if (obj1) {
13377 ecode2 = SWIG_AsVal_int(obj1, &val2);
13378 if (!SWIG_IsOK(ecode2)) {
13379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13380 }
13381 arg2 = static_cast< int >(val2);
13382 }
13383 {
13384 if (!wxPyCheckForApp()) SWIG_fail;
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13391 return resultobj;
13392 fail:
13393 return NULL;
13394 }
13395
13396
13397 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13398 PyObject *resultobj = 0;
13399 wxPyPopupTransientWindow *result = 0 ;
13400
13401 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13402 {
13403 if (!wxPyCheckForApp()) SWIG_fail;
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13410 return resultobj;
13411 fail:
13412 return NULL;
13413 }
13414
13415
13416 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj = 0;
13418 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13419 PyObject *arg2 = (PyObject *) 0 ;
13420 PyObject *arg3 = (PyObject *) 0 ;
13421 void *argp1 = 0 ;
13422 int res1 = 0 ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 PyObject * obj2 = 0 ;
13426 char * kwnames[] = {
13427 (char *) "self",(char *) "self",(char *) "_class", NULL
13428 };
13429
13430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13434 }
13435 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13436 arg2 = obj1;
13437 arg3 = obj2;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->_setCallbackInfo(arg2,arg3);
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_Py_Void();
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj = 0;
13453 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13454 wxWindow *arg2 = (wxWindow *) NULL ;
13455 void *argp1 = 0 ;
13456 int res1 = 0 ;
13457 void *argp2 = 0 ;
13458 int res2 = 0 ;
13459 PyObject * obj0 = 0 ;
13460 PyObject * obj1 = 0 ;
13461 char * kwnames[] = {
13462 (char *) "self",(char *) "focus", NULL
13463 };
13464
13465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13467 if (!SWIG_IsOK(res1)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13469 }
13470 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13471 if (obj1) {
13472 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13473 if (!SWIG_IsOK(res2)) {
13474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13475 }
13476 arg2 = reinterpret_cast< wxWindow * >(argp2);
13477 }
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 (arg1)->Popup(arg2);
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
13484 resultobj = SWIG_Py_Void();
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13492 PyObject *resultobj = 0;
13493 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13494 void *argp1 = 0 ;
13495 int res1 = 0 ;
13496 PyObject *swig_obj[1] ;
13497
13498 if (!args) SWIG_fail;
13499 swig_obj[0] = args;
13500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13501 if (!SWIG_IsOK(res1)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13503 }
13504 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 (arg1)->Dismiss();
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 resultobj = SWIG_Py_Void();
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13519 PyObject *obj;
13520 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13522 return SWIG_Py_Void();
13523 }
13524
13525 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13526 return SWIG_Python_InitShadowInstance(args);
13527 }
13528
13529 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj = 0;
13531 wxWindow *arg1 = (wxWindow *) 0 ;
13532 wxString *arg2 = 0 ;
13533 int arg3 = (int) 100 ;
13534 wxRect *arg4 = (wxRect *) NULL ;
13535 wxTipWindow *result = 0 ;
13536 void *argp1 = 0 ;
13537 int res1 = 0 ;
13538 bool temp2 = false ;
13539 int val3 ;
13540 int ecode3 = 0 ;
13541 void *argp4 = 0 ;
13542 int res4 = 0 ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 PyObject * obj2 = 0 ;
13546 PyObject * obj3 = 0 ;
13547 char * kwnames[] = {
13548 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13549 };
13550
13551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13553 if (!SWIG_IsOK(res1)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13555 }
13556 arg1 = reinterpret_cast< wxWindow * >(argp1);
13557 {
13558 arg2 = wxString_in_helper(obj1);
13559 if (arg2 == NULL) SWIG_fail;
13560 temp2 = true;
13561 }
13562 if (obj2) {
13563 ecode3 = SWIG_AsVal_int(obj2, &val3);
13564 if (!SWIG_IsOK(ecode3)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13566 }
13567 arg3 = static_cast< int >(val3);
13568 }
13569 if (obj3) {
13570 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13571 if (!SWIG_IsOK(res4)) {
13572 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13573 }
13574 arg4 = reinterpret_cast< wxRect * >(argp4);
13575 }
13576 {
13577 if (!wxPyCheckForApp()) SWIG_fail;
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13584 {
13585 if (temp2)
13586 delete arg2;
13587 }
13588 return resultobj;
13589 fail:
13590 {
13591 if (temp2)
13592 delete arg2;
13593 }
13594 return NULL;
13595 }
13596
13597
13598 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj = 0;
13600 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13601 wxRect *arg2 = 0 ;
13602 void *argp1 = 0 ;
13603 int res1 = 0 ;
13604 wxRect temp2 ;
13605 PyObject * obj0 = 0 ;
13606 PyObject * obj1 = 0 ;
13607 char * kwnames[] = {
13608 (char *) "self",(char *) "rectBound", NULL
13609 };
13610
13611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13613 if (!SWIG_IsOK(res1)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13615 }
13616 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13617 {
13618 arg2 = &temp2;
13619 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13620 }
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_Py_Void();
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13635 PyObject *resultobj = 0;
13636 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13637 void *argp1 = 0 ;
13638 int res1 = 0 ;
13639 PyObject *swig_obj[1] ;
13640
13641 if (!args) SWIG_fail;
13642 swig_obj[0] = args;
13643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13644 if (!SWIG_IsOK(res1)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13646 }
13647 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 (arg1)->Close();
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 resultobj = SWIG_Py_Void();
13655 return resultobj;
13656 fail:
13657 return NULL;
13658 }
13659
13660
13661 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13662 PyObject *obj;
13663 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13664 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13665 return SWIG_Py_Void();
13666 }
13667
13668 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13669 return SWIG_Python_InitShadowInstance(args);
13670 }
13671
13672 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13673 PyObject *resultobj = 0;
13674 wxWindow *arg1 = (wxWindow *) 0 ;
13675 int arg2 = (int) wxID_ANY ;
13676 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13677 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13678 wxSize const &arg4_defvalue = wxDefaultSize ;
13679 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13680 long arg5 = (long) 0 ;
13681 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13682 wxString *arg6 = (wxString *) &arg6_defvalue ;
13683 wxPyVScrolledWindow *result = 0 ;
13684 void *argp1 = 0 ;
13685 int res1 = 0 ;
13686 int val2 ;
13687 int ecode2 = 0 ;
13688 wxPoint temp3 ;
13689 wxSize temp4 ;
13690 long val5 ;
13691 int ecode5 = 0 ;
13692 bool temp6 = false ;
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 PyObject * obj2 = 0 ;
13696 PyObject * obj3 = 0 ;
13697 PyObject * obj4 = 0 ;
13698 PyObject * obj5 = 0 ;
13699 char * kwnames[] = {
13700 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13701 };
13702
13703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13705 if (!SWIG_IsOK(res1)) {
13706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13707 }
13708 arg1 = reinterpret_cast< wxWindow * >(argp1);
13709 if (obj1) {
13710 ecode2 = SWIG_AsVal_int(obj1, &val2);
13711 if (!SWIG_IsOK(ecode2)) {
13712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13713 }
13714 arg2 = static_cast< int >(val2);
13715 }
13716 if (obj2) {
13717 {
13718 arg3 = &temp3;
13719 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13720 }
13721 }
13722 if (obj3) {
13723 {
13724 arg4 = &temp4;
13725 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13726 }
13727 }
13728 if (obj4) {
13729 ecode5 = SWIG_AsVal_long(obj4, &val5);
13730 if (!SWIG_IsOK(ecode5)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13732 }
13733 arg5 = static_cast< long >(val5);
13734 }
13735 if (obj5) {
13736 {
13737 arg6 = wxString_in_helper(obj5);
13738 if (arg6 == NULL) SWIG_fail;
13739 temp6 = true;
13740 }
13741 }
13742 {
13743 if (!wxPyCheckForApp()) SWIG_fail;
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13750 {
13751 if (temp6)
13752 delete arg6;
13753 }
13754 return resultobj;
13755 fail:
13756 {
13757 if (temp6)
13758 delete arg6;
13759 }
13760 return NULL;
13761 }
13762
13763
13764 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13765 PyObject *resultobj = 0;
13766 wxPyVScrolledWindow *result = 0 ;
13767
13768 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13769 {
13770 if (!wxPyCheckForApp()) SWIG_fail;
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj = 0;
13785 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13786 PyObject *arg2 = (PyObject *) 0 ;
13787 PyObject *arg3 = (PyObject *) 0 ;
13788 void *argp1 = 0 ;
13789 int res1 = 0 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 char * kwnames[] = {
13794 (char *) "self",(char *) "self",(char *) "_class", NULL
13795 };
13796
13797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13799 if (!SWIG_IsOK(res1)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13801 }
13802 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13803 arg2 = obj1;
13804 arg3 = obj2;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 (arg1)->_setCallbackInfo(arg2,arg3);
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 resultobj = SWIG_Py_Void();
13812 return resultobj;
13813 fail:
13814 return NULL;
13815 }
13816
13817
13818 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj = 0;
13820 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13821 wxWindow *arg2 = (wxWindow *) 0 ;
13822 int arg3 = (int) wxID_ANY ;
13823 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13824 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13825 wxSize const &arg5_defvalue = wxDefaultSize ;
13826 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13827 long arg6 = (long) 0 ;
13828 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13829 wxString *arg7 = (wxString *) &arg7_defvalue ;
13830 bool result;
13831 void *argp1 = 0 ;
13832 int res1 = 0 ;
13833 void *argp2 = 0 ;
13834 int res2 = 0 ;
13835 int val3 ;
13836 int ecode3 = 0 ;
13837 wxPoint temp4 ;
13838 wxSize temp5 ;
13839 long val6 ;
13840 int ecode6 = 0 ;
13841 bool temp7 = false ;
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 PyObject * obj2 = 0 ;
13845 PyObject * obj3 = 0 ;
13846 PyObject * obj4 = 0 ;
13847 PyObject * obj5 = 0 ;
13848 PyObject * obj6 = 0 ;
13849 char * kwnames[] = {
13850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13851 };
13852
13853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13855 if (!SWIG_IsOK(res1)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13857 }
13858 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13859 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13860 if (!SWIG_IsOK(res2)) {
13861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13862 }
13863 arg2 = reinterpret_cast< wxWindow * >(argp2);
13864 if (obj2) {
13865 ecode3 = SWIG_AsVal_int(obj2, &val3);
13866 if (!SWIG_IsOK(ecode3)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13868 }
13869 arg3 = static_cast< int >(val3);
13870 }
13871 if (obj3) {
13872 {
13873 arg4 = &temp4;
13874 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13875 }
13876 }
13877 if (obj4) {
13878 {
13879 arg5 = &temp5;
13880 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13881 }
13882 }
13883 if (obj5) {
13884 ecode6 = SWIG_AsVal_long(obj5, &val6);
13885 if (!SWIG_IsOK(ecode6)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13887 }
13888 arg6 = static_cast< long >(val6);
13889 }
13890 if (obj6) {
13891 {
13892 arg7 = wxString_in_helper(obj6);
13893 if (arg7 == NULL) SWIG_fail;
13894 temp7 = true;
13895 }
13896 }
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 {
13904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13905 }
13906 {
13907 if (temp7)
13908 delete arg7;
13909 }
13910 return resultobj;
13911 fail:
13912 {
13913 if (temp7)
13914 delete arg7;
13915 }
13916 return NULL;
13917 }
13918
13919
13920 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj = 0;
13922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13923 size_t arg2 ;
13924 void *argp1 = 0 ;
13925 int res1 = 0 ;
13926 size_t val2 ;
13927 int ecode2 = 0 ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 char * kwnames[] = {
13931 (char *) "self",(char *) "count", NULL
13932 };
13933
13934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13936 if (!SWIG_IsOK(res1)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13938 }
13939 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13940 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13941 if (!SWIG_IsOK(ecode2)) {
13942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13943 }
13944 arg2 = static_cast< size_t >(val2);
13945 {
13946 PyThreadState* __tstate = wxPyBeginAllowThreads();
13947 (arg1)->SetLineCount(arg2);
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 resultobj = SWIG_Py_Void();
13952 return resultobj;
13953 fail:
13954 return NULL;
13955 }
13956
13957
13958 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13959 PyObject *resultobj = 0;
13960 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13961 size_t arg2 ;
13962 bool result;
13963 void *argp1 = 0 ;
13964 int res1 = 0 ;
13965 size_t val2 ;
13966 int ecode2 = 0 ;
13967 PyObject * obj0 = 0 ;
13968 PyObject * obj1 = 0 ;
13969 char * kwnames[] = {
13970 (char *) "self",(char *) "line", NULL
13971 };
13972
13973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13975 if (!SWIG_IsOK(res1)) {
13976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13977 }
13978 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13979 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13980 if (!SWIG_IsOK(ecode2)) {
13981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13982 }
13983 arg2 = static_cast< size_t >(val2);
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (bool)(arg1)->ScrollToLine(arg2);
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 {
13991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13992 }
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj = 0;
14001 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14002 size_t arg2 ;
14003 void *argp1 = 0 ;
14004 int res1 = 0 ;
14005 size_t val2 ;
14006 int ecode2 = 0 ;
14007 PyObject * obj0 = 0 ;
14008 PyObject * obj1 = 0 ;
14009 char * kwnames[] = {
14010 (char *) "self",(char *) "line", NULL
14011 };
14012
14013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14015 if (!SWIG_IsOK(res1)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14017 }
14018 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14019 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14020 if (!SWIG_IsOK(ecode2)) {
14021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14022 }
14023 arg2 = static_cast< size_t >(val2);
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 (arg1)->RefreshLine(arg2);
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 resultobj = SWIG_Py_Void();
14031 return resultobj;
14032 fail:
14033 return NULL;
14034 }
14035
14036
14037 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14038 PyObject *resultobj = 0;
14039 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14040 size_t arg2 ;
14041 size_t arg3 ;
14042 void *argp1 = 0 ;
14043 int res1 = 0 ;
14044 size_t val2 ;
14045 int ecode2 = 0 ;
14046 size_t val3 ;
14047 int ecode3 = 0 ;
14048 PyObject * obj0 = 0 ;
14049 PyObject * obj1 = 0 ;
14050 PyObject * obj2 = 0 ;
14051 char * kwnames[] = {
14052 (char *) "self",(char *) "from",(char *) "to", NULL
14053 };
14054
14055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14057 if (!SWIG_IsOK(res1)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14059 }
14060 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14061 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14062 if (!SWIG_IsOK(ecode2)) {
14063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14064 }
14065 arg2 = static_cast< size_t >(val2);
14066 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14067 if (!SWIG_IsOK(ecode3)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14069 }
14070 arg3 = static_cast< size_t >(val3);
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 (arg1)->RefreshLines(arg2,arg3);
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 resultobj = SWIG_Py_Void();
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj = 0;
14086 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14087 int arg2 ;
14088 int arg3 ;
14089 int result;
14090 void *argp1 = 0 ;
14091 int res1 = 0 ;
14092 int val2 ;
14093 int ecode2 = 0 ;
14094 int val3 ;
14095 int ecode3 = 0 ;
14096 PyObject * obj0 = 0 ;
14097 PyObject * obj1 = 0 ;
14098 PyObject * obj2 = 0 ;
14099 char * kwnames[] = {
14100 (char *) "self",(char *) "x",(char *) "y", NULL
14101 };
14102
14103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14105 if (!SWIG_IsOK(res1)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14107 }
14108 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14109 ecode2 = SWIG_AsVal_int(obj1, &val2);
14110 if (!SWIG_IsOK(ecode2)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14112 }
14113 arg2 = static_cast< int >(val2);
14114 ecode3 = SWIG_AsVal_int(obj2, &val3);
14115 if (!SWIG_IsOK(ecode3)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14117 }
14118 arg3 = static_cast< int >(val3);
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 resultobj = SWIG_From_int(static_cast< int >(result));
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14133 PyObject *resultobj = 0;
14134 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14135 wxPoint *arg2 = 0 ;
14136 int result;
14137 void *argp1 = 0 ;
14138 int res1 = 0 ;
14139 wxPoint temp2 ;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 char * kwnames[] = {
14143 (char *) "self",(char *) "pt", NULL
14144 };
14145
14146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14148 if (!SWIG_IsOK(res1)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14150 }
14151 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14152 {
14153 arg2 = &temp2;
14154 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = SWIG_From_int(static_cast< int >(result));
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14170 PyObject *resultobj = 0;
14171 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14172 void *argp1 = 0 ;
14173 int res1 = 0 ;
14174 PyObject *swig_obj[1] ;
14175
14176 if (!args) SWIG_fail;
14177 swig_obj[0] = args;
14178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14179 if (!SWIG_IsOK(res1)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14181 }
14182 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14183 {
14184 PyThreadState* __tstate = wxPyBeginAllowThreads();
14185 (arg1)->RefreshAll();
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 resultobj = SWIG_Py_Void();
14190 return resultobj;
14191 fail:
14192 return NULL;
14193 }
14194
14195
14196 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14197 PyObject *resultobj = 0;
14198 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14199 size_t result;
14200 void *argp1 = 0 ;
14201 int res1 = 0 ;
14202 PyObject *swig_obj[1] ;
14203
14204 if (!args) SWIG_fail;
14205 swig_obj[0] = args;
14206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14207 if (!SWIG_IsOK(res1)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14209 }
14210 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14225 PyObject *resultobj = 0;
14226 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14227 size_t result;
14228 void *argp1 = 0 ;
14229 int res1 = 0 ;
14230 PyObject *swig_obj[1] ;
14231
14232 if (!args) SWIG_fail;
14233 swig_obj[0] = args;
14234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14235 if (!SWIG_IsOK(res1)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14237 }
14238 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14253 PyObject *resultobj = 0;
14254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14255 size_t result;
14256 void *argp1 = 0 ;
14257 int res1 = 0 ;
14258 PyObject *swig_obj[1] ;
14259
14260 if (!args) SWIG_fail;
14261 swig_obj[0] = args;
14262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14263 if (!SWIG_IsOK(res1)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14265 }
14266 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14274 return resultobj;
14275 fail:
14276 return NULL;
14277 }
14278
14279
14280 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj = 0;
14282 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14283 size_t arg2 ;
14284 bool result;
14285 void *argp1 = 0 ;
14286 int res1 = 0 ;
14287 size_t val2 ;
14288 int ecode2 = 0 ;
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char * kwnames[] = {
14292 (char *) "self",(char *) "line", NULL
14293 };
14294
14295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14297 if (!SWIG_IsOK(res1)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14299 }
14300 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14301 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14302 if (!SWIG_IsOK(ecode2)) {
14303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14304 }
14305 arg2 = static_cast< size_t >(val2);
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 {
14313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14314 }
14315 return resultobj;
14316 fail:
14317 return NULL;
14318 }
14319
14320
14321 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14322 PyObject *resultobj = 0;
14323 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14324 size_t result;
14325 void *argp1 = 0 ;
14326 int res1 = 0 ;
14327 PyObject *swig_obj[1] ;
14328
14329 if (!args) SWIG_fail;
14330 swig_obj[0] = args;
14331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14334 }
14335 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14343 return resultobj;
14344 fail:
14345 return NULL;
14346 }
14347
14348
14349 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14350 PyObject *resultobj = 0;
14351 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14352 size_t result;
14353 void *argp1 = 0 ;
14354 int res1 = 0 ;
14355 PyObject *swig_obj[1] ;
14356
14357 if (!args) SWIG_fail;
14358 swig_obj[0] = args;
14359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14360 if (!SWIG_IsOK(res1)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14362 }
14363 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj = 0;
14379 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14380 size_t arg2 ;
14381 bool arg3 = (bool) false ;
14382 size_t result;
14383 void *argp1 = 0 ;
14384 int res1 = 0 ;
14385 size_t val2 ;
14386 int ecode2 = 0 ;
14387 bool val3 ;
14388 int ecode3 = 0 ;
14389 PyObject * obj0 = 0 ;
14390 PyObject * obj1 = 0 ;
14391 PyObject * obj2 = 0 ;
14392 char * kwnames[] = {
14393 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14394 };
14395
14396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14398 if (!SWIG_IsOK(res1)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14400 }
14401 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14402 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14403 if (!SWIG_IsOK(ecode2)) {
14404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14405 }
14406 arg2 = static_cast< size_t >(val2);
14407 if (obj2) {
14408 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14409 if (!SWIG_IsOK(ecode3)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14411 }
14412 arg3 = static_cast< bool >(val3);
14413 }
14414 {
14415 PyThreadState* __tstate = wxPyBeginAllowThreads();
14416 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14421 return resultobj;
14422 fail:
14423 return NULL;
14424 }
14425
14426
14427 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14428 PyObject *resultobj = 0;
14429 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14430 size_t arg2 ;
14431 size_t arg3 ;
14432 int result;
14433 void *argp1 = 0 ;
14434 int res1 = 0 ;
14435 size_t val2 ;
14436 int ecode2 = 0 ;
14437 size_t val3 ;
14438 int ecode3 = 0 ;
14439 PyObject * obj0 = 0 ;
14440 PyObject * obj1 = 0 ;
14441 PyObject * obj2 = 0 ;
14442 char * kwnames[] = {
14443 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14444 };
14445
14446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14448 if (!SWIG_IsOK(res1)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14450 }
14451 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14452 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14453 if (!SWIG_IsOK(ecode2)) {
14454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14455 }
14456 arg2 = static_cast< size_t >(val2);
14457 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14458 if (!SWIG_IsOK(ecode3)) {
14459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14460 }
14461 arg3 = static_cast< size_t >(val3);
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 resultobj = SWIG_From_int(static_cast< int >(result));
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14476 PyObject *obj;
14477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14479 return SWIG_Py_Void();
14480 }
14481
14482 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14483 return SWIG_Python_InitShadowInstance(args);
14484 }
14485
14486 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14487 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14488 return 1;
14489 }
14490
14491
14492 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14493 PyObject *pyobj = 0;
14494
14495 {
14496 #if wxUSE_UNICODE
14497 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14498 #else
14499 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14500 #endif
14501 }
14502 return pyobj;
14503 }
14504
14505
14506 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj = 0;
14508 wxWindow *arg1 = (wxWindow *) 0 ;
14509 int arg2 = (int) wxID_ANY ;
14510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14512 wxSize const &arg4_defvalue = wxDefaultSize ;
14513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14514 long arg5 = (long) 0 ;
14515 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14516 wxString *arg6 = (wxString *) &arg6_defvalue ;
14517 wxPyVListBox *result = 0 ;
14518 void *argp1 = 0 ;
14519 int res1 = 0 ;
14520 int val2 ;
14521 int ecode2 = 0 ;
14522 wxPoint temp3 ;
14523 wxSize temp4 ;
14524 long val5 ;
14525 int ecode5 = 0 ;
14526 bool temp6 = false ;
14527 PyObject * obj0 = 0 ;
14528 PyObject * obj1 = 0 ;
14529 PyObject * obj2 = 0 ;
14530 PyObject * obj3 = 0 ;
14531 PyObject * obj4 = 0 ;
14532 PyObject * obj5 = 0 ;
14533 char * kwnames[] = {
14534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14535 };
14536
14537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14539 if (!SWIG_IsOK(res1)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14541 }
14542 arg1 = reinterpret_cast< wxWindow * >(argp1);
14543 if (obj1) {
14544 ecode2 = SWIG_AsVal_int(obj1, &val2);
14545 if (!SWIG_IsOK(ecode2)) {
14546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14547 }
14548 arg2 = static_cast< int >(val2);
14549 }
14550 if (obj2) {
14551 {
14552 arg3 = &temp3;
14553 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14554 }
14555 }
14556 if (obj3) {
14557 {
14558 arg4 = &temp4;
14559 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14560 }
14561 }
14562 if (obj4) {
14563 ecode5 = SWIG_AsVal_long(obj4, &val5);
14564 if (!SWIG_IsOK(ecode5)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14566 }
14567 arg5 = static_cast< long >(val5);
14568 }
14569 if (obj5) {
14570 {
14571 arg6 = wxString_in_helper(obj5);
14572 if (arg6 == NULL) SWIG_fail;
14573 temp6 = true;
14574 }
14575 }
14576 {
14577 if (!wxPyCheckForApp()) SWIG_fail;
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14584 {
14585 if (temp6)
14586 delete arg6;
14587 }
14588 return resultobj;
14589 fail:
14590 {
14591 if (temp6)
14592 delete arg6;
14593 }
14594 return NULL;
14595 }
14596
14597
14598 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14599 PyObject *resultobj = 0;
14600 wxPyVListBox *result = 0 ;
14601
14602 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14603 {
14604 if (!wxPyCheckForApp()) SWIG_fail;
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (wxPyVListBox *)new wxPyVListBox();
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj = 0;
14619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14620 PyObject *arg2 = (PyObject *) 0 ;
14621 PyObject *arg3 = (PyObject *) 0 ;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 PyObject * obj0 = 0 ;
14625 PyObject * obj1 = 0 ;
14626 PyObject * obj2 = 0 ;
14627 char * kwnames[] = {
14628 (char *) "self",(char *) "self",(char *) "_class", NULL
14629 };
14630
14631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14633 if (!SWIG_IsOK(res1)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14635 }
14636 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14637 arg2 = obj1;
14638 arg3 = obj2;
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 (arg1)->_setCallbackInfo(arg2,arg3);
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = SWIG_Py_Void();
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj = 0;
14654 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14655 wxWindow *arg2 = (wxWindow *) 0 ;
14656 int arg3 = (int) wxID_ANY ;
14657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14659 wxSize const &arg5_defvalue = wxDefaultSize ;
14660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14661 long arg6 = (long) 0 ;
14662 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14663 wxString *arg7 = (wxString *) &arg7_defvalue ;
14664 bool result;
14665 void *argp1 = 0 ;
14666 int res1 = 0 ;
14667 void *argp2 = 0 ;
14668 int res2 = 0 ;
14669 int val3 ;
14670 int ecode3 = 0 ;
14671 wxPoint temp4 ;
14672 wxSize temp5 ;
14673 long val6 ;
14674 int ecode6 = 0 ;
14675 bool temp7 = false ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj1 = 0 ;
14678 PyObject * obj2 = 0 ;
14679 PyObject * obj3 = 0 ;
14680 PyObject * obj4 = 0 ;
14681 PyObject * obj5 = 0 ;
14682 PyObject * obj6 = 0 ;
14683 char * kwnames[] = {
14684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14685 };
14686
14687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14689 if (!SWIG_IsOK(res1)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14691 }
14692 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14693 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14694 if (!SWIG_IsOK(res2)) {
14695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14696 }
14697 arg2 = reinterpret_cast< wxWindow * >(argp2);
14698 if (obj2) {
14699 ecode3 = SWIG_AsVal_int(obj2, &val3);
14700 if (!SWIG_IsOK(ecode3)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14702 }
14703 arg3 = static_cast< int >(val3);
14704 }
14705 if (obj3) {
14706 {
14707 arg4 = &temp4;
14708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14709 }
14710 }
14711 if (obj4) {
14712 {
14713 arg5 = &temp5;
14714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14715 }
14716 }
14717 if (obj5) {
14718 ecode6 = SWIG_AsVal_long(obj5, &val6);
14719 if (!SWIG_IsOK(ecode6)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14721 }
14722 arg6 = static_cast< long >(val6);
14723 }
14724 if (obj6) {
14725 {
14726 arg7 = wxString_in_helper(obj6);
14727 if (arg7 == NULL) SWIG_fail;
14728 temp7 = true;
14729 }
14730 }
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 {
14738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14739 }
14740 {
14741 if (temp7)
14742 delete arg7;
14743 }
14744 return resultobj;
14745 fail:
14746 {
14747 if (temp7)
14748 delete arg7;
14749 }
14750 return NULL;
14751 }
14752
14753
14754 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14755 PyObject *resultobj = 0;
14756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14757 size_t result;
14758 void *argp1 = 0 ;
14759 int res1 = 0 ;
14760 PyObject *swig_obj[1] ;
14761
14762 if (!args) SWIG_fail;
14763 swig_obj[0] = args;
14764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14765 if (!SWIG_IsOK(res1)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14767 }
14768 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14783 PyObject *resultobj = 0;
14784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14785 bool result;
14786 void *argp1 = 0 ;
14787 int res1 = 0 ;
14788 PyObject *swig_obj[1] ;
14789
14790 if (!args) SWIG_fail;
14791 swig_obj[0] = args;
14792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14793 if (!SWIG_IsOK(res1)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14795 }
14796 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 {
14804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14805 }
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14813 PyObject *resultobj = 0;
14814 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14815 int result;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 PyObject *swig_obj[1] ;
14819
14820 if (!args) SWIG_fail;
14821 swig_obj[0] = args;
14822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14823 if (!SWIG_IsOK(res1)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14825 }
14826 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 resultobj = SWIG_From_int(static_cast< int >(result));
14834 return resultobj;
14835 fail:
14836 return NULL;
14837 }
14838
14839
14840 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj = 0;
14842 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14843 size_t arg2 ;
14844 bool result;
14845 void *argp1 = 0 ;
14846 int res1 = 0 ;
14847 size_t val2 ;
14848 int ecode2 = 0 ;
14849 PyObject * obj0 = 0 ;
14850 PyObject * obj1 = 0 ;
14851 char * kwnames[] = {
14852 (char *) "self",(char *) "item", NULL
14853 };
14854
14855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14857 if (!SWIG_IsOK(res1)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14859 }
14860 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14861 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14862 if (!SWIG_IsOK(ecode2)) {
14863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14864 }
14865 arg2 = static_cast< size_t >(val2);
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 {
14873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14874 }
14875 return resultobj;
14876 fail:
14877 return NULL;
14878 }
14879
14880
14881 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj = 0;
14883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14884 size_t arg2 ;
14885 bool result;
14886 void *argp1 = 0 ;
14887 int res1 = 0 ;
14888 size_t val2 ;
14889 int ecode2 = 0 ;
14890 PyObject * obj0 = 0 ;
14891 PyObject * obj1 = 0 ;
14892 char * kwnames[] = {
14893 (char *) "self",(char *) "item", NULL
14894 };
14895
14896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14898 if (!SWIG_IsOK(res1)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14900 }
14901 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14902 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14903 if (!SWIG_IsOK(ecode2)) {
14904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14905 }
14906 arg2 = static_cast< size_t >(val2);
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 {
14914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14915 }
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14923 PyObject *resultobj = 0;
14924 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14925 size_t result;
14926 void *argp1 = 0 ;
14927 int res1 = 0 ;
14928 PyObject *swig_obj[1] ;
14929
14930 if (!args) SWIG_fail;
14931 swig_obj[0] = args;
14932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14933 if (!SWIG_IsOK(res1)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14935 }
14936 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14951 PyObject *resultobj = 0;
14952 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14953 PyObject *result = 0 ;
14954 void *argp1 = 0 ;
14955 int res1 = 0 ;
14956 PyObject *swig_obj[1] ;
14957
14958 if (!args) SWIG_fail;
14959 swig_obj[0] = args;
14960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14963 }
14964 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 resultobj = result;
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj = 0;
14980 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14981 unsigned long arg2 ;
14982 PyObject *result = 0 ;
14983 void *argp1 = 0 ;
14984 int res1 = 0 ;
14985 unsigned long val2 ;
14986 int ecode2 = 0 ;
14987 PyObject * obj0 = 0 ;
14988 PyObject * obj1 = 0 ;
14989 char * kwnames[] = {
14990 (char *) "self",(char *) "cookie", NULL
14991 };
14992
14993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14995 if (!SWIG_IsOK(res1)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14997 }
14998 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14999 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
15000 if (!SWIG_IsOK(ecode2)) {
15001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15002 }
15003 arg2 = static_cast< unsigned long >(val2);
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 resultobj = result;
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15018 PyObject *resultobj = 0;
15019 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15020 wxPoint result;
15021 void *argp1 = 0 ;
15022 int res1 = 0 ;
15023 PyObject *swig_obj[1] ;
15024
15025 if (!args) SWIG_fail;
15026 swig_obj[0] = args;
15027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15028 if (!SWIG_IsOK(res1)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15030 }
15031 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = ((wxPyVListBox const *)arg1)->GetMargins();
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15039 return resultobj;
15040 fail:
15041 return NULL;
15042 }
15043
15044
15045 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15046 PyObject *resultobj = 0;
15047 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15048 wxColour *result = 0 ;
15049 void *argp1 = 0 ;
15050 int res1 = 0 ;
15051 PyObject *swig_obj[1] ;
15052
15053 if (!args) SWIG_fail;
15054 swig_obj[0] = args;
15055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15056 if (!SWIG_IsOK(res1)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15058 }
15059 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 {
15063 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15064 result = (wxColour *) &_result_ref;
15065 }
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj = 0;
15078 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15079 size_t arg2 ;
15080 void *argp1 = 0 ;
15081 int res1 = 0 ;
15082 size_t val2 ;
15083 int ecode2 = 0 ;
15084 PyObject * obj0 = 0 ;
15085 PyObject * obj1 = 0 ;
15086 char * kwnames[] = {
15087 (char *) "self",(char *) "count", NULL
15088 };
15089
15090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15092 if (!SWIG_IsOK(res1)) {
15093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15094 }
15095 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15096 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15097 if (!SWIG_IsOK(ecode2)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15099 }
15100 arg2 = static_cast< size_t >(val2);
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 (arg1)->SetItemCount(arg2);
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 resultobj = SWIG_Py_Void();
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15115 PyObject *resultobj = 0;
15116 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15117 void *argp1 = 0 ;
15118 int res1 = 0 ;
15119 PyObject *swig_obj[1] ;
15120
15121 if (!args) SWIG_fail;
15122 swig_obj[0] = args;
15123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15124 if (!SWIG_IsOK(res1)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15126 }
15127 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 (arg1)->Clear();
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 resultobj = SWIG_Py_Void();
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj = 0;
15143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15144 int arg2 ;
15145 void *argp1 = 0 ;
15146 int res1 = 0 ;
15147 int val2 ;
15148 int ecode2 = 0 ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 char * kwnames[] = {
15152 (char *) "self",(char *) "selection", NULL
15153 };
15154
15155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15157 if (!SWIG_IsOK(res1)) {
15158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15159 }
15160 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15161 ecode2 = SWIG_AsVal_int(obj1, &val2);
15162 if (!SWIG_IsOK(ecode2)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15164 }
15165 arg2 = static_cast< int >(val2);
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 (arg1)->SetSelection(arg2);
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 resultobj = SWIG_Py_Void();
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj = 0;
15181 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15182 size_t arg2 ;
15183 bool arg3 = (bool) true ;
15184 bool result;
15185 void *argp1 = 0 ;
15186 int res1 = 0 ;
15187 size_t val2 ;
15188 int ecode2 = 0 ;
15189 bool val3 ;
15190 int ecode3 = 0 ;
15191 PyObject * obj0 = 0 ;
15192 PyObject * obj1 = 0 ;
15193 PyObject * obj2 = 0 ;
15194 char * kwnames[] = {
15195 (char *) "self",(char *) "item",(char *) "select", NULL
15196 };
15197
15198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15200 if (!SWIG_IsOK(res1)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15202 }
15203 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15204 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15205 if (!SWIG_IsOK(ecode2)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15207 }
15208 arg2 = static_cast< size_t >(val2);
15209 if (obj2) {
15210 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15211 if (!SWIG_IsOK(ecode3)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15213 }
15214 arg3 = static_cast< bool >(val3);
15215 }
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (bool)(arg1)->Select(arg2,arg3);
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 {
15223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15224 }
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj = 0;
15233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15234 size_t arg2 ;
15235 size_t arg3 ;
15236 bool result;
15237 void *argp1 = 0 ;
15238 int res1 = 0 ;
15239 size_t val2 ;
15240 int ecode2 = 0 ;
15241 size_t val3 ;
15242 int ecode3 = 0 ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 PyObject * obj2 = 0 ;
15246 char * kwnames[] = {
15247 (char *) "self",(char *) "from",(char *) "to", NULL
15248 };
15249
15250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15252 if (!SWIG_IsOK(res1)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15254 }
15255 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15256 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15257 if (!SWIG_IsOK(ecode2)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15259 }
15260 arg2 = static_cast< size_t >(val2);
15261 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15262 if (!SWIG_IsOK(ecode3)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15264 }
15265 arg3 = static_cast< size_t >(val3);
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (bool)(arg1)->SelectRange(arg2,arg3);
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 {
15273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15274 }
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj = 0;
15283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15284 size_t arg2 ;
15285 void *argp1 = 0 ;
15286 int res1 = 0 ;
15287 size_t val2 ;
15288 int ecode2 = 0 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char * kwnames[] = {
15292 (char *) "self",(char *) "item", NULL
15293 };
15294
15295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15297 if (!SWIG_IsOK(res1)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15299 }
15300 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15301 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15302 if (!SWIG_IsOK(ecode2)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15304 }
15305 arg2 = static_cast< size_t >(val2);
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 (arg1)->Toggle(arg2);
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 resultobj = SWIG_Py_Void();
15313 return resultobj;
15314 fail:
15315 return NULL;
15316 }
15317
15318
15319 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15320 PyObject *resultobj = 0;
15321 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15322 bool result;
15323 void *argp1 = 0 ;
15324 int res1 = 0 ;
15325 PyObject *swig_obj[1] ;
15326
15327 if (!args) SWIG_fail;
15328 swig_obj[0] = args;
15329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15330 if (!SWIG_IsOK(res1)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15332 }
15333 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (bool)(arg1)->SelectAll();
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 {
15341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15342 }
15343 return resultobj;
15344 fail:
15345 return NULL;
15346 }
15347
15348
15349 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15350 PyObject *resultobj = 0;
15351 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15352 bool result;
15353 void *argp1 = 0 ;
15354 int res1 = 0 ;
15355 PyObject *swig_obj[1] ;
15356
15357 if (!args) SWIG_fail;
15358 swig_obj[0] = args;
15359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15360 if (!SWIG_IsOK(res1)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15362 }
15363 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (bool)(arg1)->DeselectAll();
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 {
15371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15372 }
15373 return resultobj;
15374 fail:
15375 return NULL;
15376 }
15377
15378
15379 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15380 PyObject *resultobj = 0;
15381 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15382 wxPoint *arg2 = 0 ;
15383 void *argp1 = 0 ;
15384 int res1 = 0 ;
15385 wxPoint temp2 ;
15386 PyObject * obj0 = 0 ;
15387 PyObject * obj1 = 0 ;
15388 char * kwnames[] = {
15389 (char *) "self",(char *) "pt", NULL
15390 };
15391
15392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15394 if (!SWIG_IsOK(res1)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15396 }
15397 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15398 {
15399 arg2 = &temp2;
15400 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15401 }
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 (arg1)->SetMargins((wxPoint const &)*arg2);
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 resultobj = SWIG_Py_Void();
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj = 0;
15417 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15418 int arg2 ;
15419 int arg3 ;
15420 void *argp1 = 0 ;
15421 int res1 = 0 ;
15422 int val2 ;
15423 int ecode2 = 0 ;
15424 int val3 ;
15425 int ecode3 = 0 ;
15426 PyObject * obj0 = 0 ;
15427 PyObject * obj1 = 0 ;
15428 PyObject * obj2 = 0 ;
15429 char * kwnames[] = {
15430 (char *) "self",(char *) "x",(char *) "y", NULL
15431 };
15432
15433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15435 if (!SWIG_IsOK(res1)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15437 }
15438 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15439 ecode2 = SWIG_AsVal_int(obj1, &val2);
15440 if (!SWIG_IsOK(ecode2)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15442 }
15443 arg2 = static_cast< int >(val2);
15444 ecode3 = SWIG_AsVal_int(obj2, &val3);
15445 if (!SWIG_IsOK(ecode3)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15447 }
15448 arg3 = static_cast< int >(val3);
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 (arg1)->SetMargins(arg2,arg3);
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_Py_Void();
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj = 0;
15464 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15465 wxColour *arg2 = 0 ;
15466 void *argp1 = 0 ;
15467 int res1 = 0 ;
15468 wxColour temp2 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 char * kwnames[] = {
15472 (char *) "self",(char *) "col", NULL
15473 };
15474
15475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15477 if (!SWIG_IsOK(res1)) {
15478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15479 }
15480 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15481 {
15482 arg2 = &temp2;
15483 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15484 }
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = SWIG_Py_Void();
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj = 0;
15500 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15501 wxDC *arg2 = 0 ;
15502 wxRect *arg3 = 0 ;
15503 size_t arg4 ;
15504 void *argp1 = 0 ;
15505 int res1 = 0 ;
15506 void *argp2 = 0 ;
15507 int res2 = 0 ;
15508 wxRect temp3 ;
15509 size_t val4 ;
15510 int ecode4 = 0 ;
15511 PyObject * obj0 = 0 ;
15512 PyObject * obj1 = 0 ;
15513 PyObject * obj2 = 0 ;
15514 PyObject * obj3 = 0 ;
15515 char * kwnames[] = {
15516 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15517 };
15518
15519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15521 if (!SWIG_IsOK(res1)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15523 }
15524 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15526 if (!SWIG_IsOK(res2)) {
15527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15528 }
15529 if (!argp2) {
15530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15531 }
15532 arg2 = reinterpret_cast< wxDC * >(argp2);
15533 {
15534 arg3 = &temp3;
15535 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15536 }
15537 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15538 if (!SWIG_IsOK(ecode4)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15540 }
15541 arg4 = static_cast< size_t >(val4);
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 resultobj = SWIG_Py_Void();
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj = 0;
15557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15558 wxDC *arg2 = 0 ;
15559 wxRect *arg3 = 0 ;
15560 size_t arg4 ;
15561 void *argp1 = 0 ;
15562 int res1 = 0 ;
15563 void *argp2 = 0 ;
15564 int res2 = 0 ;
15565 wxRect temp3 ;
15566 size_t val4 ;
15567 int ecode4 = 0 ;
15568 PyObject * obj0 = 0 ;
15569 PyObject * obj1 = 0 ;
15570 PyObject * obj2 = 0 ;
15571 PyObject * obj3 = 0 ;
15572 char * kwnames[] = {
15573 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15574 };
15575
15576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15578 if (!SWIG_IsOK(res1)) {
15579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15580 }
15581 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15583 if (!SWIG_IsOK(res2)) {
15584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15585 }
15586 if (!argp2) {
15587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15588 }
15589 arg2 = reinterpret_cast< wxDC * >(argp2);
15590 {
15591 arg3 = &temp3;
15592 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15593 }
15594 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15595 if (!SWIG_IsOK(ecode4)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15597 }
15598 arg4 = static_cast< size_t >(val4);
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 resultobj = SWIG_Py_Void();
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15613 PyObject *obj;
15614 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15616 return SWIG_Py_Void();
15617 }
15618
15619 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15620 return SWIG_Python_InitShadowInstance(args);
15621 }
15622
15623 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj = 0;
15625 wxWindow *arg1 = (wxWindow *) 0 ;
15626 int arg2 = (int) wxID_ANY ;
15627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15629 wxSize const &arg4_defvalue = wxDefaultSize ;
15630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15631 long arg5 = (long) 0 ;
15632 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15633 wxString *arg6 = (wxString *) &arg6_defvalue ;
15634 wxPyHtmlListBox *result = 0 ;
15635 void *argp1 = 0 ;
15636 int res1 = 0 ;
15637 int val2 ;
15638 int ecode2 = 0 ;
15639 wxPoint temp3 ;
15640 wxSize temp4 ;
15641 long val5 ;
15642 int ecode5 = 0 ;
15643 bool temp6 = false ;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 PyObject * obj2 = 0 ;
15647 PyObject * obj3 = 0 ;
15648 PyObject * obj4 = 0 ;
15649 PyObject * obj5 = 0 ;
15650 char * kwnames[] = {
15651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15652 };
15653
15654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15656 if (!SWIG_IsOK(res1)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15658 }
15659 arg1 = reinterpret_cast< wxWindow * >(argp1);
15660 if (obj1) {
15661 ecode2 = SWIG_AsVal_int(obj1, &val2);
15662 if (!SWIG_IsOK(ecode2)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15664 }
15665 arg2 = static_cast< int >(val2);
15666 }
15667 if (obj2) {
15668 {
15669 arg3 = &temp3;
15670 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15671 }
15672 }
15673 if (obj3) {
15674 {
15675 arg4 = &temp4;
15676 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15677 }
15678 }
15679 if (obj4) {
15680 ecode5 = SWIG_AsVal_long(obj4, &val5);
15681 if (!SWIG_IsOK(ecode5)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15683 }
15684 arg5 = static_cast< long >(val5);
15685 }
15686 if (obj5) {
15687 {
15688 arg6 = wxString_in_helper(obj5);
15689 if (arg6 == NULL) SWIG_fail;
15690 temp6 = true;
15691 }
15692 }
15693 {
15694 if (!wxPyCheckForApp()) SWIG_fail;
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15701 {
15702 if (temp6)
15703 delete arg6;
15704 }
15705 return resultobj;
15706 fail:
15707 {
15708 if (temp6)
15709 delete arg6;
15710 }
15711 return NULL;
15712 }
15713
15714
15715 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15716 PyObject *resultobj = 0;
15717 wxPyHtmlListBox *result = 0 ;
15718
15719 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15720 {
15721 if (!wxPyCheckForApp()) SWIG_fail;
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15728 return resultobj;
15729 fail:
15730 return NULL;
15731 }
15732
15733
15734 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj = 0;
15736 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15737 PyObject *arg2 = (PyObject *) 0 ;
15738 PyObject *arg3 = (PyObject *) 0 ;
15739 void *argp1 = 0 ;
15740 int res1 = 0 ;
15741 PyObject * obj0 = 0 ;
15742 PyObject * obj1 = 0 ;
15743 PyObject * obj2 = 0 ;
15744 char * kwnames[] = {
15745 (char *) "self",(char *) "self",(char *) "_class", NULL
15746 };
15747
15748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15750 if (!SWIG_IsOK(res1)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15752 }
15753 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15754 arg2 = obj1;
15755 arg3 = obj2;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 (arg1)->_setCallbackInfo(arg2,arg3);
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = SWIG_Py_Void();
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj = 0;
15771 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15772 wxWindow *arg2 = (wxWindow *) 0 ;
15773 int arg3 = (int) wxID_ANY ;
15774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15776 wxSize const &arg5_defvalue = wxDefaultSize ;
15777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15778 long arg6 = (long) 0 ;
15779 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15780 wxString *arg7 = (wxString *) &arg7_defvalue ;
15781 bool result;
15782 void *argp1 = 0 ;
15783 int res1 = 0 ;
15784 void *argp2 = 0 ;
15785 int res2 = 0 ;
15786 int val3 ;
15787 int ecode3 = 0 ;
15788 wxPoint temp4 ;
15789 wxSize temp5 ;
15790 long val6 ;
15791 int ecode6 = 0 ;
15792 bool temp7 = false ;
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 PyObject * obj2 = 0 ;
15796 PyObject * obj3 = 0 ;
15797 PyObject * obj4 = 0 ;
15798 PyObject * obj5 = 0 ;
15799 PyObject * obj6 = 0 ;
15800 char * kwnames[] = {
15801 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15802 };
15803
15804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15806 if (!SWIG_IsOK(res1)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15808 }
15809 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15810 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15811 if (!SWIG_IsOK(res2)) {
15812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15813 }
15814 arg2 = reinterpret_cast< wxWindow * >(argp2);
15815 if (obj2) {
15816 ecode3 = SWIG_AsVal_int(obj2, &val3);
15817 if (!SWIG_IsOK(ecode3)) {
15818 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15819 }
15820 arg3 = static_cast< int >(val3);
15821 }
15822 if (obj3) {
15823 {
15824 arg4 = &temp4;
15825 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15826 }
15827 }
15828 if (obj4) {
15829 {
15830 arg5 = &temp5;
15831 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15832 }
15833 }
15834 if (obj5) {
15835 ecode6 = SWIG_AsVal_long(obj5, &val6);
15836 if (!SWIG_IsOK(ecode6)) {
15837 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15838 }
15839 arg6 = static_cast< long >(val6);
15840 }
15841 if (obj6) {
15842 {
15843 arg7 = wxString_in_helper(obj6);
15844 if (arg7 == NULL) SWIG_fail;
15845 temp7 = true;
15846 }
15847 }
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 {
15855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15856 }
15857 {
15858 if (temp7)
15859 delete arg7;
15860 }
15861 return resultobj;
15862 fail:
15863 {
15864 if (temp7)
15865 delete arg7;
15866 }
15867 return NULL;
15868 }
15869
15870
15871 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15872 PyObject *resultobj = 0;
15873 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15874 size_t arg2 ;
15875 void *argp1 = 0 ;
15876 int res1 = 0 ;
15877 size_t val2 ;
15878 int ecode2 = 0 ;
15879 PyObject * obj0 = 0 ;
15880 PyObject * obj1 = 0 ;
15881 char * kwnames[] = {
15882 (char *) "self",(char *) "count", NULL
15883 };
15884
15885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15887 if (!SWIG_IsOK(res1)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15889 }
15890 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15891 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15892 if (!SWIG_IsOK(ecode2)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15894 }
15895 arg2 = static_cast< size_t >(val2);
15896 {
15897 PyThreadState* __tstate = wxPyBeginAllowThreads();
15898 (arg1)->SetItemCount(arg2);
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 resultobj = SWIG_Py_Void();
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15910 PyObject *resultobj = 0;
15911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15912 wxFileSystem *result = 0 ;
15913 void *argp1 = 0 ;
15914 int res1 = 0 ;
15915 PyObject *swig_obj[1] ;
15916
15917 if (!args) SWIG_fail;
15918 swig_obj[0] = args;
15919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15920 if (!SWIG_IsOK(res1)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15922 }
15923 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 {
15927 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15928 result = (wxFileSystem *) &_result_ref;
15929 }
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj = 0;
15942 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15943 size_t arg2 ;
15944 wxHtmlLinkInfo *arg3 = 0 ;
15945 void *argp1 = 0 ;
15946 int res1 = 0 ;
15947 size_t val2 ;
15948 int ecode2 = 0 ;
15949 void *argp3 = 0 ;
15950 int res3 = 0 ;
15951 PyObject * obj0 = 0 ;
15952 PyObject * obj1 = 0 ;
15953 PyObject * obj2 = 0 ;
15954 char * kwnames[] = {
15955 (char *) "self",(char *) "n",(char *) "link", NULL
15956 };
15957
15958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15960 if (!SWIG_IsOK(res1)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15962 }
15963 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15964 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15965 if (!SWIG_IsOK(ecode2)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15967 }
15968 arg2 = static_cast< size_t >(val2);
15969 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15970 if (!SWIG_IsOK(res3)) {
15971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15972 }
15973 if (!argp3) {
15974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15975 }
15976 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 resultobj = SWIG_Py_Void();
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15991 PyObject *obj;
15992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15993 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15994 return SWIG_Py_Void();
15995 }
15996
15997 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15998 return SWIG_Python_InitShadowInstance(args);
15999 }
16000
16001 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16002 PyObject *resultobj = 0;
16003 wxPyTaskBarIcon *result = 0 ;
16004
16005 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16006 {
16007 if (!wxPyCheckForApp()) SWIG_fail;
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16021 PyObject *resultobj = 0;
16022 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16023 void *argp1 = 0 ;
16024 int res1 = 0 ;
16025 PyObject *swig_obj[1] ;
16026
16027 if (!args) SWIG_fail;
16028 swig_obj[0] = args;
16029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 }
16033 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 delete arg1;
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_Py_Void();
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj = 0;
16050 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16051 PyObject *arg2 = (PyObject *) 0 ;
16052 PyObject *arg3 = (PyObject *) 0 ;
16053 int arg4 ;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 int val4 ;
16057 int ecode4 = 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 PyObject * obj2 = 0 ;
16061 PyObject * obj3 = 0 ;
16062 char * kwnames[] = {
16063 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16064 };
16065
16066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16068 if (!SWIG_IsOK(res1)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16070 }
16071 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16072 arg2 = obj1;
16073 arg3 = obj2;
16074 ecode4 = SWIG_AsVal_int(obj3, &val4);
16075 if (!SWIG_IsOK(ecode4)) {
16076 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16077 }
16078 arg4 = static_cast< int >(val4);
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 resultobj = SWIG_Py_Void();
16086 return resultobj;
16087 fail:
16088 return NULL;
16089 }
16090
16091
16092 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16093 PyObject *resultobj = 0;
16094 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16095 void *argp1 = 0 ;
16096 int res1 = 0 ;
16097 PyObject *swig_obj[1] ;
16098
16099 if (!args) SWIG_fail;
16100 swig_obj[0] = args;
16101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16102 if (!SWIG_IsOK(res1)) {
16103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16104 }
16105 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 wxPyTaskBarIcon_Destroy(arg1);
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 resultobj = SWIG_Py_Void();
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16120 PyObject *resultobj = 0;
16121 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16122 bool result;
16123 void *argp1 = 0 ;
16124 int res1 = 0 ;
16125 PyObject *swig_obj[1] ;
16126
16127 if (!args) SWIG_fail;
16128 swig_obj[0] = args;
16129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16132 }
16133 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 {
16141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16142 }
16143 return resultobj;
16144 fail:
16145 return NULL;
16146 }
16147
16148
16149 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16150 PyObject *resultobj = 0;
16151 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16152 bool result;
16153 void *argp1 = 0 ;
16154 int res1 = 0 ;
16155 PyObject *swig_obj[1] ;
16156
16157 if (!args) SWIG_fail;
16158 swig_obj[0] = args;
16159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16160 if (!SWIG_IsOK(res1)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16162 }
16163 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 {
16171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16172 }
16173 return resultobj;
16174 fail:
16175 return NULL;
16176 }
16177
16178
16179 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16180 PyObject *resultobj = 0;
16181 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16182 wxIcon *arg2 = 0 ;
16183 wxString const &arg3_defvalue = wxPyEmptyString ;
16184 wxString *arg3 = (wxString *) &arg3_defvalue ;
16185 bool result;
16186 void *argp1 = 0 ;
16187 int res1 = 0 ;
16188 void *argp2 = 0 ;
16189 int res2 = 0 ;
16190 bool temp3 = false ;
16191 PyObject * obj0 = 0 ;
16192 PyObject * obj1 = 0 ;
16193 PyObject * obj2 = 0 ;
16194 char * kwnames[] = {
16195 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16196 };
16197
16198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16200 if (!SWIG_IsOK(res1)) {
16201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16202 }
16203 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16204 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16205 if (!SWIG_IsOK(res2)) {
16206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16207 }
16208 if (!argp2) {
16209 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16210 }
16211 arg2 = reinterpret_cast< wxIcon * >(argp2);
16212 if (obj2) {
16213 {
16214 arg3 = wxString_in_helper(obj2);
16215 if (arg3 == NULL) SWIG_fail;
16216 temp3 = true;
16217 }
16218 }
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 {
16226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16227 }
16228 {
16229 if (temp3)
16230 delete arg3;
16231 }
16232 return resultobj;
16233 fail:
16234 {
16235 if (temp3)
16236 delete arg3;
16237 }
16238 return NULL;
16239 }
16240
16241
16242 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16243 PyObject *resultobj = 0;
16244 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16245 bool result;
16246 void *argp1 = 0 ;
16247 int res1 = 0 ;
16248 PyObject *swig_obj[1] ;
16249
16250 if (!args) SWIG_fail;
16251 swig_obj[0] = args;
16252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16253 if (!SWIG_IsOK(res1)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16255 }
16256 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 result = (bool)(arg1)->RemoveIcon();
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 {
16264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16265 }
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj = 0;
16274 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16275 wxMenu *arg2 = (wxMenu *) 0 ;
16276 bool result;
16277 void *argp1 = 0 ;
16278 int res1 = 0 ;
16279 void *argp2 = 0 ;
16280 int res2 = 0 ;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char * kwnames[] = {
16284 (char *) "self",(char *) "menu", NULL
16285 };
16286
16287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16289 if (!SWIG_IsOK(res1)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16291 }
16292 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16293 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16294 if (!SWIG_IsOK(res2)) {
16295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16296 }
16297 arg2 = reinterpret_cast< wxMenu * >(argp2);
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (bool)(arg1)->PopupMenu(arg2);
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 {
16305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16306 }
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16314 PyObject *obj;
16315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16316 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16317 return SWIG_Py_Void();
16318 }
16319
16320 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16321 return SWIG_Python_InitShadowInstance(args);
16322 }
16323
16324 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj = 0;
16326 wxEventType arg1 ;
16327 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16328 wxTaskBarIconEvent *result = 0 ;
16329 int val1 ;
16330 int ecode1 = 0 ;
16331 void *argp2 = 0 ;
16332 int res2 = 0 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 char * kwnames[] = {
16336 (char *) "evtType",(char *) "tbIcon", NULL
16337 };
16338
16339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16340 ecode1 = SWIG_AsVal_int(obj0, &val1);
16341 if (!SWIG_IsOK(ecode1)) {
16342 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16343 }
16344 arg1 = static_cast< wxEventType >(val1);
16345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16346 if (!SWIG_IsOK(res2)) {
16347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16348 }
16349 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 PyObject *obj;
16365 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16366 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16367 return SWIG_Py_Void();
16368 }
16369
16370 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16371 return SWIG_Python_InitShadowInstance(args);
16372 }
16373
16374 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16375 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16376 return 1;
16377 }
16378
16379
16380 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16381 PyObject *pyobj = 0;
16382
16383 {
16384 #if wxUSE_UNICODE
16385 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16386 #else
16387 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16388 #endif
16389 }
16390 return pyobj;
16391 }
16392
16393
16394 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16395 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16396 return 1;
16397 }
16398
16399
16400 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16401 PyObject *pyobj = 0;
16402
16403 {
16404 #if wxUSE_UNICODE
16405 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16406 #else
16407 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16408 #endif
16409 }
16410 return pyobj;
16411 }
16412
16413
16414 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16415 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16416 return 1;
16417 }
16418
16419
16420 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16421 PyObject *pyobj = 0;
16422
16423 {
16424 #if wxUSE_UNICODE
16425 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16426 #else
16427 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16428 #endif
16429 }
16430 return pyobj;
16431 }
16432
16433
16434 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16435 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16436 return 1;
16437 }
16438
16439
16440 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16441 PyObject *pyobj = 0;
16442
16443 {
16444 #if wxUSE_UNICODE
16445 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16446 #else
16447 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16448 #endif
16449 }
16450 return pyobj;
16451 }
16452
16453
16454 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16455 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16456 return 1;
16457 }
16458
16459
16460 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16461 PyObject *pyobj = 0;
16462
16463 {
16464 #if wxUSE_UNICODE
16465 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16466 #else
16467 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16468 #endif
16469 }
16470 return pyobj;
16471 }
16472
16473
16474 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16475 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16476 return 1;
16477 }
16478
16479
16480 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16481 PyObject *pyobj = 0;
16482
16483 {
16484 #if wxUSE_UNICODE
16485 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16486 #else
16487 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16488 #endif
16489 }
16490 return pyobj;
16491 }
16492
16493
16494 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16495 PyObject *resultobj = 0;
16496 wxColourData *result = 0 ;
16497
16498 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (wxColourData *)new wxColourData();
16502 wxPyEndAllowThreads(__tstate);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 }
16505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16506 return resultobj;
16507 fail:
16508 return NULL;
16509 }
16510
16511
16512 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16513 PyObject *resultobj = 0;
16514 wxColourData *arg1 = (wxColourData *) 0 ;
16515 void *argp1 = 0 ;
16516 int res1 = 0 ;
16517 PyObject *swig_obj[1] ;
16518
16519 if (!args) SWIG_fail;
16520 swig_obj[0] = args;
16521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16522 if (!SWIG_IsOK(res1)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16524 }
16525 arg1 = reinterpret_cast< wxColourData * >(argp1);
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 delete arg1;
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_Py_Void();
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 PyObject *resultobj = 0;
16542 wxColourData *arg1 = (wxColourData *) 0 ;
16543 bool result;
16544 void *argp1 = 0 ;
16545 int res1 = 0 ;
16546 PyObject *swig_obj[1] ;
16547
16548 if (!args) SWIG_fail;
16549 swig_obj[0] = args;
16550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16551 if (!SWIG_IsOK(res1)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16553 }
16554 arg1 = reinterpret_cast< wxColourData * >(argp1);
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 result = (bool)(arg1)->GetChooseFull();
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 {
16562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16563 }
16564 return resultobj;
16565 fail:
16566 return NULL;
16567 }
16568
16569
16570 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16571 PyObject *resultobj = 0;
16572 wxColourData *arg1 = (wxColourData *) 0 ;
16573 wxColour result;
16574 void *argp1 = 0 ;
16575 int res1 = 0 ;
16576 PyObject *swig_obj[1] ;
16577
16578 if (!args) SWIG_fail;
16579 swig_obj[0] = args;
16580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16581 if (!SWIG_IsOK(res1)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16583 }
16584 arg1 = reinterpret_cast< wxColourData * >(argp1);
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (arg1)->GetColour();
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj = 0;
16600 wxColourData *arg1 = (wxColourData *) 0 ;
16601 int arg2 ;
16602 wxColour result;
16603 void *argp1 = 0 ;
16604 int res1 = 0 ;
16605 int val2 ;
16606 int ecode2 = 0 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char * kwnames[] = {
16610 (char *) "self",(char *) "i", NULL
16611 };
16612
16613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16615 if (!SWIG_IsOK(res1)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16617 }
16618 arg1 = reinterpret_cast< wxColourData * >(argp1);
16619 ecode2 = SWIG_AsVal_int(obj1, &val2);
16620 if (!SWIG_IsOK(ecode2)) {
16621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16622 }
16623 arg2 = static_cast< int >(val2);
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (arg1)->GetCustomColour(arg2);
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj = 0;
16639 wxColourData *arg1 = (wxColourData *) 0 ;
16640 int arg2 ;
16641 void *argp1 = 0 ;
16642 int res1 = 0 ;
16643 int val2 ;
16644 int ecode2 = 0 ;
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 char * kwnames[] = {
16648 (char *) "self",(char *) "flag", NULL
16649 };
16650
16651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16655 }
16656 arg1 = reinterpret_cast< wxColourData * >(argp1);
16657 ecode2 = SWIG_AsVal_int(obj1, &val2);
16658 if (!SWIG_IsOK(ecode2)) {
16659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16660 }
16661 arg2 = static_cast< int >(val2);
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 (arg1)->SetChooseFull(arg2);
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 resultobj = SWIG_Py_Void();
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj = 0;
16677 wxColourData *arg1 = (wxColourData *) 0 ;
16678 wxColour *arg2 = 0 ;
16679 void *argp1 = 0 ;
16680 int res1 = 0 ;
16681 wxColour temp2 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char * kwnames[] = {
16685 (char *) "self",(char *) "colour", NULL
16686 };
16687
16688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16690 if (!SWIG_IsOK(res1)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16692 }
16693 arg1 = reinterpret_cast< wxColourData * >(argp1);
16694 {
16695 arg2 = &temp2;
16696 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16697 }
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 (arg1)->SetColour((wxColour const &)*arg2);
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 resultobj = SWIG_Py_Void();
16705 return resultobj;
16706 fail:
16707 return NULL;
16708 }
16709
16710
16711 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj = 0;
16713 wxColourData *arg1 = (wxColourData *) 0 ;
16714 int arg2 ;
16715 wxColour *arg3 = 0 ;
16716 void *argp1 = 0 ;
16717 int res1 = 0 ;
16718 int val2 ;
16719 int ecode2 = 0 ;
16720 wxColour temp3 ;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 PyObject * obj2 = 0 ;
16724 char * kwnames[] = {
16725 (char *) "self",(char *) "i",(char *) "colour", NULL
16726 };
16727
16728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16730 if (!SWIG_IsOK(res1)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16732 }
16733 arg1 = reinterpret_cast< wxColourData * >(argp1);
16734 ecode2 = SWIG_AsVal_int(obj1, &val2);
16735 if (!SWIG_IsOK(ecode2)) {
16736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16737 }
16738 arg2 = static_cast< int >(val2);
16739 {
16740 arg3 = &temp3;
16741 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16742 }
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 resultobj = SWIG_Py_Void();
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16757 PyObject *obj;
16758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16759 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16760 return SWIG_Py_Void();
16761 }
16762
16763 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16764 return SWIG_Python_InitShadowInstance(args);
16765 }
16766
16767 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj = 0;
16769 wxWindow *arg1 = (wxWindow *) 0 ;
16770 wxColourData *arg2 = (wxColourData *) NULL ;
16771 wxColourDialog *result = 0 ;
16772 void *argp1 = 0 ;
16773 int res1 = 0 ;
16774 void *argp2 = 0 ;
16775 int res2 = 0 ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char * kwnames[] = {
16779 (char *) "parent",(char *) "data", NULL
16780 };
16781
16782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16784 if (!SWIG_IsOK(res1)) {
16785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16786 }
16787 arg1 = reinterpret_cast< wxWindow * >(argp1);
16788 if (obj1) {
16789 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16790 if (!SWIG_IsOK(res2)) {
16791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16792 }
16793 arg2 = reinterpret_cast< wxColourData * >(argp2);
16794 }
16795 {
16796 if (!wxPyCheckForApp()) SWIG_fail;
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16810 PyObject *resultobj = 0;
16811 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16812 wxColourData *result = 0 ;
16813 void *argp1 = 0 ;
16814 int res1 = 0 ;
16815 PyObject *swig_obj[1] ;
16816
16817 if (!args) SWIG_fail;
16818 swig_obj[0] = args;
16819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16820 if (!SWIG_IsOK(res1)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16822 }
16823 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 {
16827 wxColourData &_result_ref = (arg1)->GetColourData();
16828 result = (wxColourData *) &_result_ref;
16829 }
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16841 PyObject *obj;
16842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16843 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16844 return SWIG_Py_Void();
16845 }
16846
16847 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16848 return SWIG_Python_InitShadowInstance(args);
16849 }
16850
16851 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj = 0;
16853 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16854 wxColour const &arg2_defvalue = wxNullColour ;
16855 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16856 wxString const &arg3_defvalue = wxPyEmptyString ;
16857 wxString *arg3 = (wxString *) &arg3_defvalue ;
16858 wxColour result;
16859 void *argp1 = 0 ;
16860 int res1 = 0 ;
16861 wxColour temp2 ;
16862 bool temp3 = false ;
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 PyObject * obj2 = 0 ;
16866 char * kwnames[] = {
16867 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16868 };
16869
16870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16871 if (obj0) {
16872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16873 if (!SWIG_IsOK(res1)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16875 }
16876 arg1 = reinterpret_cast< wxWindow * >(argp1);
16877 }
16878 if (obj1) {
16879 {
16880 arg2 = &temp2;
16881 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16882 }
16883 }
16884 if (obj2) {
16885 {
16886 arg3 = wxString_in_helper(obj2);
16887 if (arg3 == NULL) SWIG_fail;
16888 temp3 = true;
16889 }
16890 }
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16898 {
16899 if (temp3)
16900 delete arg3;
16901 }
16902 return resultobj;
16903 fail:
16904 {
16905 if (temp3)
16906 delete arg3;
16907 }
16908 return NULL;
16909 }
16910
16911
16912 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj = 0;
16914 wxWindow *arg1 = (wxWindow *) 0 ;
16915 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16916 wxString *arg2 = (wxString *) &arg2_defvalue ;
16917 wxString const &arg3_defvalue = wxPyEmptyString ;
16918 wxString *arg3 = (wxString *) &arg3_defvalue ;
16919 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16920 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16921 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16922 wxSize const &arg6_defvalue = wxDefaultSize ;
16923 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16924 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16925 wxString *arg7 = (wxString *) &arg7_defvalue ;
16926 wxDirDialog *result = 0 ;
16927 void *argp1 = 0 ;
16928 int res1 = 0 ;
16929 bool temp2 = false ;
16930 bool temp3 = false ;
16931 long val4 ;
16932 int ecode4 = 0 ;
16933 wxPoint temp5 ;
16934 wxSize temp6 ;
16935 bool temp7 = false ;
16936 PyObject * obj0 = 0 ;
16937 PyObject * obj1 = 0 ;
16938 PyObject * obj2 = 0 ;
16939 PyObject * obj3 = 0 ;
16940 PyObject * obj4 = 0 ;
16941 PyObject * obj5 = 0 ;
16942 PyObject * obj6 = 0 ;
16943 char * kwnames[] = {
16944 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16945 };
16946
16947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16949 if (!SWIG_IsOK(res1)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16951 }
16952 arg1 = reinterpret_cast< wxWindow * >(argp1);
16953 if (obj1) {
16954 {
16955 arg2 = wxString_in_helper(obj1);
16956 if (arg2 == NULL) SWIG_fail;
16957 temp2 = true;
16958 }
16959 }
16960 if (obj2) {
16961 {
16962 arg3 = wxString_in_helper(obj2);
16963 if (arg3 == NULL) SWIG_fail;
16964 temp3 = true;
16965 }
16966 }
16967 if (obj3) {
16968 ecode4 = SWIG_AsVal_long(obj3, &val4);
16969 if (!SWIG_IsOK(ecode4)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16971 }
16972 arg4 = static_cast< long >(val4);
16973 }
16974 if (obj4) {
16975 {
16976 arg5 = &temp5;
16977 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16978 }
16979 }
16980 if (obj5) {
16981 {
16982 arg6 = &temp6;
16983 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16984 }
16985 }
16986 if (obj6) {
16987 {
16988 arg7 = wxString_in_helper(obj6);
16989 if (arg7 == NULL) SWIG_fail;
16990 temp7 = true;
16991 }
16992 }
16993 {
16994 if (!wxPyCheckForApp()) SWIG_fail;
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17001 {
17002 if (temp2)
17003 delete arg2;
17004 }
17005 {
17006 if (temp3)
17007 delete arg3;
17008 }
17009 {
17010 if (temp7)
17011 delete arg7;
17012 }
17013 return resultobj;
17014 fail:
17015 {
17016 if (temp2)
17017 delete arg2;
17018 }
17019 {
17020 if (temp3)
17021 delete arg3;
17022 }
17023 {
17024 if (temp7)
17025 delete arg7;
17026 }
17027 return NULL;
17028 }
17029
17030
17031 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17032 PyObject *resultobj = 0;
17033 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17034 wxString result;
17035 void *argp1 = 0 ;
17036 int res1 = 0 ;
17037 PyObject *swig_obj[1] ;
17038
17039 if (!args) SWIG_fail;
17040 swig_obj[0] = args;
17041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17042 if (!SWIG_IsOK(res1)) {
17043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17044 }
17045 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (arg1)->GetPath();
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 {
17053 #if wxUSE_UNICODE
17054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17055 #else
17056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17057 #endif
17058 }
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17066 PyObject *resultobj = 0;
17067 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17068 wxString result;
17069 void *argp1 = 0 ;
17070 int res1 = 0 ;
17071 PyObject *swig_obj[1] ;
17072
17073 if (!args) SWIG_fail;
17074 swig_obj[0] = args;
17075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17076 if (!SWIG_IsOK(res1)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17078 }
17079 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 result = (arg1)->GetMessage();
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 {
17087 #if wxUSE_UNICODE
17088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17089 #else
17090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17091 #endif
17092 }
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj = 0;
17101 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17102 wxString *arg2 = 0 ;
17103 void *argp1 = 0 ;
17104 int res1 = 0 ;
17105 bool temp2 = false ;
17106 PyObject * obj0 = 0 ;
17107 PyObject * obj1 = 0 ;
17108 char * kwnames[] = {
17109 (char *) "self",(char *) "message", NULL
17110 };
17111
17112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17114 if (!SWIG_IsOK(res1)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17116 }
17117 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17118 {
17119 arg2 = wxString_in_helper(obj1);
17120 if (arg2 == NULL) SWIG_fail;
17121 temp2 = true;
17122 }
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->SetMessage((wxString const &)*arg2);
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 resultobj = SWIG_Py_Void();
17130 {
17131 if (temp2)
17132 delete arg2;
17133 }
17134 return resultobj;
17135 fail:
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return NULL;
17141 }
17142
17143
17144 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj = 0;
17146 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17147 wxString *arg2 = 0 ;
17148 void *argp1 = 0 ;
17149 int res1 = 0 ;
17150 bool temp2 = false ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 char * kwnames[] = {
17154 (char *) "self",(char *) "path", NULL
17155 };
17156
17157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17159 if (!SWIG_IsOK(res1)) {
17160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17161 }
17162 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17163 {
17164 arg2 = wxString_in_helper(obj1);
17165 if (arg2 == NULL) SWIG_fail;
17166 temp2 = true;
17167 }
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 (arg1)->SetPath((wxString const &)*arg2);
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 resultobj = SWIG_Py_Void();
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return resultobj;
17180 fail:
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return NULL;
17186 }
17187
17188
17189 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17190 PyObject *obj;
17191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17192 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17193 return SWIG_Py_Void();
17194 }
17195
17196 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17197 return SWIG_Python_InitShadowInstance(args);
17198 }
17199
17200 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj = 0;
17202 wxWindow *arg1 = (wxWindow *) 0 ;
17203 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17204 wxString *arg2 = (wxString *) &arg2_defvalue ;
17205 wxString const &arg3_defvalue = wxPyEmptyString ;
17206 wxString *arg3 = (wxString *) &arg3_defvalue ;
17207 wxString const &arg4_defvalue = wxPyEmptyString ;
17208 wxString *arg4 = (wxString *) &arg4_defvalue ;
17209 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17210 wxString *arg5 = (wxString *) &arg5_defvalue ;
17211 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17212 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17213 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17214 wxFileDialog *result = 0 ;
17215 void *argp1 = 0 ;
17216 int res1 = 0 ;
17217 bool temp2 = false ;
17218 bool temp3 = false ;
17219 bool temp4 = false ;
17220 bool temp5 = false ;
17221 long val6 ;
17222 int ecode6 = 0 ;
17223 wxPoint temp7 ;
17224 PyObject * obj0 = 0 ;
17225 PyObject * obj1 = 0 ;
17226 PyObject * obj2 = 0 ;
17227 PyObject * obj3 = 0 ;
17228 PyObject * obj4 = 0 ;
17229 PyObject * obj5 = 0 ;
17230 PyObject * obj6 = 0 ;
17231 char * kwnames[] = {
17232 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17233 };
17234
17235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17237 if (!SWIG_IsOK(res1)) {
17238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17239 }
17240 arg1 = reinterpret_cast< wxWindow * >(argp1);
17241 if (obj1) {
17242 {
17243 arg2 = wxString_in_helper(obj1);
17244 if (arg2 == NULL) SWIG_fail;
17245 temp2 = true;
17246 }
17247 }
17248 if (obj2) {
17249 {
17250 arg3 = wxString_in_helper(obj2);
17251 if (arg3 == NULL) SWIG_fail;
17252 temp3 = true;
17253 }
17254 }
17255 if (obj3) {
17256 {
17257 arg4 = wxString_in_helper(obj3);
17258 if (arg4 == NULL) SWIG_fail;
17259 temp4 = true;
17260 }
17261 }
17262 if (obj4) {
17263 {
17264 arg5 = wxString_in_helper(obj4);
17265 if (arg5 == NULL) SWIG_fail;
17266 temp5 = true;
17267 }
17268 }
17269 if (obj5) {
17270 ecode6 = SWIG_AsVal_long(obj5, &val6);
17271 if (!SWIG_IsOK(ecode6)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17273 }
17274 arg6 = static_cast< long >(val6);
17275 }
17276 if (obj6) {
17277 {
17278 arg7 = &temp7;
17279 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17280 }
17281 }
17282 {
17283 if (!wxPyCheckForApp()) SWIG_fail;
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17290 {
17291 if (temp2)
17292 delete arg2;
17293 }
17294 {
17295 if (temp3)
17296 delete arg3;
17297 }
17298 {
17299 if (temp4)
17300 delete arg4;
17301 }
17302 {
17303 if (temp5)
17304 delete arg5;
17305 }
17306 return resultobj;
17307 fail:
17308 {
17309 if (temp2)
17310 delete arg2;
17311 }
17312 {
17313 if (temp3)
17314 delete arg3;
17315 }
17316 {
17317 if (temp4)
17318 delete arg4;
17319 }
17320 {
17321 if (temp5)
17322 delete arg5;
17323 }
17324 return NULL;
17325 }
17326
17327
17328 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj = 0;
17330 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17331 wxString *arg2 = 0 ;
17332 void *argp1 = 0 ;
17333 int res1 = 0 ;
17334 bool temp2 = false ;
17335 PyObject * obj0 = 0 ;
17336 PyObject * obj1 = 0 ;
17337 char * kwnames[] = {
17338 (char *) "self",(char *) "message", NULL
17339 };
17340
17341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17343 if (!SWIG_IsOK(res1)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17345 }
17346 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17347 {
17348 arg2 = wxString_in_helper(obj1);
17349 if (arg2 == NULL) SWIG_fail;
17350 temp2 = true;
17351 }
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 (arg1)->SetMessage((wxString const &)*arg2);
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 resultobj = SWIG_Py_Void();
17359 {
17360 if (temp2)
17361 delete arg2;
17362 }
17363 return resultobj;
17364 fail:
17365 {
17366 if (temp2)
17367 delete arg2;
17368 }
17369 return NULL;
17370 }
17371
17372
17373 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj = 0;
17375 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17376 wxString *arg2 = 0 ;
17377 void *argp1 = 0 ;
17378 int res1 = 0 ;
17379 bool temp2 = false ;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char * kwnames[] = {
17383 (char *) "self",(char *) "path", NULL
17384 };
17385
17386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17388 if (!SWIG_IsOK(res1)) {
17389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17390 }
17391 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17392 {
17393 arg2 = wxString_in_helper(obj1);
17394 if (arg2 == NULL) SWIG_fail;
17395 temp2 = true;
17396 }
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 (arg1)->SetPath((wxString const &)*arg2);
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 resultobj = SWIG_Py_Void();
17404 {
17405 if (temp2)
17406 delete arg2;
17407 }
17408 return resultobj;
17409 fail:
17410 {
17411 if (temp2)
17412 delete arg2;
17413 }
17414 return NULL;
17415 }
17416
17417
17418 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj = 0;
17420 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17421 wxString *arg2 = 0 ;
17422 void *argp1 = 0 ;
17423 int res1 = 0 ;
17424 bool temp2 = false ;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 char * kwnames[] = {
17428 (char *) "self",(char *) "dir", NULL
17429 };
17430
17431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17433 if (!SWIG_IsOK(res1)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17435 }
17436 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17437 {
17438 arg2 = wxString_in_helper(obj1);
17439 if (arg2 == NULL) SWIG_fail;
17440 temp2 = true;
17441 }
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 (arg1)->SetDirectory((wxString const &)*arg2);
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = SWIG_Py_Void();
17449 {
17450 if (temp2)
17451 delete arg2;
17452 }
17453 return resultobj;
17454 fail:
17455 {
17456 if (temp2)
17457 delete arg2;
17458 }
17459 return NULL;
17460 }
17461
17462
17463 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj = 0;
17465 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17466 wxString *arg2 = 0 ;
17467 void *argp1 = 0 ;
17468 int res1 = 0 ;
17469 bool temp2 = false ;
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 char * kwnames[] = {
17473 (char *) "self",(char *) "name", NULL
17474 };
17475
17476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17478 if (!SWIG_IsOK(res1)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17480 }
17481 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17482 {
17483 arg2 = wxString_in_helper(obj1);
17484 if (arg2 == NULL) SWIG_fail;
17485 temp2 = true;
17486 }
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 (arg1)->SetFilename((wxString const &)*arg2);
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 resultobj = SWIG_Py_Void();
17494 {
17495 if (temp2)
17496 delete arg2;
17497 }
17498 return resultobj;
17499 fail:
17500 {
17501 if (temp2)
17502 delete arg2;
17503 }
17504 return NULL;
17505 }
17506
17507
17508 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj = 0;
17510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17511 wxString *arg2 = 0 ;
17512 void *argp1 = 0 ;
17513 int res1 = 0 ;
17514 bool temp2 = false ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char * kwnames[] = {
17518 (char *) "self",(char *) "wildCard", NULL
17519 };
17520
17521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17523 if (!SWIG_IsOK(res1)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17525 }
17526 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17527 {
17528 arg2 = wxString_in_helper(obj1);
17529 if (arg2 == NULL) SWIG_fail;
17530 temp2 = true;
17531 }
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->SetWildcard((wxString const &)*arg2);
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_Py_Void();
17539 {
17540 if (temp2)
17541 delete arg2;
17542 }
17543 return resultobj;
17544 fail:
17545 {
17546 if (temp2)
17547 delete arg2;
17548 }
17549 return NULL;
17550 }
17551
17552
17553 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj = 0;
17555 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17556 int arg2 ;
17557 void *argp1 = 0 ;
17558 int res1 = 0 ;
17559 int val2 ;
17560 int ecode2 = 0 ;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 char * kwnames[] = {
17564 (char *) "self",(char *) "filterIndex", NULL
17565 };
17566
17567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17569 if (!SWIG_IsOK(res1)) {
17570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17571 }
17572 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17573 ecode2 = SWIG_AsVal_int(obj1, &val2);
17574 if (!SWIG_IsOK(ecode2)) {
17575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17576 }
17577 arg2 = static_cast< int >(val2);
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->SetFilterIndex(arg2);
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = SWIG_Py_Void();
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17592 PyObject *resultobj = 0;
17593 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17594 wxString result;
17595 void *argp1 = 0 ;
17596 int res1 = 0 ;
17597 PyObject *swig_obj[1] ;
17598
17599 if (!args) SWIG_fail;
17600 swig_obj[0] = args;
17601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17602 if (!SWIG_IsOK(res1)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17604 }
17605 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 result = ((wxFileDialog const *)arg1)->GetMessage();
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 {
17613 #if wxUSE_UNICODE
17614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17615 #else
17616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17617 #endif
17618 }
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17626 PyObject *resultobj = 0;
17627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17628 wxString result;
17629 void *argp1 = 0 ;
17630 int res1 = 0 ;
17631 PyObject *swig_obj[1] ;
17632
17633 if (!args) SWIG_fail;
17634 swig_obj[0] = args;
17635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17636 if (!SWIG_IsOK(res1)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17638 }
17639 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = ((wxFileDialog const *)arg1)->GetPath();
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 #if wxUSE_UNICODE
17648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17649 #else
17650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17651 #endif
17652 }
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17660 PyObject *resultobj = 0;
17661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17662 wxString result;
17663 void *argp1 = 0 ;
17664 int res1 = 0 ;
17665 PyObject *swig_obj[1] ;
17666
17667 if (!args) SWIG_fail;
17668 swig_obj[0] = args;
17669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17670 if (!SWIG_IsOK(res1)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17672 }
17673 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = ((wxFileDialog const *)arg1)->GetDirectory();
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 #if wxUSE_UNICODE
17682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17683 #else
17684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17685 #endif
17686 }
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17694 PyObject *resultobj = 0;
17695 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17696 wxString result;
17697 void *argp1 = 0 ;
17698 int res1 = 0 ;
17699 PyObject *swig_obj[1] ;
17700
17701 if (!args) SWIG_fail;
17702 swig_obj[0] = args;
17703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17704 if (!SWIG_IsOK(res1)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17706 }
17707 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = ((wxFileDialog const *)arg1)->GetFilename();
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 {
17715 #if wxUSE_UNICODE
17716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17717 #else
17718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17719 #endif
17720 }
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17728 PyObject *resultobj = 0;
17729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17730 wxString result;
17731 void *argp1 = 0 ;
17732 int res1 = 0 ;
17733 PyObject *swig_obj[1] ;
17734
17735 if (!args) SWIG_fail;
17736 swig_obj[0] = args;
17737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17738 if (!SWIG_IsOK(res1)) {
17739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17740 }
17741 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = ((wxFileDialog const *)arg1)->GetWildcard();
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 {
17749 #if wxUSE_UNICODE
17750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17751 #else
17752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17753 #endif
17754 }
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17762 PyObject *resultobj = 0;
17763 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17764 int result;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 PyObject *swig_obj[1] ;
17768
17769 if (!args) SWIG_fail;
17770 swig_obj[0] = args;
17771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17772 if (!SWIG_IsOK(res1)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17774 }
17775 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 resultobj = SWIG_From_int(static_cast< int >(result));
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17790 PyObject *resultobj = 0;
17791 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17792 PyObject *result = 0 ;
17793 void *argp1 = 0 ;
17794 int res1 = 0 ;
17795 PyObject *swig_obj[1] ;
17796
17797 if (!args) SWIG_fail;
17798 swig_obj[0] = args;
17799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17800 if (!SWIG_IsOK(res1)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17802 }
17803 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 resultobj = result;
17811 return resultobj;
17812 fail:
17813 return NULL;
17814 }
17815
17816
17817 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17818 PyObject *resultobj = 0;
17819 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17820 PyObject *result = 0 ;
17821 void *argp1 = 0 ;
17822 int res1 = 0 ;
17823 PyObject *swig_obj[1] ;
17824
17825 if (!args) SWIG_fail;
17826 swig_obj[0] = args;
17827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17828 if (!SWIG_IsOK(res1)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17830 }
17831 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = result;
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17846 PyObject *obj;
17847 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17848 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17849 return SWIG_Py_Void();
17850 }
17851
17852 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17853 return SWIG_Python_InitShadowInstance(args);
17854 }
17855
17856 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj = 0;
17858 wxWindow *arg1 = (wxWindow *) 0 ;
17859 wxString *arg2 = 0 ;
17860 wxString *arg3 = 0 ;
17861 int arg4 = (int) 0 ;
17862 wxString *arg5 = (wxString *) NULL ;
17863 long arg6 = (long) wxCHOICEDLG_STYLE ;
17864 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17865 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17866 wxMultiChoiceDialog *result = 0 ;
17867 void *argp1 = 0 ;
17868 int res1 = 0 ;
17869 bool temp2 = false ;
17870 bool temp3 = false ;
17871 long val6 ;
17872 int ecode6 = 0 ;
17873 wxPoint temp7 ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 PyObject * obj2 = 0 ;
17877 PyObject * obj3 = 0 ;
17878 PyObject * obj4 = 0 ;
17879 PyObject * obj5 = 0 ;
17880 char * kwnames[] = {
17881 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17882 };
17883
17884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17886 if (!SWIG_IsOK(res1)) {
17887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17888 }
17889 arg1 = reinterpret_cast< wxWindow * >(argp1);
17890 {
17891 arg2 = wxString_in_helper(obj1);
17892 if (arg2 == NULL) SWIG_fail;
17893 temp2 = true;
17894 }
17895 {
17896 arg3 = wxString_in_helper(obj2);
17897 if (arg3 == NULL) SWIG_fail;
17898 temp3 = true;
17899 }
17900 if (obj3) {
17901 {
17902 arg4 = PyList_Size(obj3);
17903 arg5 = wxString_LIST_helper(obj3);
17904 if (arg5 == NULL) SWIG_fail;
17905 }
17906 }
17907 if (obj4) {
17908 ecode6 = SWIG_AsVal_long(obj4, &val6);
17909 if (!SWIG_IsOK(ecode6)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17911 }
17912 arg6 = static_cast< long >(val6);
17913 }
17914 if (obj5) {
17915 {
17916 arg7 = &temp7;
17917 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17918 }
17919 }
17920 {
17921 if (!wxPyCheckForApp()) SWIG_fail;
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17928 {
17929 if (temp2)
17930 delete arg2;
17931 }
17932 {
17933 if (temp3)
17934 delete arg3;
17935 }
17936 {
17937 if (arg5) delete [] arg5;
17938 }
17939 return resultobj;
17940 fail:
17941 {
17942 if (temp2)
17943 delete arg2;
17944 }
17945 {
17946 if (temp3)
17947 delete arg3;
17948 }
17949 {
17950 if (arg5) delete [] arg5;
17951 }
17952 return NULL;
17953 }
17954
17955
17956 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj = 0;
17958 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17959 wxArrayInt *arg2 = 0 ;
17960 void *argp1 = 0 ;
17961 int res1 = 0 ;
17962 bool temp2 = false ;
17963 PyObject * obj0 = 0 ;
17964 PyObject * obj1 = 0 ;
17965 char * kwnames[] = {
17966 (char *) "self",(char *) "selections", NULL
17967 };
17968
17969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17971 if (!SWIG_IsOK(res1)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17973 }
17974 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17975 {
17976 if (! PySequence_Check(obj1)) {
17977 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17978 SWIG_fail;
17979 }
17980 arg2 = new wxArrayInt;
17981 temp2 = true;
17982 int i, len=PySequence_Length(obj1);
17983 for (i=0; i<len; i++) {
17984 PyObject* item = PySequence_GetItem(obj1, i);
17985 PyObject* number = PyNumber_Int(item);
17986 arg2->Add(PyInt_AS_LONG(number));
17987 Py_DECREF(item);
17988 Py_DECREF(number);
17989 }
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 resultobj = SWIG_Py_Void();
17998 {
17999 if (temp2) delete arg2;
18000 }
18001 return resultobj;
18002 fail:
18003 {
18004 if (temp2) delete arg2;
18005 }
18006 return NULL;
18007 }
18008
18009
18010 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18011 PyObject *resultobj = 0;
18012 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18013 PyObject *result = 0 ;
18014 void *argp1 = 0 ;
18015 int res1 = 0 ;
18016 PyObject *swig_obj[1] ;
18017
18018 if (!args) SWIG_fail;
18019 swig_obj[0] = args;
18020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18021 if (!SWIG_IsOK(res1)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18023 }
18024 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = result;
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18039 PyObject *obj;
18040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18041 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18042 return SWIG_Py_Void();
18043 }
18044
18045 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18046 return SWIG_Python_InitShadowInstance(args);
18047 }
18048
18049 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj = 0;
18051 wxWindow *arg1 = (wxWindow *) 0 ;
18052 wxString *arg2 = 0 ;
18053 wxString *arg3 = 0 ;
18054 int arg4 ;
18055 wxString *arg5 = (wxString *) 0 ;
18056 long arg6 = (long) wxCHOICEDLG_STYLE ;
18057 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18058 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18059 wxSingleChoiceDialog *result = 0 ;
18060 void *argp1 = 0 ;
18061 int res1 = 0 ;
18062 bool temp2 = false ;
18063 bool temp3 = false ;
18064 long val6 ;
18065 int ecode6 = 0 ;
18066 wxPoint temp7 ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 PyObject * obj2 = 0 ;
18070 PyObject * obj3 = 0 ;
18071 PyObject * obj4 = 0 ;
18072 PyObject * obj5 = 0 ;
18073 char * kwnames[] = {
18074 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18075 };
18076
18077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18079 if (!SWIG_IsOK(res1)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18081 }
18082 arg1 = reinterpret_cast< wxWindow * >(argp1);
18083 {
18084 arg2 = wxString_in_helper(obj1);
18085 if (arg2 == NULL) SWIG_fail;
18086 temp2 = true;
18087 }
18088 {
18089 arg3 = wxString_in_helper(obj2);
18090 if (arg3 == NULL) SWIG_fail;
18091 temp3 = true;
18092 }
18093 {
18094 arg4 = PyList_Size(obj3);
18095 arg5 = wxString_LIST_helper(obj3);
18096 if (arg5 == NULL) SWIG_fail;
18097 }
18098 if (obj4) {
18099 ecode6 = SWIG_AsVal_long(obj4, &val6);
18100 if (!SWIG_IsOK(ecode6)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18102 }
18103 arg6 = static_cast< long >(val6);
18104 }
18105 if (obj5) {
18106 {
18107 arg7 = &temp7;
18108 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18109 }
18110 }
18111 {
18112 if (!wxPyCheckForApp()) SWIG_fail;
18113 PyThreadState* __tstate = wxPyBeginAllowThreads();
18114 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18115 wxPyEndAllowThreads(__tstate);
18116 if (PyErr_Occurred()) SWIG_fail;
18117 }
18118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18119 {
18120 if (temp2)
18121 delete arg2;
18122 }
18123 {
18124 if (temp3)
18125 delete arg3;
18126 }
18127 {
18128 if (arg5) delete [] arg5;
18129 }
18130 return resultobj;
18131 fail:
18132 {
18133 if (temp2)
18134 delete arg2;
18135 }
18136 {
18137 if (temp3)
18138 delete arg3;
18139 }
18140 {
18141 if (arg5) delete [] arg5;
18142 }
18143 return NULL;
18144 }
18145
18146
18147 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18148 PyObject *resultobj = 0;
18149 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18150 int result;
18151 void *argp1 = 0 ;
18152 int res1 = 0 ;
18153 PyObject *swig_obj[1] ;
18154
18155 if (!args) SWIG_fail;
18156 swig_obj[0] = args;
18157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18160 }
18161 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (int)(arg1)->GetSelection();
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_From_int(static_cast< int >(result));
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18176 PyObject *resultobj = 0;
18177 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18178 wxString result;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 PyObject *swig_obj[1] ;
18182
18183 if (!args) SWIG_fail;
18184 swig_obj[0] = args;
18185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18186 if (!SWIG_IsOK(res1)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18188 }
18189 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (arg1)->GetStringSelection();
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 {
18197 #if wxUSE_UNICODE
18198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18199 #else
18200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18201 #endif
18202 }
18203 return resultobj;
18204 fail:
18205 return NULL;
18206 }
18207
18208
18209 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj = 0;
18211 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18212 int arg2 ;
18213 void *argp1 = 0 ;
18214 int res1 = 0 ;
18215 int val2 ;
18216 int ecode2 = 0 ;
18217 PyObject * obj0 = 0 ;
18218 PyObject * obj1 = 0 ;
18219 char * kwnames[] = {
18220 (char *) "self",(char *) "sel", NULL
18221 };
18222
18223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18225 if (!SWIG_IsOK(res1)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18227 }
18228 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18229 ecode2 = SWIG_AsVal_int(obj1, &val2);
18230 if (!SWIG_IsOK(ecode2)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18232 }
18233 arg2 = static_cast< int >(val2);
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 (arg1)->SetSelection(arg2);
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 resultobj = SWIG_Py_Void();
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18248 PyObject *obj;
18249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18250 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18251 return SWIG_Py_Void();
18252 }
18253
18254 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18255 return SWIG_Python_InitShadowInstance(args);
18256 }
18257
18258 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj = 0;
18260 wxWindow *arg1 = (wxWindow *) 0 ;
18261 wxString *arg2 = 0 ;
18262 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18263 wxString *arg3 = (wxString *) &arg3_defvalue ;
18264 wxString const &arg4_defvalue = wxPyEmptyString ;
18265 wxString *arg4 = (wxString *) &arg4_defvalue ;
18266 long arg5 = (long) wxTextEntryDialogStyle ;
18267 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18268 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18269 wxTextEntryDialog *result = 0 ;
18270 void *argp1 = 0 ;
18271 int res1 = 0 ;
18272 bool temp2 = false ;
18273 bool temp3 = false ;
18274 bool temp4 = false ;
18275 long val5 ;
18276 int ecode5 = 0 ;
18277 wxPoint temp6 ;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 PyObject * obj2 = 0 ;
18281 PyObject * obj3 = 0 ;
18282 PyObject * obj4 = 0 ;
18283 PyObject * obj5 = 0 ;
18284 char * kwnames[] = {
18285 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18286 };
18287
18288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18290 if (!SWIG_IsOK(res1)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18292 }
18293 arg1 = reinterpret_cast< wxWindow * >(argp1);
18294 {
18295 arg2 = wxString_in_helper(obj1);
18296 if (arg2 == NULL) SWIG_fail;
18297 temp2 = true;
18298 }
18299 if (obj2) {
18300 {
18301 arg3 = wxString_in_helper(obj2);
18302 if (arg3 == NULL) SWIG_fail;
18303 temp3 = true;
18304 }
18305 }
18306 if (obj3) {
18307 {
18308 arg4 = wxString_in_helper(obj3);
18309 if (arg4 == NULL) SWIG_fail;
18310 temp4 = true;
18311 }
18312 }
18313 if (obj4) {
18314 ecode5 = SWIG_AsVal_long(obj4, &val5);
18315 if (!SWIG_IsOK(ecode5)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18317 }
18318 arg5 = static_cast< long >(val5);
18319 }
18320 if (obj5) {
18321 {
18322 arg6 = &temp6;
18323 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18324 }
18325 }
18326 {
18327 if (!wxPyCheckForApp()) SWIG_fail;
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18334 {
18335 if (temp2)
18336 delete arg2;
18337 }
18338 {
18339 if (temp3)
18340 delete arg3;
18341 }
18342 {
18343 if (temp4)
18344 delete arg4;
18345 }
18346 return resultobj;
18347 fail:
18348 {
18349 if (temp2)
18350 delete arg2;
18351 }
18352 {
18353 if (temp3)
18354 delete arg3;
18355 }
18356 {
18357 if (temp4)
18358 delete arg4;
18359 }
18360 return NULL;
18361 }
18362
18363
18364 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18365 PyObject *resultobj = 0;
18366 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18367 wxString result;
18368 void *argp1 = 0 ;
18369 int res1 = 0 ;
18370 PyObject *swig_obj[1] ;
18371
18372 if (!args) SWIG_fail;
18373 swig_obj[0] = args;
18374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18375 if (!SWIG_IsOK(res1)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18377 }
18378 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = (arg1)->GetValue();
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 {
18386 #if wxUSE_UNICODE
18387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18388 #else
18389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18390 #endif
18391 }
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj = 0;
18400 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18401 wxString *arg2 = 0 ;
18402 void *argp1 = 0 ;
18403 int res1 = 0 ;
18404 bool temp2 = false ;
18405 PyObject * obj0 = 0 ;
18406 PyObject * obj1 = 0 ;
18407 char * kwnames[] = {
18408 (char *) "self",(char *) "value", NULL
18409 };
18410
18411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18413 if (!SWIG_IsOK(res1)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18415 }
18416 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18417 {
18418 arg2 = wxString_in_helper(obj1);
18419 if (arg2 == NULL) SWIG_fail;
18420 temp2 = true;
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 (arg1)->SetValue((wxString const &)*arg2);
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 resultobj = SWIG_Py_Void();
18429 {
18430 if (temp2)
18431 delete arg2;
18432 }
18433 return resultobj;
18434 fail:
18435 {
18436 if (temp2)
18437 delete arg2;
18438 }
18439 return NULL;
18440 }
18441
18442
18443 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18444 PyObject *obj;
18445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18446 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18447 return SWIG_Py_Void();
18448 }
18449
18450 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18451 return SWIG_Python_InitShadowInstance(args);
18452 }
18453
18454 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18455 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18456 return 1;
18457 }
18458
18459
18460 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18461 PyObject *pyobj = 0;
18462
18463 {
18464 #if wxUSE_UNICODE
18465 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18466 #else
18467 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18468 #endif
18469 }
18470 return pyobj;
18471 }
18472
18473
18474 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj = 0;
18476 wxWindow *arg1 = (wxWindow *) 0 ;
18477 wxString *arg2 = 0 ;
18478 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18479 wxString *arg3 = (wxString *) &arg3_defvalue ;
18480 wxString const &arg4_defvalue = wxPyEmptyString ;
18481 wxString *arg4 = (wxString *) &arg4_defvalue ;
18482 long arg5 = (long) wxTextEntryDialogStyle ;
18483 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18484 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18485 wxPasswordEntryDialog *result = 0 ;
18486 void *argp1 = 0 ;
18487 int res1 = 0 ;
18488 bool temp2 = false ;
18489 bool temp3 = false ;
18490 bool temp4 = false ;
18491 long val5 ;
18492 int ecode5 = 0 ;
18493 wxPoint temp6 ;
18494 PyObject * obj0 = 0 ;
18495 PyObject * obj1 = 0 ;
18496 PyObject * obj2 = 0 ;
18497 PyObject * obj3 = 0 ;
18498 PyObject * obj4 = 0 ;
18499 PyObject * obj5 = 0 ;
18500 char * kwnames[] = {
18501 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18502 };
18503
18504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18506 if (!SWIG_IsOK(res1)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18508 }
18509 arg1 = reinterpret_cast< wxWindow * >(argp1);
18510 {
18511 arg2 = wxString_in_helper(obj1);
18512 if (arg2 == NULL) SWIG_fail;
18513 temp2 = true;
18514 }
18515 if (obj2) {
18516 {
18517 arg3 = wxString_in_helper(obj2);
18518 if (arg3 == NULL) SWIG_fail;
18519 temp3 = true;
18520 }
18521 }
18522 if (obj3) {
18523 {
18524 arg4 = wxString_in_helper(obj3);
18525 if (arg4 == NULL) SWIG_fail;
18526 temp4 = true;
18527 }
18528 }
18529 if (obj4) {
18530 ecode5 = SWIG_AsVal_long(obj4, &val5);
18531 if (!SWIG_IsOK(ecode5)) {
18532 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18533 }
18534 arg5 = static_cast< long >(val5);
18535 }
18536 if (obj5) {
18537 {
18538 arg6 = &temp6;
18539 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18540 }
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18549 {
18550 if (temp2)
18551 delete arg2;
18552 }
18553 {
18554 if (temp3)
18555 delete arg3;
18556 }
18557 {
18558 if (temp4)
18559 delete arg4;
18560 }
18561 return resultobj;
18562 fail:
18563 {
18564 if (temp2)
18565 delete arg2;
18566 }
18567 {
18568 if (temp3)
18569 delete arg3;
18570 }
18571 {
18572 if (temp4)
18573 delete arg4;
18574 }
18575 return NULL;
18576 }
18577
18578
18579 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18580 PyObject *obj;
18581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18582 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18583 return SWIG_Py_Void();
18584 }
18585
18586 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18587 return SWIG_Python_InitShadowInstance(args);
18588 }
18589
18590 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj = 0;
18592 wxWindow *arg1 = (wxWindow *) 0 ;
18593 wxString *arg2 = 0 ;
18594 wxString *arg3 = 0 ;
18595 wxString *arg4 = 0 ;
18596 long arg5 ;
18597 long arg6 ;
18598 long arg7 ;
18599 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18600 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18601 wxNumberEntryDialog *result = 0 ;
18602 void *argp1 = 0 ;
18603 int res1 = 0 ;
18604 bool temp2 = false ;
18605 bool temp3 = false ;
18606 bool temp4 = false ;
18607 long val5 ;
18608 int ecode5 = 0 ;
18609 long val6 ;
18610 int ecode6 = 0 ;
18611 long val7 ;
18612 int ecode7 = 0 ;
18613 wxPoint temp8 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 PyObject * obj2 = 0 ;
18617 PyObject * obj3 = 0 ;
18618 PyObject * obj4 = 0 ;
18619 PyObject * obj5 = 0 ;
18620 PyObject * obj6 = 0 ;
18621 PyObject * obj7 = 0 ;
18622 char * kwnames[] = {
18623 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18624 };
18625
18626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18628 if (!SWIG_IsOK(res1)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18630 }
18631 arg1 = reinterpret_cast< wxWindow * >(argp1);
18632 {
18633 arg2 = wxString_in_helper(obj1);
18634 if (arg2 == NULL) SWIG_fail;
18635 temp2 = true;
18636 }
18637 {
18638 arg3 = wxString_in_helper(obj2);
18639 if (arg3 == NULL) SWIG_fail;
18640 temp3 = true;
18641 }
18642 {
18643 arg4 = wxString_in_helper(obj3);
18644 if (arg4 == NULL) SWIG_fail;
18645 temp4 = true;
18646 }
18647 ecode5 = SWIG_AsVal_long(obj4, &val5);
18648 if (!SWIG_IsOK(ecode5)) {
18649 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18650 }
18651 arg5 = static_cast< long >(val5);
18652 ecode6 = SWIG_AsVal_long(obj5, &val6);
18653 if (!SWIG_IsOK(ecode6)) {
18654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18655 }
18656 arg6 = static_cast< long >(val6);
18657 ecode7 = SWIG_AsVal_long(obj6, &val7);
18658 if (!SWIG_IsOK(ecode7)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18660 }
18661 arg7 = static_cast< long >(val7);
18662 if (obj7) {
18663 {
18664 arg8 = &temp8;
18665 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18666 }
18667 }
18668 {
18669 if (!wxPyCheckForApp()) SWIG_fail;
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18676 {
18677 if (temp2)
18678 delete arg2;
18679 }
18680 {
18681 if (temp3)
18682 delete arg3;
18683 }
18684 {
18685 if (temp4)
18686 delete arg4;
18687 }
18688 return resultobj;
18689 fail:
18690 {
18691 if (temp2)
18692 delete arg2;
18693 }
18694 {
18695 if (temp3)
18696 delete arg3;
18697 }
18698 {
18699 if (temp4)
18700 delete arg4;
18701 }
18702 return NULL;
18703 }
18704
18705
18706 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18707 PyObject *resultobj = 0;
18708 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18709 long result;
18710 void *argp1 = 0 ;
18711 int res1 = 0 ;
18712 PyObject *swig_obj[1] ;
18713
18714 if (!args) SWIG_fail;
18715 swig_obj[0] = args;
18716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18717 if (!SWIG_IsOK(res1)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18719 }
18720 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 result = (long)(arg1)->GetValue();
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 resultobj = SWIG_From_long(static_cast< long >(result));
18728 return resultobj;
18729 fail:
18730 return NULL;
18731 }
18732
18733
18734 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18735 PyObject *obj;
18736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18737 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18738 return SWIG_Py_Void();
18739 }
18740
18741 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18742 return SWIG_Python_InitShadowInstance(args);
18743 }
18744
18745 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18746 PyObject *resultobj = 0;
18747 wxFontData *result = 0 ;
18748
18749 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxFontData *)new wxFontData();
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18757 return resultobj;
18758 fail:
18759 return NULL;
18760 }
18761
18762
18763 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18764 PyObject *resultobj = 0;
18765 wxFontData *arg1 = (wxFontData *) 0 ;
18766 void *argp1 = 0 ;
18767 int res1 = 0 ;
18768 PyObject *swig_obj[1] ;
18769
18770 if (!args) SWIG_fail;
18771 swig_obj[0] = args;
18772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18773 if (!SWIG_IsOK(res1)) {
18774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18775 }
18776 arg1 = reinterpret_cast< wxFontData * >(argp1);
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 delete arg1;
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 resultobj = SWIG_Py_Void();
18785 return resultobj;
18786 fail:
18787 return NULL;
18788 }
18789
18790
18791 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj = 0;
18793 wxFontData *arg1 = (wxFontData *) 0 ;
18794 bool arg2 ;
18795 void *argp1 = 0 ;
18796 int res1 = 0 ;
18797 bool val2 ;
18798 int ecode2 = 0 ;
18799 PyObject * obj0 = 0 ;
18800 PyObject * obj1 = 0 ;
18801 char * kwnames[] = {
18802 (char *) "self",(char *) "enable", NULL
18803 };
18804
18805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18807 if (!SWIG_IsOK(res1)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18809 }
18810 arg1 = reinterpret_cast< wxFontData * >(argp1);
18811 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18812 if (!SWIG_IsOK(ecode2)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18814 }
18815 arg2 = static_cast< bool >(val2);
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 (arg1)->EnableEffects(arg2);
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 resultobj = SWIG_Py_Void();
18823 return resultobj;
18824 fail:
18825 return NULL;
18826 }
18827
18828
18829 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18830 PyObject *resultobj = 0;
18831 wxFontData *arg1 = (wxFontData *) 0 ;
18832 bool result;
18833 void *argp1 = 0 ;
18834 int res1 = 0 ;
18835 PyObject *swig_obj[1] ;
18836
18837 if (!args) SWIG_fail;
18838 swig_obj[0] = args;
18839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18840 if (!SWIG_IsOK(res1)) {
18841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18842 }
18843 arg1 = reinterpret_cast< wxFontData * >(argp1);
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 result = (bool)(arg1)->GetAllowSymbols();
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 {
18851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18852 }
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18860 PyObject *resultobj = 0;
18861 wxFontData *arg1 = (wxFontData *) 0 ;
18862 wxColour result;
18863 void *argp1 = 0 ;
18864 int res1 = 0 ;
18865 PyObject *swig_obj[1] ;
18866
18867 if (!args) SWIG_fail;
18868 swig_obj[0] = args;
18869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18870 if (!SWIG_IsOK(res1)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 }
18873 arg1 = reinterpret_cast< wxFontData * >(argp1);
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 result = (arg1)->GetColour();
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18888 PyObject *resultobj = 0;
18889 wxFontData *arg1 = (wxFontData *) 0 ;
18890 wxFont result;
18891 void *argp1 = 0 ;
18892 int res1 = 0 ;
18893 PyObject *swig_obj[1] ;
18894
18895 if (!args) SWIG_fail;
18896 swig_obj[0] = args;
18897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18898 if (!SWIG_IsOK(res1)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18900 }
18901 arg1 = reinterpret_cast< wxFontData * >(argp1);
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 result = (arg1)->GetChosenFont();
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18916 PyObject *resultobj = 0;
18917 wxFontData *arg1 = (wxFontData *) 0 ;
18918 bool result;
18919 void *argp1 = 0 ;
18920 int res1 = 0 ;
18921 PyObject *swig_obj[1] ;
18922
18923 if (!args) SWIG_fail;
18924 swig_obj[0] = args;
18925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18926 if (!SWIG_IsOK(res1)) {
18927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18928 }
18929 arg1 = reinterpret_cast< wxFontData * >(argp1);
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 result = (bool)(arg1)->GetEnableEffects();
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 {
18937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18938 }
18939 return resultobj;
18940 fail:
18941 return NULL;
18942 }
18943
18944
18945 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18946 PyObject *resultobj = 0;
18947 wxFontData *arg1 = (wxFontData *) 0 ;
18948 wxFont result;
18949 void *argp1 = 0 ;
18950 int res1 = 0 ;
18951 PyObject *swig_obj[1] ;
18952
18953 if (!args) SWIG_fail;
18954 swig_obj[0] = args;
18955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18958 }
18959 arg1 = reinterpret_cast< wxFontData * >(argp1);
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (arg1)->GetInitialFont();
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18974 PyObject *resultobj = 0;
18975 wxFontData *arg1 = (wxFontData *) 0 ;
18976 bool result;
18977 void *argp1 = 0 ;
18978 int res1 = 0 ;
18979 PyObject *swig_obj[1] ;
18980
18981 if (!args) SWIG_fail;
18982 swig_obj[0] = args;
18983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18984 if (!SWIG_IsOK(res1)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18986 }
18987 arg1 = reinterpret_cast< wxFontData * >(argp1);
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (bool)(arg1)->GetShowHelp();
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 {
18995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18996 }
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj = 0;
19005 wxFontData *arg1 = (wxFontData *) 0 ;
19006 bool arg2 ;
19007 void *argp1 = 0 ;
19008 int res1 = 0 ;
19009 bool val2 ;
19010 int ecode2 = 0 ;
19011 PyObject * obj0 = 0 ;
19012 PyObject * obj1 = 0 ;
19013 char * kwnames[] = {
19014 (char *) "self",(char *) "allowSymbols", NULL
19015 };
19016
19017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19019 if (!SWIG_IsOK(res1)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 }
19022 arg1 = reinterpret_cast< wxFontData * >(argp1);
19023 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19024 if (!SWIG_IsOK(ecode2)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19026 }
19027 arg2 = static_cast< bool >(val2);
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 (arg1)->SetAllowSymbols(arg2);
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 resultobj = SWIG_Py_Void();
19035 return resultobj;
19036 fail:
19037 return NULL;
19038 }
19039
19040
19041 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj = 0;
19043 wxFontData *arg1 = (wxFontData *) 0 ;
19044 wxFont *arg2 = 0 ;
19045 void *argp1 = 0 ;
19046 int res1 = 0 ;
19047 void *argp2 = 0 ;
19048 int res2 = 0 ;
19049 PyObject * obj0 = 0 ;
19050 PyObject * obj1 = 0 ;
19051 char * kwnames[] = {
19052 (char *) "self",(char *) "font", NULL
19053 };
19054
19055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19057 if (!SWIG_IsOK(res1)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19059 }
19060 arg1 = reinterpret_cast< wxFontData * >(argp1);
19061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19062 if (!SWIG_IsOK(res2)) {
19063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19064 }
19065 if (!argp2) {
19066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19067 }
19068 arg2 = reinterpret_cast< wxFont * >(argp2);
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 (arg1)->SetChosenFont((wxFont const &)*arg2);
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 resultobj = SWIG_Py_Void();
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj = 0;
19084 wxFontData *arg1 = (wxFontData *) 0 ;
19085 wxColour *arg2 = 0 ;
19086 void *argp1 = 0 ;
19087 int res1 = 0 ;
19088 wxColour temp2 ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char * kwnames[] = {
19092 (char *) "self",(char *) "colour", NULL
19093 };
19094
19095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19097 if (!SWIG_IsOK(res1)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19099 }
19100 arg1 = reinterpret_cast< wxFontData * >(argp1);
19101 {
19102 arg2 = &temp2;
19103 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19104 }
19105 {
19106 PyThreadState* __tstate = wxPyBeginAllowThreads();
19107 (arg1)->SetColour((wxColour const &)*arg2);
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 resultobj = SWIG_Py_Void();
19112 return resultobj;
19113 fail:
19114 return NULL;
19115 }
19116
19117
19118 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj = 0;
19120 wxFontData *arg1 = (wxFontData *) 0 ;
19121 wxFont *arg2 = 0 ;
19122 void *argp1 = 0 ;
19123 int res1 = 0 ;
19124 void *argp2 = 0 ;
19125 int res2 = 0 ;
19126 PyObject * obj0 = 0 ;
19127 PyObject * obj1 = 0 ;
19128 char * kwnames[] = {
19129 (char *) "self",(char *) "font", NULL
19130 };
19131
19132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19134 if (!SWIG_IsOK(res1)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19136 }
19137 arg1 = reinterpret_cast< wxFontData * >(argp1);
19138 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19139 if (!SWIG_IsOK(res2)) {
19140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19141 }
19142 if (!argp2) {
19143 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19144 }
19145 arg2 = reinterpret_cast< wxFont * >(argp2);
19146 {
19147 PyThreadState* __tstate = wxPyBeginAllowThreads();
19148 (arg1)->SetInitialFont((wxFont const &)*arg2);
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 resultobj = SWIG_Py_Void();
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj = 0;
19161 wxFontData *arg1 = (wxFontData *) 0 ;
19162 int arg2 ;
19163 int arg3 ;
19164 void *argp1 = 0 ;
19165 int res1 = 0 ;
19166 int val2 ;
19167 int ecode2 = 0 ;
19168 int val3 ;
19169 int ecode3 = 0 ;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 PyObject * obj2 = 0 ;
19173 char * kwnames[] = {
19174 (char *) "self",(char *) "min",(char *) "max", NULL
19175 };
19176
19177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19179 if (!SWIG_IsOK(res1)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19181 }
19182 arg1 = reinterpret_cast< wxFontData * >(argp1);
19183 ecode2 = SWIG_AsVal_int(obj1, &val2);
19184 if (!SWIG_IsOK(ecode2)) {
19185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19186 }
19187 arg2 = static_cast< int >(val2);
19188 ecode3 = SWIG_AsVal_int(obj2, &val3);
19189 if (!SWIG_IsOK(ecode3)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19191 }
19192 arg3 = static_cast< int >(val3);
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->SetRange(arg2,arg3);
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 resultobj = SWIG_Py_Void();
19200 return resultobj;
19201 fail:
19202 return NULL;
19203 }
19204
19205
19206 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj = 0;
19208 wxFontData *arg1 = (wxFontData *) 0 ;
19209 bool arg2 ;
19210 void *argp1 = 0 ;
19211 int res1 = 0 ;
19212 bool val2 ;
19213 int ecode2 = 0 ;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 char * kwnames[] = {
19217 (char *) "self",(char *) "showHelp", NULL
19218 };
19219
19220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19222 if (!SWIG_IsOK(res1)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19224 }
19225 arg1 = reinterpret_cast< wxFontData * >(argp1);
19226 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19227 if (!SWIG_IsOK(ecode2)) {
19228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19229 }
19230 arg2 = static_cast< bool >(val2);
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->SetShowHelp(arg2);
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 resultobj = SWIG_Py_Void();
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19245 PyObject *obj;
19246 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19247 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19248 return SWIG_Py_Void();
19249 }
19250
19251 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19252 return SWIG_Python_InitShadowInstance(args);
19253 }
19254
19255 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj = 0;
19257 wxWindow *arg1 = (wxWindow *) 0 ;
19258 wxFontData *arg2 = 0 ;
19259 wxFontDialog *result = 0 ;
19260 void *argp1 = 0 ;
19261 int res1 = 0 ;
19262 void *argp2 = 0 ;
19263 int res2 = 0 ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 char * kwnames[] = {
19267 (char *) "parent",(char *) "data", NULL
19268 };
19269
19270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19272 if (!SWIG_IsOK(res1)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19274 }
19275 arg1 = reinterpret_cast< wxWindow * >(argp1);
19276 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19277 if (!SWIG_IsOK(res2)) {
19278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19279 }
19280 if (!argp2) {
19281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19282 }
19283 arg2 = reinterpret_cast< wxFontData * >(argp2);
19284 {
19285 if (!wxPyCheckForApp()) SWIG_fail;
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19299 PyObject *resultobj = 0;
19300 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19301 wxFontData *result = 0 ;
19302 void *argp1 = 0 ;
19303 int res1 = 0 ;
19304 PyObject *swig_obj[1] ;
19305
19306 if (!args) SWIG_fail;
19307 swig_obj[0] = args;
19308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19309 if (!SWIG_IsOK(res1)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19311 }
19312 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 {
19316 wxFontData &_result_ref = (arg1)->GetFontData();
19317 result = (wxFontData *) &_result_ref;
19318 }
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19330 PyObject *obj;
19331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19332 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19333 return SWIG_Py_Void();
19334 }
19335
19336 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19337 return SWIG_Python_InitShadowInstance(args);
19338 }
19339
19340 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj = 0;
19342 wxWindow *arg1 = (wxWindow *) NULL ;
19343 wxFont const &arg2_defvalue = wxNullFont ;
19344 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19345 wxString const &arg3_defvalue = wxPyEmptyString ;
19346 wxString *arg3 = (wxString *) &arg3_defvalue ;
19347 wxFont result;
19348 void *argp1 = 0 ;
19349 int res1 = 0 ;
19350 void *argp2 = 0 ;
19351 int res2 = 0 ;
19352 bool temp3 = false ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 PyObject * obj2 = 0 ;
19356 char * kwnames[] = {
19357 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19358 };
19359
19360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19361 if (obj0) {
19362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19363 if (!SWIG_IsOK(res1)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19365 }
19366 arg1 = reinterpret_cast< wxWindow * >(argp1);
19367 }
19368 if (obj1) {
19369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19370 if (!SWIG_IsOK(res2)) {
19371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19372 }
19373 if (!argp2) {
19374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19375 }
19376 arg2 = reinterpret_cast< wxFont * >(argp2);
19377 }
19378 if (obj2) {
19379 {
19380 arg3 = wxString_in_helper(obj2);
19381 if (arg3 == NULL) SWIG_fail;
19382 temp3 = true;
19383 }
19384 }
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19388 wxPyEndAllowThreads(__tstate);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 }
19391 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19392 {
19393 if (temp3)
19394 delete arg3;
19395 }
19396 return resultobj;
19397 fail:
19398 {
19399 if (temp3)
19400 delete arg3;
19401 }
19402 return NULL;
19403 }
19404
19405
19406 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj = 0;
19408 wxWindow *arg1 = (wxWindow *) 0 ;
19409 wxString *arg2 = 0 ;
19410 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19411 wxString *arg3 = (wxString *) &arg3_defvalue ;
19412 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19413 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19414 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19415 wxMessageDialog *result = 0 ;
19416 void *argp1 = 0 ;
19417 int res1 = 0 ;
19418 bool temp2 = false ;
19419 bool temp3 = false ;
19420 long val4 ;
19421 int ecode4 = 0 ;
19422 wxPoint temp5 ;
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 PyObject * obj2 = 0 ;
19426 PyObject * obj3 = 0 ;
19427 PyObject * obj4 = 0 ;
19428 char * kwnames[] = {
19429 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19430 };
19431
19432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19434 if (!SWIG_IsOK(res1)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19436 }
19437 arg1 = reinterpret_cast< wxWindow * >(argp1);
19438 {
19439 arg2 = wxString_in_helper(obj1);
19440 if (arg2 == NULL) SWIG_fail;
19441 temp2 = true;
19442 }
19443 if (obj2) {
19444 {
19445 arg3 = wxString_in_helper(obj2);
19446 if (arg3 == NULL) SWIG_fail;
19447 temp3 = true;
19448 }
19449 }
19450 if (obj3) {
19451 ecode4 = SWIG_AsVal_long(obj3, &val4);
19452 if (!SWIG_IsOK(ecode4)) {
19453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19454 }
19455 arg4 = static_cast< long >(val4);
19456 }
19457 if (obj4) {
19458 {
19459 arg5 = &temp5;
19460 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19461 }
19462 }
19463 {
19464 if (!wxPyCheckForApp()) SWIG_fail;
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19471 {
19472 if (temp2)
19473 delete arg2;
19474 }
19475 {
19476 if (temp3)
19477 delete arg3;
19478 }
19479 return resultobj;
19480 fail:
19481 {
19482 if (temp2)
19483 delete arg2;
19484 }
19485 {
19486 if (temp3)
19487 delete arg3;
19488 }
19489 return NULL;
19490 }
19491
19492
19493 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19494 PyObject *obj;
19495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19496 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19497 return SWIG_Py_Void();
19498 }
19499
19500 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19501 return SWIG_Python_InitShadowInstance(args);
19502 }
19503
19504 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj = 0;
19506 wxString *arg1 = 0 ;
19507 wxString *arg2 = 0 ;
19508 int arg3 = (int) 100 ;
19509 wxWindow *arg4 = (wxWindow *) NULL ;
19510 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19511 wxProgressDialog *result = 0 ;
19512 bool temp1 = false ;
19513 bool temp2 = false ;
19514 int val3 ;
19515 int ecode3 = 0 ;
19516 void *argp4 = 0 ;
19517 int res4 = 0 ;
19518 int val5 ;
19519 int ecode5 = 0 ;
19520 PyObject * obj0 = 0 ;
19521 PyObject * obj1 = 0 ;
19522 PyObject * obj2 = 0 ;
19523 PyObject * obj3 = 0 ;
19524 PyObject * obj4 = 0 ;
19525 char * kwnames[] = {
19526 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19527 };
19528
19529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19530 {
19531 arg1 = wxString_in_helper(obj0);
19532 if (arg1 == NULL) SWIG_fail;
19533 temp1 = true;
19534 }
19535 {
19536 arg2 = wxString_in_helper(obj1);
19537 if (arg2 == NULL) SWIG_fail;
19538 temp2 = true;
19539 }
19540 if (obj2) {
19541 ecode3 = SWIG_AsVal_int(obj2, &val3);
19542 if (!SWIG_IsOK(ecode3)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19544 }
19545 arg3 = static_cast< int >(val3);
19546 }
19547 if (obj3) {
19548 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19549 if (!SWIG_IsOK(res4)) {
19550 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19551 }
19552 arg4 = reinterpret_cast< wxWindow * >(argp4);
19553 }
19554 if (obj4) {
19555 ecode5 = SWIG_AsVal_int(obj4, &val5);
19556 if (!SWIG_IsOK(ecode5)) {
19557 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19558 }
19559 arg5 = static_cast< int >(val5);
19560 }
19561 {
19562 if (!wxPyCheckForApp()) SWIG_fail;
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19569 {
19570 if (temp1)
19571 delete arg1;
19572 }
19573 {
19574 if (temp2)
19575 delete arg2;
19576 }
19577 return resultobj;
19578 fail:
19579 {
19580 if (temp1)
19581 delete arg1;
19582 }
19583 {
19584 if (temp2)
19585 delete arg2;
19586 }
19587 return NULL;
19588 }
19589
19590
19591 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj = 0;
19593 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19594 int arg2 ;
19595 wxString const &arg3_defvalue = wxPyEmptyString ;
19596 wxString *arg3 = (wxString *) &arg3_defvalue ;
19597 bool *arg4 = (bool *) 0 ;
19598 bool result;
19599 void *argp1 = 0 ;
19600 int res1 = 0 ;
19601 int val2 ;
19602 int ecode2 = 0 ;
19603 bool temp3 = false ;
19604 bool temp4 ;
19605 int res4 = SWIG_TMPOBJ ;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 PyObject * obj2 = 0 ;
19609 char * kwnames[] = {
19610 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19611 };
19612
19613 arg4 = &temp4;
19614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19616 if (!SWIG_IsOK(res1)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19618 }
19619 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19620 ecode2 = SWIG_AsVal_int(obj1, &val2);
19621 if (!SWIG_IsOK(ecode2)) {
19622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19623 }
19624 arg2 = static_cast< int >(val2);
19625 if (obj2) {
19626 {
19627 arg3 = wxString_in_helper(obj2);
19628 if (arg3 == NULL) SWIG_fail;
19629 temp3 = true;
19630 }
19631 }
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 {
19639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19640 }
19641 if (SWIG_IsTmpObj(res4)) {
19642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19643 } else {
19644 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19646 }
19647 {
19648 if (temp3)
19649 delete arg3;
19650 }
19651 return resultobj;
19652 fail:
19653 {
19654 if (temp3)
19655 delete arg3;
19656 }
19657 return NULL;
19658 }
19659
19660
19661 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19662 PyObject *resultobj = 0;
19663 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19664 void *argp1 = 0 ;
19665 int res1 = 0 ;
19666 PyObject *swig_obj[1] ;
19667
19668 if (!args) SWIG_fail;
19669 swig_obj[0] = args;
19670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19671 if (!SWIG_IsOK(res1)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19673 }
19674 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->Resume();
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 resultobj = SWIG_Py_Void();
19682 return resultobj;
19683 fail:
19684 return NULL;
19685 }
19686
19687
19688 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19689 PyObject *obj;
19690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19691 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19692 return SWIG_Py_Void();
19693 }
19694
19695 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19696 return SWIG_Python_InitShadowInstance(args);
19697 }
19698
19699 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj = 0;
19701 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19702 int arg2 = (int) 0 ;
19703 wxFindDialogEvent *result = 0 ;
19704 int val1 ;
19705 int ecode1 = 0 ;
19706 int val2 ;
19707 int ecode2 = 0 ;
19708 PyObject * obj0 = 0 ;
19709 PyObject * obj1 = 0 ;
19710 char * kwnames[] = {
19711 (char *) "commandType",(char *) "id", NULL
19712 };
19713
19714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19715 if (obj0) {
19716 ecode1 = SWIG_AsVal_int(obj0, &val1);
19717 if (!SWIG_IsOK(ecode1)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19719 }
19720 arg1 = static_cast< wxEventType >(val1);
19721 }
19722 if (obj1) {
19723 ecode2 = SWIG_AsVal_int(obj1, &val2);
19724 if (!SWIG_IsOK(ecode2)) {
19725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19726 }
19727 arg2 = static_cast< int >(val2);
19728 }
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19743 PyObject *resultobj = 0;
19744 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19745 int result;
19746 void *argp1 = 0 ;
19747 int res1 = 0 ;
19748 PyObject *swig_obj[1] ;
19749
19750 if (!args) SWIG_fail;
19751 swig_obj[0] = args;
19752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19753 if (!SWIG_IsOK(res1)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19755 }
19756 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (int)(arg1)->GetFlags();
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = SWIG_From_int(static_cast< int >(result));
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19771 PyObject *resultobj = 0;
19772 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19773 wxString *result = 0 ;
19774 void *argp1 = 0 ;
19775 int res1 = 0 ;
19776 PyObject *swig_obj[1] ;
19777
19778 if (!args) SWIG_fail;
19779 swig_obj[0] = args;
19780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19781 if (!SWIG_IsOK(res1)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19783 }
19784 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 {
19788 wxString const &_result_ref = (arg1)->GetFindString();
19789 result = (wxString *) &_result_ref;
19790 }
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 {
19795 #if wxUSE_UNICODE
19796 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19797 #else
19798 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19799 #endif
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19808 PyObject *resultobj = 0;
19809 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19810 wxString *result = 0 ;
19811 void *argp1 = 0 ;
19812 int res1 = 0 ;
19813 PyObject *swig_obj[1] ;
19814
19815 if (!args) SWIG_fail;
19816 swig_obj[0] = args;
19817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19818 if (!SWIG_IsOK(res1)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19820 }
19821 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 {
19825 wxString const &_result_ref = (arg1)->GetReplaceString();
19826 result = (wxString *) &_result_ref;
19827 }
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 {
19832 #if wxUSE_UNICODE
19833 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19834 #else
19835 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19836 #endif
19837 }
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19845 PyObject *resultobj = 0;
19846 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19847 wxFindReplaceDialog *result = 0 ;
19848 void *argp1 = 0 ;
19849 int res1 = 0 ;
19850 PyObject *swig_obj[1] ;
19851
19852 if (!args) SWIG_fail;
19853 swig_obj[0] = args;
19854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19855 if (!SWIG_IsOK(res1)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19857 }
19858 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj = 0;
19874 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19875 int arg2 ;
19876 void *argp1 = 0 ;
19877 int res1 = 0 ;
19878 int val2 ;
19879 int ecode2 = 0 ;
19880 PyObject * obj0 = 0 ;
19881 PyObject * obj1 = 0 ;
19882 char * kwnames[] = {
19883 (char *) "self",(char *) "flags", NULL
19884 };
19885
19886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19888 if (!SWIG_IsOK(res1)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19890 }
19891 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19892 ecode2 = SWIG_AsVal_int(obj1, &val2);
19893 if (!SWIG_IsOK(ecode2)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19895 }
19896 arg2 = static_cast< int >(val2);
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 (arg1)->SetFlags(arg2);
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 resultobj = SWIG_Py_Void();
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj = 0;
19912 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19913 wxString *arg2 = 0 ;
19914 void *argp1 = 0 ;
19915 int res1 = 0 ;
19916 bool temp2 = false ;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 char * kwnames[] = {
19920 (char *) "self",(char *) "str", NULL
19921 };
19922
19923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19925 if (!SWIG_IsOK(res1)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19927 }
19928 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19929 {
19930 arg2 = wxString_in_helper(obj1);
19931 if (arg2 == NULL) SWIG_fail;
19932 temp2 = true;
19933 }
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 (arg1)->SetFindString((wxString const &)*arg2);
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 resultobj = SWIG_Py_Void();
19941 {
19942 if (temp2)
19943 delete arg2;
19944 }
19945 return resultobj;
19946 fail:
19947 {
19948 if (temp2)
19949 delete arg2;
19950 }
19951 return NULL;
19952 }
19953
19954
19955 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj = 0;
19957 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19958 wxString *arg2 = 0 ;
19959 void *argp1 = 0 ;
19960 int res1 = 0 ;
19961 bool temp2 = false ;
19962 PyObject * obj0 = 0 ;
19963 PyObject * obj1 = 0 ;
19964 char * kwnames[] = {
19965 (char *) "self",(char *) "str", NULL
19966 };
19967
19968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19970 if (!SWIG_IsOK(res1)) {
19971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19972 }
19973 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19974 {
19975 arg2 = wxString_in_helper(obj1);
19976 if (arg2 == NULL) SWIG_fail;
19977 temp2 = true;
19978 }
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 (arg1)->SetReplaceString((wxString const &)*arg2);
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 resultobj = SWIG_Py_Void();
19986 {
19987 if (temp2)
19988 delete arg2;
19989 }
19990 return resultobj;
19991 fail:
19992 {
19993 if (temp2)
19994 delete arg2;
19995 }
19996 return NULL;
19997 }
19998
19999
20000 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20001 PyObject *obj;
20002 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20003 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20004 return SWIG_Py_Void();
20005 }
20006
20007 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20008 return SWIG_Python_InitShadowInstance(args);
20009 }
20010
20011 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj = 0;
20013 int arg1 = (int) 0 ;
20014 wxFindReplaceData *result = 0 ;
20015 int val1 ;
20016 int ecode1 = 0 ;
20017 PyObject * obj0 = 0 ;
20018 char * kwnames[] = {
20019 (char *) "flags", NULL
20020 };
20021
20022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20023 if (obj0) {
20024 ecode1 = SWIG_AsVal_int(obj0, &val1);
20025 if (!SWIG_IsOK(ecode1)) {
20026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20027 }
20028 arg1 = static_cast< int >(val1);
20029 }
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20037 return resultobj;
20038 fail:
20039 return NULL;
20040 }
20041
20042
20043 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20044 PyObject *resultobj = 0;
20045 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20046 void *argp1 = 0 ;
20047 int res1 = 0 ;
20048 PyObject *swig_obj[1] ;
20049
20050 if (!args) SWIG_fail;
20051 swig_obj[0] = args;
20052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20053 if (!SWIG_IsOK(res1)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20055 }
20056 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 delete arg1;
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 resultobj = SWIG_Py_Void();
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20072 PyObject *resultobj = 0;
20073 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20074 wxString *result = 0 ;
20075 void *argp1 = 0 ;
20076 int res1 = 0 ;
20077 PyObject *swig_obj[1] ;
20078
20079 if (!args) SWIG_fail;
20080 swig_obj[0] = args;
20081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20082 if (!SWIG_IsOK(res1)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20084 }
20085 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 {
20089 wxString const &_result_ref = (arg1)->GetFindString();
20090 result = (wxString *) &_result_ref;
20091 }
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 {
20096 #if wxUSE_UNICODE
20097 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20098 #else
20099 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20100 #endif
20101 }
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20109 PyObject *resultobj = 0;
20110 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20111 wxString *result = 0 ;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 PyObject *swig_obj[1] ;
20115
20116 if (!args) SWIG_fail;
20117 swig_obj[0] = args;
20118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20119 if (!SWIG_IsOK(res1)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20121 }
20122 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 {
20126 wxString const &_result_ref = (arg1)->GetReplaceString();
20127 result = (wxString *) &_result_ref;
20128 }
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 {
20133 #if wxUSE_UNICODE
20134 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20135 #else
20136 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20137 #endif
20138 }
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20146 PyObject *resultobj = 0;
20147 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20148 int result;
20149 void *argp1 = 0 ;
20150 int res1 = 0 ;
20151 PyObject *swig_obj[1] ;
20152
20153 if (!args) SWIG_fail;
20154 swig_obj[0] = args;
20155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20156 if (!SWIG_IsOK(res1)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20158 }
20159 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (int)(arg1)->GetFlags();
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 resultobj = SWIG_From_int(static_cast< int >(result));
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj = 0;
20175 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20176 int arg2 ;
20177 void *argp1 = 0 ;
20178 int res1 = 0 ;
20179 int val2 ;
20180 int ecode2 = 0 ;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 char * kwnames[] = {
20184 (char *) "self",(char *) "flags", NULL
20185 };
20186
20187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20189 if (!SWIG_IsOK(res1)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20191 }
20192 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20193 ecode2 = SWIG_AsVal_int(obj1, &val2);
20194 if (!SWIG_IsOK(ecode2)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20196 }
20197 arg2 = static_cast< int >(val2);
20198 {
20199 PyThreadState* __tstate = wxPyBeginAllowThreads();
20200 (arg1)->SetFlags(arg2);
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 resultobj = SWIG_Py_Void();
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj = 0;
20213 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20214 wxString *arg2 = 0 ;
20215 void *argp1 = 0 ;
20216 int res1 = 0 ;
20217 bool temp2 = false ;
20218 PyObject * obj0 = 0 ;
20219 PyObject * obj1 = 0 ;
20220 char * kwnames[] = {
20221 (char *) "self",(char *) "str", NULL
20222 };
20223
20224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20226 if (!SWIG_IsOK(res1)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20228 }
20229 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20230 {
20231 arg2 = wxString_in_helper(obj1);
20232 if (arg2 == NULL) SWIG_fail;
20233 temp2 = true;
20234 }
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 (arg1)->SetFindString((wxString const &)*arg2);
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = SWIG_Py_Void();
20242 {
20243 if (temp2)
20244 delete arg2;
20245 }
20246 return resultobj;
20247 fail:
20248 {
20249 if (temp2)
20250 delete arg2;
20251 }
20252 return NULL;
20253 }
20254
20255
20256 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj = 0;
20258 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20259 wxString *arg2 = 0 ;
20260 void *argp1 = 0 ;
20261 int res1 = 0 ;
20262 bool temp2 = false ;
20263 PyObject * obj0 = 0 ;
20264 PyObject * obj1 = 0 ;
20265 char * kwnames[] = {
20266 (char *) "self",(char *) "str", NULL
20267 };
20268
20269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20271 if (!SWIG_IsOK(res1)) {
20272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20273 }
20274 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20275 {
20276 arg2 = wxString_in_helper(obj1);
20277 if (arg2 == NULL) SWIG_fail;
20278 temp2 = true;
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->SetReplaceString((wxString const &)*arg2);
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 resultobj = SWIG_Py_Void();
20287 {
20288 if (temp2)
20289 delete arg2;
20290 }
20291 return resultobj;
20292 fail:
20293 {
20294 if (temp2)
20295 delete arg2;
20296 }
20297 return NULL;
20298 }
20299
20300
20301 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20302 PyObject *obj;
20303 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20304 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20305 return SWIG_Py_Void();
20306 }
20307
20308 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20309 return SWIG_Python_InitShadowInstance(args);
20310 }
20311
20312 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj = 0;
20314 wxWindow *arg1 = (wxWindow *) 0 ;
20315 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20316 wxString *arg3 = 0 ;
20317 int arg4 = (int) 0 ;
20318 wxFindReplaceDialog *result = 0 ;
20319 void *argp1 = 0 ;
20320 int res1 = 0 ;
20321 void *argp2 = 0 ;
20322 int res2 = 0 ;
20323 bool temp3 = false ;
20324 int val4 ;
20325 int ecode4 = 0 ;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 PyObject * obj2 = 0 ;
20329 PyObject * obj3 = 0 ;
20330 char * kwnames[] = {
20331 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20332 };
20333
20334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20336 if (!SWIG_IsOK(res1)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20338 }
20339 arg1 = reinterpret_cast< wxWindow * >(argp1);
20340 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20341 if (!SWIG_IsOK(res2)) {
20342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20343 }
20344 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20345 {
20346 arg3 = wxString_in_helper(obj2);
20347 if (arg3 == NULL) SWIG_fail;
20348 temp3 = true;
20349 }
20350 if (obj3) {
20351 ecode4 = SWIG_AsVal_int(obj3, &val4);
20352 if (!SWIG_IsOK(ecode4)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20354 }
20355 arg4 = static_cast< int >(val4);
20356 }
20357 {
20358 if (!wxPyCheckForApp()) SWIG_fail;
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20365 {
20366 if (temp3)
20367 delete arg3;
20368 }
20369 return resultobj;
20370 fail:
20371 {
20372 if (temp3)
20373 delete arg3;
20374 }
20375 return NULL;
20376 }
20377
20378
20379 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20380 PyObject *resultobj = 0;
20381 wxFindReplaceDialog *result = 0 ;
20382
20383 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20384 {
20385 if (!wxPyCheckForApp()) SWIG_fail;
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20392 return resultobj;
20393 fail:
20394 return NULL;
20395 }
20396
20397
20398 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj = 0;
20400 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20401 wxWindow *arg2 = (wxWindow *) 0 ;
20402 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20403 wxString *arg4 = 0 ;
20404 int arg5 = (int) 0 ;
20405 bool result;
20406 void *argp1 = 0 ;
20407 int res1 = 0 ;
20408 void *argp2 = 0 ;
20409 int res2 = 0 ;
20410 void *argp3 = 0 ;
20411 int res3 = 0 ;
20412 bool temp4 = false ;
20413 int val5 ;
20414 int ecode5 = 0 ;
20415 PyObject * obj0 = 0 ;
20416 PyObject * obj1 = 0 ;
20417 PyObject * obj2 = 0 ;
20418 PyObject * obj3 = 0 ;
20419 PyObject * obj4 = 0 ;
20420 char * kwnames[] = {
20421 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20422 };
20423
20424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20426 if (!SWIG_IsOK(res1)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20428 }
20429 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20431 if (!SWIG_IsOK(res2)) {
20432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20433 }
20434 arg2 = reinterpret_cast< wxWindow * >(argp2);
20435 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20436 if (!SWIG_IsOK(res3)) {
20437 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20438 }
20439 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20440 {
20441 arg4 = wxString_in_helper(obj3);
20442 if (arg4 == NULL) SWIG_fail;
20443 temp4 = true;
20444 }
20445 if (obj4) {
20446 ecode5 = SWIG_AsVal_int(obj4, &val5);
20447 if (!SWIG_IsOK(ecode5)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20449 }
20450 arg5 = static_cast< int >(val5);
20451 }
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20460 }
20461 {
20462 if (temp4)
20463 delete arg4;
20464 }
20465 return resultobj;
20466 fail:
20467 {
20468 if (temp4)
20469 delete arg4;
20470 }
20471 return NULL;
20472 }
20473
20474
20475 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20476 PyObject *resultobj = 0;
20477 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20478 wxFindReplaceData *result = 0 ;
20479 void *argp1 = 0 ;
20480 int res1 = 0 ;
20481 PyObject *swig_obj[1] ;
20482
20483 if (!args) SWIG_fail;
20484 swig_obj[0] = args;
20485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20486 if (!SWIG_IsOK(res1)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20488 }
20489 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 result = (wxFindReplaceData *)(arg1)->GetData();
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj = 0;
20505 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20506 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20507 void *argp1 = 0 ;
20508 int res1 = 0 ;
20509 void *argp2 = 0 ;
20510 int res2 = 0 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char * kwnames[] = {
20514 (char *) "self",(char *) "data", NULL
20515 };
20516
20517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20519 if (!SWIG_IsOK(res1)) {
20520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20521 }
20522 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20523 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20524 if (!SWIG_IsOK(res2)) {
20525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20526 }
20527 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 (arg1)->SetData(arg2);
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 resultobj = SWIG_Py_Void();
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20542 PyObject *obj;
20543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20544 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20545 return SWIG_Py_Void();
20546 }
20547
20548 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20549 return SWIG_Python_InitShadowInstance(args);
20550 }
20551
20552 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj = 0;
20554 wxWindow *arg1 = (wxWindow *) 0 ;
20555 int arg2 = (int) (int)-1 ;
20556 wxString const &arg3_defvalue = wxPyEmptyString ;
20557 wxString *arg3 = (wxString *) &arg3_defvalue ;
20558 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20559 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20560 wxSize const &arg5_defvalue = wxDefaultSize ;
20561 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20562 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20563 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20564 wxString *arg7 = (wxString *) &arg7_defvalue ;
20565 wxMDIParentFrame *result = 0 ;
20566 void *argp1 = 0 ;
20567 int res1 = 0 ;
20568 int val2 ;
20569 int ecode2 = 0 ;
20570 bool temp3 = false ;
20571 wxPoint temp4 ;
20572 wxSize temp5 ;
20573 long val6 ;
20574 int ecode6 = 0 ;
20575 bool temp7 = false ;
20576 PyObject * obj0 = 0 ;
20577 PyObject * obj1 = 0 ;
20578 PyObject * obj2 = 0 ;
20579 PyObject * obj3 = 0 ;
20580 PyObject * obj4 = 0 ;
20581 PyObject * obj5 = 0 ;
20582 PyObject * obj6 = 0 ;
20583 char * kwnames[] = {
20584 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20585 };
20586
20587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20591 }
20592 arg1 = reinterpret_cast< wxWindow * >(argp1);
20593 if (obj1) {
20594 ecode2 = SWIG_AsVal_int(obj1, &val2);
20595 if (!SWIG_IsOK(ecode2)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20597 }
20598 arg2 = static_cast< int >(val2);
20599 }
20600 if (obj2) {
20601 {
20602 arg3 = wxString_in_helper(obj2);
20603 if (arg3 == NULL) SWIG_fail;
20604 temp3 = true;
20605 }
20606 }
20607 if (obj3) {
20608 {
20609 arg4 = &temp4;
20610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20611 }
20612 }
20613 if (obj4) {
20614 {
20615 arg5 = &temp5;
20616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20617 }
20618 }
20619 if (obj5) {
20620 ecode6 = SWIG_AsVal_long(obj5, &val6);
20621 if (!SWIG_IsOK(ecode6)) {
20622 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20623 }
20624 arg6 = static_cast< long >(val6);
20625 }
20626 if (obj6) {
20627 {
20628 arg7 = wxString_in_helper(obj6);
20629 if (arg7 == NULL) SWIG_fail;
20630 temp7 = true;
20631 }
20632 }
20633 {
20634 if (!wxPyCheckForApp()) SWIG_fail;
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20641 {
20642 if (temp3)
20643 delete arg3;
20644 }
20645 {
20646 if (temp7)
20647 delete arg7;
20648 }
20649 return resultobj;
20650 fail:
20651 {
20652 if (temp3)
20653 delete arg3;
20654 }
20655 {
20656 if (temp7)
20657 delete arg7;
20658 }
20659 return NULL;
20660 }
20661
20662
20663 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20664 PyObject *resultobj = 0;
20665 wxMDIParentFrame *result = 0 ;
20666
20667 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20668 {
20669 if (!wxPyCheckForApp()) SWIG_fail;
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20676 return resultobj;
20677 fail:
20678 return NULL;
20679 }
20680
20681
20682 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj = 0;
20684 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20685 wxWindow *arg2 = (wxWindow *) 0 ;
20686 int arg3 = (int) (int)-1 ;
20687 wxString const &arg4_defvalue = wxPyEmptyString ;
20688 wxString *arg4 = (wxString *) &arg4_defvalue ;
20689 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20690 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20691 wxSize const &arg6_defvalue = wxDefaultSize ;
20692 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20693 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20694 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20695 wxString *arg8 = (wxString *) &arg8_defvalue ;
20696 bool result;
20697 void *argp1 = 0 ;
20698 int res1 = 0 ;
20699 void *argp2 = 0 ;
20700 int res2 = 0 ;
20701 int val3 ;
20702 int ecode3 = 0 ;
20703 bool temp4 = false ;
20704 wxPoint temp5 ;
20705 wxSize temp6 ;
20706 long val7 ;
20707 int ecode7 = 0 ;
20708 bool temp8 = false ;
20709 PyObject * obj0 = 0 ;
20710 PyObject * obj1 = 0 ;
20711 PyObject * obj2 = 0 ;
20712 PyObject * obj3 = 0 ;
20713 PyObject * obj4 = 0 ;
20714 PyObject * obj5 = 0 ;
20715 PyObject * obj6 = 0 ;
20716 PyObject * obj7 = 0 ;
20717 char * kwnames[] = {
20718 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20719 };
20720
20721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20723 if (!SWIG_IsOK(res1)) {
20724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20725 }
20726 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20728 if (!SWIG_IsOK(res2)) {
20729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20730 }
20731 arg2 = reinterpret_cast< wxWindow * >(argp2);
20732 if (obj2) {
20733 ecode3 = SWIG_AsVal_int(obj2, &val3);
20734 if (!SWIG_IsOK(ecode3)) {
20735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20736 }
20737 arg3 = static_cast< int >(val3);
20738 }
20739 if (obj3) {
20740 {
20741 arg4 = wxString_in_helper(obj3);
20742 if (arg4 == NULL) SWIG_fail;
20743 temp4 = true;
20744 }
20745 }
20746 if (obj4) {
20747 {
20748 arg5 = &temp5;
20749 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20750 }
20751 }
20752 if (obj5) {
20753 {
20754 arg6 = &temp6;
20755 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20756 }
20757 }
20758 if (obj6) {
20759 ecode7 = SWIG_AsVal_long(obj6, &val7);
20760 if (!SWIG_IsOK(ecode7)) {
20761 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20762 }
20763 arg7 = static_cast< long >(val7);
20764 }
20765 if (obj7) {
20766 {
20767 arg8 = wxString_in_helper(obj7);
20768 if (arg8 == NULL) SWIG_fail;
20769 temp8 = true;
20770 }
20771 }
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 {
20779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20780 }
20781 {
20782 if (temp4)
20783 delete arg4;
20784 }
20785 {
20786 if (temp8)
20787 delete arg8;
20788 }
20789 return resultobj;
20790 fail:
20791 {
20792 if (temp4)
20793 delete arg4;
20794 }
20795 {
20796 if (temp8)
20797 delete arg8;
20798 }
20799 return NULL;
20800 }
20801
20802
20803 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20804 PyObject *resultobj = 0;
20805 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20806 void *argp1 = 0 ;
20807 int res1 = 0 ;
20808 PyObject *swig_obj[1] ;
20809
20810 if (!args) SWIG_fail;
20811 swig_obj[0] = args;
20812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20813 if (!SWIG_IsOK(res1)) {
20814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20815 }
20816 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 (arg1)->ActivateNext();
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 resultobj = SWIG_Py_Void();
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20831 PyObject *resultobj = 0;
20832 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20833 void *argp1 = 0 ;
20834 int res1 = 0 ;
20835 PyObject *swig_obj[1] ;
20836
20837 if (!args) SWIG_fail;
20838 swig_obj[0] = args;
20839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20840 if (!SWIG_IsOK(res1)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20842 }
20843 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 (arg1)->ActivatePrevious();
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 resultobj = SWIG_Py_Void();
20851 return resultobj;
20852 fail:
20853 return NULL;
20854 }
20855
20856
20857 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20858 PyObject *resultobj = 0;
20859 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20860 void *argp1 = 0 ;
20861 int res1 = 0 ;
20862 PyObject *swig_obj[1] ;
20863
20864 if (!args) SWIG_fail;
20865 swig_obj[0] = args;
20866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20867 if (!SWIG_IsOK(res1)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20869 }
20870 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->ArrangeIcons();
20874 wxPyEndAllowThreads(__tstate);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 resultobj = SWIG_Py_Void();
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20885 PyObject *resultobj = 0;
20886 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20887 void *argp1 = 0 ;
20888 int res1 = 0 ;
20889 PyObject *swig_obj[1] ;
20890
20891 if (!args) SWIG_fail;
20892 swig_obj[0] = args;
20893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20894 if (!SWIG_IsOK(res1)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20896 }
20897 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 (arg1)->Cascade();
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_Py_Void();
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20912 PyObject *resultobj = 0;
20913 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20914 wxMDIChildFrame *result = 0 ;
20915 void *argp1 = 0 ;
20916 int res1 = 0 ;
20917 PyObject *swig_obj[1] ;
20918
20919 if (!args) SWIG_fail;
20920 swig_obj[0] = args;
20921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20922 if (!SWIG_IsOK(res1)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 }
20925 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 {
20933 resultobj = wxPyMake_wxObject(result, (bool)0);
20934 }
20935 return resultobj;
20936 fail:
20937 return NULL;
20938 }
20939
20940
20941 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20942 PyObject *resultobj = 0;
20943 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20944 wxMDIClientWindow *result = 0 ;
20945 void *argp1 = 0 ;
20946 int res1 = 0 ;
20947 PyObject *swig_obj[1] ;
20948
20949 if (!args) SWIG_fail;
20950 swig_obj[0] = args;
20951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20952 if (!SWIG_IsOK(res1)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20954 }
20955 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 {
20963 resultobj = wxPyMake_wxObject(result, (bool)0);
20964 }
20965 return resultobj;
20966 fail:
20967 return NULL;
20968 }
20969
20970
20971 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20972 PyObject *resultobj = 0;
20973 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20974 wxWindow *result = 0 ;
20975 void *argp1 = 0 ;
20976 int res1 = 0 ;
20977 PyObject *swig_obj[1] ;
20978
20979 if (!args) SWIG_fail;
20980 swig_obj[0] = args;
20981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20982 if (!SWIG_IsOK(res1)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20984 }
20985 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 result = (wxWindow *)(arg1)->GetToolBar();
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 {
20993 resultobj = wxPyMake_wxObject(result, 0);
20994 }
20995 return resultobj;
20996 fail:
20997 return NULL;
20998 }
20999
21000
21001 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21002 PyObject *resultobj = 0;
21003 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21004 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21005 void *argp1 = 0 ;
21006 int res1 = 0 ;
21007 int val2 ;
21008 int ecode2 = 0 ;
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char * kwnames[] = {
21012 (char *) "self",(char *) "orient", NULL
21013 };
21014
21015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21017 if (!SWIG_IsOK(res1)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21019 }
21020 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21021 if (obj1) {
21022 ecode2 = SWIG_AsVal_int(obj1, &val2);
21023 if (!SWIG_IsOK(ecode2)) {
21024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21025 }
21026 arg2 = static_cast< wxOrientation >(val2);
21027 }
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 (arg1)->Tile(arg2);
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 resultobj = SWIG_Py_Void();
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21042 PyObject *obj;
21043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21044 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21045 return SWIG_Py_Void();
21046 }
21047
21048 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21049 return SWIG_Python_InitShadowInstance(args);
21050 }
21051
21052 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj = 0;
21054 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21055 int arg2 = (int) (int)-1 ;
21056 wxString const &arg3_defvalue = wxPyEmptyString ;
21057 wxString *arg3 = (wxString *) &arg3_defvalue ;
21058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21060 wxSize const &arg5_defvalue = wxDefaultSize ;
21061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21062 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21063 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21064 wxString *arg7 = (wxString *) &arg7_defvalue ;
21065 wxMDIChildFrame *result = 0 ;
21066 void *argp1 = 0 ;
21067 int res1 = 0 ;
21068 int val2 ;
21069 int ecode2 = 0 ;
21070 bool temp3 = false ;
21071 wxPoint temp4 ;
21072 wxSize temp5 ;
21073 long val6 ;
21074 int ecode6 = 0 ;
21075 bool temp7 = false ;
21076 PyObject * obj0 = 0 ;
21077 PyObject * obj1 = 0 ;
21078 PyObject * obj2 = 0 ;
21079 PyObject * obj3 = 0 ;
21080 PyObject * obj4 = 0 ;
21081 PyObject * obj5 = 0 ;
21082 PyObject * obj6 = 0 ;
21083 char * kwnames[] = {
21084 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21085 };
21086
21087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21089 if (!SWIG_IsOK(res1)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21091 }
21092 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21093 if (obj1) {
21094 ecode2 = SWIG_AsVal_int(obj1, &val2);
21095 if (!SWIG_IsOK(ecode2)) {
21096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21097 }
21098 arg2 = static_cast< int >(val2);
21099 }
21100 if (obj2) {
21101 {
21102 arg3 = wxString_in_helper(obj2);
21103 if (arg3 == NULL) SWIG_fail;
21104 temp3 = true;
21105 }
21106 }
21107 if (obj3) {
21108 {
21109 arg4 = &temp4;
21110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21111 }
21112 }
21113 if (obj4) {
21114 {
21115 arg5 = &temp5;
21116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21117 }
21118 }
21119 if (obj5) {
21120 ecode6 = SWIG_AsVal_long(obj5, &val6);
21121 if (!SWIG_IsOK(ecode6)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21123 }
21124 arg6 = static_cast< long >(val6);
21125 }
21126 if (obj6) {
21127 {
21128 arg7 = wxString_in_helper(obj6);
21129 if (arg7 == NULL) SWIG_fail;
21130 temp7 = true;
21131 }
21132 }
21133 {
21134 if (!wxPyCheckForApp()) SWIG_fail;
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21141 {
21142 if (temp3)
21143 delete arg3;
21144 }
21145 {
21146 if (temp7)
21147 delete arg7;
21148 }
21149 return resultobj;
21150 fail:
21151 {
21152 if (temp3)
21153 delete arg3;
21154 }
21155 {
21156 if (temp7)
21157 delete arg7;
21158 }
21159 return NULL;
21160 }
21161
21162
21163 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21164 PyObject *resultobj = 0;
21165 wxMDIChildFrame *result = 0 ;
21166
21167 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21168 {
21169 if (!wxPyCheckForApp()) SWIG_fail;
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21176 return resultobj;
21177 fail:
21178 return NULL;
21179 }
21180
21181
21182 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj = 0;
21184 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21185 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21186 int arg3 = (int) (int)-1 ;
21187 wxString const &arg4_defvalue = wxPyEmptyString ;
21188 wxString *arg4 = (wxString *) &arg4_defvalue ;
21189 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21190 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21191 wxSize const &arg6_defvalue = wxDefaultSize ;
21192 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21193 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21194 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21195 wxString *arg8 = (wxString *) &arg8_defvalue ;
21196 bool result;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 void *argp2 = 0 ;
21200 int res2 = 0 ;
21201 int val3 ;
21202 int ecode3 = 0 ;
21203 bool temp4 = false ;
21204 wxPoint temp5 ;
21205 wxSize temp6 ;
21206 long val7 ;
21207 int ecode7 = 0 ;
21208 bool temp8 = false ;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 PyObject * obj2 = 0 ;
21212 PyObject * obj3 = 0 ;
21213 PyObject * obj4 = 0 ;
21214 PyObject * obj5 = 0 ;
21215 PyObject * obj6 = 0 ;
21216 PyObject * obj7 = 0 ;
21217 char * kwnames[] = {
21218 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21219 };
21220
21221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21223 if (!SWIG_IsOK(res1)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21225 }
21226 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21228 if (!SWIG_IsOK(res2)) {
21229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21230 }
21231 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21232 if (obj2) {
21233 ecode3 = SWIG_AsVal_int(obj2, &val3);
21234 if (!SWIG_IsOK(ecode3)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21236 }
21237 arg3 = static_cast< int >(val3);
21238 }
21239 if (obj3) {
21240 {
21241 arg4 = wxString_in_helper(obj3);
21242 if (arg4 == NULL) SWIG_fail;
21243 temp4 = true;
21244 }
21245 }
21246 if (obj4) {
21247 {
21248 arg5 = &temp5;
21249 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21250 }
21251 }
21252 if (obj5) {
21253 {
21254 arg6 = &temp6;
21255 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21256 }
21257 }
21258 if (obj6) {
21259 ecode7 = SWIG_AsVal_long(obj6, &val7);
21260 if (!SWIG_IsOK(ecode7)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21262 }
21263 arg7 = static_cast< long >(val7);
21264 }
21265 if (obj7) {
21266 {
21267 arg8 = wxString_in_helper(obj7);
21268 if (arg8 == NULL) SWIG_fail;
21269 temp8 = true;
21270 }
21271 }
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 {
21279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21280 }
21281 {
21282 if (temp4)
21283 delete arg4;
21284 }
21285 {
21286 if (temp8)
21287 delete arg8;
21288 }
21289 return resultobj;
21290 fail:
21291 {
21292 if (temp4)
21293 delete arg4;
21294 }
21295 {
21296 if (temp8)
21297 delete arg8;
21298 }
21299 return NULL;
21300 }
21301
21302
21303 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21304 PyObject *resultobj = 0;
21305 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21306 void *argp1 = 0 ;
21307 int res1 = 0 ;
21308 PyObject *swig_obj[1] ;
21309
21310 if (!args) SWIG_fail;
21311 swig_obj[0] = args;
21312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21313 if (!SWIG_IsOK(res1)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21315 }
21316 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 (arg1)->Activate();
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 resultobj = SWIG_Py_Void();
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21331 PyObject *obj;
21332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21333 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21334 return SWIG_Py_Void();
21335 }
21336
21337 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21338 return SWIG_Python_InitShadowInstance(args);
21339 }
21340
21341 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj = 0;
21343 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21344 long arg2 = (long) 0 ;
21345 wxMDIClientWindow *result = 0 ;
21346 void *argp1 = 0 ;
21347 int res1 = 0 ;
21348 long val2 ;
21349 int ecode2 = 0 ;
21350 PyObject * obj0 = 0 ;
21351 PyObject * obj1 = 0 ;
21352 char * kwnames[] = {
21353 (char *) "parent",(char *) "style", NULL
21354 };
21355
21356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21358 if (!SWIG_IsOK(res1)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21360 }
21361 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21362 if (obj1) {
21363 ecode2 = SWIG_AsVal_long(obj1, &val2);
21364 if (!SWIG_IsOK(ecode2)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21366 }
21367 arg2 = static_cast< long >(val2);
21368 }
21369 {
21370 if (!wxPyCheckForApp()) SWIG_fail;
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21377 return resultobj;
21378 fail:
21379 return NULL;
21380 }
21381
21382
21383 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21384 PyObject *resultobj = 0;
21385 wxMDIClientWindow *result = 0 ;
21386
21387 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21388 {
21389 if (!wxPyCheckForApp()) SWIG_fail;
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21396 return resultobj;
21397 fail:
21398 return NULL;
21399 }
21400
21401
21402 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21403 PyObject *resultobj = 0;
21404 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21405 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21406 long arg3 = (long) 0 ;
21407 bool result;
21408 void *argp1 = 0 ;
21409 int res1 = 0 ;
21410 void *argp2 = 0 ;
21411 int res2 = 0 ;
21412 long val3 ;
21413 int ecode3 = 0 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 PyObject * obj2 = 0 ;
21417 char * kwnames[] = {
21418 (char *) "self",(char *) "parent",(char *) "style", NULL
21419 };
21420
21421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21423 if (!SWIG_IsOK(res1)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21425 }
21426 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21428 if (!SWIG_IsOK(res2)) {
21429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21430 }
21431 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21432 if (obj2) {
21433 ecode3 = SWIG_AsVal_long(obj2, &val3);
21434 if (!SWIG_IsOK(ecode3)) {
21435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21436 }
21437 arg3 = static_cast< long >(val3);
21438 }
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 result = (bool)(arg1)->Create(arg2,arg3);
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 {
21446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21447 }
21448 return resultobj;
21449 fail:
21450 return NULL;
21451 }
21452
21453
21454 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21455 PyObject *obj;
21456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21457 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21458 return SWIG_Py_Void();
21459 }
21460
21461 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21462 return SWIG_Python_InitShadowInstance(args);
21463 }
21464
21465 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj = 0;
21467 wxWindow *arg1 = (wxWindow *) 0 ;
21468 int arg2 = (int) (int)-1 ;
21469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21471 wxSize const &arg4_defvalue = wxDefaultSize ;
21472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21473 long arg5 = (long) 0 ;
21474 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21475 wxString *arg6 = (wxString *) &arg6_defvalue ;
21476 wxPyWindow *result = 0 ;
21477 void *argp1 = 0 ;
21478 int res1 = 0 ;
21479 int val2 ;
21480 int ecode2 = 0 ;
21481 wxPoint temp3 ;
21482 wxSize temp4 ;
21483 long val5 ;
21484 int ecode5 = 0 ;
21485 bool temp6 = false ;
21486 PyObject * obj0 = 0 ;
21487 PyObject * obj1 = 0 ;
21488 PyObject * obj2 = 0 ;
21489 PyObject * obj3 = 0 ;
21490 PyObject * obj4 = 0 ;
21491 PyObject * obj5 = 0 ;
21492 char * kwnames[] = {
21493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21494 };
21495
21496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21498 if (!SWIG_IsOK(res1)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21500 }
21501 arg1 = reinterpret_cast< wxWindow * >(argp1);
21502 if (obj1) {
21503 ecode2 = SWIG_AsVal_int(obj1, &val2);
21504 if (!SWIG_IsOK(ecode2)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21506 }
21507 arg2 = static_cast< int >(val2);
21508 }
21509 if (obj2) {
21510 {
21511 arg3 = &temp3;
21512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21513 }
21514 }
21515 if (obj3) {
21516 {
21517 arg4 = &temp4;
21518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21519 }
21520 }
21521 if (obj4) {
21522 ecode5 = SWIG_AsVal_long(obj4, &val5);
21523 if (!SWIG_IsOK(ecode5)) {
21524 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21525 }
21526 arg5 = static_cast< long >(val5);
21527 }
21528 if (obj5) {
21529 {
21530 arg6 = wxString_in_helper(obj5);
21531 if (arg6 == NULL) SWIG_fail;
21532 temp6 = true;
21533 }
21534 }
21535 {
21536 if (!wxPyCheckForApp()) SWIG_fail;
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21543 {
21544 if (temp6)
21545 delete arg6;
21546 }
21547 return resultobj;
21548 fail:
21549 {
21550 if (temp6)
21551 delete arg6;
21552 }
21553 return NULL;
21554 }
21555
21556
21557 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21558 PyObject *resultobj = 0;
21559 wxPyWindow *result = 0 ;
21560
21561 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21562 {
21563 if (!wxPyCheckForApp()) SWIG_fail;
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (wxPyWindow *)new wxPyWindow();
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj = 0;
21578 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21579 PyObject *arg2 = (PyObject *) 0 ;
21580 PyObject *arg3 = (PyObject *) 0 ;
21581 void *argp1 = 0 ;
21582 int res1 = 0 ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 PyObject * obj2 = 0 ;
21586 char * kwnames[] = {
21587 (char *) "self",(char *) "self",(char *) "_class", NULL
21588 };
21589
21590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21592 if (!SWIG_IsOK(res1)) {
21593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21594 }
21595 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21596 arg2 = obj1;
21597 arg3 = obj2;
21598 {
21599 PyThreadState* __tstate = wxPyBeginAllowThreads();
21600 (arg1)->_setCallbackInfo(arg2,arg3);
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 resultobj = SWIG_Py_Void();
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj = 0;
21613 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21614 wxSize *arg2 = 0 ;
21615 void *argp1 = 0 ;
21616 int res1 = 0 ;
21617 wxSize temp2 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 char * kwnames[] = {
21621 (char *) "self",(char *) "size", NULL
21622 };
21623
21624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21626 if (!SWIG_IsOK(res1)) {
21627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21628 }
21629 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21630 {
21631 arg2 = &temp2;
21632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21633 }
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->SetBestSize((wxSize const &)*arg2);
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 resultobj = SWIG_Py_Void();
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj = 0;
21649 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21650 wxDC *arg2 = (wxDC *) 0 ;
21651 bool result;
21652 void *argp1 = 0 ;
21653 int res1 = 0 ;
21654 void *argp2 = 0 ;
21655 int res2 = 0 ;
21656 PyObject * obj0 = 0 ;
21657 PyObject * obj1 = 0 ;
21658 char * kwnames[] = {
21659 (char *) "self",(char *) "dc", NULL
21660 };
21661
21662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21664 if (!SWIG_IsOK(res1)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21666 }
21667 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21668 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21669 if (!SWIG_IsOK(res2)) {
21670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21671 }
21672 arg2 = reinterpret_cast< wxDC * >(argp2);
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (bool)(arg1)->DoEraseBackground(arg2);
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 {
21680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21681 }
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj = 0;
21690 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21691 int arg2 ;
21692 int arg3 ;
21693 int arg4 ;
21694 int arg5 ;
21695 void *argp1 = 0 ;
21696 int res1 = 0 ;
21697 int val2 ;
21698 int ecode2 = 0 ;
21699 int val3 ;
21700 int ecode3 = 0 ;
21701 int val4 ;
21702 int ecode4 = 0 ;
21703 int val5 ;
21704 int ecode5 = 0 ;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 PyObject * obj2 = 0 ;
21708 PyObject * obj3 = 0 ;
21709 PyObject * obj4 = 0 ;
21710 char * kwnames[] = {
21711 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21712 };
21713
21714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21716 if (!SWIG_IsOK(res1)) {
21717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21718 }
21719 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21720 ecode2 = SWIG_AsVal_int(obj1, &val2);
21721 if (!SWIG_IsOK(ecode2)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21723 }
21724 arg2 = static_cast< int >(val2);
21725 ecode3 = SWIG_AsVal_int(obj2, &val3);
21726 if (!SWIG_IsOK(ecode3)) {
21727 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21728 }
21729 arg3 = static_cast< int >(val3);
21730 ecode4 = SWIG_AsVal_int(obj3, &val4);
21731 if (!SWIG_IsOK(ecode4)) {
21732 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21733 }
21734 arg4 = static_cast< int >(val4);
21735 ecode5 = SWIG_AsVal_int(obj4, &val5);
21736 if (!SWIG_IsOK(ecode5)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21738 }
21739 arg5 = static_cast< int >(val5);
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_Py_Void();
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj = 0;
21755 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21756 int arg2 ;
21757 int arg3 ;
21758 int arg4 ;
21759 int arg5 ;
21760 int arg6 = (int) wxSIZE_AUTO ;
21761 void *argp1 = 0 ;
21762 int res1 = 0 ;
21763 int val2 ;
21764 int ecode2 = 0 ;
21765 int val3 ;
21766 int ecode3 = 0 ;
21767 int val4 ;
21768 int ecode4 = 0 ;
21769 int val5 ;
21770 int ecode5 = 0 ;
21771 int val6 ;
21772 int ecode6 = 0 ;
21773 PyObject * obj0 = 0 ;
21774 PyObject * obj1 = 0 ;
21775 PyObject * obj2 = 0 ;
21776 PyObject * obj3 = 0 ;
21777 PyObject * obj4 = 0 ;
21778 PyObject * obj5 = 0 ;
21779 char * kwnames[] = {
21780 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21781 };
21782
21783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21785 if (!SWIG_IsOK(res1)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21787 }
21788 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21789 ecode2 = SWIG_AsVal_int(obj1, &val2);
21790 if (!SWIG_IsOK(ecode2)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21792 }
21793 arg2 = static_cast< int >(val2);
21794 ecode3 = SWIG_AsVal_int(obj2, &val3);
21795 if (!SWIG_IsOK(ecode3)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21797 }
21798 arg3 = static_cast< int >(val3);
21799 ecode4 = SWIG_AsVal_int(obj3, &val4);
21800 if (!SWIG_IsOK(ecode4)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21802 }
21803 arg4 = static_cast< int >(val4);
21804 ecode5 = SWIG_AsVal_int(obj4, &val5);
21805 if (!SWIG_IsOK(ecode5)) {
21806 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21807 }
21808 arg5 = static_cast< int >(val5);
21809 if (obj5) {
21810 ecode6 = SWIG_AsVal_int(obj5, &val6);
21811 if (!SWIG_IsOK(ecode6)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21813 }
21814 arg6 = static_cast< int >(val6);
21815 }
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 resultobj = SWIG_Py_Void();
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj = 0;
21831 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21832 int arg2 ;
21833 int arg3 ;
21834 void *argp1 = 0 ;
21835 int res1 = 0 ;
21836 int val2 ;
21837 int ecode2 = 0 ;
21838 int val3 ;
21839 int ecode3 = 0 ;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 PyObject * obj2 = 0 ;
21843 char * kwnames[] = {
21844 (char *) "self",(char *) "width",(char *) "height", NULL
21845 };
21846
21847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21849 if (!SWIG_IsOK(res1)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21851 }
21852 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21853 ecode2 = SWIG_AsVal_int(obj1, &val2);
21854 if (!SWIG_IsOK(ecode2)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21856 }
21857 arg2 = static_cast< int >(val2);
21858 ecode3 = SWIG_AsVal_int(obj2, &val3);
21859 if (!SWIG_IsOK(ecode3)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21861 }
21862 arg3 = static_cast< int >(val3);
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 (arg1)->DoSetClientSize(arg2,arg3);
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = SWIG_Py_Void();
21870 return resultobj;
21871 fail:
21872 return NULL;
21873 }
21874
21875
21876 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21877 PyObject *resultobj = 0;
21878 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21879 int arg2 ;
21880 int arg3 ;
21881 void *argp1 = 0 ;
21882 int res1 = 0 ;
21883 int val2 ;
21884 int ecode2 = 0 ;
21885 int val3 ;
21886 int ecode3 = 0 ;
21887 PyObject * obj0 = 0 ;
21888 PyObject * obj1 = 0 ;
21889 PyObject * obj2 = 0 ;
21890 char * kwnames[] = {
21891 (char *) "self",(char *) "x",(char *) "y", NULL
21892 };
21893
21894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21896 if (!SWIG_IsOK(res1)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21898 }
21899 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21900 ecode2 = SWIG_AsVal_int(obj1, &val2);
21901 if (!SWIG_IsOK(ecode2)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21903 }
21904 arg2 = static_cast< int >(val2);
21905 ecode3 = SWIG_AsVal_int(obj2, &val3);
21906 if (!SWIG_IsOK(ecode3)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21908 }
21909 arg3 = static_cast< int >(val3);
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->DoSetVirtualSize(arg2,arg3);
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 resultobj = SWIG_Py_Void();
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21924 PyObject *resultobj = 0;
21925 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21926 int *arg2 = (int *) 0 ;
21927 int *arg3 = (int *) 0 ;
21928 void *argp1 = 0 ;
21929 int res1 = 0 ;
21930 int temp2 ;
21931 int res2 = SWIG_TMPOBJ ;
21932 int temp3 ;
21933 int res3 = SWIG_TMPOBJ ;
21934 PyObject *swig_obj[1] ;
21935
21936 arg2 = &temp2;
21937 arg3 = &temp3;
21938 if (!args) SWIG_fail;
21939 swig_obj[0] = args;
21940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21941 if (!SWIG_IsOK(res1)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21943 }
21944 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 resultobj = SWIG_Py_Void();
21952 if (SWIG_IsTmpObj(res2)) {
21953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21954 } else {
21955 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21957 }
21958 if (SWIG_IsTmpObj(res3)) {
21959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21960 } else {
21961 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21963 }
21964 return resultobj;
21965 fail:
21966 return NULL;
21967 }
21968
21969
21970 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21971 PyObject *resultobj = 0;
21972 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21973 int *arg2 = (int *) 0 ;
21974 int *arg3 = (int *) 0 ;
21975 void *argp1 = 0 ;
21976 int res1 = 0 ;
21977 int temp2 ;
21978 int res2 = SWIG_TMPOBJ ;
21979 int temp3 ;
21980 int res3 = SWIG_TMPOBJ ;
21981 PyObject *swig_obj[1] ;
21982
21983 arg2 = &temp2;
21984 arg3 = &temp3;
21985 if (!args) SWIG_fail;
21986 swig_obj[0] = args;
21987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21988 if (!SWIG_IsOK(res1)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21990 }
21991 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 resultobj = SWIG_Py_Void();
21999 if (SWIG_IsTmpObj(res2)) {
22000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22001 } else {
22002 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22004 }
22005 if (SWIG_IsTmpObj(res3)) {
22006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22007 } else {
22008 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22010 }
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22018 PyObject *resultobj = 0;
22019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22020 int *arg2 = (int *) 0 ;
22021 int *arg3 = (int *) 0 ;
22022 void *argp1 = 0 ;
22023 int res1 = 0 ;
22024 int temp2 ;
22025 int res2 = SWIG_TMPOBJ ;
22026 int temp3 ;
22027 int res3 = SWIG_TMPOBJ ;
22028 PyObject *swig_obj[1] ;
22029
22030 arg2 = &temp2;
22031 arg3 = &temp3;
22032 if (!args) SWIG_fail;
22033 swig_obj[0] = args;
22034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22035 if (!SWIG_IsOK(res1)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22037 }
22038 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_Py_Void();
22046 if (SWIG_IsTmpObj(res2)) {
22047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22048 } else {
22049 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22051 }
22052 if (SWIG_IsTmpObj(res3)) {
22053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22054 } else {
22055 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22057 }
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22065 PyObject *resultobj = 0;
22066 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22067 wxSize result;
22068 void *argp1 = 0 ;
22069 int res1 = 0 ;
22070 PyObject *swig_obj[1] ;
22071
22072 if (!args) SWIG_fail;
22073 swig_obj[0] = args;
22074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22075 if (!SWIG_IsOK(res1)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22077 }
22078 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22093 PyObject *resultobj = 0;
22094 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22095 wxSize result;
22096 void *argp1 = 0 ;
22097 int res1 = 0 ;
22098 PyObject *swig_obj[1] ;
22099
22100 if (!args) SWIG_fail;
22101 swig_obj[0] = args;
22102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22103 if (!SWIG_IsOK(res1)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22105 }
22106 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22114 return resultobj;
22115 fail:
22116 return NULL;
22117 }
22118
22119
22120 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22121 PyObject *resultobj = 0;
22122 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22123 SwigValueWrapper<wxVisualAttributes > result;
22124 void *argp1 = 0 ;
22125 int res1 = 0 ;
22126 PyObject *swig_obj[1] ;
22127
22128 if (!args) SWIG_fail;
22129 swig_obj[0] = args;
22130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22131 if (!SWIG_IsOK(res1)) {
22132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22133 }
22134 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 result = (arg1)->GetDefaultAttributes();
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22142 return resultobj;
22143 fail:
22144 return NULL;
22145 }
22146
22147
22148 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22149 PyObject *resultobj = 0;
22150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22151 void *argp1 = 0 ;
22152 int res1 = 0 ;
22153 PyObject *swig_obj[1] ;
22154
22155 if (!args) SWIG_fail;
22156 swig_obj[0] = args;
22157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22158 if (!SWIG_IsOK(res1)) {
22159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22160 }
22161 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 (arg1)->OnInternalIdle();
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 resultobj = SWIG_Py_Void();
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22176 PyObject *obj;
22177 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22178 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22179 return SWIG_Py_Void();
22180 }
22181
22182 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22183 return SWIG_Python_InitShadowInstance(args);
22184 }
22185
22186 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj = 0;
22188 wxWindow *arg1 = (wxWindow *) 0 ;
22189 int arg2 = (int) (int)-1 ;
22190 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22191 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22192 wxSize const &arg4_defvalue = wxDefaultSize ;
22193 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22194 long arg5 = (long) 0 ;
22195 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22196 wxString *arg6 = (wxString *) &arg6_defvalue ;
22197 wxPyPanel *result = 0 ;
22198 void *argp1 = 0 ;
22199 int res1 = 0 ;
22200 int val2 ;
22201 int ecode2 = 0 ;
22202 wxPoint temp3 ;
22203 wxSize temp4 ;
22204 long val5 ;
22205 int ecode5 = 0 ;
22206 bool temp6 = false ;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 PyObject * obj2 = 0 ;
22210 PyObject * obj3 = 0 ;
22211 PyObject * obj4 = 0 ;
22212 PyObject * obj5 = 0 ;
22213 char * kwnames[] = {
22214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22215 };
22216
22217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22219 if (!SWIG_IsOK(res1)) {
22220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22221 }
22222 arg1 = reinterpret_cast< wxWindow * >(argp1);
22223 if (obj1) {
22224 ecode2 = SWIG_AsVal_int(obj1, &val2);
22225 if (!SWIG_IsOK(ecode2)) {
22226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22227 }
22228 arg2 = static_cast< int >(val2);
22229 }
22230 if (obj2) {
22231 {
22232 arg3 = &temp3;
22233 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22234 }
22235 }
22236 if (obj3) {
22237 {
22238 arg4 = &temp4;
22239 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22240 }
22241 }
22242 if (obj4) {
22243 ecode5 = SWIG_AsVal_long(obj4, &val5);
22244 if (!SWIG_IsOK(ecode5)) {
22245 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22246 }
22247 arg5 = static_cast< long >(val5);
22248 }
22249 if (obj5) {
22250 {
22251 arg6 = wxString_in_helper(obj5);
22252 if (arg6 == NULL) SWIG_fail;
22253 temp6 = true;
22254 }
22255 }
22256 {
22257 if (!wxPyCheckForApp()) SWIG_fail;
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22264 {
22265 if (temp6)
22266 delete arg6;
22267 }
22268 return resultobj;
22269 fail:
22270 {
22271 if (temp6)
22272 delete arg6;
22273 }
22274 return NULL;
22275 }
22276
22277
22278 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22279 PyObject *resultobj = 0;
22280 wxPyPanel *result = 0 ;
22281
22282 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22283 {
22284 if (!wxPyCheckForApp()) SWIG_fail;
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 result = (wxPyPanel *)new wxPyPanel();
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22291 return resultobj;
22292 fail:
22293 return NULL;
22294 }
22295
22296
22297 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj = 0;
22299 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22300 PyObject *arg2 = (PyObject *) 0 ;
22301 PyObject *arg3 = (PyObject *) 0 ;
22302 void *argp1 = 0 ;
22303 int res1 = 0 ;
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
22306 PyObject * obj2 = 0 ;
22307 char * kwnames[] = {
22308 (char *) "self",(char *) "self",(char *) "_class", NULL
22309 };
22310
22311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22313 if (!SWIG_IsOK(res1)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22315 }
22316 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22317 arg2 = obj1;
22318 arg3 = obj2;
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 (arg1)->_setCallbackInfo(arg2,arg3);
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 resultobj = SWIG_Py_Void();
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj = 0;
22334 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22335 wxSize *arg2 = 0 ;
22336 void *argp1 = 0 ;
22337 int res1 = 0 ;
22338 wxSize temp2 ;
22339 PyObject * obj0 = 0 ;
22340 PyObject * obj1 = 0 ;
22341 char * kwnames[] = {
22342 (char *) "self",(char *) "size", NULL
22343 };
22344
22345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22347 if (!SWIG_IsOK(res1)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22349 }
22350 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22351 {
22352 arg2 = &temp2;
22353 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22354 }
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 (arg1)->SetBestSize((wxSize const &)*arg2);
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 resultobj = SWIG_Py_Void();
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj = 0;
22370 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22371 wxDC *arg2 = (wxDC *) 0 ;
22372 bool result;
22373 void *argp1 = 0 ;
22374 int res1 = 0 ;
22375 void *argp2 = 0 ;
22376 int res2 = 0 ;
22377 PyObject * obj0 = 0 ;
22378 PyObject * obj1 = 0 ;
22379 char * kwnames[] = {
22380 (char *) "self",(char *) "dc", NULL
22381 };
22382
22383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22385 if (!SWIG_IsOK(res1)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22387 }
22388 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22389 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22390 if (!SWIG_IsOK(res2)) {
22391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22392 }
22393 arg2 = reinterpret_cast< wxDC * >(argp2);
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = (bool)(arg1)->DoEraseBackground(arg2);
22397 wxPyEndAllowThreads(__tstate);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 }
22400 {
22401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22402 }
22403 return resultobj;
22404 fail:
22405 return NULL;
22406 }
22407
22408
22409 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj = 0;
22411 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22412 int arg2 ;
22413 int arg3 ;
22414 int arg4 ;
22415 int arg5 ;
22416 void *argp1 = 0 ;
22417 int res1 = 0 ;
22418 int val2 ;
22419 int ecode2 = 0 ;
22420 int val3 ;
22421 int ecode3 = 0 ;
22422 int val4 ;
22423 int ecode4 = 0 ;
22424 int val5 ;
22425 int ecode5 = 0 ;
22426 PyObject * obj0 = 0 ;
22427 PyObject * obj1 = 0 ;
22428 PyObject * obj2 = 0 ;
22429 PyObject * obj3 = 0 ;
22430 PyObject * obj4 = 0 ;
22431 char * kwnames[] = {
22432 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22433 };
22434
22435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22437 if (!SWIG_IsOK(res1)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22439 }
22440 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22441 ecode2 = SWIG_AsVal_int(obj1, &val2);
22442 if (!SWIG_IsOK(ecode2)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22444 }
22445 arg2 = static_cast< int >(val2);
22446 ecode3 = SWIG_AsVal_int(obj2, &val3);
22447 if (!SWIG_IsOK(ecode3)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22449 }
22450 arg3 = static_cast< int >(val3);
22451 ecode4 = SWIG_AsVal_int(obj3, &val4);
22452 if (!SWIG_IsOK(ecode4)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22454 }
22455 arg4 = static_cast< int >(val4);
22456 ecode5 = SWIG_AsVal_int(obj4, &val5);
22457 if (!SWIG_IsOK(ecode5)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22459 }
22460 arg5 = static_cast< int >(val5);
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 resultobj = SWIG_Py_Void();
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj = 0;
22476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22477 int arg2 ;
22478 int arg3 ;
22479 int arg4 ;
22480 int arg5 ;
22481 int arg6 = (int) wxSIZE_AUTO ;
22482 void *argp1 = 0 ;
22483 int res1 = 0 ;
22484 int val2 ;
22485 int ecode2 = 0 ;
22486 int val3 ;
22487 int ecode3 = 0 ;
22488 int val4 ;
22489 int ecode4 = 0 ;
22490 int val5 ;
22491 int ecode5 = 0 ;
22492 int val6 ;
22493 int ecode6 = 0 ;
22494 PyObject * obj0 = 0 ;
22495 PyObject * obj1 = 0 ;
22496 PyObject * obj2 = 0 ;
22497 PyObject * obj3 = 0 ;
22498 PyObject * obj4 = 0 ;
22499 PyObject * obj5 = 0 ;
22500 char * kwnames[] = {
22501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22502 };
22503
22504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22506 if (!SWIG_IsOK(res1)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22508 }
22509 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22510 ecode2 = SWIG_AsVal_int(obj1, &val2);
22511 if (!SWIG_IsOK(ecode2)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22513 }
22514 arg2 = static_cast< int >(val2);
22515 ecode3 = SWIG_AsVal_int(obj2, &val3);
22516 if (!SWIG_IsOK(ecode3)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22518 }
22519 arg3 = static_cast< int >(val3);
22520 ecode4 = SWIG_AsVal_int(obj3, &val4);
22521 if (!SWIG_IsOK(ecode4)) {
22522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22523 }
22524 arg4 = static_cast< int >(val4);
22525 ecode5 = SWIG_AsVal_int(obj4, &val5);
22526 if (!SWIG_IsOK(ecode5)) {
22527 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22528 }
22529 arg5 = static_cast< int >(val5);
22530 if (obj5) {
22531 ecode6 = SWIG_AsVal_int(obj5, &val6);
22532 if (!SWIG_IsOK(ecode6)) {
22533 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22534 }
22535 arg6 = static_cast< int >(val6);
22536 }
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SWIG_Py_Void();
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj = 0;
22552 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22553 int arg2 ;
22554 int arg3 ;
22555 void *argp1 = 0 ;
22556 int res1 = 0 ;
22557 int val2 ;
22558 int ecode2 = 0 ;
22559 int val3 ;
22560 int ecode3 = 0 ;
22561 PyObject * obj0 = 0 ;
22562 PyObject * obj1 = 0 ;
22563 PyObject * obj2 = 0 ;
22564 char * kwnames[] = {
22565 (char *) "self",(char *) "width",(char *) "height", NULL
22566 };
22567
22568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22570 if (!SWIG_IsOK(res1)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22572 }
22573 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22574 ecode2 = SWIG_AsVal_int(obj1, &val2);
22575 if (!SWIG_IsOK(ecode2)) {
22576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22577 }
22578 arg2 = static_cast< int >(val2);
22579 ecode3 = SWIG_AsVal_int(obj2, &val3);
22580 if (!SWIG_IsOK(ecode3)) {
22581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22582 }
22583 arg3 = static_cast< int >(val3);
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->DoSetClientSize(arg2,arg3);
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_Py_Void();
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj = 0;
22599 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22600 int arg2 ;
22601 int arg3 ;
22602 void *argp1 = 0 ;
22603 int res1 = 0 ;
22604 int val2 ;
22605 int ecode2 = 0 ;
22606 int val3 ;
22607 int ecode3 = 0 ;
22608 PyObject * obj0 = 0 ;
22609 PyObject * obj1 = 0 ;
22610 PyObject * obj2 = 0 ;
22611 char * kwnames[] = {
22612 (char *) "self",(char *) "x",(char *) "y", NULL
22613 };
22614
22615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22617 if (!SWIG_IsOK(res1)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22619 }
22620 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22621 ecode2 = SWIG_AsVal_int(obj1, &val2);
22622 if (!SWIG_IsOK(ecode2)) {
22623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22624 }
22625 arg2 = static_cast< int >(val2);
22626 ecode3 = SWIG_AsVal_int(obj2, &val3);
22627 if (!SWIG_IsOK(ecode3)) {
22628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22629 }
22630 arg3 = static_cast< int >(val3);
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 (arg1)->DoSetVirtualSize(arg2,arg3);
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 resultobj = SWIG_Py_Void();
22638 return resultobj;
22639 fail:
22640 return NULL;
22641 }
22642
22643
22644 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22645 PyObject *resultobj = 0;
22646 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22647 int *arg2 = (int *) 0 ;
22648 int *arg3 = (int *) 0 ;
22649 void *argp1 = 0 ;
22650 int res1 = 0 ;
22651 int temp2 ;
22652 int res2 = SWIG_TMPOBJ ;
22653 int temp3 ;
22654 int res3 = SWIG_TMPOBJ ;
22655 PyObject *swig_obj[1] ;
22656
22657 arg2 = &temp2;
22658 arg3 = &temp3;
22659 if (!args) SWIG_fail;
22660 swig_obj[0] = args;
22661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22662 if (!SWIG_IsOK(res1)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22664 }
22665 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 resultobj = SWIG_Py_Void();
22673 if (SWIG_IsTmpObj(res2)) {
22674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22675 } else {
22676 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22677 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22678 }
22679 if (SWIG_IsTmpObj(res3)) {
22680 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22681 } else {
22682 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22683 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22684 }
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22692 PyObject *resultobj = 0;
22693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22694 int *arg2 = (int *) 0 ;
22695 int *arg3 = (int *) 0 ;
22696 void *argp1 = 0 ;
22697 int res1 = 0 ;
22698 int temp2 ;
22699 int res2 = SWIG_TMPOBJ ;
22700 int temp3 ;
22701 int res3 = SWIG_TMPOBJ ;
22702 PyObject *swig_obj[1] ;
22703
22704 arg2 = &temp2;
22705 arg3 = &temp3;
22706 if (!args) SWIG_fail;
22707 swig_obj[0] = args;
22708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22709 if (!SWIG_IsOK(res1)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22711 }
22712 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 resultobj = SWIG_Py_Void();
22720 if (SWIG_IsTmpObj(res2)) {
22721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22722 } else {
22723 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22724 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22725 }
22726 if (SWIG_IsTmpObj(res3)) {
22727 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22728 } else {
22729 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22730 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22731 }
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22739 PyObject *resultobj = 0;
22740 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22741 int *arg2 = (int *) 0 ;
22742 int *arg3 = (int *) 0 ;
22743 void *argp1 = 0 ;
22744 int res1 = 0 ;
22745 int temp2 ;
22746 int res2 = SWIG_TMPOBJ ;
22747 int temp3 ;
22748 int res3 = SWIG_TMPOBJ ;
22749 PyObject *swig_obj[1] ;
22750
22751 arg2 = &temp2;
22752 arg3 = &temp3;
22753 if (!args) SWIG_fail;
22754 swig_obj[0] = args;
22755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22756 if (!SWIG_IsOK(res1)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22758 }
22759 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 resultobj = SWIG_Py_Void();
22767 if (SWIG_IsTmpObj(res2)) {
22768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22769 } else {
22770 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22771 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22772 }
22773 if (SWIG_IsTmpObj(res3)) {
22774 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22775 } else {
22776 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22778 }
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22786 PyObject *resultobj = 0;
22787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22788 wxSize result;
22789 void *argp1 = 0 ;
22790 int res1 = 0 ;
22791 PyObject *swig_obj[1] ;
22792
22793 if (!args) SWIG_fail;
22794 swig_obj[0] = args;
22795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22796 if (!SWIG_IsOK(res1)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22798 }
22799 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22814 PyObject *resultobj = 0;
22815 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22816 wxSize result;
22817 void *argp1 = 0 ;
22818 int res1 = 0 ;
22819 PyObject *swig_obj[1] ;
22820
22821 if (!args) SWIG_fail;
22822 swig_obj[0] = args;
22823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22824 if (!SWIG_IsOK(res1)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22826 }
22827 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22842 PyObject *resultobj = 0;
22843 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22844 SwigValueWrapper<wxVisualAttributes > result;
22845 void *argp1 = 0 ;
22846 int res1 = 0 ;
22847 PyObject *swig_obj[1] ;
22848
22849 if (!args) SWIG_fail;
22850 swig_obj[0] = args;
22851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22852 if (!SWIG_IsOK(res1)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22854 }
22855 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (arg1)->GetDefaultAttributes();
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22870 PyObject *resultobj = 0;
22871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22872 void *argp1 = 0 ;
22873 int res1 = 0 ;
22874 PyObject *swig_obj[1] ;
22875
22876 if (!args) SWIG_fail;
22877 swig_obj[0] = args;
22878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22879 if (!SWIG_IsOK(res1)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22881 }
22882 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22883 {
22884 PyThreadState* __tstate = wxPyBeginAllowThreads();
22885 (arg1)->OnInternalIdle();
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 resultobj = SWIG_Py_Void();
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22897 PyObject *obj;
22898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22900 return SWIG_Py_Void();
22901 }
22902
22903 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22904 return SWIG_Python_InitShadowInstance(args);
22905 }
22906
22907 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj = 0;
22909 wxWindow *arg1 = (wxWindow *) 0 ;
22910 int arg2 = (int) (int)-1 ;
22911 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22912 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22913 wxSize const &arg4_defvalue = wxDefaultSize ;
22914 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22915 long arg5 = (long) 0 ;
22916 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22917 wxString *arg6 = (wxString *) &arg6_defvalue ;
22918 wxPyScrolledWindow *result = 0 ;
22919 void *argp1 = 0 ;
22920 int res1 = 0 ;
22921 int val2 ;
22922 int ecode2 = 0 ;
22923 wxPoint temp3 ;
22924 wxSize temp4 ;
22925 long val5 ;
22926 int ecode5 = 0 ;
22927 bool temp6 = false ;
22928 PyObject * obj0 = 0 ;
22929 PyObject * obj1 = 0 ;
22930 PyObject * obj2 = 0 ;
22931 PyObject * obj3 = 0 ;
22932 PyObject * obj4 = 0 ;
22933 PyObject * obj5 = 0 ;
22934 char * kwnames[] = {
22935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22936 };
22937
22938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22940 if (!SWIG_IsOK(res1)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22942 }
22943 arg1 = reinterpret_cast< wxWindow * >(argp1);
22944 if (obj1) {
22945 ecode2 = SWIG_AsVal_int(obj1, &val2);
22946 if (!SWIG_IsOK(ecode2)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22948 }
22949 arg2 = static_cast< int >(val2);
22950 }
22951 if (obj2) {
22952 {
22953 arg3 = &temp3;
22954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22955 }
22956 }
22957 if (obj3) {
22958 {
22959 arg4 = &temp4;
22960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22961 }
22962 }
22963 if (obj4) {
22964 ecode5 = SWIG_AsVal_long(obj4, &val5);
22965 if (!SWIG_IsOK(ecode5)) {
22966 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22967 }
22968 arg5 = static_cast< long >(val5);
22969 }
22970 if (obj5) {
22971 {
22972 arg6 = wxString_in_helper(obj5);
22973 if (arg6 == NULL) SWIG_fail;
22974 temp6 = true;
22975 }
22976 }
22977 {
22978 if (!wxPyCheckForApp()) SWIG_fail;
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22985 {
22986 if (temp6)
22987 delete arg6;
22988 }
22989 return resultobj;
22990 fail:
22991 {
22992 if (temp6)
22993 delete arg6;
22994 }
22995 return NULL;
22996 }
22997
22998
22999 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23000 PyObject *resultobj = 0;
23001 wxPyScrolledWindow *result = 0 ;
23002
23003 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23004 {
23005 if (!wxPyCheckForApp()) SWIG_fail;
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj = 0;
23020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23021 PyObject *arg2 = (PyObject *) 0 ;
23022 PyObject *arg3 = (PyObject *) 0 ;
23023 void *argp1 = 0 ;
23024 int res1 = 0 ;
23025 PyObject * obj0 = 0 ;
23026 PyObject * obj1 = 0 ;
23027 PyObject * obj2 = 0 ;
23028 char * kwnames[] = {
23029 (char *) "self",(char *) "self",(char *) "_class", NULL
23030 };
23031
23032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23034 if (!SWIG_IsOK(res1)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23036 }
23037 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23038 arg2 = obj1;
23039 arg3 = obj2;
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 (arg1)->_setCallbackInfo(arg2,arg3);
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = SWIG_Py_Void();
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj = 0;
23055 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23056 wxSize *arg2 = 0 ;
23057 void *argp1 = 0 ;
23058 int res1 = 0 ;
23059 wxSize temp2 ;
23060 PyObject * obj0 = 0 ;
23061 PyObject * obj1 = 0 ;
23062 char * kwnames[] = {
23063 (char *) "self",(char *) "size", NULL
23064 };
23065
23066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23068 if (!SWIG_IsOK(res1)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23070 }
23071 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23072 {
23073 arg2 = &temp2;
23074 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23075 }
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 (arg1)->SetBestSize((wxSize const &)*arg2);
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 resultobj = SWIG_Py_Void();
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj = 0;
23091 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23092 wxDC *arg2 = (wxDC *) 0 ;
23093 bool result;
23094 void *argp1 = 0 ;
23095 int res1 = 0 ;
23096 void *argp2 = 0 ;
23097 int res2 = 0 ;
23098 PyObject * obj0 = 0 ;
23099 PyObject * obj1 = 0 ;
23100 char * kwnames[] = {
23101 (char *) "self",(char *) "dc", NULL
23102 };
23103
23104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23106 if (!SWIG_IsOK(res1)) {
23107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23108 }
23109 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23110 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23111 if (!SWIG_IsOK(res2)) {
23112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23113 }
23114 arg2 = reinterpret_cast< wxDC * >(argp2);
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 result = (bool)(arg1)->DoEraseBackground(arg2);
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 {
23122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23123 }
23124 return resultobj;
23125 fail:
23126 return NULL;
23127 }
23128
23129
23130 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj = 0;
23132 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23133 int arg2 ;
23134 int arg3 ;
23135 int arg4 ;
23136 int arg5 ;
23137 void *argp1 = 0 ;
23138 int res1 = 0 ;
23139 int val2 ;
23140 int ecode2 = 0 ;
23141 int val3 ;
23142 int ecode3 = 0 ;
23143 int val4 ;
23144 int ecode4 = 0 ;
23145 int val5 ;
23146 int ecode5 = 0 ;
23147 PyObject * obj0 = 0 ;
23148 PyObject * obj1 = 0 ;
23149 PyObject * obj2 = 0 ;
23150 PyObject * obj3 = 0 ;
23151 PyObject * obj4 = 0 ;
23152 char * kwnames[] = {
23153 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23154 };
23155
23156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23158 if (!SWIG_IsOK(res1)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23160 }
23161 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23162 ecode2 = SWIG_AsVal_int(obj1, &val2);
23163 if (!SWIG_IsOK(ecode2)) {
23164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23165 }
23166 arg2 = static_cast< int >(val2);
23167 ecode3 = SWIG_AsVal_int(obj2, &val3);
23168 if (!SWIG_IsOK(ecode3)) {
23169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23170 }
23171 arg3 = static_cast< int >(val3);
23172 ecode4 = SWIG_AsVal_int(obj3, &val4);
23173 if (!SWIG_IsOK(ecode4)) {
23174 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23175 }
23176 arg4 = static_cast< int >(val4);
23177 ecode5 = SWIG_AsVal_int(obj4, &val5);
23178 if (!SWIG_IsOK(ecode5)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23180 }
23181 arg5 = static_cast< int >(val5);
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = SWIG_Py_Void();
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj = 0;
23197 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23198 int arg2 ;
23199 int arg3 ;
23200 int arg4 ;
23201 int arg5 ;
23202 int arg6 = (int) wxSIZE_AUTO ;
23203 void *argp1 = 0 ;
23204 int res1 = 0 ;
23205 int val2 ;
23206 int ecode2 = 0 ;
23207 int val3 ;
23208 int ecode3 = 0 ;
23209 int val4 ;
23210 int ecode4 = 0 ;
23211 int val5 ;
23212 int ecode5 = 0 ;
23213 int val6 ;
23214 int ecode6 = 0 ;
23215 PyObject * obj0 = 0 ;
23216 PyObject * obj1 = 0 ;
23217 PyObject * obj2 = 0 ;
23218 PyObject * obj3 = 0 ;
23219 PyObject * obj4 = 0 ;
23220 PyObject * obj5 = 0 ;
23221 char * kwnames[] = {
23222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23223 };
23224
23225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23227 if (!SWIG_IsOK(res1)) {
23228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23229 }
23230 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23231 ecode2 = SWIG_AsVal_int(obj1, &val2);
23232 if (!SWIG_IsOK(ecode2)) {
23233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23234 }
23235 arg2 = static_cast< int >(val2);
23236 ecode3 = SWIG_AsVal_int(obj2, &val3);
23237 if (!SWIG_IsOK(ecode3)) {
23238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23239 }
23240 arg3 = static_cast< int >(val3);
23241 ecode4 = SWIG_AsVal_int(obj3, &val4);
23242 if (!SWIG_IsOK(ecode4)) {
23243 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23244 }
23245 arg4 = static_cast< int >(val4);
23246 ecode5 = SWIG_AsVal_int(obj4, &val5);
23247 if (!SWIG_IsOK(ecode5)) {
23248 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23249 }
23250 arg5 = static_cast< int >(val5);
23251 if (obj5) {
23252 ecode6 = SWIG_AsVal_int(obj5, &val6);
23253 if (!SWIG_IsOK(ecode6)) {
23254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23255 }
23256 arg6 = static_cast< int >(val6);
23257 }
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 resultobj = SWIG_Py_Void();
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj = 0;
23273 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23274 int arg2 ;
23275 int arg3 ;
23276 void *argp1 = 0 ;
23277 int res1 = 0 ;
23278 int val2 ;
23279 int ecode2 = 0 ;
23280 int val3 ;
23281 int ecode3 = 0 ;
23282 PyObject * obj0 = 0 ;
23283 PyObject * obj1 = 0 ;
23284 PyObject * obj2 = 0 ;
23285 char * kwnames[] = {
23286 (char *) "self",(char *) "width",(char *) "height", NULL
23287 };
23288
23289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23291 if (!SWIG_IsOK(res1)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23293 }
23294 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23295 ecode2 = SWIG_AsVal_int(obj1, &val2);
23296 if (!SWIG_IsOK(ecode2)) {
23297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23298 }
23299 arg2 = static_cast< int >(val2);
23300 ecode3 = SWIG_AsVal_int(obj2, &val3);
23301 if (!SWIG_IsOK(ecode3)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23303 }
23304 arg3 = static_cast< int >(val3);
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->DoSetClientSize(arg2,arg3);
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 resultobj = SWIG_Py_Void();
23312 return resultobj;
23313 fail:
23314 return NULL;
23315 }
23316
23317
23318 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23319 PyObject *resultobj = 0;
23320 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23321 int arg2 ;
23322 int arg3 ;
23323 void *argp1 = 0 ;
23324 int res1 = 0 ;
23325 int val2 ;
23326 int ecode2 = 0 ;
23327 int val3 ;
23328 int ecode3 = 0 ;
23329 PyObject * obj0 = 0 ;
23330 PyObject * obj1 = 0 ;
23331 PyObject * obj2 = 0 ;
23332 char * kwnames[] = {
23333 (char *) "self",(char *) "x",(char *) "y", NULL
23334 };
23335
23336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23338 if (!SWIG_IsOK(res1)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23340 }
23341 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23342 ecode2 = SWIG_AsVal_int(obj1, &val2);
23343 if (!SWIG_IsOK(ecode2)) {
23344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23345 }
23346 arg2 = static_cast< int >(val2);
23347 ecode3 = SWIG_AsVal_int(obj2, &val3);
23348 if (!SWIG_IsOK(ecode3)) {
23349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23350 }
23351 arg3 = static_cast< int >(val3);
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 (arg1)->DoSetVirtualSize(arg2,arg3);
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 resultobj = SWIG_Py_Void();
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23366 PyObject *resultobj = 0;
23367 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23368 int *arg2 = (int *) 0 ;
23369 int *arg3 = (int *) 0 ;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 int temp2 ;
23373 int res2 = SWIG_TMPOBJ ;
23374 int temp3 ;
23375 int res3 = SWIG_TMPOBJ ;
23376 PyObject *swig_obj[1] ;
23377
23378 arg2 = &temp2;
23379 arg3 = &temp3;
23380 if (!args) SWIG_fail;
23381 swig_obj[0] = args;
23382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23383 if (!SWIG_IsOK(res1)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23385 }
23386 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 resultobj = SWIG_Py_Void();
23394 if (SWIG_IsTmpObj(res2)) {
23395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23396 } else {
23397 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23399 }
23400 if (SWIG_IsTmpObj(res3)) {
23401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23402 } else {
23403 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23405 }
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23413 PyObject *resultobj = 0;
23414 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23415 int *arg2 = (int *) 0 ;
23416 int *arg3 = (int *) 0 ;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 int temp2 ;
23420 int res2 = SWIG_TMPOBJ ;
23421 int temp3 ;
23422 int res3 = SWIG_TMPOBJ ;
23423 PyObject *swig_obj[1] ;
23424
23425 arg2 = &temp2;
23426 arg3 = &temp3;
23427 if (!args) SWIG_fail;
23428 swig_obj[0] = args;
23429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23430 if (!SWIG_IsOK(res1)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23432 }
23433 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 resultobj = SWIG_Py_Void();
23441 if (SWIG_IsTmpObj(res2)) {
23442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23443 } else {
23444 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23446 }
23447 if (SWIG_IsTmpObj(res3)) {
23448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23449 } else {
23450 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23452 }
23453 return resultobj;
23454 fail:
23455 return NULL;
23456 }
23457
23458
23459 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23460 PyObject *resultobj = 0;
23461 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23462 int *arg2 = (int *) 0 ;
23463 int *arg3 = (int *) 0 ;
23464 void *argp1 = 0 ;
23465 int res1 = 0 ;
23466 int temp2 ;
23467 int res2 = SWIG_TMPOBJ ;
23468 int temp3 ;
23469 int res3 = SWIG_TMPOBJ ;
23470 PyObject *swig_obj[1] ;
23471
23472 arg2 = &temp2;
23473 arg3 = &temp3;
23474 if (!args) SWIG_fail;
23475 swig_obj[0] = args;
23476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23477 if (!SWIG_IsOK(res1)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23479 }
23480 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 resultobj = SWIG_Py_Void();
23488 if (SWIG_IsTmpObj(res2)) {
23489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23490 } else {
23491 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23493 }
23494 if (SWIG_IsTmpObj(res3)) {
23495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23496 } else {
23497 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23499 }
23500 return resultobj;
23501 fail:
23502 return NULL;
23503 }
23504
23505
23506 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23507 PyObject *resultobj = 0;
23508 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23509 wxSize result;
23510 void *argp1 = 0 ;
23511 int res1 = 0 ;
23512 PyObject *swig_obj[1] ;
23513
23514 if (!args) SWIG_fail;
23515 swig_obj[0] = args;
23516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23517 if (!SWIG_IsOK(res1)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23519 }
23520 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23535 PyObject *resultobj = 0;
23536 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23537 wxSize result;
23538 void *argp1 = 0 ;
23539 int res1 = 0 ;
23540 PyObject *swig_obj[1] ;
23541
23542 if (!args) SWIG_fail;
23543 swig_obj[0] = args;
23544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23545 if (!SWIG_IsOK(res1)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23547 }
23548 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23563 PyObject *resultobj = 0;
23564 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23565 SwigValueWrapper<wxVisualAttributes > result;
23566 void *argp1 = 0 ;
23567 int res1 = 0 ;
23568 PyObject *swig_obj[1] ;
23569
23570 if (!args) SWIG_fail;
23571 swig_obj[0] = args;
23572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23573 if (!SWIG_IsOK(res1)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23575 }
23576 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = (arg1)->GetDefaultAttributes();
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23591 PyObject *resultobj = 0;
23592 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23593 void *argp1 = 0 ;
23594 int res1 = 0 ;
23595 PyObject *swig_obj[1] ;
23596
23597 if (!args) SWIG_fail;
23598 swig_obj[0] = args;
23599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23600 if (!SWIG_IsOK(res1)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23602 }
23603 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 (arg1)->OnInternalIdle();
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 resultobj = SWIG_Py_Void();
23611 return resultobj;
23612 fail:
23613 return NULL;
23614 }
23615
23616
23617 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23618 PyObject *obj;
23619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23620 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23621 return SWIG_Py_Void();
23622 }
23623
23624 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23625 return SWIG_Python_InitShadowInstance(args);
23626 }
23627
23628 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23629 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23630 return 1;
23631 }
23632
23633
23634 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23635 PyObject *pyobj = 0;
23636
23637 {
23638 #if wxUSE_UNICODE
23639 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23640 #else
23641 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23642 #endif
23643 }
23644 return pyobj;
23645 }
23646
23647
23648 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23649 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23650 return 1;
23651 }
23652
23653
23654 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23655 PyObject *pyobj = 0;
23656
23657 {
23658 #if wxUSE_UNICODE
23659 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23660 #else
23661 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23662 #endif
23663 }
23664 return pyobj;
23665 }
23666
23667
23668 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23669 PyObject *resultobj = 0;
23670 wxPrintData *result = 0 ;
23671
23672 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (wxPrintData *)new wxPrintData();
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23680 return resultobj;
23681 fail:
23682 return NULL;
23683 }
23684
23685
23686 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23687 PyObject *resultobj = 0;
23688 wxPrintData *arg1 = 0 ;
23689 wxPrintData *result = 0 ;
23690 void *argp1 = 0 ;
23691 int res1 = 0 ;
23692
23693 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23695 if (!SWIG_IsOK(res1)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23697 }
23698 if (!argp1) {
23699 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23700 }
23701 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23716 int argc;
23717 PyObject *argv[2];
23718
23719 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23720 --argc;
23721 if (argc == 0) {
23722 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23723 }
23724 if (argc == 1) {
23725 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23726 }
23727
23728 fail:
23729 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23730 return NULL;
23731 }
23732
23733
23734 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23735 PyObject *resultobj = 0;
23736 wxPrintData *arg1 = (wxPrintData *) 0 ;
23737 void *argp1 = 0 ;
23738 int res1 = 0 ;
23739 PyObject *swig_obj[1] ;
23740
23741 if (!args) SWIG_fail;
23742 swig_obj[0] = args;
23743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23744 if (!SWIG_IsOK(res1)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23746 }
23747 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 delete arg1;
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 resultobj = SWIG_Py_Void();
23756 return resultobj;
23757 fail:
23758 return NULL;
23759 }
23760
23761
23762 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23763 PyObject *resultobj = 0;
23764 wxPrintData *arg1 = (wxPrintData *) 0 ;
23765 int result;
23766 void *argp1 = 0 ;
23767 int res1 = 0 ;
23768 PyObject *swig_obj[1] ;
23769
23770 if (!args) SWIG_fail;
23771 swig_obj[0] = args;
23772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23773 if (!SWIG_IsOK(res1)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 }
23776 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 result = (int)(arg1)->GetNoCopies();
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 resultobj = SWIG_From_int(static_cast< int >(result));
23784 return resultobj;
23785 fail:
23786 return NULL;
23787 }
23788
23789
23790 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23791 PyObject *resultobj = 0;
23792 wxPrintData *arg1 = (wxPrintData *) 0 ;
23793 bool result;
23794 void *argp1 = 0 ;
23795 int res1 = 0 ;
23796 PyObject *swig_obj[1] ;
23797
23798 if (!args) SWIG_fail;
23799 swig_obj[0] = args;
23800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23801 if (!SWIG_IsOK(res1)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 }
23804 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 result = (bool)(arg1)->GetCollate();
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 {
23812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23813 }
23814 return resultobj;
23815 fail:
23816 return NULL;
23817 }
23818
23819
23820 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23821 PyObject *resultobj = 0;
23822 wxPrintData *arg1 = (wxPrintData *) 0 ;
23823 int result;
23824 void *argp1 = 0 ;
23825 int res1 = 0 ;
23826 PyObject *swig_obj[1] ;
23827
23828 if (!args) SWIG_fail;
23829 swig_obj[0] = args;
23830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23831 if (!SWIG_IsOK(res1)) {
23832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23833 }
23834 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 result = (int)(arg1)->GetOrientation();
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 resultobj = SWIG_From_int(static_cast< int >(result));
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23849 PyObject *resultobj = 0;
23850 wxPrintData *arg1 = (wxPrintData *) 0 ;
23851 bool result;
23852 void *argp1 = 0 ;
23853 int res1 = 0 ;
23854 PyObject *swig_obj[1] ;
23855
23856 if (!args) SWIG_fail;
23857 swig_obj[0] = args;
23858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23859 if (!SWIG_IsOK(res1)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23861 }
23862 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 result = (bool)(arg1)->Ok();
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23879 PyObject *resultobj = 0;
23880 wxPrintData *arg1 = (wxPrintData *) 0 ;
23881 wxString *result = 0 ;
23882 void *argp1 = 0 ;
23883 int res1 = 0 ;
23884 PyObject *swig_obj[1] ;
23885
23886 if (!args) SWIG_fail;
23887 swig_obj[0] = args;
23888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23889 if (!SWIG_IsOK(res1)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23891 }
23892 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 {
23896 wxString const &_result_ref = (arg1)->GetPrinterName();
23897 result = (wxString *) &_result_ref;
23898 }
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 {
23903 #if wxUSE_UNICODE
23904 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23905 #else
23906 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23907 #endif
23908 }
23909 return resultobj;
23910 fail:
23911 return NULL;
23912 }
23913
23914
23915 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23916 PyObject *resultobj = 0;
23917 wxPrintData *arg1 = (wxPrintData *) 0 ;
23918 bool result;
23919 void *argp1 = 0 ;
23920 int res1 = 0 ;
23921 PyObject *swig_obj[1] ;
23922
23923 if (!args) SWIG_fail;
23924 swig_obj[0] = args;
23925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23926 if (!SWIG_IsOK(res1)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23928 }
23929 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23930 {
23931 PyThreadState* __tstate = wxPyBeginAllowThreads();
23932 result = (bool)(arg1)->GetColour();
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 {
23937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23946 PyObject *resultobj = 0;
23947 wxPrintData *arg1 = (wxPrintData *) 0 ;
23948 wxDuplexMode result;
23949 void *argp1 = 0 ;
23950 int res1 = 0 ;
23951 PyObject *swig_obj[1] ;
23952
23953 if (!args) SWIG_fail;
23954 swig_obj[0] = args;
23955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23956 if (!SWIG_IsOK(res1)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23958 }
23959 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 result = (wxDuplexMode)(arg1)->GetDuplex();
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 resultobj = SWIG_From_int(static_cast< int >(result));
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23974 PyObject *resultobj = 0;
23975 wxPrintData *arg1 = (wxPrintData *) 0 ;
23976 wxPaperSize result;
23977 void *argp1 = 0 ;
23978 int res1 = 0 ;
23979 PyObject *swig_obj[1] ;
23980
23981 if (!args) SWIG_fail;
23982 swig_obj[0] = args;
23983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23984 if (!SWIG_IsOK(res1)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23986 }
23987 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (wxPaperSize)(arg1)->GetPaperId();
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 resultobj = SWIG_From_int(static_cast< int >(result));
23995 return resultobj;
23996 fail:
23997 return NULL;
23998 }
23999
24000
24001 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24002 PyObject *resultobj = 0;
24003 wxPrintData *arg1 = (wxPrintData *) 0 ;
24004 wxSize *result = 0 ;
24005 void *argp1 = 0 ;
24006 int res1 = 0 ;
24007 PyObject *swig_obj[1] ;
24008
24009 if (!args) SWIG_fail;
24010 swig_obj[0] = args;
24011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24012 if (!SWIG_IsOK(res1)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24014 }
24015 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 {
24019 wxSize const &_result_ref = (arg1)->GetPaperSize();
24020 result = (wxSize *) &_result_ref;
24021 }
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24033 PyObject *resultobj = 0;
24034 wxPrintData *arg1 = (wxPrintData *) 0 ;
24035 int result;
24036 void *argp1 = 0 ;
24037 int res1 = 0 ;
24038 PyObject *swig_obj[1] ;
24039
24040 if (!args) SWIG_fail;
24041 swig_obj[0] = args;
24042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24043 if (!SWIG_IsOK(res1)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24045 }
24046 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (int)(arg1)->GetQuality();
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 resultobj = SWIG_From_int(static_cast< int >(result));
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24061 PyObject *resultobj = 0;
24062 wxPrintData *arg1 = (wxPrintData *) 0 ;
24063 wxPrintBin result;
24064 void *argp1 = 0 ;
24065 int res1 = 0 ;
24066 PyObject *swig_obj[1] ;
24067
24068 if (!args) SWIG_fail;
24069 swig_obj[0] = args;
24070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24071 if (!SWIG_IsOK(res1)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 }
24074 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (wxPrintBin)(arg1)->GetBin();
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 resultobj = SWIG_From_int(static_cast< int >(result));
24082 return resultobj;
24083 fail:
24084 return NULL;
24085 }
24086
24087
24088 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24089 PyObject *resultobj = 0;
24090 wxPrintData *arg1 = (wxPrintData *) 0 ;
24091 wxPrintMode result;
24092 void *argp1 = 0 ;
24093 int res1 = 0 ;
24094 PyObject *swig_obj[1] ;
24095
24096 if (!args) SWIG_fail;
24097 swig_obj[0] = args;
24098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24099 if (!SWIG_IsOK(res1)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24101 }
24102 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
24105 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 resultobj = SWIG_From_int(static_cast< int >(result));
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj = 0;
24118 wxPrintData *arg1 = (wxPrintData *) 0 ;
24119 int arg2 ;
24120 void *argp1 = 0 ;
24121 int res1 = 0 ;
24122 int val2 ;
24123 int ecode2 = 0 ;
24124 PyObject * obj0 = 0 ;
24125 PyObject * obj1 = 0 ;
24126 char * kwnames[] = {
24127 (char *) "self",(char *) "v", NULL
24128 };
24129
24130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24132 if (!SWIG_IsOK(res1)) {
24133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24134 }
24135 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24136 ecode2 = SWIG_AsVal_int(obj1, &val2);
24137 if (!SWIG_IsOK(ecode2)) {
24138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24139 }
24140 arg2 = static_cast< int >(val2);
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 (arg1)->SetNoCopies(arg2);
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 resultobj = SWIG_Py_Void();
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj = 0;
24156 wxPrintData *arg1 = (wxPrintData *) 0 ;
24157 bool arg2 ;
24158 void *argp1 = 0 ;
24159 int res1 = 0 ;
24160 bool val2 ;
24161 int ecode2 = 0 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char * kwnames[] = {
24165 (char *) "self",(char *) "flag", NULL
24166 };
24167
24168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24170 if (!SWIG_IsOK(res1)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24172 }
24173 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24174 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24175 if (!SWIG_IsOK(ecode2)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24177 }
24178 arg2 = static_cast< bool >(val2);
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->SetCollate(arg2);
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 resultobj = SWIG_Py_Void();
24186 return resultobj;
24187 fail:
24188 return NULL;
24189 }
24190
24191
24192 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj = 0;
24194 wxPrintData *arg1 = (wxPrintData *) 0 ;
24195 int arg2 ;
24196 void *argp1 = 0 ;
24197 int res1 = 0 ;
24198 int val2 ;
24199 int ecode2 = 0 ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char * kwnames[] = {
24203 (char *) "self",(char *) "orient", NULL
24204 };
24205
24206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24208 if (!SWIG_IsOK(res1)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24210 }
24211 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24212 ecode2 = SWIG_AsVal_int(obj1, &val2);
24213 if (!SWIG_IsOK(ecode2)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24215 }
24216 arg2 = static_cast< int >(val2);
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 (arg1)->SetOrientation(arg2);
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 resultobj = SWIG_Py_Void();
24224 return resultobj;
24225 fail:
24226 return NULL;
24227 }
24228
24229
24230 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj = 0;
24232 wxPrintData *arg1 = (wxPrintData *) 0 ;
24233 wxString *arg2 = 0 ;
24234 void *argp1 = 0 ;
24235 int res1 = 0 ;
24236 bool temp2 = false ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 char * kwnames[] = {
24240 (char *) "self",(char *) "name", NULL
24241 };
24242
24243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24245 if (!SWIG_IsOK(res1)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24247 }
24248 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24249 {
24250 arg2 = wxString_in_helper(obj1);
24251 if (arg2 == NULL) SWIG_fail;
24252 temp2 = true;
24253 }
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 (arg1)->SetPrinterName((wxString const &)*arg2);
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 resultobj = SWIG_Py_Void();
24261 {
24262 if (temp2)
24263 delete arg2;
24264 }
24265 return resultobj;
24266 fail:
24267 {
24268 if (temp2)
24269 delete arg2;
24270 }
24271 return NULL;
24272 }
24273
24274
24275 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj = 0;
24277 wxPrintData *arg1 = (wxPrintData *) 0 ;
24278 bool arg2 ;
24279 void *argp1 = 0 ;
24280 int res1 = 0 ;
24281 bool val2 ;
24282 int ecode2 = 0 ;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char * kwnames[] = {
24286 (char *) "self",(char *) "colour", NULL
24287 };
24288
24289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24291 if (!SWIG_IsOK(res1)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24293 }
24294 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24295 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24296 if (!SWIG_IsOK(ecode2)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24298 }
24299 arg2 = static_cast< bool >(val2);
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->SetColour(arg2);
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 resultobj = SWIG_Py_Void();
24307 return resultobj;
24308 fail:
24309 return NULL;
24310 }
24311
24312
24313 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj = 0;
24315 wxPrintData *arg1 = (wxPrintData *) 0 ;
24316 wxDuplexMode arg2 ;
24317 void *argp1 = 0 ;
24318 int res1 = 0 ;
24319 int val2 ;
24320 int ecode2 = 0 ;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char * kwnames[] = {
24324 (char *) "self",(char *) "duplex", NULL
24325 };
24326
24327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24329 if (!SWIG_IsOK(res1)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24331 }
24332 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24333 ecode2 = SWIG_AsVal_int(obj1, &val2);
24334 if (!SWIG_IsOK(ecode2)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24336 }
24337 arg2 = static_cast< wxDuplexMode >(val2);
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 (arg1)->SetDuplex(arg2);
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 resultobj = SWIG_Py_Void();
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj = 0;
24353 wxPrintData *arg1 = (wxPrintData *) 0 ;
24354 wxPaperSize arg2 ;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 int val2 ;
24358 int ecode2 = 0 ;
24359 PyObject * obj0 = 0 ;
24360 PyObject * obj1 = 0 ;
24361 char * kwnames[] = {
24362 (char *) "self",(char *) "sizeId", NULL
24363 };
24364
24365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24367 if (!SWIG_IsOK(res1)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24369 }
24370 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24371 ecode2 = SWIG_AsVal_int(obj1, &val2);
24372 if (!SWIG_IsOK(ecode2)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24374 }
24375 arg2 = static_cast< wxPaperSize >(val2);
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 (arg1)->SetPaperId(arg2);
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 resultobj = SWIG_Py_Void();
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj = 0;
24391 wxPrintData *arg1 = (wxPrintData *) 0 ;
24392 wxSize *arg2 = 0 ;
24393 void *argp1 = 0 ;
24394 int res1 = 0 ;
24395 wxSize temp2 ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char * kwnames[] = {
24399 (char *) "self",(char *) "sz", NULL
24400 };
24401
24402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24408 {
24409 arg2 = &temp2;
24410 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24411 }
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 (arg1)->SetPaperSize((wxSize const &)*arg2);
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 resultobj = SWIG_Py_Void();
24419 return resultobj;
24420 fail:
24421 return NULL;
24422 }
24423
24424
24425 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj = 0;
24427 wxPrintData *arg1 = (wxPrintData *) 0 ;
24428 int arg2 ;
24429 void *argp1 = 0 ;
24430 int res1 = 0 ;
24431 int val2 ;
24432 int ecode2 = 0 ;
24433 PyObject * obj0 = 0 ;
24434 PyObject * obj1 = 0 ;
24435 char * kwnames[] = {
24436 (char *) "self",(char *) "quality", NULL
24437 };
24438
24439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24441 if (!SWIG_IsOK(res1)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24443 }
24444 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24445 ecode2 = SWIG_AsVal_int(obj1, &val2);
24446 if (!SWIG_IsOK(ecode2)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24448 }
24449 arg2 = static_cast< int >(val2);
24450 {
24451 PyThreadState* __tstate = wxPyBeginAllowThreads();
24452 (arg1)->SetQuality(arg2);
24453 wxPyEndAllowThreads(__tstate);
24454 if (PyErr_Occurred()) SWIG_fail;
24455 }
24456 resultobj = SWIG_Py_Void();
24457 return resultobj;
24458 fail:
24459 return NULL;
24460 }
24461
24462
24463 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24464 PyObject *resultobj = 0;
24465 wxPrintData *arg1 = (wxPrintData *) 0 ;
24466 wxPrintBin arg2 ;
24467 void *argp1 = 0 ;
24468 int res1 = 0 ;
24469 int val2 ;
24470 int ecode2 = 0 ;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 char * kwnames[] = {
24474 (char *) "self",(char *) "bin", NULL
24475 };
24476
24477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24479 if (!SWIG_IsOK(res1)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24481 }
24482 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24483 ecode2 = SWIG_AsVal_int(obj1, &val2);
24484 if (!SWIG_IsOK(ecode2)) {
24485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24486 }
24487 arg2 = static_cast< wxPrintBin >(val2);
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 (arg1)->SetBin(arg2);
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 resultobj = SWIG_Py_Void();
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24502 PyObject *resultobj = 0;
24503 wxPrintData *arg1 = (wxPrintData *) 0 ;
24504 wxPrintMode arg2 ;
24505 void *argp1 = 0 ;
24506 int res1 = 0 ;
24507 int val2 ;
24508 int ecode2 = 0 ;
24509 PyObject * obj0 = 0 ;
24510 PyObject * obj1 = 0 ;
24511 char * kwnames[] = {
24512 (char *) "self",(char *) "printMode", NULL
24513 };
24514
24515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24517 if (!SWIG_IsOK(res1)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24519 }
24520 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24521 ecode2 = SWIG_AsVal_int(obj1, &val2);
24522 if (!SWIG_IsOK(ecode2)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24524 }
24525 arg2 = static_cast< wxPrintMode >(val2);
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 (arg1)->SetPrintMode(arg2);
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = SWIG_Py_Void();
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24540 PyObject *resultobj = 0;
24541 wxPrintData *arg1 = (wxPrintData *) 0 ;
24542 wxString result;
24543 void *argp1 = 0 ;
24544 int res1 = 0 ;
24545 PyObject *swig_obj[1] ;
24546
24547 if (!args) SWIG_fail;
24548 swig_obj[0] = args;
24549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24550 if (!SWIG_IsOK(res1)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24552 }
24553 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = ((wxPrintData const *)arg1)->GetFilename();
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 {
24561 #if wxUSE_UNICODE
24562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24563 #else
24564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24565 #endif
24566 }
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj = 0;
24575 wxPrintData *arg1 = (wxPrintData *) 0 ;
24576 wxString *arg2 = 0 ;
24577 void *argp1 = 0 ;
24578 int res1 = 0 ;
24579 bool temp2 = false ;
24580 PyObject * obj0 = 0 ;
24581 PyObject * obj1 = 0 ;
24582 char * kwnames[] = {
24583 (char *) "self",(char *) "filename", NULL
24584 };
24585
24586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24588 if (!SWIG_IsOK(res1)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24590 }
24591 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24592 {
24593 arg2 = wxString_in_helper(obj1);
24594 if (arg2 == NULL) SWIG_fail;
24595 temp2 = true;
24596 }
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 (arg1)->SetFilename((wxString const &)*arg2);
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 resultobj = SWIG_Py_Void();
24604 {
24605 if (temp2)
24606 delete arg2;
24607 }
24608 return resultobj;
24609 fail:
24610 {
24611 if (temp2)
24612 delete arg2;
24613 }
24614 return NULL;
24615 }
24616
24617
24618 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24619 PyObject *resultobj = 0;
24620 wxPrintData *arg1 = (wxPrintData *) 0 ;
24621 PyObject *result = 0 ;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 PyObject *swig_obj[1] ;
24625
24626 if (!args) SWIG_fail;
24627 swig_obj[0] = args;
24628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24631 }
24632 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 resultobj = result;
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj = 0;
24648 wxPrintData *arg1 = (wxPrintData *) 0 ;
24649 PyObject *arg2 = (PyObject *) 0 ;
24650 void *argp1 = 0 ;
24651 int res1 = 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 char * kwnames[] = {
24655 (char *) "self",(char *) "data", NULL
24656 };
24657
24658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24660 if (!SWIG_IsOK(res1)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24662 }
24663 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24664 arg2 = obj1;
24665 {
24666 PyThreadState* __tstate = wxPyBeginAllowThreads();
24667 wxPrintData_SetPrivData(arg1,arg2);
24668 wxPyEndAllowThreads(__tstate);
24669 if (PyErr_Occurred()) SWIG_fail;
24670 }
24671 resultobj = SWIG_Py_Void();
24672 return resultobj;
24673 fail:
24674 return NULL;
24675 }
24676
24677
24678 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24679 PyObject *obj;
24680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24681 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24682 return SWIG_Py_Void();
24683 }
24684
24685 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24686 return SWIG_Python_InitShadowInstance(args);
24687 }
24688
24689 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24690 PyObject *resultobj = 0;
24691 wxPageSetupDialogData *result = 0 ;
24692
24693 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24708 PyObject *resultobj = 0;
24709 wxPageSetupDialogData *arg1 = 0 ;
24710 wxPageSetupDialogData *result = 0 ;
24711 void *argp1 = 0 ;
24712 int res1 = 0 ;
24713
24714 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24716 if (!SWIG_IsOK(res1)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24718 }
24719 if (!argp1) {
24720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24721 }
24722 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24737 PyObject *resultobj = 0;
24738 wxPrintData *arg1 = 0 ;
24739 wxPageSetupDialogData *result = 0 ;
24740 void *argp1 = 0 ;
24741 int res1 = 0 ;
24742
24743 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24745 if (!SWIG_IsOK(res1)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24747 }
24748 if (!argp1) {
24749 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24750 }
24751 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24752 {
24753 PyThreadState* __tstate = wxPyBeginAllowThreads();
24754 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24766 int argc;
24767 PyObject *argv[2];
24768
24769 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24770 --argc;
24771 if (argc == 0) {
24772 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24773 }
24774 if (argc == 1) {
24775 int _v = 0;
24776 {
24777 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24778 _v = SWIG_CheckState(res);
24779 }
24780 if (!_v) goto check_2;
24781 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24782 }
24783 check_2:
24784
24785 if (argc == 1) {
24786 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24787 }
24788
24789 fail:
24790 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24791 return NULL;
24792 }
24793
24794
24795 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24796 PyObject *resultobj = 0;
24797 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24798 void *argp1 = 0 ;
24799 int res1 = 0 ;
24800 PyObject *swig_obj[1] ;
24801
24802 if (!args) SWIG_fail;
24803 swig_obj[0] = args;
24804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24805 if (!SWIG_IsOK(res1)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24807 }
24808 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 delete arg1;
24812
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 resultobj = SWIG_Py_Void();
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj = 0;
24825 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24826 bool arg2 ;
24827 void *argp1 = 0 ;
24828 int res1 = 0 ;
24829 bool val2 ;
24830 int ecode2 = 0 ;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char * kwnames[] = {
24834 (char *) "self",(char *) "flag", NULL
24835 };
24836
24837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24839 if (!SWIG_IsOK(res1)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 }
24842 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24843 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24844 if (!SWIG_IsOK(ecode2)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24846 }
24847 arg2 = static_cast< bool >(val2);
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->EnableHelp(arg2);
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 resultobj = SWIG_Py_Void();
24855 return resultobj;
24856 fail:
24857 return NULL;
24858 }
24859
24860
24861 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24862 PyObject *resultobj = 0;
24863 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24864 bool arg2 ;
24865 void *argp1 = 0 ;
24866 int res1 = 0 ;
24867 bool val2 ;
24868 int ecode2 = 0 ;
24869 PyObject * obj0 = 0 ;
24870 PyObject * obj1 = 0 ;
24871 char * kwnames[] = {
24872 (char *) "self",(char *) "flag", NULL
24873 };
24874
24875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24877 if (!SWIG_IsOK(res1)) {
24878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24879 }
24880 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24882 if (!SWIG_IsOK(ecode2)) {
24883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24884 }
24885 arg2 = static_cast< bool >(val2);
24886 {
24887 PyThreadState* __tstate = wxPyBeginAllowThreads();
24888 (arg1)->EnableMargins(arg2);
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
24892 resultobj = SWIG_Py_Void();
24893 return resultobj;
24894 fail:
24895 return NULL;
24896 }
24897
24898
24899 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj = 0;
24901 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24902 bool arg2 ;
24903 void *argp1 = 0 ;
24904 int res1 = 0 ;
24905 bool val2 ;
24906 int ecode2 = 0 ;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 char * kwnames[] = {
24910 (char *) "self",(char *) "flag", NULL
24911 };
24912
24913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24915 if (!SWIG_IsOK(res1)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24917 }
24918 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24919 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24920 if (!SWIG_IsOK(ecode2)) {
24921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24922 }
24923 arg2 = static_cast< bool >(val2);
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 (arg1)->EnableOrientation(arg2);
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 resultobj = SWIG_Py_Void();
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj = 0;
24939 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24940 bool arg2 ;
24941 void *argp1 = 0 ;
24942 int res1 = 0 ;
24943 bool val2 ;
24944 int ecode2 = 0 ;
24945 PyObject * obj0 = 0 ;
24946 PyObject * obj1 = 0 ;
24947 char * kwnames[] = {
24948 (char *) "self",(char *) "flag", NULL
24949 };
24950
24951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24953 if (!SWIG_IsOK(res1)) {
24954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24955 }
24956 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24958 if (!SWIG_IsOK(ecode2)) {
24959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24960 }
24961 arg2 = static_cast< bool >(val2);
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 (arg1)->EnablePaper(arg2);
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 resultobj = SWIG_Py_Void();
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj = 0;
24977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24978 bool arg2 ;
24979 void *argp1 = 0 ;
24980 int res1 = 0 ;
24981 bool val2 ;
24982 int ecode2 = 0 ;
24983 PyObject * obj0 = 0 ;
24984 PyObject * obj1 = 0 ;
24985 char * kwnames[] = {
24986 (char *) "self",(char *) "flag", NULL
24987 };
24988
24989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24991 if (!SWIG_IsOK(res1)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24993 }
24994 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24995 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24996 if (!SWIG_IsOK(ecode2)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24998 }
24999 arg2 = static_cast< bool >(val2);
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 (arg1)->EnablePrinter(arg2);
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 resultobj = SWIG_Py_Void();
25007 return resultobj;
25008 fail:
25009 return NULL;
25010 }
25011
25012
25013 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25014 PyObject *resultobj = 0;
25015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25016 bool result;
25017 void *argp1 = 0 ;
25018 int res1 = 0 ;
25019 PyObject *swig_obj[1] ;
25020
25021 if (!args) SWIG_fail;
25022 swig_obj[0] = args;
25023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25024 if (!SWIG_IsOK(res1)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25026 }
25027 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25028 {
25029 PyThreadState* __tstate = wxPyBeginAllowThreads();
25030 result = (bool)(arg1)->GetDefaultMinMargins();
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25036 }
25037 return resultobj;
25038 fail:
25039 return NULL;
25040 }
25041
25042
25043 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25044 PyObject *resultobj = 0;
25045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25046 bool result;
25047 void *argp1 = 0 ;
25048 int res1 = 0 ;
25049 PyObject *swig_obj[1] ;
25050
25051 if (!args) SWIG_fail;
25052 swig_obj[0] = args;
25053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25054 if (!SWIG_IsOK(res1)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25056 }
25057 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (bool)(arg1)->GetEnableMargins();
25061 wxPyEndAllowThreads(__tstate);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 }
25064 {
25065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25066 }
25067 return resultobj;
25068 fail:
25069 return NULL;
25070 }
25071
25072
25073 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25074 PyObject *resultobj = 0;
25075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25076 bool result;
25077 void *argp1 = 0 ;
25078 int res1 = 0 ;
25079 PyObject *swig_obj[1] ;
25080
25081 if (!args) SWIG_fail;
25082 swig_obj[0] = args;
25083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25084 if (!SWIG_IsOK(res1)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 }
25087 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 result = (bool)(arg1)->GetEnableOrientation();
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 {
25095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25096 }
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25104 PyObject *resultobj = 0;
25105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25106 bool result;
25107 void *argp1 = 0 ;
25108 int res1 = 0 ;
25109 PyObject *swig_obj[1] ;
25110
25111 if (!args) SWIG_fail;
25112 swig_obj[0] = args;
25113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25114 if (!SWIG_IsOK(res1)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25116 }
25117 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (bool)(arg1)->GetEnablePaper();
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 {
25125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25126 }
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 bool result;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 PyObject *swig_obj[1] ;
25140
25141 if (!args) SWIG_fail;
25142 swig_obj[0] = args;
25143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25144 if (!SWIG_IsOK(res1)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25146 }
25147 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 result = (bool)(arg1)->GetEnablePrinter();
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 {
25155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25156 }
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25164 PyObject *resultobj = 0;
25165 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25166 bool result;
25167 void *argp1 = 0 ;
25168 int res1 = 0 ;
25169 PyObject *swig_obj[1] ;
25170
25171 if (!args) SWIG_fail;
25172 swig_obj[0] = args;
25173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25174 if (!SWIG_IsOK(res1)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25176 }
25177 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (bool)(arg1)->GetEnableHelp();
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 {
25185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25186 }
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25194 PyObject *resultobj = 0;
25195 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25196 bool result;
25197 void *argp1 = 0 ;
25198 int res1 = 0 ;
25199 PyObject *swig_obj[1] ;
25200
25201 if (!args) SWIG_fail;
25202 swig_obj[0] = args;
25203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25204 if (!SWIG_IsOK(res1)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25206 }
25207 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 result = (bool)(arg1)->GetDefaultInfo();
25211 wxPyEndAllowThreads(__tstate);
25212 if (PyErr_Occurred()) SWIG_fail;
25213 }
25214 {
25215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25216 }
25217 return resultobj;
25218 fail:
25219 return NULL;
25220 }
25221
25222
25223 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25224 PyObject *resultobj = 0;
25225 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25226 wxPoint result;
25227 void *argp1 = 0 ;
25228 int res1 = 0 ;
25229 PyObject *swig_obj[1] ;
25230
25231 if (!args) SWIG_fail;
25232 swig_obj[0] = args;
25233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25234 if (!SWIG_IsOK(res1)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25236 }
25237 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 result = (arg1)->GetMarginTopLeft();
25241 wxPyEndAllowThreads(__tstate);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25245 return resultobj;
25246 fail:
25247 return NULL;
25248 }
25249
25250
25251 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25252 PyObject *resultobj = 0;
25253 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25254 wxPoint result;
25255 void *argp1 = 0 ;
25256 int res1 = 0 ;
25257 PyObject *swig_obj[1] ;
25258
25259 if (!args) SWIG_fail;
25260 swig_obj[0] = args;
25261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25262 if (!SWIG_IsOK(res1)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25264 }
25265 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 result = (arg1)->GetMarginBottomRight();
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25280 PyObject *resultobj = 0;
25281 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25282 wxPoint result;
25283 void *argp1 = 0 ;
25284 int res1 = 0 ;
25285 PyObject *swig_obj[1] ;
25286
25287 if (!args) SWIG_fail;
25288 swig_obj[0] = args;
25289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25290 if (!SWIG_IsOK(res1)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25292 }
25293 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 result = (arg1)->GetMinMarginTopLeft();
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25301 return resultobj;
25302 fail:
25303 return NULL;
25304 }
25305
25306
25307 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25308 PyObject *resultobj = 0;
25309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25310 wxPoint result;
25311 void *argp1 = 0 ;
25312 int res1 = 0 ;
25313 PyObject *swig_obj[1] ;
25314
25315 if (!args) SWIG_fail;
25316 swig_obj[0] = args;
25317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25318 if (!SWIG_IsOK(res1)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25320 }
25321 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 result = (arg1)->GetMinMarginBottomRight();
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25329 return resultobj;
25330 fail:
25331 return NULL;
25332 }
25333
25334
25335 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25336 PyObject *resultobj = 0;
25337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25338 wxPaperSize result;
25339 void *argp1 = 0 ;
25340 int res1 = 0 ;
25341 PyObject *swig_obj[1] ;
25342
25343 if (!args) SWIG_fail;
25344 swig_obj[0] = args;
25345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25346 if (!SWIG_IsOK(res1)) {
25347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25348 }
25349 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 result = (wxPaperSize)(arg1)->GetPaperId();
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 resultobj = SWIG_From_int(static_cast< int >(result));
25357 return resultobj;
25358 fail:
25359 return NULL;
25360 }
25361
25362
25363 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25364 PyObject *resultobj = 0;
25365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25366 wxSize result;
25367 void *argp1 = 0 ;
25368 int res1 = 0 ;
25369 PyObject *swig_obj[1] ;
25370
25371 if (!args) SWIG_fail;
25372 swig_obj[0] = args;
25373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25374 if (!SWIG_IsOK(res1)) {
25375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25376 }
25377 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 result = (arg1)->GetPaperSize();
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25385 return resultobj;
25386 fail:
25387 return NULL;
25388 }
25389
25390
25391 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25392 PyObject *resultobj = 0;
25393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25394 wxPrintData *result = 0 ;
25395 void *argp1 = 0 ;
25396 int res1 = 0 ;
25397 PyObject *swig_obj[1] ;
25398
25399 if (!args) SWIG_fail;
25400 swig_obj[0] = args;
25401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25402 if (!SWIG_IsOK(res1)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25404 }
25405 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 {
25409 wxPrintData &_result_ref = (arg1)->GetPrintData();
25410 result = (wxPrintData *) &_result_ref;
25411 }
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25416 return resultobj;
25417 fail:
25418 return NULL;
25419 }
25420
25421
25422 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25423 PyObject *resultobj = 0;
25424 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25425 bool result;
25426 void *argp1 = 0 ;
25427 int res1 = 0 ;
25428 PyObject *swig_obj[1] ;
25429
25430 if (!args) SWIG_fail;
25431 swig_obj[0] = args;
25432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25433 if (!SWIG_IsOK(res1)) {
25434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25435 }
25436 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 result = (bool)(arg1)->Ok();
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25445 }
25446 return resultobj;
25447 fail:
25448 return NULL;
25449 }
25450
25451
25452 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj = 0;
25454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25455 bool arg2 ;
25456 void *argp1 = 0 ;
25457 int res1 = 0 ;
25458 bool val2 ;
25459 int ecode2 = 0 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char * kwnames[] = {
25463 (char *) "self",(char *) "flag", NULL
25464 };
25465
25466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25468 if (!SWIG_IsOK(res1)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25470 }
25471 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25472 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25473 if (!SWIG_IsOK(ecode2)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25475 }
25476 arg2 = static_cast< bool >(val2);
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 (arg1)->SetDefaultInfo(arg2);
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = SWIG_Py_Void();
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj = 0;
25492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25493 bool arg2 ;
25494 void *argp1 = 0 ;
25495 int res1 = 0 ;
25496 bool val2 ;
25497 int ecode2 = 0 ;
25498 PyObject * obj0 = 0 ;
25499 PyObject * obj1 = 0 ;
25500 char * kwnames[] = {
25501 (char *) "self",(char *) "flag", NULL
25502 };
25503
25504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25506 if (!SWIG_IsOK(res1)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 }
25509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25510 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25511 if (!SWIG_IsOK(ecode2)) {
25512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25513 }
25514 arg2 = static_cast< bool >(val2);
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 (arg1)->SetDefaultMinMargins(arg2);
25518 wxPyEndAllowThreads(__tstate);
25519 if (PyErr_Occurred()) SWIG_fail;
25520 }
25521 resultobj = SWIG_Py_Void();
25522 return resultobj;
25523 fail:
25524 return NULL;
25525 }
25526
25527
25528 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25529 PyObject *resultobj = 0;
25530 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25531 wxPoint *arg2 = 0 ;
25532 void *argp1 = 0 ;
25533 int res1 = 0 ;
25534 wxPoint temp2 ;
25535 PyObject * obj0 = 0 ;
25536 PyObject * obj1 = 0 ;
25537 char * kwnames[] = {
25538 (char *) "self",(char *) "pt", NULL
25539 };
25540
25541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25543 if (!SWIG_IsOK(res1)) {
25544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25545 }
25546 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25547 {
25548 arg2 = &temp2;
25549 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25550 }
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 resultobj = SWIG_Py_Void();
25558 return resultobj;
25559 fail:
25560 return NULL;
25561 }
25562
25563
25564 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25565 PyObject *resultobj = 0;
25566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25567 wxPoint *arg2 = 0 ;
25568 void *argp1 = 0 ;
25569 int res1 = 0 ;
25570 wxPoint temp2 ;
25571 PyObject * obj0 = 0 ;
25572 PyObject * obj1 = 0 ;
25573 char * kwnames[] = {
25574 (char *) "self",(char *) "pt", NULL
25575 };
25576
25577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25579 if (!SWIG_IsOK(res1)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 }
25582 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25583 {
25584 arg2 = &temp2;
25585 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25586 }
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 resultobj = SWIG_Py_Void();
25594 return resultobj;
25595 fail:
25596 return NULL;
25597 }
25598
25599
25600 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj = 0;
25602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25603 wxPoint *arg2 = 0 ;
25604 void *argp1 = 0 ;
25605 int res1 = 0 ;
25606 wxPoint temp2 ;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 char * kwnames[] = {
25610 (char *) "self",(char *) "pt", NULL
25611 };
25612
25613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25615 if (!SWIG_IsOK(res1)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25617 }
25618 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25619 {
25620 arg2 = &temp2;
25621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25622 }
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 resultobj = SWIG_Py_Void();
25630 return resultobj;
25631 fail:
25632 return NULL;
25633 }
25634
25635
25636 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj = 0;
25638 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25639 wxPoint *arg2 = 0 ;
25640 void *argp1 = 0 ;
25641 int res1 = 0 ;
25642 wxPoint temp2 ;
25643 PyObject * obj0 = 0 ;
25644 PyObject * obj1 = 0 ;
25645 char * kwnames[] = {
25646 (char *) "self",(char *) "pt", NULL
25647 };
25648
25649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25651 if (!SWIG_IsOK(res1)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25653 }
25654 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25655 {
25656 arg2 = &temp2;
25657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25658 }
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_Py_Void();
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj = 0;
25674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25675 wxPaperSize arg2 ;
25676 void *argp1 = 0 ;
25677 int res1 = 0 ;
25678 int val2 ;
25679 int ecode2 = 0 ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 char * kwnames[] = {
25683 (char *) "self",(char *) "id", NULL
25684 };
25685
25686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25688 if (!SWIG_IsOK(res1)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25690 }
25691 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25692 ecode2 = SWIG_AsVal_int(obj1, &val2);
25693 if (!SWIG_IsOK(ecode2)) {
25694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25695 }
25696 arg2 = static_cast< wxPaperSize >(val2);
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 (arg1)->SetPaperId(arg2);
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 resultobj = SWIG_Py_Void();
25704 return resultobj;
25705 fail:
25706 return NULL;
25707 }
25708
25709
25710 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj = 0;
25712 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25713 wxSize *arg2 = 0 ;
25714 void *argp1 = 0 ;
25715 int res1 = 0 ;
25716 wxSize temp2 ;
25717 PyObject * obj0 = 0 ;
25718 PyObject * obj1 = 0 ;
25719 char * kwnames[] = {
25720 (char *) "self",(char *) "size", NULL
25721 };
25722
25723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25725 if (!SWIG_IsOK(res1)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25727 }
25728 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25729 {
25730 arg2 = &temp2;
25731 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25732 }
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 (arg1)->SetPaperSize((wxSize const &)*arg2);
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = SWIG_Py_Void();
25740 return resultobj;
25741 fail:
25742 return NULL;
25743 }
25744
25745
25746 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25747 PyObject *resultobj = 0;
25748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25749 wxPrintData *arg2 = 0 ;
25750 void *argp1 = 0 ;
25751 int res1 = 0 ;
25752 void *argp2 = 0 ;
25753 int res2 = 0 ;
25754 PyObject * obj0 = 0 ;
25755 PyObject * obj1 = 0 ;
25756 char * kwnames[] = {
25757 (char *) "self",(char *) "printData", NULL
25758 };
25759
25760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25762 if (!SWIG_IsOK(res1)) {
25763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25764 }
25765 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25766 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25767 if (!SWIG_IsOK(res2)) {
25768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25769 }
25770 if (!argp2) {
25771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25772 }
25773 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25774 {
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 resultobj = SWIG_Py_Void();
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25788 PyObject *resultobj = 0;
25789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25790 void *argp1 = 0 ;
25791 int res1 = 0 ;
25792 PyObject *swig_obj[1] ;
25793
25794 if (!args) SWIG_fail;
25795 swig_obj[0] = args;
25796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25797 if (!SWIG_IsOK(res1)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25799 }
25800 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 (arg1)->CalculateIdFromPaperSize();
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 resultobj = SWIG_Py_Void();
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25815 PyObject *resultobj = 0;
25816 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25817 void *argp1 = 0 ;
25818 int res1 = 0 ;
25819 PyObject *swig_obj[1] ;
25820
25821 if (!args) SWIG_fail;
25822 swig_obj[0] = args;
25823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25824 if (!SWIG_IsOK(res1)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25826 }
25827 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 (arg1)->CalculatePaperSizeFromId();
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = SWIG_Py_Void();
25835 return resultobj;
25836 fail:
25837 return NULL;
25838 }
25839
25840
25841 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25842 PyObject *obj;
25843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25845 return SWIG_Py_Void();
25846 }
25847
25848 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25849 return SWIG_Python_InitShadowInstance(args);
25850 }
25851
25852 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25853 PyObject *resultobj = 0;
25854 wxWindow *arg1 = (wxWindow *) 0 ;
25855 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25856 wxPageSetupDialog *result = 0 ;
25857 void *argp1 = 0 ;
25858 int res1 = 0 ;
25859 void *argp2 = 0 ;
25860 int res2 = 0 ;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char * kwnames[] = {
25864 (char *) "parent",(char *) "data", NULL
25865 };
25866
25867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25869 if (!SWIG_IsOK(res1)) {
25870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25871 }
25872 arg1 = reinterpret_cast< wxWindow * >(argp1);
25873 if (obj1) {
25874 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25875 if (!SWIG_IsOK(res2)) {
25876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25877 }
25878 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25879 }
25880 {
25881 if (!wxPyCheckForApp()) SWIG_fail;
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25888 return resultobj;
25889 fail:
25890 return NULL;
25891 }
25892
25893
25894 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25895 PyObject *resultobj = 0;
25896 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25897 void *argp1 = 0 ;
25898 int res1 = 0 ;
25899 PyObject *swig_obj[1] ;
25900
25901 if (!args) SWIG_fail;
25902 swig_obj[0] = args;
25903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25904 if (!SWIG_IsOK(res1)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25906 }
25907 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25908 {
25909 PyThreadState* __tstate = wxPyBeginAllowThreads();
25910 delete arg1;
25911
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 resultobj = SWIG_Py_Void();
25916 return resultobj;
25917 fail:
25918 return NULL;
25919 }
25920
25921
25922 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25923 PyObject *resultobj = 0;
25924 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25925 wxPageSetupDialogData *result = 0 ;
25926 void *argp1 = 0 ;
25927 int res1 = 0 ;
25928 PyObject *swig_obj[1] ;
25929
25930 if (!args) SWIG_fail;
25931 swig_obj[0] = args;
25932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25933 if (!SWIG_IsOK(res1)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25935 }
25936 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 {
25940 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25941 result = (wxPageSetupDialogData *) &_result_ref;
25942 }
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25947 return resultobj;
25948 fail:
25949 return NULL;
25950 }
25951
25952
25953 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25954 PyObject *resultobj = 0;
25955 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25956 wxPageSetupDialogData *result = 0 ;
25957 void *argp1 = 0 ;
25958 int res1 = 0 ;
25959 PyObject *swig_obj[1] ;
25960
25961 if (!args) SWIG_fail;
25962 swig_obj[0] = args;
25963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25964 if (!SWIG_IsOK(res1)) {
25965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25966 }
25967 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 {
25971 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25972 result = (wxPageSetupDialogData *) &_result_ref;
25973 }
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25978 return resultobj;
25979 fail:
25980 return NULL;
25981 }
25982
25983
25984 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25985 PyObject *resultobj = 0;
25986 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25987 int result;
25988 void *argp1 = 0 ;
25989 int res1 = 0 ;
25990 PyObject *swig_obj[1] ;
25991
25992 if (!args) SWIG_fail;
25993 swig_obj[0] = args;
25994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25995 if (!SWIG_IsOK(res1)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25997 }
25998 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 result = (int)(arg1)->ShowModal();
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 resultobj = SWIG_From_int(static_cast< int >(result));
26006 return resultobj;
26007 fail:
26008 return NULL;
26009 }
26010
26011
26012 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26013 PyObject *obj;
26014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26016 return SWIG_Py_Void();
26017 }
26018
26019 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26020 return SWIG_Python_InitShadowInstance(args);
26021 }
26022
26023 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26024 PyObject *resultobj = 0;
26025 wxPrintDialogData *result = 0 ;
26026
26027 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (wxPrintDialogData *)new wxPrintDialogData();
26031 wxPyEndAllowThreads(__tstate);
26032 if (PyErr_Occurred()) SWIG_fail;
26033 }
26034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26035 return resultobj;
26036 fail:
26037 return NULL;
26038 }
26039
26040
26041 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26042 PyObject *resultobj = 0;
26043 wxPrintData *arg1 = 0 ;
26044 wxPrintDialogData *result = 0 ;
26045 void *argp1 = 0 ;
26046 int res1 = 0 ;
26047
26048 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26050 if (!SWIG_IsOK(res1)) {
26051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26052 }
26053 if (!argp1) {
26054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26055 }
26056 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26064 return resultobj;
26065 fail:
26066 return NULL;
26067 }
26068
26069
26070 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26071 PyObject *resultobj = 0;
26072 wxPrintDialogData *arg1 = 0 ;
26073 wxPrintDialogData *result = 0 ;
26074 void *argp1 = 0 ;
26075 int res1 = 0 ;
26076
26077 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26079 if (!SWIG_IsOK(res1)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26081 }
26082 if (!argp1) {
26083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26084 }
26085 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26089 wxPyEndAllowThreads(__tstate);
26090 if (PyErr_Occurred()) SWIG_fail;
26091 }
26092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26093 return resultobj;
26094 fail:
26095 return NULL;
26096 }
26097
26098
26099 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26100 int argc;
26101 PyObject *argv[2];
26102
26103 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26104 --argc;
26105 if (argc == 0) {
26106 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26107 }
26108 if (argc == 1) {
26109 int _v = 0;
26110 {
26111 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26112 _v = SWIG_CheckState(res);
26113 }
26114 if (!_v) goto check_2;
26115 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26116 }
26117 check_2:
26118
26119 if (argc == 1) {
26120 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26121 }
26122
26123 fail:
26124 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26125 return NULL;
26126 }
26127
26128
26129 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26130 PyObject *resultobj = 0;
26131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26132 void *argp1 = 0 ;
26133 int res1 = 0 ;
26134 PyObject *swig_obj[1] ;
26135
26136 if (!args) SWIG_fail;
26137 swig_obj[0] = args;
26138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26139 if (!SWIG_IsOK(res1)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26141 }
26142 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 delete arg1;
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 resultobj = SWIG_Py_Void();
26151 return resultobj;
26152 fail:
26153 return NULL;
26154 }
26155
26156
26157 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26158 PyObject *resultobj = 0;
26159 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26160 int result;
26161 void *argp1 = 0 ;
26162 int res1 = 0 ;
26163 PyObject *swig_obj[1] ;
26164
26165 if (!args) SWIG_fail;
26166 swig_obj[0] = args;
26167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26168 if (!SWIG_IsOK(res1)) {
26169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26170 }
26171 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 resultobj = SWIG_From_int(static_cast< int >(result));
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26186 PyObject *resultobj = 0;
26187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26188 int result;
26189 void *argp1 = 0 ;
26190 int res1 = 0 ;
26191 PyObject *swig_obj[1] ;
26192
26193 if (!args) SWIG_fail;
26194 swig_obj[0] = args;
26195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26196 if (!SWIG_IsOK(res1)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26198 }
26199 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 resultobj = SWIG_From_int(static_cast< int >(result));
26207 return resultobj;
26208 fail:
26209 return NULL;
26210 }
26211
26212
26213 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26214 PyObject *resultobj = 0;
26215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26216 int result;
26217 void *argp1 = 0 ;
26218 int res1 = 0 ;
26219 PyObject *swig_obj[1] ;
26220
26221 if (!args) SWIG_fail;
26222 swig_obj[0] = args;
26223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26224 if (!SWIG_IsOK(res1)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26226 }
26227 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 resultobj = SWIG_From_int(static_cast< int >(result));
26235 return resultobj;
26236 fail:
26237 return NULL;
26238 }
26239
26240
26241 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26242 PyObject *resultobj = 0;
26243 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26244 int result;
26245 void *argp1 = 0 ;
26246 int res1 = 0 ;
26247 PyObject *swig_obj[1] ;
26248
26249 if (!args) SWIG_fail;
26250 swig_obj[0] = args;
26251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26252 if (!SWIG_IsOK(res1)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26254 }
26255 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 resultobj = SWIG_From_int(static_cast< int >(result));
26263 return resultobj;
26264 fail:
26265 return NULL;
26266 }
26267
26268
26269 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26270 PyObject *resultobj = 0;
26271 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26272 int result;
26273 void *argp1 = 0 ;
26274 int res1 = 0 ;
26275 PyObject *swig_obj[1] ;
26276
26277 if (!args) SWIG_fail;
26278 swig_obj[0] = args;
26279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26280 if (!SWIG_IsOK(res1)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26282 }
26283 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 resultobj = SWIG_From_int(static_cast< int >(result));
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26298 PyObject *resultobj = 0;
26299 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26300 bool result;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 PyObject *swig_obj[1] ;
26304
26305 if (!args) SWIG_fail;
26306 swig_obj[0] = args;
26307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26310 }
26311 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 {
26319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26320 }
26321 return resultobj;
26322 fail:
26323 return NULL;
26324 }
26325
26326
26327 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26328 PyObject *resultobj = 0;
26329 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26330 bool result;
26331 void *argp1 = 0 ;
26332 int res1 = 0 ;
26333 PyObject *swig_obj[1] ;
26334
26335 if (!args) SWIG_fail;
26336 swig_obj[0] = args;
26337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26338 if (!SWIG_IsOK(res1)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26340 }
26341 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 {
26349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26350 }
26351 return resultobj;
26352 fail:
26353 return NULL;
26354 }
26355
26356
26357 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26358 PyObject *resultobj = 0;
26359 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26360 bool result;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 PyObject *swig_obj[1] ;
26364
26365 if (!args) SWIG_fail;
26366 swig_obj[0] = args;
26367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26368 if (!SWIG_IsOK(res1)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26370 }
26371 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 {
26379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26380 }
26381 return resultobj;
26382 fail:
26383 return NULL;
26384 }
26385
26386
26387 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26388 PyObject *resultobj = 0;
26389 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26390 bool result;
26391 void *argp1 = 0 ;
26392 int res1 = 0 ;
26393 PyObject *swig_obj[1] ;
26394
26395 if (!args) SWIG_fail;
26396 swig_obj[0] = args;
26397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26398 if (!SWIG_IsOK(res1)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26400 }
26401 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 {
26409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26410 }
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26418 PyObject *resultobj = 0;
26419 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26420 int arg2 ;
26421 void *argp1 = 0 ;
26422 int res1 = 0 ;
26423 int val2 ;
26424 int ecode2 = 0 ;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char * kwnames[] = {
26428 (char *) "self",(char *) "v", NULL
26429 };
26430
26431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26433 if (!SWIG_IsOK(res1)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26435 }
26436 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26437 ecode2 = SWIG_AsVal_int(obj1, &val2);
26438 if (!SWIG_IsOK(ecode2)) {
26439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26440 }
26441 arg2 = static_cast< int >(val2);
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 (arg1)->SetFromPage(arg2);
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 resultobj = SWIG_Py_Void();
26449 return resultobj;
26450 fail:
26451 return NULL;
26452 }
26453
26454
26455 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26456 PyObject *resultobj = 0;
26457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26458 int arg2 ;
26459 void *argp1 = 0 ;
26460 int res1 = 0 ;
26461 int val2 ;
26462 int ecode2 = 0 ;
26463 PyObject * obj0 = 0 ;
26464 PyObject * obj1 = 0 ;
26465 char * kwnames[] = {
26466 (char *) "self",(char *) "v", NULL
26467 };
26468
26469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26471 if (!SWIG_IsOK(res1)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26473 }
26474 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26475 ecode2 = SWIG_AsVal_int(obj1, &val2);
26476 if (!SWIG_IsOK(ecode2)) {
26477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26478 }
26479 arg2 = static_cast< int >(val2);
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 (arg1)->SetToPage(arg2);
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 resultobj = SWIG_Py_Void();
26487 return resultobj;
26488 fail:
26489 return NULL;
26490 }
26491
26492
26493 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26494 PyObject *resultobj = 0;
26495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26496 int arg2 ;
26497 void *argp1 = 0 ;
26498 int res1 = 0 ;
26499 int val2 ;
26500 int ecode2 = 0 ;
26501 PyObject * obj0 = 0 ;
26502 PyObject * obj1 = 0 ;
26503 char * kwnames[] = {
26504 (char *) "self",(char *) "v", NULL
26505 };
26506
26507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26509 if (!SWIG_IsOK(res1)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26511 }
26512 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26513 ecode2 = SWIG_AsVal_int(obj1, &val2);
26514 if (!SWIG_IsOK(ecode2)) {
26515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26516 }
26517 arg2 = static_cast< int >(val2);
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
26520 (arg1)->SetMinPage(arg2);
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 resultobj = SWIG_Py_Void();
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26532 PyObject *resultobj = 0;
26533 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26534 int arg2 ;
26535 void *argp1 = 0 ;
26536 int res1 = 0 ;
26537 int val2 ;
26538 int ecode2 = 0 ;
26539 PyObject * obj0 = 0 ;
26540 PyObject * obj1 = 0 ;
26541 char * kwnames[] = {
26542 (char *) "self",(char *) "v", NULL
26543 };
26544
26545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26547 if (!SWIG_IsOK(res1)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26549 }
26550 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26551 ecode2 = SWIG_AsVal_int(obj1, &val2);
26552 if (!SWIG_IsOK(ecode2)) {
26553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26554 }
26555 arg2 = static_cast< int >(val2);
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 (arg1)->SetMaxPage(arg2);
26559 wxPyEndAllowThreads(__tstate);
26560 if (PyErr_Occurred()) SWIG_fail;
26561 }
26562 resultobj = SWIG_Py_Void();
26563 return resultobj;
26564 fail:
26565 return NULL;
26566 }
26567
26568
26569 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26570 PyObject *resultobj = 0;
26571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26572 int arg2 ;
26573 void *argp1 = 0 ;
26574 int res1 = 0 ;
26575 int val2 ;
26576 int ecode2 = 0 ;
26577 PyObject * obj0 = 0 ;
26578 PyObject * obj1 = 0 ;
26579 char * kwnames[] = {
26580 (char *) "self",(char *) "v", NULL
26581 };
26582
26583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26585 if (!SWIG_IsOK(res1)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26587 }
26588 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26589 ecode2 = SWIG_AsVal_int(obj1, &val2);
26590 if (!SWIG_IsOK(ecode2)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26592 }
26593 arg2 = static_cast< int >(val2);
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 (arg1)->SetNoCopies(arg2);
26597 wxPyEndAllowThreads(__tstate);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 }
26600 resultobj = SWIG_Py_Void();
26601 return resultobj;
26602 fail:
26603 return NULL;
26604 }
26605
26606
26607 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26608 PyObject *resultobj = 0;
26609 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26610 bool arg2 ;
26611 void *argp1 = 0 ;
26612 int res1 = 0 ;
26613 bool val2 ;
26614 int ecode2 = 0 ;
26615 PyObject * obj0 = 0 ;
26616 PyObject * obj1 = 0 ;
26617 char * kwnames[] = {
26618 (char *) "self",(char *) "flag", NULL
26619 };
26620
26621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26623 if (!SWIG_IsOK(res1)) {
26624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26625 }
26626 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26627 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26628 if (!SWIG_IsOK(ecode2)) {
26629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26630 }
26631 arg2 = static_cast< bool >(val2);
26632 {
26633 PyThreadState* __tstate = wxPyBeginAllowThreads();
26634 (arg1)->SetAllPages(arg2);
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 resultobj = SWIG_Py_Void();
26639 return resultobj;
26640 fail:
26641 return NULL;
26642 }
26643
26644
26645 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26646 PyObject *resultobj = 0;
26647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26648 bool arg2 ;
26649 void *argp1 = 0 ;
26650 int res1 = 0 ;
26651 bool val2 ;
26652 int ecode2 = 0 ;
26653 PyObject * obj0 = 0 ;
26654 PyObject * obj1 = 0 ;
26655 char * kwnames[] = {
26656 (char *) "self",(char *) "flag", NULL
26657 };
26658
26659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26661 if (!SWIG_IsOK(res1)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26663 }
26664 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26665 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26666 if (!SWIG_IsOK(ecode2)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26668 }
26669 arg2 = static_cast< bool >(val2);
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 (arg1)->SetSelection(arg2);
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 resultobj = SWIG_Py_Void();
26677 return resultobj;
26678 fail:
26679 return NULL;
26680 }
26681
26682
26683 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj = 0;
26685 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26686 bool arg2 ;
26687 void *argp1 = 0 ;
26688 int res1 = 0 ;
26689 bool val2 ;
26690 int ecode2 = 0 ;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 char * kwnames[] = {
26694 (char *) "self",(char *) "flag", NULL
26695 };
26696
26697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26699 if (!SWIG_IsOK(res1)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26701 }
26702 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26703 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26704 if (!SWIG_IsOK(ecode2)) {
26705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26706 }
26707 arg2 = static_cast< bool >(val2);
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 (arg1)->SetCollate(arg2);
26711 wxPyEndAllowThreads(__tstate);
26712 if (PyErr_Occurred()) SWIG_fail;
26713 }
26714 resultobj = SWIG_Py_Void();
26715 return resultobj;
26716 fail:
26717 return NULL;
26718 }
26719
26720
26721 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26722 PyObject *resultobj = 0;
26723 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26724 bool arg2 ;
26725 void *argp1 = 0 ;
26726 int res1 = 0 ;
26727 bool val2 ;
26728 int ecode2 = 0 ;
26729 PyObject * obj0 = 0 ;
26730 PyObject * obj1 = 0 ;
26731 char * kwnames[] = {
26732 (char *) "self",(char *) "flag", NULL
26733 };
26734
26735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26737 if (!SWIG_IsOK(res1)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26739 }
26740 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26741 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26742 if (!SWIG_IsOK(ecode2)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26744 }
26745 arg2 = static_cast< bool >(val2);
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 (arg1)->SetPrintToFile(arg2);
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 resultobj = SWIG_Py_Void();
26753 return resultobj;
26754 fail:
26755 return NULL;
26756 }
26757
26758
26759 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26760 PyObject *resultobj = 0;
26761 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26762 bool arg2 ;
26763 void *argp1 = 0 ;
26764 int res1 = 0 ;
26765 bool val2 ;
26766 int ecode2 = 0 ;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char * kwnames[] = {
26770 (char *) "self",(char *) "flag", NULL
26771 };
26772
26773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26775 if (!SWIG_IsOK(res1)) {
26776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26777 }
26778 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26779 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26780 if (!SWIG_IsOK(ecode2)) {
26781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26782 }
26783 arg2 = static_cast< bool >(val2);
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 (arg1)->EnablePrintToFile(arg2);
26787 wxPyEndAllowThreads(__tstate);
26788 if (PyErr_Occurred()) SWIG_fail;
26789 }
26790 resultobj = SWIG_Py_Void();
26791 return resultobj;
26792 fail:
26793 return NULL;
26794 }
26795
26796
26797 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26798 PyObject *resultobj = 0;
26799 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26800 bool arg2 ;
26801 void *argp1 = 0 ;
26802 int res1 = 0 ;
26803 bool val2 ;
26804 int ecode2 = 0 ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 char * kwnames[] = {
26808 (char *) "self",(char *) "flag", NULL
26809 };
26810
26811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26813 if (!SWIG_IsOK(res1)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26815 }
26816 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26817 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26818 if (!SWIG_IsOK(ecode2)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26820 }
26821 arg2 = static_cast< bool >(val2);
26822 {
26823 PyThreadState* __tstate = wxPyBeginAllowThreads();
26824 (arg1)->EnableSelection(arg2);
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 resultobj = SWIG_Py_Void();
26829 return resultobj;
26830 fail:
26831 return NULL;
26832 }
26833
26834
26835 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26836 PyObject *resultobj = 0;
26837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26838 bool arg2 ;
26839 void *argp1 = 0 ;
26840 int res1 = 0 ;
26841 bool val2 ;
26842 int ecode2 = 0 ;
26843 PyObject * obj0 = 0 ;
26844 PyObject * obj1 = 0 ;
26845 char * kwnames[] = {
26846 (char *) "self",(char *) "flag", NULL
26847 };
26848
26849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26851 if (!SWIG_IsOK(res1)) {
26852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26853 }
26854 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26855 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26856 if (!SWIG_IsOK(ecode2)) {
26857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26858 }
26859 arg2 = static_cast< bool >(val2);
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 (arg1)->EnablePageNumbers(arg2);
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
26866 resultobj = SWIG_Py_Void();
26867 return resultobj;
26868 fail:
26869 return NULL;
26870 }
26871
26872
26873 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26874 PyObject *resultobj = 0;
26875 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26876 bool arg2 ;
26877 void *argp1 = 0 ;
26878 int res1 = 0 ;
26879 bool val2 ;
26880 int ecode2 = 0 ;
26881 PyObject * obj0 = 0 ;
26882 PyObject * obj1 = 0 ;
26883 char * kwnames[] = {
26884 (char *) "self",(char *) "flag", NULL
26885 };
26886
26887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26889 if (!SWIG_IsOK(res1)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26891 }
26892 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26893 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26894 if (!SWIG_IsOK(ecode2)) {
26895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26896 }
26897 arg2 = static_cast< bool >(val2);
26898 {
26899 PyThreadState* __tstate = wxPyBeginAllowThreads();
26900 (arg1)->EnableHelp(arg2);
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
26904 resultobj = SWIG_Py_Void();
26905 return resultobj;
26906 fail:
26907 return NULL;
26908 }
26909
26910
26911 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26912 PyObject *resultobj = 0;
26913 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26914 bool result;
26915 void *argp1 = 0 ;
26916 int res1 = 0 ;
26917 PyObject *swig_obj[1] ;
26918
26919 if (!args) SWIG_fail;
26920 swig_obj[0] = args;
26921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26922 if (!SWIG_IsOK(res1)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26924 }
26925 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
26928 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26942 PyObject *resultobj = 0;
26943 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26944 bool result;
26945 void *argp1 = 0 ;
26946 int res1 = 0 ;
26947 PyObject *swig_obj[1] ;
26948
26949 if (!args) SWIG_fail;
26950 swig_obj[0] = args;
26951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26952 if (!SWIG_IsOK(res1)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26954 }
26955 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 {
26963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26964 }
26965 return resultobj;
26966 fail:
26967 return NULL;
26968 }
26969
26970
26971 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26972 PyObject *resultobj = 0;
26973 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26974 bool result;
26975 void *argp1 = 0 ;
26976 int res1 = 0 ;
26977 PyObject *swig_obj[1] ;
26978
26979 if (!args) SWIG_fail;
26980 swig_obj[0] = args;
26981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26982 if (!SWIG_IsOK(res1)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26984 }
26985 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
26988 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26989 wxPyEndAllowThreads(__tstate);
26990 if (PyErr_Occurred()) SWIG_fail;
26991 }
26992 {
26993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26994 }
26995 return resultobj;
26996 fail:
26997 return NULL;
26998 }
26999
27000
27001 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27002 PyObject *resultobj = 0;
27003 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27004 bool result;
27005 void *argp1 = 0 ;
27006 int res1 = 0 ;
27007 PyObject *swig_obj[1] ;
27008
27009 if (!args) SWIG_fail;
27010 swig_obj[0] = args;
27011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27012 if (!SWIG_IsOK(res1)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27014 }
27015 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27019 wxPyEndAllowThreads(__tstate);
27020 if (PyErr_Occurred()) SWIG_fail;
27021 }
27022 {
27023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27024 }
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27032 PyObject *resultobj = 0;
27033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27034 bool result;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 PyObject *swig_obj[1] ;
27038
27039 if (!args) SWIG_fail;
27040 swig_obj[0] = args;
27041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27042 if (!SWIG_IsOK(res1)) {
27043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27044 }
27045 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27046 {
27047 PyThreadState* __tstate = wxPyBeginAllowThreads();
27048 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
27052 {
27053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27054 }
27055 return resultobj;
27056 fail:
27057 return NULL;
27058 }
27059
27060
27061 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27062 PyObject *resultobj = 0;
27063 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27064 wxPrintData *result = 0 ;
27065 void *argp1 = 0 ;
27066 int res1 = 0 ;
27067 PyObject *swig_obj[1] ;
27068
27069 if (!args) SWIG_fail;
27070 swig_obj[0] = args;
27071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27072 if (!SWIG_IsOK(res1)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27074 }
27075 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 {
27079 wxPrintData &_result_ref = (arg1)->GetPrintData();
27080 result = (wxPrintData *) &_result_ref;
27081 }
27082 wxPyEndAllowThreads(__tstate);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27086 return resultobj;
27087 fail:
27088 return NULL;
27089 }
27090
27091
27092 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27093 PyObject *resultobj = 0;
27094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27095 wxPrintData *arg2 = 0 ;
27096 void *argp1 = 0 ;
27097 int res1 = 0 ;
27098 void *argp2 = 0 ;
27099 int res2 = 0 ;
27100 PyObject * obj0 = 0 ;
27101 PyObject * obj1 = 0 ;
27102 char * kwnames[] = {
27103 (char *) "self",(char *) "printData", NULL
27104 };
27105
27106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27108 if (!SWIG_IsOK(res1)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27110 }
27111 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27112 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27113 if (!SWIG_IsOK(res2)) {
27114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27115 }
27116 if (!argp2) {
27117 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27118 }
27119 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 resultobj = SWIG_Py_Void();
27127 return resultobj;
27128 fail:
27129 return NULL;
27130 }
27131
27132
27133 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27134 PyObject *obj;
27135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27137 return SWIG_Py_Void();
27138 }
27139
27140 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27141 return SWIG_Python_InitShadowInstance(args);
27142 }
27143
27144 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj = 0;
27146 wxWindow *arg1 = (wxWindow *) 0 ;
27147 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27148 wxPrintDialog *result = 0 ;
27149 void *argp1 = 0 ;
27150 int res1 = 0 ;
27151 void *argp2 = 0 ;
27152 int res2 = 0 ;
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char * kwnames[] = {
27156 (char *) "parent",(char *) "data", NULL
27157 };
27158
27159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27161 if (!SWIG_IsOK(res1)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27163 }
27164 arg1 = reinterpret_cast< wxWindow * >(argp1);
27165 if (obj1) {
27166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27167 if (!SWIG_IsOK(res2)) {
27168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27169 }
27170 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27171 }
27172 {
27173 if (!wxPyCheckForApp()) SWIG_fail;
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27187 PyObject *resultobj = 0;
27188 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27189 void *argp1 = 0 ;
27190 int res1 = 0 ;
27191 PyObject *swig_obj[1] ;
27192
27193 if (!args) SWIG_fail;
27194 swig_obj[0] = args;
27195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27196 if (!SWIG_IsOK(res1)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27198 }
27199 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27200 {
27201 PyThreadState* __tstate = wxPyBeginAllowThreads();
27202 delete arg1;
27203
27204 wxPyEndAllowThreads(__tstate);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 }
27207 resultobj = SWIG_Py_Void();
27208 return resultobj;
27209 fail:
27210 return NULL;
27211 }
27212
27213
27214 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27215 PyObject *resultobj = 0;
27216 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27217 int result;
27218 void *argp1 = 0 ;
27219 int res1 = 0 ;
27220 PyObject *swig_obj[1] ;
27221
27222 if (!args) SWIG_fail;
27223 swig_obj[0] = args;
27224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27225 if (!SWIG_IsOK(res1)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27227 }
27228 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27229 {
27230 PyThreadState* __tstate = wxPyBeginAllowThreads();
27231 result = (int)(arg1)->ShowModal();
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 resultobj = SWIG_From_int(static_cast< int >(result));
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27243 PyObject *resultobj = 0;
27244 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27245 wxPrintDialogData *result = 0 ;
27246 void *argp1 = 0 ;
27247 int res1 = 0 ;
27248 PyObject *swig_obj[1] ;
27249
27250 if (!args) SWIG_fail;
27251 swig_obj[0] = args;
27252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27253 if (!SWIG_IsOK(res1)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27255 }
27256 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 {
27260 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27261 result = (wxPrintDialogData *) &_result_ref;
27262 }
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27267 return resultobj;
27268 fail:
27269 return NULL;
27270 }
27271
27272
27273 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27274 PyObject *resultobj = 0;
27275 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27276 wxPrintData *result = 0 ;
27277 void *argp1 = 0 ;
27278 int res1 = 0 ;
27279 PyObject *swig_obj[1] ;
27280
27281 if (!args) SWIG_fail;
27282 swig_obj[0] = args;
27283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27284 if (!SWIG_IsOK(res1)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27286 }
27287 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 {
27291 wxPrintData &_result_ref = (arg1)->GetPrintData();
27292 result = (wxPrintData *) &_result_ref;
27293 }
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27298 return resultobj;
27299 fail:
27300 return NULL;
27301 }
27302
27303
27304 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27305 PyObject *resultobj = 0;
27306 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27307 wxDC *result = 0 ;
27308 void *argp1 = 0 ;
27309 int res1 = 0 ;
27310 PyObject *swig_obj[1] ;
27311
27312 if (!args) SWIG_fail;
27313 swig_obj[0] = args;
27314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27315 if (!SWIG_IsOK(res1)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27317 }
27318 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (wxDC *)(arg1)->GetPrintDC();
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 {
27326 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27327 }
27328 return resultobj;
27329 fail:
27330 return NULL;
27331 }
27332
27333
27334 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *obj;
27336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27338 return SWIG_Py_Void();
27339 }
27340
27341 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27342 return SWIG_Python_InitShadowInstance(args);
27343 }
27344
27345 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj = 0;
27347 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27348 wxPrinter *result = 0 ;
27349 void *argp1 = 0 ;
27350 int res1 = 0 ;
27351 PyObject * obj0 = 0 ;
27352 char * kwnames[] = {
27353 (char *) "data", NULL
27354 };
27355
27356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27357 if (obj0) {
27358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27359 if (!SWIG_IsOK(res1)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27361 }
27362 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27363 }
27364 {
27365 if (!wxPyCheckForApp()) SWIG_fail;
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (wxPrinter *)new wxPrinter(arg1);
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27372 return resultobj;
27373 fail:
27374 return NULL;
27375 }
27376
27377
27378 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27379 PyObject *resultobj = 0;
27380 wxPrinter *arg1 = (wxPrinter *) 0 ;
27381 void *argp1 = 0 ;
27382 int res1 = 0 ;
27383 PyObject *swig_obj[1] ;
27384
27385 if (!args) SWIG_fail;
27386 swig_obj[0] = args;
27387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27388 if (!SWIG_IsOK(res1)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27390 }
27391 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27392 {
27393 PyThreadState* __tstate = wxPyBeginAllowThreads();
27394 delete arg1;
27395
27396 wxPyEndAllowThreads(__tstate);
27397 if (PyErr_Occurred()) SWIG_fail;
27398 }
27399 resultobj = SWIG_Py_Void();
27400 return resultobj;
27401 fail:
27402 return NULL;
27403 }
27404
27405
27406 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27407 PyObject *resultobj = 0;
27408 wxPrinter *arg1 = (wxPrinter *) 0 ;
27409 wxWindow *arg2 = (wxWindow *) 0 ;
27410 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27411 wxWindow *result = 0 ;
27412 void *argp1 = 0 ;
27413 int res1 = 0 ;
27414 void *argp2 = 0 ;
27415 int res2 = 0 ;
27416 void *argp3 = 0 ;
27417 int res3 = 0 ;
27418 PyObject * obj0 = 0 ;
27419 PyObject * obj1 = 0 ;
27420 PyObject * obj2 = 0 ;
27421 char * kwnames[] = {
27422 (char *) "self",(char *) "parent",(char *) "printout", NULL
27423 };
27424
27425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27427 if (!SWIG_IsOK(res1)) {
27428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27429 }
27430 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27432 if (!SWIG_IsOK(res2)) {
27433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27434 }
27435 arg2 = reinterpret_cast< wxWindow * >(argp2);
27436 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27437 if (!SWIG_IsOK(res3)) {
27438 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27439 }
27440 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27441 {
27442 PyThreadState* __tstate = wxPyBeginAllowThreads();
27443 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
27447 {
27448 resultobj = wxPyMake_wxObject(result, 0);
27449 }
27450 return resultobj;
27451 fail:
27452 return NULL;
27453 }
27454
27455
27456 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27457 PyObject *resultobj = 0;
27458 wxPrinter *arg1 = (wxPrinter *) 0 ;
27459 wxWindow *arg2 = (wxWindow *) 0 ;
27460 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27461 wxString *arg4 = 0 ;
27462 void *argp1 = 0 ;
27463 int res1 = 0 ;
27464 void *argp2 = 0 ;
27465 int res2 = 0 ;
27466 void *argp3 = 0 ;
27467 int res3 = 0 ;
27468 bool temp4 = false ;
27469 PyObject * obj0 = 0 ;
27470 PyObject * obj1 = 0 ;
27471 PyObject * obj2 = 0 ;
27472 PyObject * obj3 = 0 ;
27473 char * kwnames[] = {
27474 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27475 };
27476
27477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27479 if (!SWIG_IsOK(res1)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27481 }
27482 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27483 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27484 if (!SWIG_IsOK(res2)) {
27485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27486 }
27487 arg2 = reinterpret_cast< wxWindow * >(argp2);
27488 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27489 if (!SWIG_IsOK(res3)) {
27490 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27491 }
27492 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27493 {
27494 arg4 = wxString_in_helper(obj3);
27495 if (arg4 == NULL) SWIG_fail;
27496 temp4 = true;
27497 }
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
27500 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 resultobj = SWIG_Py_Void();
27505 {
27506 if (temp4)
27507 delete arg4;
27508 }
27509 return resultobj;
27510 fail:
27511 {
27512 if (temp4)
27513 delete arg4;
27514 }
27515 return NULL;
27516 }
27517
27518
27519 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27520 PyObject *resultobj = 0;
27521 wxPrinter *arg1 = (wxPrinter *) 0 ;
27522 wxWindow *arg2 = (wxWindow *) 0 ;
27523 bool result;
27524 void *argp1 = 0 ;
27525 int res1 = 0 ;
27526 void *argp2 = 0 ;
27527 int res2 = 0 ;
27528 PyObject * obj0 = 0 ;
27529 PyObject * obj1 = 0 ;
27530 char * kwnames[] = {
27531 (char *) "self",(char *) "parent", NULL
27532 };
27533
27534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27536 if (!SWIG_IsOK(res1)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27538 }
27539 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27541 if (!SWIG_IsOK(res2)) {
27542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27543 }
27544 arg2 = reinterpret_cast< wxWindow * >(argp2);
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 result = (bool)(arg1)->Setup(arg2);
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 {
27552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27553 }
27554 return resultobj;
27555 fail:
27556 return NULL;
27557 }
27558
27559
27560 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27561 PyObject *resultobj = 0;
27562 wxPrinter *arg1 = (wxPrinter *) 0 ;
27563 wxWindow *arg2 = (wxWindow *) 0 ;
27564 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27565 bool arg4 = (bool) true ;
27566 bool result;
27567 void *argp1 = 0 ;
27568 int res1 = 0 ;
27569 void *argp2 = 0 ;
27570 int res2 = 0 ;
27571 void *argp3 = 0 ;
27572 int res3 = 0 ;
27573 bool val4 ;
27574 int ecode4 = 0 ;
27575 PyObject * obj0 = 0 ;
27576 PyObject * obj1 = 0 ;
27577 PyObject * obj2 = 0 ;
27578 PyObject * obj3 = 0 ;
27579 char * kwnames[] = {
27580 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27581 };
27582
27583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27585 if (!SWIG_IsOK(res1)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27587 }
27588 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27590 if (!SWIG_IsOK(res2)) {
27591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27592 }
27593 arg2 = reinterpret_cast< wxWindow * >(argp2);
27594 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27595 if (!SWIG_IsOK(res3)) {
27596 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27597 }
27598 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27599 if (obj3) {
27600 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27601 if (!SWIG_IsOK(ecode4)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27603 }
27604 arg4 = static_cast< bool >(val4);
27605 }
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 {
27613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27614 }
27615 return resultobj;
27616 fail:
27617 return NULL;
27618 }
27619
27620
27621 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj = 0;
27623 wxPrinter *arg1 = (wxPrinter *) 0 ;
27624 wxWindow *arg2 = (wxWindow *) 0 ;
27625 wxDC *result = 0 ;
27626 void *argp1 = 0 ;
27627 int res1 = 0 ;
27628 void *argp2 = 0 ;
27629 int res2 = 0 ;
27630 PyObject * obj0 = 0 ;
27631 PyObject * obj1 = 0 ;
27632 char * kwnames[] = {
27633 (char *) "self",(char *) "parent", NULL
27634 };
27635
27636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27638 if (!SWIG_IsOK(res1)) {
27639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27640 }
27641 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27643 if (!SWIG_IsOK(res2)) {
27644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27645 }
27646 arg2 = reinterpret_cast< wxWindow * >(argp2);
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 result = (wxDC *)(arg1)->PrintDialog(arg2);
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 {
27654 resultobj = wxPyMake_wxObject(result, (bool)0);
27655 }
27656 return resultobj;
27657 fail:
27658 return NULL;
27659 }
27660
27661
27662 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27663 PyObject *resultobj = 0;
27664 wxPrinter *arg1 = (wxPrinter *) 0 ;
27665 wxPrintDialogData *result = 0 ;
27666 void *argp1 = 0 ;
27667 int res1 = 0 ;
27668 PyObject *swig_obj[1] ;
27669
27670 if (!args) SWIG_fail;
27671 swig_obj[0] = args;
27672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27673 if (!SWIG_IsOK(res1)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27675 }
27676 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
27679 {
27680 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27681 result = (wxPrintDialogData *) &_result_ref;
27682 }
27683 wxPyEndAllowThreads(__tstate);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 }
27686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27687 return resultobj;
27688 fail:
27689 return NULL;
27690 }
27691
27692
27693 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27694 PyObject *resultobj = 0;
27695 wxPrinter *arg1 = (wxPrinter *) 0 ;
27696 bool result;
27697 void *argp1 = 0 ;
27698 int res1 = 0 ;
27699 PyObject *swig_obj[1] ;
27700
27701 if (!args) SWIG_fail;
27702 swig_obj[0] = args;
27703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27704 if (!SWIG_IsOK(res1)) {
27705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27706 }
27707 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 result = (bool)(arg1)->GetAbort();
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
27714 {
27715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27716 }
27717 return resultobj;
27718 fail:
27719 return NULL;
27720 }
27721
27722
27723 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27724 PyObject *resultobj = 0;
27725 wxPrinterError result;
27726
27727 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 result = (wxPrinterError)wxPrinter::GetLastError();
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 resultobj = SWIG_From_int(static_cast< int >(result));
27735 return resultobj;
27736 fail:
27737 return NULL;
27738 }
27739
27740
27741 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27742 PyObject *obj;
27743 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27744 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27745 return SWIG_Py_Void();
27746 }
27747
27748 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27749 return SWIG_Python_InitShadowInstance(args);
27750 }
27751
27752 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj = 0;
27754 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27755 wxString *arg1 = (wxString *) &arg1_defvalue ;
27756 wxPyPrintout *result = 0 ;
27757 bool temp1 = false ;
27758 PyObject * obj0 = 0 ;
27759 char * kwnames[] = {
27760 (char *) "title", NULL
27761 };
27762
27763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27764 if (obj0) {
27765 {
27766 arg1 = wxString_in_helper(obj0);
27767 if (arg1 == NULL) SWIG_fail;
27768 temp1 = true;
27769 }
27770 }
27771 {
27772 if (!wxPyCheckForApp()) SWIG_fail;
27773 PyThreadState* __tstate = wxPyBeginAllowThreads();
27774 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27775 wxPyEndAllowThreads(__tstate);
27776 if (PyErr_Occurred()) SWIG_fail;
27777 }
27778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27779 {
27780 if (temp1)
27781 delete arg1;
27782 }
27783 return resultobj;
27784 fail:
27785 {
27786 if (temp1)
27787 delete arg1;
27788 }
27789 return NULL;
27790 }
27791
27792
27793 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27796 void *argp1 = 0 ;
27797 int res1 = 0 ;
27798 PyObject *swig_obj[1] ;
27799
27800 if (!args) SWIG_fail;
27801 swig_obj[0] = args;
27802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27803 if (!SWIG_IsOK(res1)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27805 }
27806 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27807 {
27808 PyThreadState* __tstate = wxPyBeginAllowThreads();
27809 delete arg1;
27810
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 resultobj = SWIG_Py_Void();
27815 return resultobj;
27816 fail:
27817 return NULL;
27818 }
27819
27820
27821 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27822 PyObject *resultobj = 0;
27823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27824 PyObject *arg2 = (PyObject *) 0 ;
27825 PyObject *arg3 = (PyObject *) 0 ;
27826 void *argp1 = 0 ;
27827 int res1 = 0 ;
27828 PyObject * obj0 = 0 ;
27829 PyObject * obj1 = 0 ;
27830 PyObject * obj2 = 0 ;
27831 char * kwnames[] = {
27832 (char *) "self",(char *) "self",(char *) "_class", NULL
27833 };
27834
27835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27837 if (!SWIG_IsOK(res1)) {
27838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27839 }
27840 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27841 arg2 = obj1;
27842 arg3 = obj2;
27843 {
27844 PyThreadState* __tstate = wxPyBeginAllowThreads();
27845 (arg1)->_setCallbackInfo(arg2,arg3);
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 resultobj = SWIG_Py_Void();
27850 return resultobj;
27851 fail:
27852 return NULL;
27853 }
27854
27855
27856 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27857 PyObject *resultobj = 0;
27858 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27859 wxString result;
27860 void *argp1 = 0 ;
27861 int res1 = 0 ;
27862 PyObject *swig_obj[1] ;
27863
27864 if (!args) SWIG_fail;
27865 swig_obj[0] = args;
27866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27867 if (!SWIG_IsOK(res1)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27869 }
27870 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27871 {
27872 PyThreadState* __tstate = wxPyBeginAllowThreads();
27873 result = ((wxPyPrintout const *)arg1)->GetTitle();
27874 wxPyEndAllowThreads(__tstate);
27875 if (PyErr_Occurred()) SWIG_fail;
27876 }
27877 {
27878 #if wxUSE_UNICODE
27879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27880 #else
27881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27882 #endif
27883 }
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27891 PyObject *resultobj = 0;
27892 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27893 wxDC *result = 0 ;
27894 void *argp1 = 0 ;
27895 int res1 = 0 ;
27896 PyObject *swig_obj[1] ;
27897
27898 if (!args) SWIG_fail;
27899 swig_obj[0] = args;
27900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27901 if (!SWIG_IsOK(res1)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27903 }
27904 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (wxDC *)(arg1)->GetDC();
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 {
27912 resultobj = wxPyMake_wxObject(result, (bool)0);
27913 }
27914 return resultobj;
27915 fail:
27916 return NULL;
27917 }
27918
27919
27920 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27921 PyObject *resultobj = 0;
27922 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27923 wxDC *arg2 = (wxDC *) 0 ;
27924 void *argp1 = 0 ;
27925 int res1 = 0 ;
27926 void *argp2 = 0 ;
27927 int res2 = 0 ;
27928 PyObject * obj0 = 0 ;
27929 PyObject * obj1 = 0 ;
27930 char * kwnames[] = {
27931 (char *) "self",(char *) "dc", NULL
27932 };
27933
27934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27936 if (!SWIG_IsOK(res1)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 }
27939 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27940 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27941 if (!SWIG_IsOK(res2)) {
27942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27943 }
27944 arg2 = reinterpret_cast< wxDC * >(argp2);
27945 {
27946 PyThreadState* __tstate = wxPyBeginAllowThreads();
27947 (arg1)->SetDC(arg2);
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 resultobj = SWIG_Py_Void();
27952 return resultobj;
27953 fail:
27954 return NULL;
27955 }
27956
27957
27958 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27959 PyObject *resultobj = 0;
27960 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27961 int arg2 ;
27962 int arg3 ;
27963 void *argp1 = 0 ;
27964 int res1 = 0 ;
27965 int val2 ;
27966 int ecode2 = 0 ;
27967 int val3 ;
27968 int ecode3 = 0 ;
27969 PyObject * obj0 = 0 ;
27970 PyObject * obj1 = 0 ;
27971 PyObject * obj2 = 0 ;
27972 char * kwnames[] = {
27973 (char *) "self",(char *) "w",(char *) "h", NULL
27974 };
27975
27976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27978 if (!SWIG_IsOK(res1)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27980 }
27981 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27982 ecode2 = SWIG_AsVal_int(obj1, &val2);
27983 if (!SWIG_IsOK(ecode2)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27985 }
27986 arg2 = static_cast< int >(val2);
27987 ecode3 = SWIG_AsVal_int(obj2, &val3);
27988 if (!SWIG_IsOK(ecode3)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27990 }
27991 arg3 = static_cast< int >(val3);
27992 {
27993 PyThreadState* __tstate = wxPyBeginAllowThreads();
27994 (arg1)->SetPageSizePixels(arg2,arg3);
27995 wxPyEndAllowThreads(__tstate);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 }
27998 resultobj = SWIG_Py_Void();
27999 return resultobj;
28000 fail:
28001 return NULL;
28002 }
28003
28004
28005 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28006 PyObject *resultobj = 0;
28007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28008 int *arg2 = (int *) 0 ;
28009 int *arg3 = (int *) 0 ;
28010 void *argp1 = 0 ;
28011 int res1 = 0 ;
28012 int temp2 ;
28013 int res2 = SWIG_TMPOBJ ;
28014 int temp3 ;
28015 int res3 = SWIG_TMPOBJ ;
28016 PyObject *swig_obj[1] ;
28017
28018 arg2 = &temp2;
28019 arg3 = &temp3;
28020 if (!args) SWIG_fail;
28021 swig_obj[0] = args;
28022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28023 if (!SWIG_IsOK(res1)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28025 }
28026 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28027 {
28028 PyThreadState* __tstate = wxPyBeginAllowThreads();
28029 (arg1)->GetPageSizePixels(arg2,arg3);
28030 wxPyEndAllowThreads(__tstate);
28031 if (PyErr_Occurred()) SWIG_fail;
28032 }
28033 resultobj = SWIG_Py_Void();
28034 if (SWIG_IsTmpObj(res2)) {
28035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28036 } else {
28037 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28039 }
28040 if (SWIG_IsTmpObj(res3)) {
28041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28042 } else {
28043 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28045 }
28046 return resultobj;
28047 fail:
28048 return NULL;
28049 }
28050
28051
28052 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28053 PyObject *resultobj = 0;
28054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28055 int arg2 ;
28056 int arg3 ;
28057 void *argp1 = 0 ;
28058 int res1 = 0 ;
28059 int val2 ;
28060 int ecode2 = 0 ;
28061 int val3 ;
28062 int ecode3 = 0 ;
28063 PyObject * obj0 = 0 ;
28064 PyObject * obj1 = 0 ;
28065 PyObject * obj2 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "self",(char *) "w",(char *) "h", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 ecode2 = SWIG_AsVal_int(obj1, &val2);
28077 if (!SWIG_IsOK(ecode2)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28079 }
28080 arg2 = static_cast< int >(val2);
28081 ecode3 = SWIG_AsVal_int(obj2, &val3);
28082 if (!SWIG_IsOK(ecode3)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28084 }
28085 arg3 = static_cast< int >(val3);
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->SetPageSizeMM(arg2,arg3);
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 resultobj = SWIG_Py_Void();
28093 return resultobj;
28094 fail:
28095 return NULL;
28096 }
28097
28098
28099 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28100 PyObject *resultobj = 0;
28101 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28102 int *arg2 = (int *) 0 ;
28103 int *arg3 = (int *) 0 ;
28104 void *argp1 = 0 ;
28105 int res1 = 0 ;
28106 int temp2 ;
28107 int res2 = SWIG_TMPOBJ ;
28108 int temp3 ;
28109 int res3 = SWIG_TMPOBJ ;
28110 PyObject *swig_obj[1] ;
28111
28112 arg2 = &temp2;
28113 arg3 = &temp3;
28114 if (!args) SWIG_fail;
28115 swig_obj[0] = args;
28116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28117 if (!SWIG_IsOK(res1)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28119 }
28120 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 (arg1)->GetPageSizeMM(arg2,arg3);
28124 wxPyEndAllowThreads(__tstate);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
28127 resultobj = SWIG_Py_Void();
28128 if (SWIG_IsTmpObj(res2)) {
28129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28130 } else {
28131 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28133 }
28134 if (SWIG_IsTmpObj(res3)) {
28135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28136 } else {
28137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28139 }
28140 return resultobj;
28141 fail:
28142 return NULL;
28143 }
28144
28145
28146 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28147 PyObject *resultobj = 0;
28148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28149 int arg2 ;
28150 int arg3 ;
28151 void *argp1 = 0 ;
28152 int res1 = 0 ;
28153 int val2 ;
28154 int ecode2 = 0 ;
28155 int val3 ;
28156 int ecode3 = 0 ;
28157 PyObject * obj0 = 0 ;
28158 PyObject * obj1 = 0 ;
28159 PyObject * obj2 = 0 ;
28160 char * kwnames[] = {
28161 (char *) "self",(char *) "x",(char *) "y", NULL
28162 };
28163
28164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28168 }
28169 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28170 ecode2 = SWIG_AsVal_int(obj1, &val2);
28171 if (!SWIG_IsOK(ecode2)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28173 }
28174 arg2 = static_cast< int >(val2);
28175 ecode3 = SWIG_AsVal_int(obj2, &val3);
28176 if (!SWIG_IsOK(ecode3)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28178 }
28179 arg3 = static_cast< int >(val3);
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 (arg1)->SetPPIScreen(arg2,arg3);
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 resultobj = SWIG_Py_Void();
28187 return resultobj;
28188 fail:
28189 return NULL;
28190 }
28191
28192
28193 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28194 PyObject *resultobj = 0;
28195 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28196 int *arg2 = (int *) 0 ;
28197 int *arg3 = (int *) 0 ;
28198 void *argp1 = 0 ;
28199 int res1 = 0 ;
28200 int temp2 ;
28201 int res2 = SWIG_TMPOBJ ;
28202 int temp3 ;
28203 int res3 = SWIG_TMPOBJ ;
28204 PyObject *swig_obj[1] ;
28205
28206 arg2 = &temp2;
28207 arg3 = &temp3;
28208 if (!args) SWIG_fail;
28209 swig_obj[0] = args;
28210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28211 if (!SWIG_IsOK(res1)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28213 }
28214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 (arg1)->GetPPIScreen(arg2,arg3);
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 resultobj = SWIG_Py_Void();
28222 if (SWIG_IsTmpObj(res2)) {
28223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28224 } else {
28225 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28227 }
28228 if (SWIG_IsTmpObj(res3)) {
28229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28230 } else {
28231 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28233 }
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28241 PyObject *resultobj = 0;
28242 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28243 int arg2 ;
28244 int arg3 ;
28245 void *argp1 = 0 ;
28246 int res1 = 0 ;
28247 int val2 ;
28248 int ecode2 = 0 ;
28249 int val3 ;
28250 int ecode3 = 0 ;
28251 PyObject * obj0 = 0 ;
28252 PyObject * obj1 = 0 ;
28253 PyObject * obj2 = 0 ;
28254 char * kwnames[] = {
28255 (char *) "self",(char *) "x",(char *) "y", NULL
28256 };
28257
28258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28260 if (!SWIG_IsOK(res1)) {
28261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28262 }
28263 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28264 ecode2 = SWIG_AsVal_int(obj1, &val2);
28265 if (!SWIG_IsOK(ecode2)) {
28266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28267 }
28268 arg2 = static_cast< int >(val2);
28269 ecode3 = SWIG_AsVal_int(obj2, &val3);
28270 if (!SWIG_IsOK(ecode3)) {
28271 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28272 }
28273 arg3 = static_cast< int >(val3);
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->SetPPIPrinter(arg2,arg3);
28277 wxPyEndAllowThreads(__tstate);
28278 if (PyErr_Occurred()) SWIG_fail;
28279 }
28280 resultobj = SWIG_Py_Void();
28281 return resultobj;
28282 fail:
28283 return NULL;
28284 }
28285
28286
28287 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28288 PyObject *resultobj = 0;
28289 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28290 int *arg2 = (int *) 0 ;
28291 int *arg3 = (int *) 0 ;
28292 void *argp1 = 0 ;
28293 int res1 = 0 ;
28294 int temp2 ;
28295 int res2 = SWIG_TMPOBJ ;
28296 int temp3 ;
28297 int res3 = SWIG_TMPOBJ ;
28298 PyObject *swig_obj[1] ;
28299
28300 arg2 = &temp2;
28301 arg3 = &temp3;
28302 if (!args) SWIG_fail;
28303 swig_obj[0] = args;
28304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28307 }
28308 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28309 {
28310 PyThreadState* __tstate = wxPyBeginAllowThreads();
28311 (arg1)->GetPPIPrinter(arg2,arg3);
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 resultobj = SWIG_Py_Void();
28316 if (SWIG_IsTmpObj(res2)) {
28317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28318 } else {
28319 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28320 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28321 }
28322 if (SWIG_IsTmpObj(res3)) {
28323 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28324 } else {
28325 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28326 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28327 }
28328 return resultobj;
28329 fail:
28330 return NULL;
28331 }
28332
28333
28334 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28335 PyObject *resultobj = 0;
28336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28337 bool result;
28338 void *argp1 = 0 ;
28339 int res1 = 0 ;
28340 PyObject *swig_obj[1] ;
28341
28342 if (!args) SWIG_fail;
28343 swig_obj[0] = args;
28344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28345 if (!SWIG_IsOK(res1)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28347 }
28348 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 result = (bool)(arg1)->IsPreview();
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 {
28356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28357 }
28358 return resultobj;
28359 fail:
28360 return NULL;
28361 }
28362
28363
28364 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28365 PyObject *resultobj = 0;
28366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28367 bool arg2 ;
28368 void *argp1 = 0 ;
28369 int res1 = 0 ;
28370 bool val2 ;
28371 int ecode2 = 0 ;
28372 PyObject * obj0 = 0 ;
28373 PyObject * obj1 = 0 ;
28374 char * kwnames[] = {
28375 (char *) "self",(char *) "p", NULL
28376 };
28377
28378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 }
28383 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28385 if (!SWIG_IsOK(ecode2)) {
28386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28387 }
28388 arg2 = static_cast< bool >(val2);
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 (arg1)->SetIsPreview(arg2);
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 resultobj = SWIG_Py_Void();
28396 return resultobj;
28397 fail:
28398 return NULL;
28399 }
28400
28401
28402 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28403 PyObject *resultobj = 0;
28404 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28405 int arg2 ;
28406 int arg3 ;
28407 bool result;
28408 void *argp1 = 0 ;
28409 int res1 = 0 ;
28410 int val2 ;
28411 int ecode2 = 0 ;
28412 int val3 ;
28413 int ecode3 = 0 ;
28414 PyObject * obj0 = 0 ;
28415 PyObject * obj1 = 0 ;
28416 PyObject * obj2 = 0 ;
28417 char * kwnames[] = {
28418 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28419 };
28420
28421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28423 if (!SWIG_IsOK(res1)) {
28424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28425 }
28426 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28427 ecode2 = SWIG_AsVal_int(obj1, &val2);
28428 if (!SWIG_IsOK(ecode2)) {
28429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28430 }
28431 arg2 = static_cast< int >(val2);
28432 ecode3 = SWIG_AsVal_int(obj2, &val3);
28433 if (!SWIG_IsOK(ecode3)) {
28434 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28435 }
28436 arg3 = static_cast< int >(val3);
28437 {
28438 PyThreadState* __tstate = wxPyBeginAllowThreads();
28439 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28440 wxPyEndAllowThreads(__tstate);
28441 if (PyErr_Occurred()) SWIG_fail;
28442 }
28443 {
28444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28445 }
28446 return resultobj;
28447 fail:
28448 return NULL;
28449 }
28450
28451
28452 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28453 PyObject *resultobj = 0;
28454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28455 void *argp1 = 0 ;
28456 int res1 = 0 ;
28457 PyObject *swig_obj[1] ;
28458
28459 if (!args) SWIG_fail;
28460 swig_obj[0] = args;
28461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28462 if (!SWIG_IsOK(res1)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28464 }
28465 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28466 {
28467 PyThreadState* __tstate = wxPyBeginAllowThreads();
28468 (arg1)->OnEndDocument();
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 resultobj = SWIG_Py_Void();
28473 return resultobj;
28474 fail:
28475 return NULL;
28476 }
28477
28478
28479 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28480 PyObject *resultobj = 0;
28481 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28482 void *argp1 = 0 ;
28483 int res1 = 0 ;
28484 PyObject *swig_obj[1] ;
28485
28486 if (!args) SWIG_fail;
28487 swig_obj[0] = args;
28488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28489 if (!SWIG_IsOK(res1)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28491 }
28492 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28493 {
28494 PyThreadState* __tstate = wxPyBeginAllowThreads();
28495 (arg1)->OnBeginPrinting();
28496 wxPyEndAllowThreads(__tstate);
28497 if (PyErr_Occurred()) SWIG_fail;
28498 }
28499 resultobj = SWIG_Py_Void();
28500 return resultobj;
28501 fail:
28502 return NULL;
28503 }
28504
28505
28506 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28507 PyObject *resultobj = 0;
28508 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28509 void *argp1 = 0 ;
28510 int res1 = 0 ;
28511 PyObject *swig_obj[1] ;
28512
28513 if (!args) SWIG_fail;
28514 swig_obj[0] = args;
28515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28516 if (!SWIG_IsOK(res1)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 }
28519 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 (arg1)->OnEndPrinting();
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 resultobj = SWIG_Py_Void();
28527 return resultobj;
28528 fail:
28529 return NULL;
28530 }
28531
28532
28533 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28534 PyObject *resultobj = 0;
28535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28536 void *argp1 = 0 ;
28537 int res1 = 0 ;
28538 PyObject *swig_obj[1] ;
28539
28540 if (!args) SWIG_fail;
28541 swig_obj[0] = args;
28542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28543 if (!SWIG_IsOK(res1)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28545 }
28546 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 (arg1)->OnPreparePrinting();
28550 wxPyEndAllowThreads(__tstate);
28551 if (PyErr_Occurred()) SWIG_fail;
28552 }
28553 resultobj = SWIG_Py_Void();
28554 return resultobj;
28555 fail:
28556 return NULL;
28557 }
28558
28559
28560 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28561 PyObject *resultobj = 0;
28562 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28563 int arg2 ;
28564 bool result;
28565 void *argp1 = 0 ;
28566 int res1 = 0 ;
28567 int val2 ;
28568 int ecode2 = 0 ;
28569 PyObject * obj0 = 0 ;
28570 PyObject * obj1 = 0 ;
28571 char * kwnames[] = {
28572 (char *) "self",(char *) "page", NULL
28573 };
28574
28575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28577 if (!SWIG_IsOK(res1)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28579 }
28580 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28581 ecode2 = SWIG_AsVal_int(obj1, &val2);
28582 if (!SWIG_IsOK(ecode2)) {
28583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28584 }
28585 arg2 = static_cast< int >(val2);
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 result = (bool)(arg1)->HasPage(arg2);
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 {
28593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28594 }
28595 return resultobj;
28596 fail:
28597 return NULL;
28598 }
28599
28600
28601 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28602 PyObject *resultobj = 0;
28603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28604 int *arg2 = (int *) 0 ;
28605 int *arg3 = (int *) 0 ;
28606 int *arg4 = (int *) 0 ;
28607 int *arg5 = (int *) 0 ;
28608 void *argp1 = 0 ;
28609 int res1 = 0 ;
28610 int temp2 ;
28611 int res2 = SWIG_TMPOBJ ;
28612 int temp3 ;
28613 int res3 = SWIG_TMPOBJ ;
28614 int temp4 ;
28615 int res4 = SWIG_TMPOBJ ;
28616 int temp5 ;
28617 int res5 = SWIG_TMPOBJ ;
28618 PyObject *swig_obj[1] ;
28619
28620 arg2 = &temp2;
28621 arg3 = &temp3;
28622 arg4 = &temp4;
28623 arg5 = &temp5;
28624 if (!args) SWIG_fail;
28625 swig_obj[0] = args;
28626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28627 if (!SWIG_IsOK(res1)) {
28628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28629 }
28630 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
28637 resultobj = SWIG_Py_Void();
28638 if (SWIG_IsTmpObj(res2)) {
28639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28640 } else {
28641 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28643 }
28644 if (SWIG_IsTmpObj(res3)) {
28645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28646 } else {
28647 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28649 }
28650 if (SWIG_IsTmpObj(res4)) {
28651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28652 } else {
28653 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28655 }
28656 if (SWIG_IsTmpObj(res5)) {
28657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28658 } else {
28659 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28661 }
28662 return resultobj;
28663 fail:
28664 return NULL;
28665 }
28666
28667
28668 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28669 PyObject *obj;
28670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28672 return SWIG_Py_Void();
28673 }
28674
28675 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 return SWIG_Python_InitShadowInstance(args);
28677 }
28678
28679 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28680 PyObject *resultobj = 0;
28681 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28682 wxWindow *arg2 = (wxWindow *) 0 ;
28683 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28684 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28685 wxSize const &arg4_defvalue = wxDefaultSize ;
28686 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28687 long arg5 = (long) 0 ;
28688 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28689 wxString *arg6 = (wxString *) &arg6_defvalue ;
28690 wxPreviewCanvas *result = 0 ;
28691 void *argp1 = 0 ;
28692 int res1 = 0 ;
28693 void *argp2 = 0 ;
28694 int res2 = 0 ;
28695 wxPoint temp3 ;
28696 wxSize temp4 ;
28697 long val5 ;
28698 int ecode5 = 0 ;
28699 bool temp6 = false ;
28700 PyObject * obj0 = 0 ;
28701 PyObject * obj1 = 0 ;
28702 PyObject * obj2 = 0 ;
28703 PyObject * obj3 = 0 ;
28704 PyObject * obj4 = 0 ;
28705 PyObject * obj5 = 0 ;
28706 char * kwnames[] = {
28707 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28708 };
28709
28710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28712 if (!SWIG_IsOK(res1)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28714 }
28715 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28717 if (!SWIG_IsOK(res2)) {
28718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28719 }
28720 arg2 = reinterpret_cast< wxWindow * >(argp2);
28721 if (obj2) {
28722 {
28723 arg3 = &temp3;
28724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28725 }
28726 }
28727 if (obj3) {
28728 {
28729 arg4 = &temp4;
28730 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28731 }
28732 }
28733 if (obj4) {
28734 ecode5 = SWIG_AsVal_long(obj4, &val5);
28735 if (!SWIG_IsOK(ecode5)) {
28736 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28737 }
28738 arg5 = static_cast< long >(val5);
28739 }
28740 if (obj5) {
28741 {
28742 arg6 = wxString_in_helper(obj5);
28743 if (arg6 == NULL) SWIG_fail;
28744 temp6 = true;
28745 }
28746 }
28747 {
28748 if (!wxPyCheckForApp()) SWIG_fail;
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28755 {
28756 if (temp6)
28757 delete arg6;
28758 }
28759 return resultobj;
28760 fail:
28761 {
28762 if (temp6)
28763 delete arg6;
28764 }
28765 return NULL;
28766 }
28767
28768
28769 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770 PyObject *obj;
28771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28772 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28773 return SWIG_Py_Void();
28774 }
28775
28776 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28777 return SWIG_Python_InitShadowInstance(args);
28778 }
28779
28780 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28781 PyObject *resultobj = 0;
28782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28783 wxFrame *arg2 = (wxFrame *) 0 ;
28784 wxString *arg3 = 0 ;
28785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28787 wxSize const &arg5_defvalue = wxDefaultSize ;
28788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28789 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28790 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28791 wxString *arg7 = (wxString *) &arg7_defvalue ;
28792 wxPreviewFrame *result = 0 ;
28793 int res1 = 0 ;
28794 void *argp2 = 0 ;
28795 int res2 = 0 ;
28796 bool temp3 = false ;
28797 wxPoint temp4 ;
28798 wxSize temp5 ;
28799 long val6 ;
28800 int ecode6 = 0 ;
28801 bool temp7 = false ;
28802 PyObject * obj0 = 0 ;
28803 PyObject * obj1 = 0 ;
28804 PyObject * obj2 = 0 ;
28805 PyObject * obj3 = 0 ;
28806 PyObject * obj4 = 0 ;
28807 PyObject * obj5 = 0 ;
28808 PyObject * obj6 = 0 ;
28809 char * kwnames[] = {
28810 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28811 };
28812
28813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28814 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28815 if (!SWIG_IsOK(res1)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28817 }
28818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28819 if (!SWIG_IsOK(res2)) {
28820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28821 }
28822 arg2 = reinterpret_cast< wxFrame * >(argp2);
28823 {
28824 arg3 = wxString_in_helper(obj2);
28825 if (arg3 == NULL) SWIG_fail;
28826 temp3 = true;
28827 }
28828 if (obj3) {
28829 {
28830 arg4 = &temp4;
28831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28832 }
28833 }
28834 if (obj4) {
28835 {
28836 arg5 = &temp5;
28837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28838 }
28839 }
28840 if (obj5) {
28841 ecode6 = SWIG_AsVal_long(obj5, &val6);
28842 if (!SWIG_IsOK(ecode6)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28844 }
28845 arg6 = static_cast< long >(val6);
28846 }
28847 if (obj6) {
28848 {
28849 arg7 = wxString_in_helper(obj6);
28850 if (arg7 == NULL) SWIG_fail;
28851 temp7 = true;
28852 }
28853 }
28854 {
28855 if (!wxPyCheckForApp()) SWIG_fail;
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
28857 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28858 wxPyEndAllowThreads(__tstate);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 }
28861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28862 {
28863 if (temp3)
28864 delete arg3;
28865 }
28866 {
28867 if (temp7)
28868 delete arg7;
28869 }
28870 return resultobj;
28871 fail:
28872 {
28873 if (temp3)
28874 delete arg3;
28875 }
28876 {
28877 if (temp7)
28878 delete arg7;
28879 }
28880 return NULL;
28881 }
28882
28883
28884 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28885 PyObject *resultobj = 0;
28886 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28887 void *argp1 = 0 ;
28888 int res1 = 0 ;
28889 PyObject *swig_obj[1] ;
28890
28891 if (!args) SWIG_fail;
28892 swig_obj[0] = args;
28893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28894 if (!SWIG_IsOK(res1)) {
28895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28896 }
28897 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28898 {
28899 PyThreadState* __tstate = wxPyBeginAllowThreads();
28900 (arg1)->Initialize();
28901 wxPyEndAllowThreads(__tstate);
28902 if (PyErr_Occurred()) SWIG_fail;
28903 }
28904 resultobj = SWIG_Py_Void();
28905 return resultobj;
28906 fail:
28907 return NULL;
28908 }
28909
28910
28911 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28912 PyObject *resultobj = 0;
28913 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28914 void *argp1 = 0 ;
28915 int res1 = 0 ;
28916 PyObject *swig_obj[1] ;
28917
28918 if (!args) SWIG_fail;
28919 swig_obj[0] = args;
28920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28921 if (!SWIG_IsOK(res1)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28923 }
28924 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 (arg1)->CreateControlBar();
28928 wxPyEndAllowThreads(__tstate);
28929 if (PyErr_Occurred()) SWIG_fail;
28930 }
28931 resultobj = SWIG_Py_Void();
28932 return resultobj;
28933 fail:
28934 return NULL;
28935 }
28936
28937
28938 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28939 PyObject *resultobj = 0;
28940 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28941 void *argp1 = 0 ;
28942 int res1 = 0 ;
28943 PyObject *swig_obj[1] ;
28944
28945 if (!args) SWIG_fail;
28946 swig_obj[0] = args;
28947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28948 if (!SWIG_IsOK(res1)) {
28949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28950 }
28951 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 (arg1)->CreateCanvas();
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 resultobj = SWIG_Py_Void();
28959 return resultobj;
28960 fail:
28961 return NULL;
28962 }
28963
28964
28965 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28966 PyObject *resultobj = 0;
28967 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28968 wxPreviewControlBar *result = 0 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 PyObject *swig_obj[1] ;
28972
28973 if (!args) SWIG_fail;
28974 swig_obj[0] = args;
28975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28976 if (!SWIG_IsOK(res1)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28978 }
28979 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28987 return resultobj;
28988 fail:
28989 return NULL;
28990 }
28991
28992
28993 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28994 PyObject *obj;
28995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28996 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28997 return SWIG_Py_Void();
28998 }
28999
29000 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29001 return SWIG_Python_InitShadowInstance(args);
29002 }
29003
29004 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29005 PyObject *resultobj = 0;
29006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29007 long arg2 ;
29008 wxWindow *arg3 = (wxWindow *) 0 ;
29009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29011 wxSize const &arg5_defvalue = wxDefaultSize ;
29012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29013 long arg6 = (long) wxTAB_TRAVERSAL ;
29014 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29015 wxString *arg7 = (wxString *) &arg7_defvalue ;
29016 wxPreviewControlBar *result = 0 ;
29017 void *argp1 = 0 ;
29018 int res1 = 0 ;
29019 long val2 ;
29020 int ecode2 = 0 ;
29021 void *argp3 = 0 ;
29022 int res3 = 0 ;
29023 wxPoint temp4 ;
29024 wxSize temp5 ;
29025 long val6 ;
29026 int ecode6 = 0 ;
29027 bool temp7 = false ;
29028 PyObject * obj0 = 0 ;
29029 PyObject * obj1 = 0 ;
29030 PyObject * obj2 = 0 ;
29031 PyObject * obj3 = 0 ;
29032 PyObject * obj4 = 0 ;
29033 PyObject * obj5 = 0 ;
29034 PyObject * obj6 = 0 ;
29035 char * kwnames[] = {
29036 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29037 };
29038
29039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29041 if (!SWIG_IsOK(res1)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29043 }
29044 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29045 ecode2 = SWIG_AsVal_long(obj1, &val2);
29046 if (!SWIG_IsOK(ecode2)) {
29047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29048 }
29049 arg2 = static_cast< long >(val2);
29050 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29051 if (!SWIG_IsOK(res3)) {
29052 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29053 }
29054 arg3 = reinterpret_cast< wxWindow * >(argp3);
29055 if (obj3) {
29056 {
29057 arg4 = &temp4;
29058 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29059 }
29060 }
29061 if (obj4) {
29062 {
29063 arg5 = &temp5;
29064 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29065 }
29066 }
29067 if (obj5) {
29068 ecode6 = SWIG_AsVal_long(obj5, &val6);
29069 if (!SWIG_IsOK(ecode6)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29071 }
29072 arg6 = static_cast< long >(val6);
29073 }
29074 if (obj6) {
29075 {
29076 arg7 = wxString_in_helper(obj6);
29077 if (arg7 == NULL) SWIG_fail;
29078 temp7 = true;
29079 }
29080 }
29081 {
29082 if (!wxPyCheckForApp()) SWIG_fail;
29083 PyThreadState* __tstate = wxPyBeginAllowThreads();
29084 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29089 {
29090 if (temp7)
29091 delete arg7;
29092 }
29093 return resultobj;
29094 fail:
29095 {
29096 if (temp7)
29097 delete arg7;
29098 }
29099 return NULL;
29100 }
29101
29102
29103 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29104 PyObject *resultobj = 0;
29105 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29106 int result;
29107 void *argp1 = 0 ;
29108 int res1 = 0 ;
29109 PyObject *swig_obj[1] ;
29110
29111 if (!args) SWIG_fail;
29112 swig_obj[0] = args;
29113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29114 if (!SWIG_IsOK(res1)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29116 }
29117 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29118 {
29119 PyThreadState* __tstate = wxPyBeginAllowThreads();
29120 result = (int)(arg1)->GetZoomControl();
29121 wxPyEndAllowThreads(__tstate);
29122 if (PyErr_Occurred()) SWIG_fail;
29123 }
29124 resultobj = SWIG_From_int(static_cast< int >(result));
29125 return resultobj;
29126 fail:
29127 return NULL;
29128 }
29129
29130
29131 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29132 PyObject *resultobj = 0;
29133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29134 int arg2 ;
29135 void *argp1 = 0 ;
29136 int res1 = 0 ;
29137 int val2 ;
29138 int ecode2 = 0 ;
29139 PyObject * obj0 = 0 ;
29140 PyObject * obj1 = 0 ;
29141 char * kwnames[] = {
29142 (char *) "self",(char *) "zoom", NULL
29143 };
29144
29145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29147 if (!SWIG_IsOK(res1)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29149 }
29150 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29151 ecode2 = SWIG_AsVal_int(obj1, &val2);
29152 if (!SWIG_IsOK(ecode2)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29154 }
29155 arg2 = static_cast< int >(val2);
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 (arg1)->SetZoomControl(arg2);
29159 wxPyEndAllowThreads(__tstate);
29160 if (PyErr_Occurred()) SWIG_fail;
29161 }
29162 resultobj = SWIG_Py_Void();
29163 return resultobj;
29164 fail:
29165 return NULL;
29166 }
29167
29168
29169 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29170 PyObject *resultobj = 0;
29171 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29172 wxPrintPreview *result = 0 ;
29173 void *argp1 = 0 ;
29174 int res1 = 0 ;
29175 PyObject *swig_obj[1] ;
29176
29177 if (!args) SWIG_fail;
29178 swig_obj[0] = args;
29179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29180 if (!SWIG_IsOK(res1)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29182 }
29183 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29184 {
29185 PyThreadState* __tstate = wxPyBeginAllowThreads();
29186 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29187 wxPyEndAllowThreads(__tstate);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 }
29190 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29191 return resultobj;
29192 fail:
29193 return NULL;
29194 }
29195
29196
29197 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29198 PyObject *resultobj = 0;
29199 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29200 void *argp1 = 0 ;
29201 int res1 = 0 ;
29202 PyObject *swig_obj[1] ;
29203
29204 if (!args) SWIG_fail;
29205 swig_obj[0] = args;
29206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29207 if (!SWIG_IsOK(res1)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29209 }
29210 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29211 {
29212 PyThreadState* __tstate = wxPyBeginAllowThreads();
29213 (arg1)->OnNext();
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
29217 resultobj = SWIG_Py_Void();
29218 return resultobj;
29219 fail:
29220 return NULL;
29221 }
29222
29223
29224 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29225 PyObject *resultobj = 0;
29226 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29227 void *argp1 = 0 ;
29228 int res1 = 0 ;
29229 PyObject *swig_obj[1] ;
29230
29231 if (!args) SWIG_fail;
29232 swig_obj[0] = args;
29233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29234 if (!SWIG_IsOK(res1)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29236 }
29237 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 (arg1)->OnPrevious();
29241 wxPyEndAllowThreads(__tstate);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 }
29244 resultobj = SWIG_Py_Void();
29245 return resultobj;
29246 fail:
29247 return NULL;
29248 }
29249
29250
29251 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29252 PyObject *resultobj = 0;
29253 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29254 void *argp1 = 0 ;
29255 int res1 = 0 ;
29256 PyObject *swig_obj[1] ;
29257
29258 if (!args) SWIG_fail;
29259 swig_obj[0] = args;
29260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29263 }
29264 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 (arg1)->OnFirst();
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 resultobj = SWIG_Py_Void();
29272 return resultobj;
29273 fail:
29274 return NULL;
29275 }
29276
29277
29278 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29279 PyObject *resultobj = 0;
29280 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29281 void *argp1 = 0 ;
29282 int res1 = 0 ;
29283 PyObject *swig_obj[1] ;
29284
29285 if (!args) SWIG_fail;
29286 swig_obj[0] = args;
29287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29288 if (!SWIG_IsOK(res1)) {
29289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29290 }
29291 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29292 {
29293 PyThreadState* __tstate = wxPyBeginAllowThreads();
29294 (arg1)->OnLast();
29295 wxPyEndAllowThreads(__tstate);
29296 if (PyErr_Occurred()) SWIG_fail;
29297 }
29298 resultobj = SWIG_Py_Void();
29299 return resultobj;
29300 fail:
29301 return NULL;
29302 }
29303
29304
29305 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29306 PyObject *resultobj = 0;
29307 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29308 void *argp1 = 0 ;
29309 int res1 = 0 ;
29310 PyObject *swig_obj[1] ;
29311
29312 if (!args) SWIG_fail;
29313 swig_obj[0] = args;
29314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29315 if (!SWIG_IsOK(res1)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29317 }
29318 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 (arg1)->OnGoto();
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 resultobj = SWIG_Py_Void();
29326 return resultobj;
29327 fail:
29328 return NULL;
29329 }
29330
29331
29332 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29333 PyObject *obj;
29334 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29336 return SWIG_Py_Void();
29337 }
29338
29339 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29340 return SWIG_Python_InitShadowInstance(args);
29341 }
29342
29343 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29344 PyObject *resultobj = 0;
29345 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29346 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29347 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29348 wxPrintPreview *result = 0 ;
29349 int res1 = 0 ;
29350 int res2 = 0 ;
29351 void *argp3 = 0 ;
29352 int res3 = 0 ;
29353
29354 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29355 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29356 if (!SWIG_IsOK(res1)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29358 }
29359 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29360 if (!SWIG_IsOK(res2)) {
29361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29362 }
29363 if (swig_obj[2]) {
29364 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29365 if (!SWIG_IsOK(res3)) {
29366 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29367 }
29368 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29369 }
29370 {
29371 if (!wxPyCheckForApp()) SWIG_fail;
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29374 wxPyEndAllowThreads(__tstate);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
29377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29378 return resultobj;
29379 fail:
29380 return NULL;
29381 }
29382
29383
29384 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29385 PyObject *resultobj = 0;
29386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29387 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29388 wxPrintData *arg3 = (wxPrintData *) 0 ;
29389 wxPrintPreview *result = 0 ;
29390 int res1 = 0 ;
29391 int res2 = 0 ;
29392 void *argp3 = 0 ;
29393 int res3 = 0 ;
29394
29395 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29396 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29397 if (!SWIG_IsOK(res1)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29399 }
29400 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29401 if (!SWIG_IsOK(res2)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29403 }
29404 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29405 if (!SWIG_IsOK(res3)) {
29406 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29407 }
29408 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29409 {
29410 if (!wxPyCheckForApp()) SWIG_fail;
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
29416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29417 return resultobj;
29418 fail:
29419 return NULL;
29420 }
29421
29422
29423 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29424 int argc;
29425 PyObject *argv[4];
29426
29427 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29428 --argc;
29429 if ((argc >= 2) && (argc <= 3)) {
29430 int _v = 0;
29431 if (argc > 2) {
29432 {
29433 void *vptr = 0;
29434 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29435 _v = SWIG_CheckState(res);
29436 }
29437 if (!_v) goto check_1;
29438 }
29439 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29440 }
29441 check_1:
29442
29443 if (argc == 3) {
29444 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29445 }
29446
29447 fail:
29448 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29449 return NULL;
29450 }
29451
29452
29453 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29454 PyObject *resultobj = 0;
29455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29456 void *argp1 = 0 ;
29457 int res1 = 0 ;
29458 PyObject *swig_obj[1] ;
29459
29460 if (!args) SWIG_fail;
29461 swig_obj[0] = args;
29462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29463 if (!SWIG_IsOK(res1)) {
29464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29465 }
29466 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29467 {
29468 PyThreadState* __tstate = wxPyBeginAllowThreads();
29469 delete arg1;
29470
29471 wxPyEndAllowThreads(__tstate);
29472 if (PyErr_Occurred()) SWIG_fail;
29473 }
29474 resultobj = SWIG_Py_Void();
29475 return resultobj;
29476 fail:
29477 return NULL;
29478 }
29479
29480
29481 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29482 PyObject *resultobj = 0;
29483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29484 int arg2 ;
29485 bool result;
29486 void *argp1 = 0 ;
29487 int res1 = 0 ;
29488 int val2 ;
29489 int ecode2 = 0 ;
29490 PyObject * obj0 = 0 ;
29491 PyObject * obj1 = 0 ;
29492 char * kwnames[] = {
29493 (char *) "self",(char *) "pageNum", NULL
29494 };
29495
29496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29498 if (!SWIG_IsOK(res1)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29500 }
29501 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29502 ecode2 = SWIG_AsVal_int(obj1, &val2);
29503 if (!SWIG_IsOK(ecode2)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29505 }
29506 arg2 = static_cast< int >(val2);
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
29509 result = (bool)(arg1)->SetCurrentPage(arg2);
29510 wxPyEndAllowThreads(__tstate);
29511 if (PyErr_Occurred()) SWIG_fail;
29512 }
29513 {
29514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29515 }
29516 return resultobj;
29517 fail:
29518 return NULL;
29519 }
29520
29521
29522 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29523 PyObject *resultobj = 0;
29524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29525 int result;
29526 void *argp1 = 0 ;
29527 int res1 = 0 ;
29528 PyObject *swig_obj[1] ;
29529
29530 if (!args) SWIG_fail;
29531 swig_obj[0] = args;
29532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29533 if (!SWIG_IsOK(res1)) {
29534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29535 }
29536 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29537 {
29538 PyThreadState* __tstate = wxPyBeginAllowThreads();
29539 result = (int)(arg1)->GetCurrentPage();
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 resultobj = SWIG_From_int(static_cast< int >(result));
29544 return resultobj;
29545 fail:
29546 return NULL;
29547 }
29548
29549
29550 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29551 PyObject *resultobj = 0;
29552 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29553 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29554 void *argp1 = 0 ;
29555 int res1 = 0 ;
29556 int res2 = 0 ;
29557 PyObject * obj0 = 0 ;
29558 PyObject * obj1 = 0 ;
29559 char * kwnames[] = {
29560 (char *) "self",(char *) "printout", NULL
29561 };
29562
29563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29565 if (!SWIG_IsOK(res1)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29567 }
29568 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29569 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29570 if (!SWIG_IsOK(res2)) {
29571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29572 }
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 (arg1)->SetPrintout(arg2);
29576 wxPyEndAllowThreads(__tstate);
29577 if (PyErr_Occurred()) SWIG_fail;
29578 }
29579 resultobj = SWIG_Py_Void();
29580 return resultobj;
29581 fail:
29582 return NULL;
29583 }
29584
29585
29586 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29587 PyObject *resultobj = 0;
29588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29589 wxPyPrintout *result = 0 ;
29590 void *argp1 = 0 ;
29591 int res1 = 0 ;
29592 PyObject *swig_obj[1] ;
29593
29594 if (!args) SWIG_fail;
29595 swig_obj[0] = args;
29596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29597 if (!SWIG_IsOK(res1)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29599 }
29600 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = (wxPyPrintout *)(arg1)->GetPrintout();
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 {
29608 resultobj = wxPyMake_wxObject(result, 0);
29609 }
29610 return resultobj;
29611 fail:
29612 return NULL;
29613 }
29614
29615
29616 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29617 PyObject *resultobj = 0;
29618 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29619 wxPyPrintout *result = 0 ;
29620 void *argp1 = 0 ;
29621 int res1 = 0 ;
29622 PyObject *swig_obj[1] ;
29623
29624 if (!args) SWIG_fail;
29625 swig_obj[0] = args;
29626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29627 if (!SWIG_IsOK(res1)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 }
29630 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29634 wxPyEndAllowThreads(__tstate);
29635 if (PyErr_Occurred()) SWIG_fail;
29636 }
29637 {
29638 resultobj = wxPyMake_wxObject(result, 0);
29639 }
29640 return resultobj;
29641 fail:
29642 return NULL;
29643 }
29644
29645
29646 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29647 PyObject *resultobj = 0;
29648 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29649 wxFrame *arg2 = (wxFrame *) 0 ;
29650 void *argp1 = 0 ;
29651 int res1 = 0 ;
29652 void *argp2 = 0 ;
29653 int res2 = 0 ;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 char * kwnames[] = {
29657 (char *) "self",(char *) "frame", NULL
29658 };
29659
29660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29662 if (!SWIG_IsOK(res1)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29664 }
29665 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29667 if (!SWIG_IsOK(res2)) {
29668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29669 }
29670 arg2 = reinterpret_cast< wxFrame * >(argp2);
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 (arg1)->SetFrame(arg2);
29674 wxPyEndAllowThreads(__tstate);
29675 if (PyErr_Occurred()) SWIG_fail;
29676 }
29677 resultobj = SWIG_Py_Void();
29678 return resultobj;
29679 fail:
29680 return NULL;
29681 }
29682
29683
29684 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29685 PyObject *resultobj = 0;
29686 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29687 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29688 void *argp1 = 0 ;
29689 int res1 = 0 ;
29690 void *argp2 = 0 ;
29691 int res2 = 0 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 char * kwnames[] = {
29695 (char *) "self",(char *) "canvas", NULL
29696 };
29697
29698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29700 if (!SWIG_IsOK(res1)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29702 }
29703 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29705 if (!SWIG_IsOK(res2)) {
29706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29707 }
29708 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 (arg1)->SetCanvas(arg2);
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 resultobj = SWIG_Py_Void();
29716 return resultobj;
29717 fail:
29718 return NULL;
29719 }
29720
29721
29722 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29723 PyObject *resultobj = 0;
29724 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29725 wxFrame *result = 0 ;
29726 void *argp1 = 0 ;
29727 int res1 = 0 ;
29728 PyObject *swig_obj[1] ;
29729
29730 if (!args) SWIG_fail;
29731 swig_obj[0] = args;
29732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29733 if (!SWIG_IsOK(res1)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29735 }
29736 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29737 {
29738 PyThreadState* __tstate = wxPyBeginAllowThreads();
29739 result = (wxFrame *)(arg1)->GetFrame();
29740 wxPyEndAllowThreads(__tstate);
29741 if (PyErr_Occurred()) SWIG_fail;
29742 }
29743 {
29744 resultobj = wxPyMake_wxObject(result, 0);
29745 }
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29753 PyObject *resultobj = 0;
29754 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29755 wxPreviewCanvas *result = 0 ;
29756 void *argp1 = 0 ;
29757 int res1 = 0 ;
29758 PyObject *swig_obj[1] ;
29759
29760 if (!args) SWIG_fail;
29761 swig_obj[0] = args;
29762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29763 if (!SWIG_IsOK(res1)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29765 }
29766 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29770 wxPyEndAllowThreads(__tstate);
29771 if (PyErr_Occurred()) SWIG_fail;
29772 }
29773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29774 return resultobj;
29775 fail:
29776 return NULL;
29777 }
29778
29779
29780 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29781 PyObject *resultobj = 0;
29782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29783 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29784 wxDC *arg3 = 0 ;
29785 bool result;
29786 void *argp1 = 0 ;
29787 int res1 = 0 ;
29788 void *argp2 = 0 ;
29789 int res2 = 0 ;
29790 void *argp3 = 0 ;
29791 int res3 = 0 ;
29792 PyObject * obj0 = 0 ;
29793 PyObject * obj1 = 0 ;
29794 PyObject * obj2 = 0 ;
29795 char * kwnames[] = {
29796 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29797 };
29798
29799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29801 if (!SWIG_IsOK(res1)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29803 }
29804 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29806 if (!SWIG_IsOK(res2)) {
29807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29808 }
29809 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29810 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29811 if (!SWIG_IsOK(res3)) {
29812 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29813 }
29814 if (!argp3) {
29815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29816 }
29817 arg3 = reinterpret_cast< wxDC * >(argp3);
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29821 wxPyEndAllowThreads(__tstate);
29822 if (PyErr_Occurred()) SWIG_fail;
29823 }
29824 {
29825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29826 }
29827 return resultobj;
29828 fail:
29829 return NULL;
29830 }
29831
29832
29833 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29834 PyObject *resultobj = 0;
29835 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29836 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29837 wxDC *arg3 = 0 ;
29838 bool result;
29839 void *argp1 = 0 ;
29840 int res1 = 0 ;
29841 void *argp2 = 0 ;
29842 int res2 = 0 ;
29843 void *argp3 = 0 ;
29844 int res3 = 0 ;
29845 PyObject * obj0 = 0 ;
29846 PyObject * obj1 = 0 ;
29847 PyObject * obj2 = 0 ;
29848 char * kwnames[] = {
29849 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29850 };
29851
29852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29854 if (!SWIG_IsOK(res1)) {
29855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29856 }
29857 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29859 if (!SWIG_IsOK(res2)) {
29860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29861 }
29862 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29863 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29864 if (!SWIG_IsOK(res3)) {
29865 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29866 }
29867 if (!argp3) {
29868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29869 }
29870 arg3 = reinterpret_cast< wxDC * >(argp3);
29871 {
29872 PyThreadState* __tstate = wxPyBeginAllowThreads();
29873 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29874 wxPyEndAllowThreads(__tstate);
29875 if (PyErr_Occurred()) SWIG_fail;
29876 }
29877 {
29878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29879 }
29880 return resultobj;
29881 fail:
29882 return NULL;
29883 }
29884
29885
29886 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29887 PyObject *resultobj = 0;
29888 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29889 int arg2 ;
29890 bool result;
29891 void *argp1 = 0 ;
29892 int res1 = 0 ;
29893 int val2 ;
29894 int ecode2 = 0 ;
29895 PyObject * obj0 = 0 ;
29896 PyObject * obj1 = 0 ;
29897 char * kwnames[] = {
29898 (char *) "self",(char *) "pageNum", NULL
29899 };
29900
29901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29903 if (!SWIG_IsOK(res1)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29905 }
29906 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29907 ecode2 = SWIG_AsVal_int(obj1, &val2);
29908 if (!SWIG_IsOK(ecode2)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29910 }
29911 arg2 = static_cast< int >(val2);
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (bool)(arg1)->RenderPage(arg2);
29915 wxPyEndAllowThreads(__tstate);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 {
29919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29920 }
29921 return resultobj;
29922 fail:
29923 return NULL;
29924 }
29925
29926
29927 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29928 PyObject *resultobj = 0;
29929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29930 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29931 void *argp1 = 0 ;
29932 int res1 = 0 ;
29933 void *argp2 = 0 ;
29934 int res2 = 0 ;
29935 PyObject * obj0 = 0 ;
29936 PyObject * obj1 = 0 ;
29937 char * kwnames[] = {
29938 (char *) "self",(char *) "canvas", NULL
29939 };
29940
29941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29943 if (!SWIG_IsOK(res1)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29945 }
29946 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29948 if (!SWIG_IsOK(res2)) {
29949 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29950 }
29951 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29952 {
29953 PyThreadState* __tstate = wxPyBeginAllowThreads();
29954 (arg1)->AdjustScrollbars(arg2);
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 resultobj = SWIG_Py_Void();
29959 return resultobj;
29960 fail:
29961 return NULL;
29962 }
29963
29964
29965 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29966 PyObject *resultobj = 0;
29967 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29968 wxPrintDialogData *result = 0 ;
29969 void *argp1 = 0 ;
29970 int res1 = 0 ;
29971 PyObject *swig_obj[1] ;
29972
29973 if (!args) SWIG_fail;
29974 swig_obj[0] = args;
29975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29976 if (!SWIG_IsOK(res1)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29978 }
29979 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29980 {
29981 PyThreadState* __tstate = wxPyBeginAllowThreads();
29982 {
29983 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29984 result = (wxPrintDialogData *) &_result_ref;
29985 }
29986 wxPyEndAllowThreads(__tstate);
29987 if (PyErr_Occurred()) SWIG_fail;
29988 }
29989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29990 return resultobj;
29991 fail:
29992 return NULL;
29993 }
29994
29995
29996 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj = 0;
29998 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29999 int arg2 ;
30000 void *argp1 = 0 ;
30001 int res1 = 0 ;
30002 int val2 ;
30003 int ecode2 = 0 ;
30004 PyObject * obj0 = 0 ;
30005 PyObject * obj1 = 0 ;
30006 char * kwnames[] = {
30007 (char *) "self",(char *) "percent", NULL
30008 };
30009
30010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30012 if (!SWIG_IsOK(res1)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 }
30015 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30016 ecode2 = SWIG_AsVal_int(obj1, &val2);
30017 if (!SWIG_IsOK(ecode2)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30019 }
30020 arg2 = static_cast< int >(val2);
30021 {
30022 PyThreadState* __tstate = wxPyBeginAllowThreads();
30023 (arg1)->SetZoom(arg2);
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 resultobj = SWIG_Py_Void();
30028 return resultobj;
30029 fail:
30030 return NULL;
30031 }
30032
30033
30034 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30035 PyObject *resultobj = 0;
30036 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30037 int result;
30038 void *argp1 = 0 ;
30039 int res1 = 0 ;
30040 PyObject *swig_obj[1] ;
30041
30042 if (!args) SWIG_fail;
30043 swig_obj[0] = args;
30044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30045 if (!SWIG_IsOK(res1)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 }
30048 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 result = (int)(arg1)->GetZoom();
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 resultobj = SWIG_From_int(static_cast< int >(result));
30056 return resultobj;
30057 fail:
30058 return NULL;
30059 }
30060
30061
30062 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30063 PyObject *resultobj = 0;
30064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30065 int result;
30066 void *argp1 = 0 ;
30067 int res1 = 0 ;
30068 PyObject *swig_obj[1] ;
30069
30070 if (!args) SWIG_fail;
30071 swig_obj[0] = args;
30072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30073 if (!SWIG_IsOK(res1)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30075 }
30076 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30077 {
30078 PyThreadState* __tstate = wxPyBeginAllowThreads();
30079 result = (int)(arg1)->GetMaxPage();
30080 wxPyEndAllowThreads(__tstate);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 }
30083 resultobj = SWIG_From_int(static_cast< int >(result));
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30091 PyObject *resultobj = 0;
30092 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30093 int result;
30094 void *argp1 = 0 ;
30095 int res1 = 0 ;
30096 PyObject *swig_obj[1] ;
30097
30098 if (!args) SWIG_fail;
30099 swig_obj[0] = args;
30100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30101 if (!SWIG_IsOK(res1)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30103 }
30104 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30105 {
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 result = (int)(arg1)->GetMinPage();
30108 wxPyEndAllowThreads(__tstate);
30109 if (PyErr_Occurred()) SWIG_fail;
30110 }
30111 resultobj = SWIG_From_int(static_cast< int >(result));
30112 return resultobj;
30113 fail:
30114 return NULL;
30115 }
30116
30117
30118 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30119 PyObject *resultobj = 0;
30120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30121 bool result;
30122 void *argp1 = 0 ;
30123 int res1 = 0 ;
30124 PyObject *swig_obj[1] ;
30125
30126 if (!args) SWIG_fail;
30127 swig_obj[0] = args;
30128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30129 if (!SWIG_IsOK(res1)) {
30130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30131 }
30132 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30133 {
30134 PyThreadState* __tstate = wxPyBeginAllowThreads();
30135 result = (bool)(arg1)->Ok();
30136 wxPyEndAllowThreads(__tstate);
30137 if (PyErr_Occurred()) SWIG_fail;
30138 }
30139 {
30140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30141 }
30142 return resultobj;
30143 fail:
30144 return NULL;
30145 }
30146
30147
30148 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30149 PyObject *resultobj = 0;
30150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30151 bool arg2 ;
30152 void *argp1 = 0 ;
30153 int res1 = 0 ;
30154 bool val2 ;
30155 int ecode2 = 0 ;
30156 PyObject * obj0 = 0 ;
30157 PyObject * obj1 = 0 ;
30158 char * kwnames[] = {
30159 (char *) "self",(char *) "ok", NULL
30160 };
30161
30162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30164 if (!SWIG_IsOK(res1)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30166 }
30167 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30168 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30169 if (!SWIG_IsOK(ecode2)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30171 }
30172 arg2 = static_cast< bool >(val2);
30173 {
30174 PyThreadState* __tstate = wxPyBeginAllowThreads();
30175 (arg1)->SetOk(arg2);
30176 wxPyEndAllowThreads(__tstate);
30177 if (PyErr_Occurred()) SWIG_fail;
30178 }
30179 resultobj = SWIG_Py_Void();
30180 return resultobj;
30181 fail:
30182 return NULL;
30183 }
30184
30185
30186 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30187 PyObject *resultobj = 0;
30188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30189 bool arg2 ;
30190 bool result;
30191 void *argp1 = 0 ;
30192 int res1 = 0 ;
30193 bool val2 ;
30194 int ecode2 = 0 ;
30195 PyObject * obj0 = 0 ;
30196 PyObject * obj1 = 0 ;
30197 char * kwnames[] = {
30198 (char *) "self",(char *) "interactive", NULL
30199 };
30200
30201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30203 if (!SWIG_IsOK(res1)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30205 }
30206 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30207 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30208 if (!SWIG_IsOK(ecode2)) {
30209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30210 }
30211 arg2 = static_cast< bool >(val2);
30212 {
30213 PyThreadState* __tstate = wxPyBeginAllowThreads();
30214 result = (bool)(arg1)->Print(arg2);
30215 wxPyEndAllowThreads(__tstate);
30216 if (PyErr_Occurred()) SWIG_fail;
30217 }
30218 {
30219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30220 }
30221 return resultobj;
30222 fail:
30223 return NULL;
30224 }
30225
30226
30227 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30228 PyObject *resultobj = 0;
30229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30230 void *argp1 = 0 ;
30231 int res1 = 0 ;
30232 PyObject *swig_obj[1] ;
30233
30234 if (!args) SWIG_fail;
30235 swig_obj[0] = args;
30236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30237 if (!SWIG_IsOK(res1)) {
30238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30239 }
30240 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30241 {
30242 PyThreadState* __tstate = wxPyBeginAllowThreads();
30243 (arg1)->DetermineScaling();
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 resultobj = SWIG_Py_Void();
30248 return resultobj;
30249 fail:
30250 return NULL;
30251 }
30252
30253
30254 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30255 PyObject *obj;
30256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30257 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30258 return SWIG_Py_Void();
30259 }
30260
30261 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30262 return SWIG_Python_InitShadowInstance(args);
30263 }
30264
30265 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30266 PyObject *resultobj = 0;
30267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30268 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30269 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30270 wxPyPrintPreview *result = 0 ;
30271 int res1 = 0 ;
30272 int res2 = 0 ;
30273 void *argp3 = 0 ;
30274 int res3 = 0 ;
30275
30276 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30277 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30278 if (!SWIG_IsOK(res1)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30280 }
30281 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30282 if (!SWIG_IsOK(res2)) {
30283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30284 }
30285 if (swig_obj[2]) {
30286 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30287 if (!SWIG_IsOK(res3)) {
30288 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30289 }
30290 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30291 }
30292 {
30293 if (!wxPyCheckForApp()) SWIG_fail;
30294 PyThreadState* __tstate = wxPyBeginAllowThreads();
30295 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30296 wxPyEndAllowThreads(__tstate);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
30299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30300 return resultobj;
30301 fail:
30302 return NULL;
30303 }
30304
30305
30306 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30307 PyObject *resultobj = 0;
30308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30309 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30310 wxPrintData *arg3 = (wxPrintData *) 0 ;
30311 wxPyPrintPreview *result = 0 ;
30312 int res1 = 0 ;
30313 int res2 = 0 ;
30314 void *argp3 = 0 ;
30315 int res3 = 0 ;
30316
30317 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30318 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30319 if (!SWIG_IsOK(res1)) {
30320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30321 }
30322 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30323 if (!SWIG_IsOK(res2)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30325 }
30326 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30327 if (!SWIG_IsOK(res3)) {
30328 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30329 }
30330 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30331 {
30332 if (!wxPyCheckForApp()) SWIG_fail;
30333 PyThreadState* __tstate = wxPyBeginAllowThreads();
30334 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30335 wxPyEndAllowThreads(__tstate);
30336 if (PyErr_Occurred()) SWIG_fail;
30337 }
30338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30339 return resultobj;
30340 fail:
30341 return NULL;
30342 }
30343
30344
30345 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30346 int argc;
30347 PyObject *argv[4];
30348
30349 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30350 --argc;
30351 if ((argc >= 2) && (argc <= 3)) {
30352 int _v = 0;
30353 if (argc > 2) {
30354 {
30355 void *vptr = 0;
30356 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30357 _v = SWIG_CheckState(res);
30358 }
30359 if (!_v) goto check_1;
30360 }
30361 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30362 }
30363 check_1:
30364
30365 if (argc == 3) {
30366 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30367 }
30368
30369 fail:
30370 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30371 return NULL;
30372 }
30373
30374
30375 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30376 PyObject *resultobj = 0;
30377 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30378 PyObject *arg2 = (PyObject *) 0 ;
30379 PyObject *arg3 = (PyObject *) 0 ;
30380 void *argp1 = 0 ;
30381 int res1 = 0 ;
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 PyObject * obj2 = 0 ;
30385 char * kwnames[] = {
30386 (char *) "self",(char *) "self",(char *) "_class", NULL
30387 };
30388
30389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30391 if (!SWIG_IsOK(res1)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30393 }
30394 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30395 arg2 = obj1;
30396 arg3 = obj2;
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->_setCallbackInfo(arg2,arg3);
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 resultobj = SWIG_Py_Void();
30404 return resultobj;
30405 fail:
30406 return NULL;
30407 }
30408
30409
30410 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30411 PyObject *obj;
30412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30414 return SWIG_Py_Void();
30415 }
30416
30417 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30418 return SWIG_Python_InitShadowInstance(args);
30419 }
30420
30421 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30422 PyObject *resultobj = 0;
30423 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30424 wxFrame *arg2 = (wxFrame *) 0 ;
30425 wxString *arg3 = 0 ;
30426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30428 wxSize const &arg5_defvalue = wxDefaultSize ;
30429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30430 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30431 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30432 wxString *arg7 = (wxString *) &arg7_defvalue ;
30433 wxPyPreviewFrame *result = 0 ;
30434 void *argp1 = 0 ;
30435 int res1 = 0 ;
30436 void *argp2 = 0 ;
30437 int res2 = 0 ;
30438 bool temp3 = false ;
30439 wxPoint temp4 ;
30440 wxSize temp5 ;
30441 long val6 ;
30442 int ecode6 = 0 ;
30443 bool temp7 = false ;
30444 PyObject * obj0 = 0 ;
30445 PyObject * obj1 = 0 ;
30446 PyObject * obj2 = 0 ;
30447 PyObject * obj3 = 0 ;
30448 PyObject * obj4 = 0 ;
30449 PyObject * obj5 = 0 ;
30450 PyObject * obj6 = 0 ;
30451 char * kwnames[] = {
30452 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30453 };
30454
30455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30457 if (!SWIG_IsOK(res1)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30459 }
30460 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30462 if (!SWIG_IsOK(res2)) {
30463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30464 }
30465 arg2 = reinterpret_cast< wxFrame * >(argp2);
30466 {
30467 arg3 = wxString_in_helper(obj2);
30468 if (arg3 == NULL) SWIG_fail;
30469 temp3 = true;
30470 }
30471 if (obj3) {
30472 {
30473 arg4 = &temp4;
30474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30475 }
30476 }
30477 if (obj4) {
30478 {
30479 arg5 = &temp5;
30480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30481 }
30482 }
30483 if (obj5) {
30484 ecode6 = SWIG_AsVal_long(obj5, &val6);
30485 if (!SWIG_IsOK(ecode6)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30487 }
30488 arg6 = static_cast< long >(val6);
30489 }
30490 if (obj6) {
30491 {
30492 arg7 = wxString_in_helper(obj6);
30493 if (arg7 == NULL) SWIG_fail;
30494 temp7 = true;
30495 }
30496 }
30497 {
30498 if (!wxPyCheckForApp()) SWIG_fail;
30499 PyThreadState* __tstate = wxPyBeginAllowThreads();
30500 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30505 {
30506 if (temp3)
30507 delete arg3;
30508 }
30509 {
30510 if (temp7)
30511 delete arg7;
30512 }
30513 return resultobj;
30514 fail:
30515 {
30516 if (temp3)
30517 delete arg3;
30518 }
30519 {
30520 if (temp7)
30521 delete arg7;
30522 }
30523 return NULL;
30524 }
30525
30526
30527 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30528 PyObject *resultobj = 0;
30529 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30530 PyObject *arg2 = (PyObject *) 0 ;
30531 PyObject *arg3 = (PyObject *) 0 ;
30532 void *argp1 = 0 ;
30533 int res1 = 0 ;
30534 PyObject * obj0 = 0 ;
30535 PyObject * obj1 = 0 ;
30536 PyObject * obj2 = 0 ;
30537 char * kwnames[] = {
30538 (char *) "self",(char *) "self",(char *) "_class", NULL
30539 };
30540
30541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30543 if (!SWIG_IsOK(res1)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30545 }
30546 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30547 arg2 = obj1;
30548 arg3 = obj2;
30549 {
30550 PyThreadState* __tstate = wxPyBeginAllowThreads();
30551 (arg1)->_setCallbackInfo(arg2,arg3);
30552 wxPyEndAllowThreads(__tstate);
30553 if (PyErr_Occurred()) SWIG_fail;
30554 }
30555 resultobj = SWIG_Py_Void();
30556 return resultobj;
30557 fail:
30558 return NULL;
30559 }
30560
30561
30562 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30563 PyObject *resultobj = 0;
30564 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30565 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30566 void *argp1 = 0 ;
30567 int res1 = 0 ;
30568 void *argp2 = 0 ;
30569 int res2 = 0 ;
30570 PyObject * obj0 = 0 ;
30571 PyObject * obj1 = 0 ;
30572 char * kwnames[] = {
30573 (char *) "self",(char *) "canvas", NULL
30574 };
30575
30576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30578 if (!SWIG_IsOK(res1)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30580 }
30581 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30582 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30583 if (!SWIG_IsOK(res2)) {
30584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30585 }
30586 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30587 {
30588 PyThreadState* __tstate = wxPyBeginAllowThreads();
30589 (arg1)->SetPreviewCanvas(arg2);
30590 wxPyEndAllowThreads(__tstate);
30591 if (PyErr_Occurred()) SWIG_fail;
30592 }
30593 resultobj = SWIG_Py_Void();
30594 return resultobj;
30595 fail:
30596 return NULL;
30597 }
30598
30599
30600 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30601 PyObject *resultobj = 0;
30602 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30603 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30604 void *argp1 = 0 ;
30605 int res1 = 0 ;
30606 void *argp2 = 0 ;
30607 int res2 = 0 ;
30608 PyObject * obj0 = 0 ;
30609 PyObject * obj1 = 0 ;
30610 char * kwnames[] = {
30611 (char *) "self",(char *) "bar", NULL
30612 };
30613
30614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30616 if (!SWIG_IsOK(res1)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30618 }
30619 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30621 if (!SWIG_IsOK(res2)) {
30622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30623 }
30624 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 (arg1)->SetControlBar(arg2);
30628 wxPyEndAllowThreads(__tstate);
30629 if (PyErr_Occurred()) SWIG_fail;
30630 }
30631 resultobj = SWIG_Py_Void();
30632 return resultobj;
30633 fail:
30634 return NULL;
30635 }
30636
30637
30638 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30639 PyObject *resultobj = 0;
30640 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30641 void *argp1 = 0 ;
30642 int res1 = 0 ;
30643 PyObject *swig_obj[1] ;
30644
30645 if (!args) SWIG_fail;
30646 swig_obj[0] = args;
30647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30648 if (!SWIG_IsOK(res1)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30650 }
30651 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 (arg1)->Initialize();
30655 wxPyEndAllowThreads(__tstate);
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 resultobj = SWIG_Py_Void();
30659 return resultobj;
30660 fail:
30661 return NULL;
30662 }
30663
30664
30665 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30666 PyObject *resultobj = 0;
30667 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30668 void *argp1 = 0 ;
30669 int res1 = 0 ;
30670 PyObject *swig_obj[1] ;
30671
30672 if (!args) SWIG_fail;
30673 swig_obj[0] = args;
30674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30675 if (!SWIG_IsOK(res1)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30677 }
30678 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30679 {
30680 PyThreadState* __tstate = wxPyBeginAllowThreads();
30681 (arg1)->CreateCanvas();
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 resultobj = SWIG_Py_Void();
30686 return resultobj;
30687 fail:
30688 return NULL;
30689 }
30690
30691
30692 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30693 PyObject *resultobj = 0;
30694 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30695 void *argp1 = 0 ;
30696 int res1 = 0 ;
30697 PyObject *swig_obj[1] ;
30698
30699 if (!args) SWIG_fail;
30700 swig_obj[0] = args;
30701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30702 if (!SWIG_IsOK(res1)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30704 }
30705 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30706 {
30707 PyThreadState* __tstate = wxPyBeginAllowThreads();
30708 (arg1)->CreateControlBar();
30709 wxPyEndAllowThreads(__tstate);
30710 if (PyErr_Occurred()) SWIG_fail;
30711 }
30712 resultobj = SWIG_Py_Void();
30713 return resultobj;
30714 fail:
30715 return NULL;
30716 }
30717
30718
30719 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30720 PyObject *obj;
30721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30723 return SWIG_Py_Void();
30724 }
30725
30726 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30727 return SWIG_Python_InitShadowInstance(args);
30728 }
30729
30730 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30731 PyObject *resultobj = 0;
30732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30733 long arg2 ;
30734 wxWindow *arg3 = (wxWindow *) 0 ;
30735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30737 wxSize const &arg5_defvalue = wxDefaultSize ;
30738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30739 long arg6 = (long) 0 ;
30740 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30741 wxString *arg7 = (wxString *) &arg7_defvalue ;
30742 wxPyPreviewControlBar *result = 0 ;
30743 void *argp1 = 0 ;
30744 int res1 = 0 ;
30745 long val2 ;
30746 int ecode2 = 0 ;
30747 void *argp3 = 0 ;
30748 int res3 = 0 ;
30749 wxPoint temp4 ;
30750 wxSize temp5 ;
30751 long val6 ;
30752 int ecode6 = 0 ;
30753 bool temp7 = false ;
30754 PyObject * obj0 = 0 ;
30755 PyObject * obj1 = 0 ;
30756 PyObject * obj2 = 0 ;
30757 PyObject * obj3 = 0 ;
30758 PyObject * obj4 = 0 ;
30759 PyObject * obj5 = 0 ;
30760 PyObject * obj6 = 0 ;
30761 char * kwnames[] = {
30762 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30763 };
30764
30765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30767 if (!SWIG_IsOK(res1)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30769 }
30770 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30771 ecode2 = SWIG_AsVal_long(obj1, &val2);
30772 if (!SWIG_IsOK(ecode2)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30774 }
30775 arg2 = static_cast< long >(val2);
30776 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30777 if (!SWIG_IsOK(res3)) {
30778 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30779 }
30780 arg3 = reinterpret_cast< wxWindow * >(argp3);
30781 if (obj3) {
30782 {
30783 arg4 = &temp4;
30784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30785 }
30786 }
30787 if (obj4) {
30788 {
30789 arg5 = &temp5;
30790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30791 }
30792 }
30793 if (obj5) {
30794 ecode6 = SWIG_AsVal_long(obj5, &val6);
30795 if (!SWIG_IsOK(ecode6)) {
30796 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30797 }
30798 arg6 = static_cast< long >(val6);
30799 }
30800 if (obj6) {
30801 {
30802 arg7 = wxString_in_helper(obj6);
30803 if (arg7 == NULL) SWIG_fail;
30804 temp7 = true;
30805 }
30806 }
30807 {
30808 if (!wxPyCheckForApp()) SWIG_fail;
30809 PyThreadState* __tstate = wxPyBeginAllowThreads();
30810 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30811 wxPyEndAllowThreads(__tstate);
30812 if (PyErr_Occurred()) SWIG_fail;
30813 }
30814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30815 {
30816 if (temp7)
30817 delete arg7;
30818 }
30819 return resultobj;
30820 fail:
30821 {
30822 if (temp7)
30823 delete arg7;
30824 }
30825 return NULL;
30826 }
30827
30828
30829 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj = 0;
30831 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30832 PyObject *arg2 = (PyObject *) 0 ;
30833 PyObject *arg3 = (PyObject *) 0 ;
30834 void *argp1 = 0 ;
30835 int res1 = 0 ;
30836 PyObject * obj0 = 0 ;
30837 PyObject * obj1 = 0 ;
30838 PyObject * obj2 = 0 ;
30839 char * kwnames[] = {
30840 (char *) "self",(char *) "self",(char *) "_class", NULL
30841 };
30842
30843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30845 if (!SWIG_IsOK(res1)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30847 }
30848 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30849 arg2 = obj1;
30850 arg3 = obj2;
30851 {
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 (arg1)->_setCallbackInfo(arg2,arg3);
30854 wxPyEndAllowThreads(__tstate);
30855 if (PyErr_Occurred()) SWIG_fail;
30856 }
30857 resultobj = SWIG_Py_Void();
30858 return resultobj;
30859 fail:
30860 return NULL;
30861 }
30862
30863
30864 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30865 PyObject *resultobj = 0;
30866 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30867 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30868 void *argp1 = 0 ;
30869 int res1 = 0 ;
30870 void *argp2 = 0 ;
30871 int res2 = 0 ;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 char * kwnames[] = {
30875 (char *) "self",(char *) "preview", NULL
30876 };
30877
30878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30880 if (!SWIG_IsOK(res1)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30882 }
30883 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30885 if (!SWIG_IsOK(res2)) {
30886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30887 }
30888 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30889 {
30890 PyThreadState* __tstate = wxPyBeginAllowThreads();
30891 (arg1)->SetPrintPreview(arg2);
30892 wxPyEndAllowThreads(__tstate);
30893 if (PyErr_Occurred()) SWIG_fail;
30894 }
30895 resultobj = SWIG_Py_Void();
30896 return resultobj;
30897 fail:
30898 return NULL;
30899 }
30900
30901
30902 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30903 PyObject *resultobj = 0;
30904 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30905 void *argp1 = 0 ;
30906 int res1 = 0 ;
30907 PyObject *swig_obj[1] ;
30908
30909 if (!args) SWIG_fail;
30910 swig_obj[0] = args;
30911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30912 if (!SWIG_IsOK(res1)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30914 }
30915 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30916 {
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 (arg1)->CreateButtons();
30919 wxPyEndAllowThreads(__tstate);
30920 if (PyErr_Occurred()) SWIG_fail;
30921 }
30922 resultobj = SWIG_Py_Void();
30923 return resultobj;
30924 fail:
30925 return NULL;
30926 }
30927
30928
30929 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30930 PyObject *resultobj = 0;
30931 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30932 int arg2 ;
30933 void *argp1 = 0 ;
30934 int res1 = 0 ;
30935 int val2 ;
30936 int ecode2 = 0 ;
30937 PyObject * obj0 = 0 ;
30938 PyObject * obj1 = 0 ;
30939 char * kwnames[] = {
30940 (char *) "self",(char *) "zoom", NULL
30941 };
30942
30943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30945 if (!SWIG_IsOK(res1)) {
30946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30947 }
30948 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30949 ecode2 = SWIG_AsVal_int(obj1, &val2);
30950 if (!SWIG_IsOK(ecode2)) {
30951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30952 }
30953 arg2 = static_cast< int >(val2);
30954 {
30955 PyThreadState* __tstate = wxPyBeginAllowThreads();
30956 (arg1)->SetZoomControl(arg2);
30957 wxPyEndAllowThreads(__tstate);
30958 if (PyErr_Occurred()) SWIG_fail;
30959 }
30960 resultobj = SWIG_Py_Void();
30961 return resultobj;
30962 fail:
30963 return NULL;
30964 }
30965
30966
30967 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30968 PyObject *obj;
30969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30971 return SWIG_Py_Void();
30972 }
30973
30974 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30975 return SWIG_Python_InitShadowInstance(args);
30976 }
30977
30978 static PyMethodDef SwigMethods[] = {
30979 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30981 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30983 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30985 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30986 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30988 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30995 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30997 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30999 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31000 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31001 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31002 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31003 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31006 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31009 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31010 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31012 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31014 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31015 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31016 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31017 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31021 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31023 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31026 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31028 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
31032 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31033 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31036 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31037 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31039 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31041 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31043 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31046 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31053 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31055 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31060 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31061 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31063 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31066 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31068 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31070 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31074 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31075 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31078 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31079 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31081 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31083 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31084 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31087 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31088 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31089 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31091 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31092 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31093 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31094 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31095 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31097 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31100 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31109 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31110 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31112 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31113 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31115 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31116 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31117 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31118 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31120 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31126 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31127 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31130 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31131 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31133 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31135 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31137 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31139 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31141 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31143 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31144 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31147 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31148 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31149 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31150 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31151 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31152 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31154 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31162 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31164 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31167 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31168 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31171 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31172 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31174 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31175 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31176 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31179 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31181 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31183 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31184 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31185 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31188 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31190 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31192 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31194 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31196 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31197 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31198 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31201 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31203 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31204 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31205 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31207 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31209 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31210 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31214 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31215 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31216 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31217 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31221 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31222 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31224 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31227 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31228 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31230 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31233 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31234 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31235 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31238 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31239 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31240 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31242 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31251 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31252 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31253 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31254 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31256 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31257 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31260 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31261 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31263 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31266 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31267 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31268 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31271 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31272 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31274 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31275 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31277 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31282 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31283 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31289 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31290 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31292 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31296 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31298 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31299 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31300 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31301 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31303 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31304 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31305 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31307 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31309 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31310 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31312 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31313 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31314 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31315 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31316 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31317 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31322 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31323 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31325 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31326 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31327 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31330 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31331 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31334 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31335 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31343 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31344 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31345 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31346 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31347 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31348 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31349 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31350 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31351 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31352 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31354 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31355 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31356 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31357 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31359 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31360 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31362 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31363 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31365 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31366 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31367 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31368 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31370 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31371 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31372 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31373 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31374 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31375 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31376 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31377 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31379 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31380 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31381 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31382 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31383 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31384 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31391 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31392 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31394 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31395 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31396 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31399 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31400 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31403 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31404 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31405 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31407 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31408 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31409 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31410 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31414 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31415 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31417 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31418 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31419 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31420 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31424 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31425 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31427 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31429 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31431 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31432 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31434 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31436 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31437 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31438 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31439 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31440 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31441 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31442 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31444 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31445 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31447 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31449 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31450 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31451 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31453 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31455 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31456 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31458 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31466 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31467 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31468 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31469 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31470 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31471 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31472 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31473 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31474 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31476 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31484 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31485 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31486 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31487 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31488 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31489 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31490 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31491 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31492 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31494 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31502 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31503 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31504 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31505 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31506 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31507 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31508 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31509 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31510 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31511 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31512 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31513 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31514 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31515 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31516 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31517 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31518 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31519 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31520 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31521 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31522 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31523 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31524 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31536 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31538 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31540 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31541 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31542 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31543 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31549 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31550 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31551 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31552 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31553 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31554 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31555 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31556 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31557 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31558 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31559 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31560 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31561 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31562 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31563 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31573 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31574 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31575 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31576 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31578 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31579 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31580 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31581 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31582 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31583 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31584 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31585 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31586 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31587 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31588 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31589 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31590 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31591 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31592 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31593 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31594 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31608 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31609 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31610 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31611 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31612 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31613 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31615 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31616 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31618 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31619 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31620 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31621 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31622 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31623 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31624 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31626 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31632 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31633 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31634 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31635 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31636 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31638 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31640 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31641 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31644 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31646 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31648 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31650 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31651 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31654 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31655 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31656 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31657 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31659 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31660 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31661 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31663 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31664 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31666 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31667 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31668 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31669 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31670 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31671 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31673 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31675 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31676 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31677 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31678 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31679 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31680 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31681 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31682 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31683 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31684 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31686 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31688 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31689 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31692 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31693 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31698 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31700 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31701 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31702 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31703 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31706 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31707 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31708 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31709 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31711 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31712 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31717 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31718 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31719 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31720 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31721 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31725 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31727 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31728 { NULL, NULL, 0, NULL }
31729 };
31730
31731
31732 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31733
31734 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31735 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31736 }
31737 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31738 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31739 }
31740 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31741 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31742 }
31743 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31744 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31745 }
31746 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31747 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31748 }
31749 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31750 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31751 }
31752 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31753 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31754 }
31755 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31756 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31757 }
31758 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31759 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31760 }
31761 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31763 }
31764 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31765 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31766 }
31767 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31769 }
31770 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31771 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31772 }
31773 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31774 return (void *)((wxEvent *) ((wxPyEvent *) x));
31775 }
31776 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31777 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31778 }
31779 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31780 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31781 }
31782 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31783 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31784 }
31785 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31786 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31787 }
31788 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31789 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31790 }
31791 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31792 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31793 }
31794 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31795 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31796 }
31797 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31798 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31799 }
31800 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31801 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31802 }
31803 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31805 }
31806 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31807 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31808 }
31809 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31810 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31811 }
31812 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31813 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31814 }
31815 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31817 }
31818 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31819 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31820 }
31821 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31822 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31823 }
31824 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31825 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31826 }
31827 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31828 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31829 }
31830 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31831 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31832 }
31833 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31834 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31835 }
31836 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31838 }
31839 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31841 }
31842 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31843 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31844 }
31845 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31846 return (void *)((wxEvent *) ((wxShowEvent *) x));
31847 }
31848 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31849 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31850 }
31851 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31852 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31853 }
31854 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31856 }
31857 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31858 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31859 }
31860 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31861 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31862 }
31863 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31864 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31865 }
31866 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31867 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31868 }
31869 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31870 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31871 }
31872 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31873 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31874 }
31875 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31877 }
31878 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31880 }
31881 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31882 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31883 }
31884 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31885 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31886 }
31887 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31888 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31889 }
31890 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31891 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31892 }
31893 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31894 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31895 }
31896 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31898 }
31899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31901 }
31902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31904 }
31905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31907 }
31908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31910 }
31911 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31913 }
31914 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31916 }
31917 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31919 }
31920 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31922 }
31923 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31925 }
31926 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31927 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31928 }
31929 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31930 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31931 }
31932 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31933 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31934 }
31935 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31936 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31937 }
31938 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31940 }
31941 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31942 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31943 }
31944 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31945 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31946 }
31947 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31949 }
31950 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31951 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31952 }
31953 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31954 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31955 }
31956 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31957 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31958 }
31959 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31961 }
31962 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31963 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31964 }
31965 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31966 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31967 }
31968 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31969 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31970 }
31971 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31972 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31973 }
31974 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31975 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31976 }
31977 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31978 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31979 }
31980 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31981 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31982 }
31983 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31985 }
31986 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31987 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31988 }
31989 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31990 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31991 }
31992 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31993 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31994 }
31995 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31996 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31997 }
31998 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31999 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32000 }
32001 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32002 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32003 }
32004 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32005 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32006 }
32007 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32008 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32009 }
32010 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32012 }
32013 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32015 }
32016 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32018 }
32019 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32021 }
32022 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32024 }
32025 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32026 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32027 }
32028 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32029 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32030 }
32031 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32032 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32033 }
32034 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32035 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32036 }
32037 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32038 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32039 }
32040 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32041 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32042 }
32043 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32044 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32045 }
32046 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32047 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32048 }
32049 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32050 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32051 }
32052 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32053 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32054 }
32055 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32057 }
32058 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32060 }
32061 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32062 return (void *)((wxObject *) ((wxSizerItem *) x));
32063 }
32064 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32065 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32066 }
32067 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32069 }
32070 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32071 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32072 }
32073 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32074 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32075 }
32076 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32077 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32078 }
32079 static void *_p_wxSizerTo_p_wxObject(void *x) {
32080 return (void *)((wxObject *) ((wxSizer *) x));
32081 }
32082 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32083 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32084 }
32085 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32087 }
32088 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32090 }
32091 static void *_p_wxEventTo_p_wxObject(void *x) {
32092 return (void *)((wxObject *) ((wxEvent *) x));
32093 }
32094 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32095 return (void *)((wxObject *) ((wxFontData *) x));
32096 }
32097 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32098 return (void *)((wxObject *) ((wxPrintData *) x));
32099 }
32100 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32101 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32102 }
32103 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32104 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32105 }
32106 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32107 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32108 }
32109 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32110 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32111 }
32112 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32113 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32114 }
32115 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32117 }
32118 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32120 }
32121 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32122 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32123 }
32124 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32125 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32126 }
32127 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32128 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32129 }
32130 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32131 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32132 }
32133 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32134 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32135 }
32136 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32137 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32138 }
32139 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32141 }
32142 static void *_p_wxControlTo_p_wxObject(void *x) {
32143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32144 }
32145 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32146 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32147 }
32148 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32149 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32150 }
32151 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32152 return (void *)((wxObject *) ((wxFSFile *) x));
32153 }
32154 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32155 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32156 }
32157 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32158 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32159 }
32160 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32162 }
32163 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32164 return (void *)((wxObject *) ((wxColourData *) x));
32165 }
32166 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32167 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32168 }
32169 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32170 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32171 }
32172 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32174 }
32175 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32177 }
32178 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32180 }
32181 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32183 }
32184 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32186 }
32187 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32189 }
32190 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32192 }
32193 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32195 }
32196 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32198 }
32199 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32201 }
32202 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32204 }
32205 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32206 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32207 }
32208 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32209 return (void *)((wxObject *) ((wxPrinter *) x));
32210 }
32211 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32212 return (void *)((wxObject *) ((wxMenuItem *) x));
32213 }
32214 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32216 }
32217 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32218 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32219 }
32220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32222 }
32223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32224 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32225 }
32226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32227 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32228 }
32229 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32230 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32231 }
32232 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32233 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32234 }
32235 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32236 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32237 }
32238 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32239 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32240 }
32241 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32242 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32243 }
32244 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32245 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32246 }
32247 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32248 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32249 }
32250 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32251 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32252 }
32253 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32254 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32255 }
32256 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32257 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32258 }
32259 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32260 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32261 }
32262 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32263 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32264 }
32265 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32266 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32267 }
32268 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32269 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32270 }
32271 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32272 return (void *)((wxObject *) ((wxImageHandler *) x));
32273 }
32274 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32275 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32276 }
32277 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32278 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32279 }
32280 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32281 return (void *)((wxObject *) ((wxEvtHandler *) x));
32282 }
32283 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32284 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32285 }
32286 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32287 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32288 }
32289 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32291 }
32292 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32294 }
32295 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32296 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32297 }
32298 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32299 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32300 }
32301 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32303 }
32304 static void *_p_wxImageTo_p_wxObject(void *x) {
32305 return (void *)((wxObject *) ((wxImage *) x));
32306 }
32307 static void *_p_wxFrameTo_p_wxObject(void *x) {
32308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32309 }
32310 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32311 return (void *)((wxObject *) ((wxPyPrintout *) x));
32312 }
32313 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32314 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32315 }
32316 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32317 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32318 }
32319 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32321 }
32322 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32324 }
32325 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32327 }
32328 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32329 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32330 }
32331 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32332 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32333 }
32334 static void *_p_wxWindowTo_p_wxObject(void *x) {
32335 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32336 }
32337 static void *_p_wxMenuTo_p_wxObject(void *x) {
32338 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32339 }
32340 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32342 }
32343 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32345 }
32346 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32348 }
32349 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32351 }
32352 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32354 }
32355 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32357 }
32358 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32360 }
32361 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32363 }
32364 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32366 }
32367 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32369 }
32370 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32372 }
32373 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32375 }
32376 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32378 }
32379 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32381 }
32382 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32383 return (void *)((wxObject *) ((wxPrintPreview *) x));
32384 }
32385 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32386 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32387 }
32388 static void *_p_wxPanelTo_p_wxObject(void *x) {
32389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32390 }
32391 static void *_p_wxDialogTo_p_wxObject(void *x) {
32392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32393 }
32394 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32396 }
32397 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32399 }
32400 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32402 }
32403 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32404 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32405 }
32406 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32407 return (void *)((wxObject *) ((wxPrintDialog *) x));
32408 }
32409 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32410 return (void *)((wxObject *) ((wxFileSystem *) x));
32411 }
32412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32414 }
32415 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32416 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32417 }
32418 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32420 }
32421 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32423 }
32424 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32426 }
32427 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32429 }
32430 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32432 }
32433 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32435 }
32436 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32438 }
32439 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32441 }
32442 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32444 }
32445 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32447 }
32448 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32450 }
32451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32453 }
32454 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32455 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32456 }
32457 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32458 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32459 }
32460 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32461 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32462 }
32463 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32464 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32465 }
32466 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32467 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32468 }
32469 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32470 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32471 }
32472 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32473 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32474 }
32475 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32476 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32477 }
32478 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32479 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32480 }
32481 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32482 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32483 }
32484 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32485 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32486 }
32487 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32488 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32489 }
32490 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32491 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32492 }
32493 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32495 }
32496 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32498 }
32499 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32500 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32501 }
32502 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32503 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32504 }
32505 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32506 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32507 }
32508 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32509 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32510 }
32511 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32513 }
32514 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32515 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32516 }
32517 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32518 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32519 }
32520 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32521 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32522 }
32523 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32524 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32525 }
32526 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32527 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32528 }
32529 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32530 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32531 }
32532 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32533 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32534 }
32535 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32536 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32537 }
32538 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32539 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32540 }
32541 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32542 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32543 }
32544 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32546 }
32547 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32549 }
32550 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32551 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32552 }
32553 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32554 return (void *)((wxWindow *) ((wxMenuBar *) x));
32555 }
32556 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32558 }
32559 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32561 }
32562 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32564 }
32565 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32567 }
32568 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32570 }
32571 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32573 }
32574 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32575 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32576 }
32577 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32578 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32579 }
32580 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32581 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32582 }
32583 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32584 return (void *)((wxWindow *) ((wxPanel *) x));
32585 }
32586 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32587 return (void *)((wxWindow *) ((wxStatusBar *) x));
32588 }
32589 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32590 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32591 }
32592 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32593 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32594 }
32595 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32596 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32597 }
32598 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32599 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32600 }
32601 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32602 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32603 }
32604 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32605 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32606 }
32607 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32608 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32609 }
32610 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32611 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32612 }
32613 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32614 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32615 }
32616 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32617 return (void *)((wxWindow *) ((wxSashWindow *) x));
32618 }
32619 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32620 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32621 }
32622 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32623 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32624 }
32625 static void *_p_wxControlTo_p_wxWindow(void *x) {
32626 return (void *)((wxWindow *) ((wxControl *) x));
32627 }
32628 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32630 }
32631 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32633 }
32634 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32636 }
32637 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32638 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32639 }
32640 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32641 return (void *)((wxWindow *) ((wxPyWindow *) x));
32642 }
32643 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32644 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32645 }
32646 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32647 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32648 }
32649 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32650 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32651 }
32652 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32653 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32654 }
32655 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32656 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32657 }
32658 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32659 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32660 }
32661 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32662 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32663 }
32664 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32666 }
32667 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32668 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32669 }
32670 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32671 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32672 }
32673 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32674 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32675 }
32676 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32677 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32678 }
32679 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32680 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32681 }
32682 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32683 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32684 }
32685 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32686 return (void *)((wxDialog *) ((wxColourDialog *) x));
32687 }
32688 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32689 return (void *)((wxDialog *) ((wxDirDialog *) x));
32690 }
32691 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32692 return (void *)((wxDialog *) ((wxFontDialog *) x));
32693 }
32694 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32695 return (void *)((wxDialog *) ((wxFileDialog *) x));
32696 }
32697 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32698 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32699 }
32700 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32701 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32702 }
32703 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32704 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32705 }
32706 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32707 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32708 }
32709 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32710 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32711 }
32712 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32713 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32714 }
32715 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32716 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32717 }
32718 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32719 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32720 }
32721 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32722 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32723 }
32724 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32725 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32726 }
32727 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32728 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32729 }
32730 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32731 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32732 }
32733 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32734 return (void *)((wxPanel *) ((wxPyPanel *) x));
32735 }
32736 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32737 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32738 }
32739 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32740 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32741 }
32742 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32743 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32744 }
32745 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32746 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32747 }
32748 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32749 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32750 }
32751 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32752 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32753 }
32754 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32755 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32756 }
32757 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32758 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32759 }
32760 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32761 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32762 }
32763 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32764 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32765 }
32766 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32767 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32768 }
32769 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32770 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32771 }
32772 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32773 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32774 }
32775 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32776 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32777 }
32778 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32779 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32780 }
32781 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32782 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32783 }
32784 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32785 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32786 }
32787 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32789 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};
32790 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32801 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32804 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32811 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32812 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32813 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32814 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32815 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32821 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32822 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32823 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32824 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32825 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32826 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32827 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32828 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32829 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32830 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32831 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32832 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32833 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32834 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32835 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32836 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32837 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32838 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32839 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32840 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32841 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32843 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32844 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32845 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32846 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32847 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32856 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32857 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32858 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32859 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32860 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32861 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32863 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32864 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32865 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32866 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32867 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32868 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32869 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32870 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32871 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32873 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32874 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32875 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32876 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32877 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32878 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32879 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32880 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32881 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32882 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32883 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32884 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32885 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32886 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32887 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32888 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32889 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32890 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32891 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32892 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32893 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32894 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32895 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32896 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32897 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32898 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32899 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32936 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32937 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32938 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32940 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32941 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32942 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32943 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32944 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32945 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32946 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32947 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32948 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32949 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32950 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32951 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32952
32953 static swig_type_info *swig_type_initial[] = {
32954 &_swigt__p_bool,
32955 &_swigt__p_char,
32956 &_swigt__p_form_ops_t,
32957 &_swigt__p_int,
32958 &_swigt__p_unsigned_char,
32959 &_swigt__p_unsigned_int,
32960 &_swigt__p_unsigned_long,
32961 &_swigt__p_wxANIHandler,
32962 &_swigt__p_wxAcceleratorTable,
32963 &_swigt__p_wxActivateEvent,
32964 &_swigt__p_wxArrayInt,
32965 &_swigt__p_wxBMPHandler,
32966 &_swigt__p_wxBitmap,
32967 &_swigt__p_wxBoxSizer,
32968 &_swigt__p_wxCURHandler,
32969 &_swigt__p_wxCalculateLayoutEvent,
32970 &_swigt__p_wxChildFocusEvent,
32971 &_swigt__p_wxClipboardTextEvent,
32972 &_swigt__p_wxCloseEvent,
32973 &_swigt__p_wxColour,
32974 &_swigt__p_wxColourData,
32975 &_swigt__p_wxColourDialog,
32976 &_swigt__p_wxCommandEvent,
32977 &_swigt__p_wxContextMenuEvent,
32978 &_swigt__p_wxControl,
32979 &_swigt__p_wxControlWithItems,
32980 &_swigt__p_wxDC,
32981 &_swigt__p_wxDateEvent,
32982 &_swigt__p_wxDialog,
32983 &_swigt__p_wxDirDialog,
32984 &_swigt__p_wxDisplayChangedEvent,
32985 &_swigt__p_wxDropFilesEvent,
32986 &_swigt__p_wxDuplexMode,
32987 &_swigt__p_wxEraseEvent,
32988 &_swigt__p_wxEvent,
32989 &_swigt__p_wxEvtHandler,
32990 &_swigt__p_wxFSFile,
32991 &_swigt__p_wxFileDialog,
32992 &_swigt__p_wxFileSystem,
32993 &_swigt__p_wxFindDialogEvent,
32994 &_swigt__p_wxFindReplaceData,
32995 &_swigt__p_wxFindReplaceDialog,
32996 &_swigt__p_wxFlexGridSizer,
32997 &_swigt__p_wxFocusEvent,
32998 &_swigt__p_wxFont,
32999 &_swigt__p_wxFontData,
33000 &_swigt__p_wxFontDialog,
33001 &_swigt__p_wxFrame,
33002 &_swigt__p_wxGBSizerItem,
33003 &_swigt__p_wxGIFHandler,
33004 &_swigt__p_wxGridBagSizer,
33005 &_swigt__p_wxGridSizer,
33006 &_swigt__p_wxHtmlLinkInfo,
33007 &_swigt__p_wxICOHandler,
33008 &_swigt__p_wxIcon,
33009 &_swigt__p_wxIconBundle,
33010 &_swigt__p_wxIconizeEvent,
33011 &_swigt__p_wxIdleEvent,
33012 &_swigt__p_wxImage,
33013 &_swigt__p_wxImageHandler,
33014 &_swigt__p_wxIndividualLayoutConstraint,
33015 &_swigt__p_wxInitDialogEvent,
33016 &_swigt__p_wxJPEGHandler,
33017 &_swigt__p_wxKeyEvent,
33018 &_swigt__p_wxLayoutAlgorithm,
33019 &_swigt__p_wxLayoutConstraints,
33020 &_swigt__p_wxMDIChildFrame,
33021 &_swigt__p_wxMDIClientWindow,
33022 &_swigt__p_wxMDIParentFrame,
33023 &_swigt__p_wxMaximizeEvent,
33024 &_swigt__p_wxMenu,
33025 &_swigt__p_wxMenuBar,
33026 &_swigt__p_wxMenuEvent,
33027 &_swigt__p_wxMenuItem,
33028 &_swigt__p_wxMessageDialog,
33029 &_swigt__p_wxMiniFrame,
33030 &_swigt__p_wxMouseCaptureChangedEvent,
33031 &_swigt__p_wxMouseCaptureLostEvent,
33032 &_swigt__p_wxMouseEvent,
33033 &_swigt__p_wxMoveEvent,
33034 &_swigt__p_wxMultiChoiceDialog,
33035 &_swigt__p_wxNavigationKeyEvent,
33036 &_swigt__p_wxNcPaintEvent,
33037 &_swigt__p_wxNotifyEvent,
33038 &_swigt__p_wxNumberEntryDialog,
33039 &_swigt__p_wxObject,
33040 &_swigt__p_wxPCXHandler,
33041 &_swigt__p_wxPNGHandler,
33042 &_swigt__p_wxPNMHandler,
33043 &_swigt__p_wxPageSetupDialog,
33044 &_swigt__p_wxPageSetupDialogData,
33045 &_swigt__p_wxPaintEvent,
33046 &_swigt__p_wxPaletteChangedEvent,
33047 &_swigt__p_wxPanel,
33048 &_swigt__p_wxPaperSize,
33049 &_swigt__p_wxPasswordEntryDialog,
33050 &_swigt__p_wxPoint,
33051 &_swigt__p_wxPopupWindow,
33052 &_swigt__p_wxPreviewCanvas,
33053 &_swigt__p_wxPreviewControlBar,
33054 &_swigt__p_wxPreviewFrame,
33055 &_swigt__p_wxPrintData,
33056 &_swigt__p_wxPrintDialog,
33057 &_swigt__p_wxPrintDialogData,
33058 &_swigt__p_wxPrintPreview,
33059 &_swigt__p_wxPrinter,
33060 &_swigt__p_wxProgressDialog,
33061 &_swigt__p_wxPyApp,
33062 &_swigt__p_wxPyCommandEvent,
33063 &_swigt__p_wxPyEvent,
33064 &_swigt__p_wxPyHtmlListBox,
33065 &_swigt__p_wxPyImageHandler,
33066 &_swigt__p_wxPyPanel,
33067 &_swigt__p_wxPyPopupTransientWindow,
33068 &_swigt__p_wxPyPreviewControlBar,
33069 &_swigt__p_wxPyPreviewFrame,
33070 &_swigt__p_wxPyPrintPreview,
33071 &_swigt__p_wxPyPrintout,
33072 &_swigt__p_wxPyScrolledWindow,
33073 &_swigt__p_wxPySizer,
33074 &_swigt__p_wxPyTaskBarIcon,
33075 &_swigt__p_wxPyVListBox,
33076 &_swigt__p_wxPyVScrolledWindow,
33077 &_swigt__p_wxPyValidator,
33078 &_swigt__p_wxPyWindow,
33079 &_swigt__p_wxQueryLayoutInfoEvent,
33080 &_swigt__p_wxQueryNewPaletteEvent,
33081 &_swigt__p_wxRect,
33082 &_swigt__p_wxRegion,
33083 &_swigt__p_wxSashEvent,
33084 &_swigt__p_wxSashLayoutWindow,
33085 &_swigt__p_wxSashWindow,
33086 &_swigt__p_wxScrollEvent,
33087 &_swigt__p_wxScrollWinEvent,
33088 &_swigt__p_wxScrolledWindow,
33089 &_swigt__p_wxSetCursorEvent,
33090 &_swigt__p_wxShowEvent,
33091 &_swigt__p_wxSingleChoiceDialog,
33092 &_swigt__p_wxSize,
33093 &_swigt__p_wxSizeEvent,
33094 &_swigt__p_wxSizer,
33095 &_swigt__p_wxSizerItem,
33096 &_swigt__p_wxSplashScreen,
33097 &_swigt__p_wxSplashScreenWindow,
33098 &_swigt__p_wxSplitterEvent,
33099 &_swigt__p_wxSplitterWindow,
33100 &_swigt__p_wxStaticBoxSizer,
33101 &_swigt__p_wxStatusBar,
33102 &_swigt__p_wxStdDialogButtonSizer,
33103 &_swigt__p_wxString,
33104 &_swigt__p_wxSysColourChangedEvent,
33105 &_swigt__p_wxTIFFHandler,
33106 &_swigt__p_wxTaskBarIcon,
33107 &_swigt__p_wxTaskBarIconEvent,
33108 &_swigt__p_wxTextEntryDialog,
33109 &_swigt__p_wxTipWindow,
33110 &_swigt__p_wxToolBar,
33111 &_swigt__p_wxTopLevelWindow,
33112 &_swigt__p_wxUpdateUIEvent,
33113 &_swigt__p_wxValidator,
33114 &_swigt__p_wxVisualAttributes,
33115 &_swigt__p_wxWindow,
33116 &_swigt__p_wxWindowCreateEvent,
33117 &_swigt__p_wxWindowDestroyEvent,
33118 &_swigt__p_wxXPMHandler,
33119 };
33120
33121 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33143 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}};
33144 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33145 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}};
33146 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33174 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}};
33175 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33180 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}};
33181 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33189 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}};
33190 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33202 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}};
33203 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33208 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33209 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33222 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33225 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33228 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33229 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33231 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33232 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}};
33233 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33235 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}};
33236 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33239 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}};
33240 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33241 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}};
33242 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}};
33243 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33246 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}};
33247 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33251 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}};
33252 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33258 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}};
33259 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}};
33260 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33266 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}};
33267 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33268 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}};
33269 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33270 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33271 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33278 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33279 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33280 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}};
33281 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33283 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}};
33284 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33285 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}};
33286
33287 static swig_cast_info *swig_cast_initial[] = {
33288 _swigc__p_bool,
33289 _swigc__p_char,
33290 _swigc__p_form_ops_t,
33291 _swigc__p_int,
33292 _swigc__p_unsigned_char,
33293 _swigc__p_unsigned_int,
33294 _swigc__p_unsigned_long,
33295 _swigc__p_wxANIHandler,
33296 _swigc__p_wxAcceleratorTable,
33297 _swigc__p_wxActivateEvent,
33298 _swigc__p_wxArrayInt,
33299 _swigc__p_wxBMPHandler,
33300 _swigc__p_wxBitmap,
33301 _swigc__p_wxBoxSizer,
33302 _swigc__p_wxCURHandler,
33303 _swigc__p_wxCalculateLayoutEvent,
33304 _swigc__p_wxChildFocusEvent,
33305 _swigc__p_wxClipboardTextEvent,
33306 _swigc__p_wxCloseEvent,
33307 _swigc__p_wxColour,
33308 _swigc__p_wxColourData,
33309 _swigc__p_wxColourDialog,
33310 _swigc__p_wxCommandEvent,
33311 _swigc__p_wxContextMenuEvent,
33312 _swigc__p_wxControl,
33313 _swigc__p_wxControlWithItems,
33314 _swigc__p_wxDC,
33315 _swigc__p_wxDateEvent,
33316 _swigc__p_wxDialog,
33317 _swigc__p_wxDirDialog,
33318 _swigc__p_wxDisplayChangedEvent,
33319 _swigc__p_wxDropFilesEvent,
33320 _swigc__p_wxDuplexMode,
33321 _swigc__p_wxEraseEvent,
33322 _swigc__p_wxEvent,
33323 _swigc__p_wxEvtHandler,
33324 _swigc__p_wxFSFile,
33325 _swigc__p_wxFileDialog,
33326 _swigc__p_wxFileSystem,
33327 _swigc__p_wxFindDialogEvent,
33328 _swigc__p_wxFindReplaceData,
33329 _swigc__p_wxFindReplaceDialog,
33330 _swigc__p_wxFlexGridSizer,
33331 _swigc__p_wxFocusEvent,
33332 _swigc__p_wxFont,
33333 _swigc__p_wxFontData,
33334 _swigc__p_wxFontDialog,
33335 _swigc__p_wxFrame,
33336 _swigc__p_wxGBSizerItem,
33337 _swigc__p_wxGIFHandler,
33338 _swigc__p_wxGridBagSizer,
33339 _swigc__p_wxGridSizer,
33340 _swigc__p_wxHtmlLinkInfo,
33341 _swigc__p_wxICOHandler,
33342 _swigc__p_wxIcon,
33343 _swigc__p_wxIconBundle,
33344 _swigc__p_wxIconizeEvent,
33345 _swigc__p_wxIdleEvent,
33346 _swigc__p_wxImage,
33347 _swigc__p_wxImageHandler,
33348 _swigc__p_wxIndividualLayoutConstraint,
33349 _swigc__p_wxInitDialogEvent,
33350 _swigc__p_wxJPEGHandler,
33351 _swigc__p_wxKeyEvent,
33352 _swigc__p_wxLayoutAlgorithm,
33353 _swigc__p_wxLayoutConstraints,
33354 _swigc__p_wxMDIChildFrame,
33355 _swigc__p_wxMDIClientWindow,
33356 _swigc__p_wxMDIParentFrame,
33357 _swigc__p_wxMaximizeEvent,
33358 _swigc__p_wxMenu,
33359 _swigc__p_wxMenuBar,
33360 _swigc__p_wxMenuEvent,
33361 _swigc__p_wxMenuItem,
33362 _swigc__p_wxMessageDialog,
33363 _swigc__p_wxMiniFrame,
33364 _swigc__p_wxMouseCaptureChangedEvent,
33365 _swigc__p_wxMouseCaptureLostEvent,
33366 _swigc__p_wxMouseEvent,
33367 _swigc__p_wxMoveEvent,
33368 _swigc__p_wxMultiChoiceDialog,
33369 _swigc__p_wxNavigationKeyEvent,
33370 _swigc__p_wxNcPaintEvent,
33371 _swigc__p_wxNotifyEvent,
33372 _swigc__p_wxNumberEntryDialog,
33373 _swigc__p_wxObject,
33374 _swigc__p_wxPCXHandler,
33375 _swigc__p_wxPNGHandler,
33376 _swigc__p_wxPNMHandler,
33377 _swigc__p_wxPageSetupDialog,
33378 _swigc__p_wxPageSetupDialogData,
33379 _swigc__p_wxPaintEvent,
33380 _swigc__p_wxPaletteChangedEvent,
33381 _swigc__p_wxPanel,
33382 _swigc__p_wxPaperSize,
33383 _swigc__p_wxPasswordEntryDialog,
33384 _swigc__p_wxPoint,
33385 _swigc__p_wxPopupWindow,
33386 _swigc__p_wxPreviewCanvas,
33387 _swigc__p_wxPreviewControlBar,
33388 _swigc__p_wxPreviewFrame,
33389 _swigc__p_wxPrintData,
33390 _swigc__p_wxPrintDialog,
33391 _swigc__p_wxPrintDialogData,
33392 _swigc__p_wxPrintPreview,
33393 _swigc__p_wxPrinter,
33394 _swigc__p_wxProgressDialog,
33395 _swigc__p_wxPyApp,
33396 _swigc__p_wxPyCommandEvent,
33397 _swigc__p_wxPyEvent,
33398 _swigc__p_wxPyHtmlListBox,
33399 _swigc__p_wxPyImageHandler,
33400 _swigc__p_wxPyPanel,
33401 _swigc__p_wxPyPopupTransientWindow,
33402 _swigc__p_wxPyPreviewControlBar,
33403 _swigc__p_wxPyPreviewFrame,
33404 _swigc__p_wxPyPrintPreview,
33405 _swigc__p_wxPyPrintout,
33406 _swigc__p_wxPyScrolledWindow,
33407 _swigc__p_wxPySizer,
33408 _swigc__p_wxPyTaskBarIcon,
33409 _swigc__p_wxPyVListBox,
33410 _swigc__p_wxPyVScrolledWindow,
33411 _swigc__p_wxPyValidator,
33412 _swigc__p_wxPyWindow,
33413 _swigc__p_wxQueryLayoutInfoEvent,
33414 _swigc__p_wxQueryNewPaletteEvent,
33415 _swigc__p_wxRect,
33416 _swigc__p_wxRegion,
33417 _swigc__p_wxSashEvent,
33418 _swigc__p_wxSashLayoutWindow,
33419 _swigc__p_wxSashWindow,
33420 _swigc__p_wxScrollEvent,
33421 _swigc__p_wxScrollWinEvent,
33422 _swigc__p_wxScrolledWindow,
33423 _swigc__p_wxSetCursorEvent,
33424 _swigc__p_wxShowEvent,
33425 _swigc__p_wxSingleChoiceDialog,
33426 _swigc__p_wxSize,
33427 _swigc__p_wxSizeEvent,
33428 _swigc__p_wxSizer,
33429 _swigc__p_wxSizerItem,
33430 _swigc__p_wxSplashScreen,
33431 _swigc__p_wxSplashScreenWindow,
33432 _swigc__p_wxSplitterEvent,
33433 _swigc__p_wxSplitterWindow,
33434 _swigc__p_wxStaticBoxSizer,
33435 _swigc__p_wxStatusBar,
33436 _swigc__p_wxStdDialogButtonSizer,
33437 _swigc__p_wxString,
33438 _swigc__p_wxSysColourChangedEvent,
33439 _swigc__p_wxTIFFHandler,
33440 _swigc__p_wxTaskBarIcon,
33441 _swigc__p_wxTaskBarIconEvent,
33442 _swigc__p_wxTextEntryDialog,
33443 _swigc__p_wxTipWindow,
33444 _swigc__p_wxToolBar,
33445 _swigc__p_wxTopLevelWindow,
33446 _swigc__p_wxUpdateUIEvent,
33447 _swigc__p_wxValidator,
33448 _swigc__p_wxVisualAttributes,
33449 _swigc__p_wxWindow,
33450 _swigc__p_wxWindowCreateEvent,
33451 _swigc__p_wxWindowDestroyEvent,
33452 _swigc__p_wxXPMHandler,
33453 };
33454
33455
33456 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33457
33458 static swig_const_info swig_const_table[] = {
33459 {0, 0, 0, 0.0, 0, 0}};
33460
33461 #ifdef __cplusplus
33462 }
33463 #endif
33464 /* -----------------------------------------------------------------------------
33465 * Type initialization:
33466 * This problem is tough by the requirement that no dynamic
33467 * memory is used. Also, since swig_type_info structures store pointers to
33468 * swig_cast_info structures and swig_cast_info structures store pointers back
33469 * to swig_type_info structures, we need some lookup code at initialization.
33470 * The idea is that swig generates all the structures that are needed.
33471 * The runtime then collects these partially filled structures.
33472 * The SWIG_InitializeModule function takes these initial arrays out of
33473 * swig_module, and does all the lookup, filling in the swig_module.types
33474 * array with the correct data and linking the correct swig_cast_info
33475 * structures together.
33476 *
33477 * The generated swig_type_info structures are assigned staticly to an initial
33478 * array. We just loop though that array, and handle each type individually.
33479 * First we lookup if this type has been already loaded, and if so, use the
33480 * loaded structure instead of the generated one. Then we have to fill in the
33481 * cast linked list. The cast data is initially stored in something like a
33482 * two-dimensional array. Each row corresponds to a type (there are the same
33483 * number of rows as there are in the swig_type_initial array). Each entry in
33484 * a column is one of the swig_cast_info structures for that type.
33485 * The cast_initial array is actually an array of arrays, because each row has
33486 * a variable number of columns. So to actually build the cast linked list,
33487 * we find the array of casts associated with the type, and loop through it
33488 * adding the casts to the list. The one last trick we need to do is making
33489 * sure the type pointer in the swig_cast_info struct is correct.
33490 *
33491 * First off, we lookup the cast->type name to see if it is already loaded.
33492 * There are three cases to handle:
33493 * 1) If the cast->type has already been loaded AND the type we are adding
33494 * casting info to has not been loaded (it is in this module), THEN we
33495 * replace the cast->type pointer with the type pointer that has already
33496 * been loaded.
33497 * 2) If BOTH types (the one we are adding casting info to, and the
33498 * cast->type) are loaded, THEN the cast info has already been loaded by
33499 * the previous module so we just ignore it.
33500 * 3) Finally, if cast->type has not already been loaded, then we add that
33501 * swig_cast_info to the linked list (because the cast->type) pointer will
33502 * be correct.
33503 * ----------------------------------------------------------------------------- */
33504
33505 #ifdef __cplusplus
33506 extern "C" {
33507 #if 0
33508 } /* c-mode */
33509 #endif
33510 #endif
33511
33512 #if 0
33513 #define SWIGRUNTIME_DEBUG
33514 #endif
33515
33516 SWIGRUNTIME void
33517 SWIG_InitializeModule(void *clientdata) {
33518 size_t i;
33519 swig_module_info *module_head;
33520 static int init_run = 0;
33521
33522 clientdata = clientdata;
33523
33524 if (init_run) return;
33525 init_run = 1;
33526
33527 /* Initialize the swig_module */
33528 swig_module.type_initial = swig_type_initial;
33529 swig_module.cast_initial = swig_cast_initial;
33530
33531 /* Try and load any already created modules */
33532 module_head = SWIG_GetModule(clientdata);
33533 if (module_head) {
33534 swig_module.next = module_head->next;
33535 module_head->next = &swig_module;
33536 } else {
33537 /* This is the first module loaded */
33538 swig_module.next = &swig_module;
33539 SWIG_SetModule(clientdata, &swig_module);
33540 }
33541
33542 /* Now work on filling in swig_module.types */
33543 #ifdef SWIGRUNTIME_DEBUG
33544 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33545 #endif
33546 for (i = 0; i < swig_module.size; ++i) {
33547 swig_type_info *type = 0;
33548 swig_type_info *ret;
33549 swig_cast_info *cast;
33550
33551 #ifdef SWIGRUNTIME_DEBUG
33552 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33553 #endif
33554
33555 /* if there is another module already loaded */
33556 if (swig_module.next != &swig_module) {
33557 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33558 }
33559 if (type) {
33560 /* Overwrite clientdata field */
33561 #ifdef SWIGRUNTIME_DEBUG
33562 printf("SWIG_InitializeModule: found type %s\n", type->name);
33563 #endif
33564 if (swig_module.type_initial[i]->clientdata) {
33565 type->clientdata = swig_module.type_initial[i]->clientdata;
33566 #ifdef SWIGRUNTIME_DEBUG
33567 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33568 #endif
33569 }
33570 } else {
33571 type = swig_module.type_initial[i];
33572 }
33573
33574 /* Insert casting types */
33575 cast = swig_module.cast_initial[i];
33576 while (cast->type) {
33577 /* Don't need to add information already in the list */
33578 ret = 0;
33579 #ifdef SWIGRUNTIME_DEBUG
33580 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33581 #endif
33582 if (swig_module.next != &swig_module) {
33583 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33584 #ifdef SWIGRUNTIME_DEBUG
33585 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33586 #endif
33587 }
33588 if (ret) {
33589 if (type == swig_module.type_initial[i]) {
33590 #ifdef SWIGRUNTIME_DEBUG
33591 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33592 #endif
33593 cast->type = ret;
33594 ret = 0;
33595 } else {
33596 /* Check for casting already in the list */
33597 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33598 #ifdef SWIGRUNTIME_DEBUG
33599 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33600 #endif
33601 if (!ocast) ret = 0;
33602 }
33603 }
33604
33605 if (!ret) {
33606 #ifdef SWIGRUNTIME_DEBUG
33607 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33608 #endif
33609 if (type->cast) {
33610 type->cast->prev = cast;
33611 cast->next = type->cast;
33612 }
33613 type->cast = cast;
33614 }
33615 cast++;
33616 }
33617 /* Set entry in modules->types array equal to the type */
33618 swig_module.types[i] = type;
33619 }
33620 swig_module.types[i] = 0;
33621
33622 #ifdef SWIGRUNTIME_DEBUG
33623 printf("**** SWIG_InitializeModule: Cast List ******\n");
33624 for (i = 0; i < swig_module.size; ++i) {
33625 int j = 0;
33626 swig_cast_info *cast = swig_module.cast_initial[i];
33627 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33628 while (cast->type) {
33629 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33630 cast++;
33631 ++j;
33632 }
33633 printf("---- Total casts: %d\n",j);
33634 }
33635 printf("**** SWIG_InitializeModule: Cast List ******\n");
33636 #endif
33637 }
33638
33639 /* This function will propagate the clientdata field of type to
33640 * any new swig_type_info structures that have been added into the list
33641 * of equivalent types. It is like calling
33642 * SWIG_TypeClientData(type, clientdata) a second time.
33643 */
33644 SWIGRUNTIME void
33645 SWIG_PropagateClientData(void) {
33646 size_t i;
33647 swig_cast_info *equiv;
33648 static int init_run = 0;
33649
33650 if (init_run) return;
33651 init_run = 1;
33652
33653 for (i = 0; i < swig_module.size; i++) {
33654 if (swig_module.types[i]->clientdata) {
33655 equiv = swig_module.types[i]->cast;
33656 while (equiv) {
33657 if (!equiv->converter) {
33658 if (equiv->type && !equiv->type->clientdata)
33659 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33660 }
33661 equiv = equiv->next;
33662 }
33663 }
33664 }
33665 }
33666
33667 #ifdef __cplusplus
33668 #if 0
33669 {
33670 /* c-mode */
33671 #endif
33672 }
33673 #endif
33674
33675
33676
33677 #ifdef __cplusplus
33678 extern "C" {
33679 #endif
33680
33681 /* Python-specific SWIG API */
33682 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33683 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33684 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33685
33686 /* -----------------------------------------------------------------------------
33687 * global variable support code.
33688 * ----------------------------------------------------------------------------- */
33689
33690 typedef struct swig_globalvar {
33691 char *name; /* Name of global variable */
33692 PyObject *(*get_attr)(void); /* Return the current value */
33693 int (*set_attr)(PyObject *); /* Set the value */
33694 struct swig_globalvar *next;
33695 } swig_globalvar;
33696
33697 typedef struct swig_varlinkobject {
33698 PyObject_HEAD
33699 swig_globalvar *vars;
33700 } swig_varlinkobject;
33701
33702 SWIGINTERN PyObject *
33703 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33704 return PyString_FromString("<Swig global variables>");
33705 }
33706
33707 SWIGINTERN PyObject *
33708 swig_varlink_str(swig_varlinkobject *v) {
33709 PyObject *str = PyString_FromString("(");
33710 swig_globalvar *var;
33711 for (var = v->vars; var; var=var->next) {
33712 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33713 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33714 }
33715 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33716 return str;
33717 }
33718
33719 SWIGINTERN int
33720 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33721 PyObject *str = swig_varlink_str(v);
33722 fprintf(fp,"Swig global variables ");
33723 fprintf(fp,"%s\n", PyString_AsString(str));
33724 Py_DECREF(str);
33725 return 0;
33726 }
33727
33728 SWIGINTERN void
33729 swig_varlink_dealloc(swig_varlinkobject *v) {
33730 swig_globalvar *var = v->vars;
33731 while (var) {
33732 swig_globalvar *n = var->next;
33733 free(var->name);
33734 free(var);
33735 var = n;
33736 }
33737 }
33738
33739 SWIGINTERN PyObject *
33740 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33741 PyObject *res = NULL;
33742 swig_globalvar *var = v->vars;
33743 while (var) {
33744 if (strcmp(var->name,n) == 0) {
33745 res = (*var->get_attr)();
33746 break;
33747 }
33748 var = var->next;
33749 }
33750 if (res == NULL && !PyErr_Occurred()) {
33751 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33752 }
33753 return res;
33754 }
33755
33756 SWIGINTERN int
33757 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33758 int res = 1;
33759 swig_globalvar *var = v->vars;
33760 while (var) {
33761 if (strcmp(var->name,n) == 0) {
33762 res = (*var->set_attr)(p);
33763 break;
33764 }
33765 var = var->next;
33766 }
33767 if (res == 1 && !PyErr_Occurred()) {
33768 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33769 }
33770 return res;
33771 }
33772
33773 SWIGINTERN PyTypeObject*
33774 swig_varlink_type(void) {
33775 static char varlink__doc__[] = "Swig var link object";
33776 static PyTypeObject varlink_type;
33777 static int type_init = 0;
33778 if (!type_init) {
33779 const PyTypeObject tmp
33780 = {
33781 PyObject_HEAD_INIT(NULL)
33782 0, /* Number of items in variable part (ob_size) */
33783 (char *)"swigvarlink", /* Type name (tp_name) */
33784 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33785 0, /* Itemsize (tp_itemsize) */
33786 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33787 (printfunc) swig_varlink_print, /* Print (tp_print) */
33788 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33789 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33790 0, /* tp_compare */
33791 (reprfunc) swig_varlink_repr, /* tp_repr */
33792 0, /* tp_as_number */
33793 0, /* tp_as_sequence */
33794 0, /* tp_as_mapping */
33795 0, /* tp_hash */
33796 0, /* tp_call */
33797 (reprfunc)swig_varlink_str, /* tp_str */
33798 0, /* tp_getattro */
33799 0, /* tp_setattro */
33800 0, /* tp_as_buffer */
33801 0, /* tp_flags */
33802 varlink__doc__, /* tp_doc */
33803 0, /* tp_traverse */
33804 0, /* tp_clear */
33805 0, /* tp_richcompare */
33806 0, /* tp_weaklistoffset */
33807 #if PY_VERSION_HEX >= 0x02020000
33808 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33809 #endif
33810 #if PY_VERSION_HEX >= 0x02030000
33811 0, /* tp_del */
33812 #endif
33813 #ifdef COUNT_ALLOCS
33814 0,0,0,0 /* tp_alloc -> tp_next */
33815 #endif
33816 };
33817 varlink_type = tmp;
33818 varlink_type.ob_type = &PyType_Type;
33819 type_init = 1;
33820 }
33821 return &varlink_type;
33822 }
33823
33824 /* Create a variable linking object for use later */
33825 SWIGINTERN PyObject *
33826 SWIG_Python_newvarlink(void) {
33827 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33828 if (result) {
33829 result->vars = 0;
33830 }
33831 return ((PyObject*) result);
33832 }
33833
33834 SWIGINTERN void
33835 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33836 swig_varlinkobject *v = (swig_varlinkobject *) p;
33837 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33838 if (gv) {
33839 size_t size = strlen(name)+1;
33840 gv->name = (char *)malloc(size);
33841 if (gv->name) {
33842 strncpy(gv->name,name,size);
33843 gv->get_attr = get_attr;
33844 gv->set_attr = set_attr;
33845 gv->next = v->vars;
33846 }
33847 }
33848 v->vars = gv;
33849 }
33850
33851 SWIGINTERN PyObject *
33852 SWIG_globals() {
33853 static PyObject *_SWIG_globals = 0;
33854 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33855 return _SWIG_globals;
33856 }
33857
33858 /* -----------------------------------------------------------------------------
33859 * constants/methods manipulation
33860 * ----------------------------------------------------------------------------- */
33861
33862 /* Install Constants */
33863 SWIGINTERN void
33864 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33865 PyObject *obj = 0;
33866 size_t i;
33867 for (i = 0; constants[i].type; ++i) {
33868 switch(constants[i].type) {
33869 case SWIG_PY_POINTER:
33870 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33871 break;
33872 case SWIG_PY_BINARY:
33873 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33874 break;
33875 default:
33876 obj = 0;
33877 break;
33878 }
33879 if (obj) {
33880 PyDict_SetItemString(d, constants[i].name, obj);
33881 Py_DECREF(obj);
33882 }
33883 }
33884 }
33885
33886 /* -----------------------------------------------------------------------------*/
33887 /* Fix SwigMethods to carry the callback ptrs when needed */
33888 /* -----------------------------------------------------------------------------*/
33889
33890 SWIGINTERN void
33891 SWIG_Python_FixMethods(PyMethodDef *methods,
33892 swig_const_info *const_table,
33893 swig_type_info **types,
33894 swig_type_info **types_initial) {
33895 size_t i;
33896 for (i = 0; methods[i].ml_name; ++i) {
33897 const char *c = methods[i].ml_doc;
33898 if (c && (c = strstr(c, "swig_ptr: "))) {
33899 int j;
33900 swig_const_info *ci = 0;
33901 const char *name = c + 10;
33902 for (j = 0; const_table[j].type; ++j) {
33903 if (strncmp(const_table[j].name, name,
33904 strlen(const_table[j].name)) == 0) {
33905 ci = &(const_table[j]);
33906 break;
33907 }
33908 }
33909 if (ci) {
33910 size_t shift = (ci->ptype) - types;
33911 swig_type_info *ty = types_initial[shift];
33912 size_t ldoc = (c - methods[i].ml_doc);
33913 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33914 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33915 if (ndoc) {
33916 char *buff = ndoc;
33917 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33918 if (ptr) {
33919 strncpy(buff, methods[i].ml_doc, ldoc);
33920 buff += ldoc;
33921 strncpy(buff, "swig_ptr: ", 10);
33922 buff += 10;
33923 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33924 methods[i].ml_doc = ndoc;
33925 }
33926 }
33927 }
33928 }
33929 }
33930 }
33931
33932 #ifdef __cplusplus
33933 }
33934 #endif
33935
33936 /* -----------------------------------------------------------------------------*
33937 * Partial Init method
33938 * -----------------------------------------------------------------------------*/
33939
33940 #ifdef __cplusplus
33941 extern "C"
33942 #endif
33943 SWIGEXPORT void SWIG_init(void) {
33944 PyObject *m, *d;
33945
33946 /* Fix SwigMethods to carry the callback ptrs when needed */
33947 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33948
33949 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33950 d = PyModule_GetDict(m);
33951
33952 SWIG_InitializeModule(0);
33953 SWIG_InstallConstants(d,swig_const_table);
33954
33955
33956 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33957 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33958 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33959 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33960 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33961 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33962 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33963 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33964 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33965 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33966 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33967 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33968 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33969 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33970 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33971 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33972 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33973 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33974 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33975 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33976 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33977 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33978 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33979 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33980 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33981 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33982 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33983 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33984 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33985 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33986 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33987 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33988 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33989 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33990 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33991 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33992 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33993 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33994 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33995 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33996 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33997 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33998 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33999 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34000 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34001 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34002 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34003 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34004 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34005 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34006 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34007 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34008 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34009 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34010 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34011 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34012 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34013 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34014 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34015 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34016 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34017 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34018 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34019 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34020 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34021 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34022 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34023 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34024 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34025 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34026 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34027 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34028 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34029 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34030 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34031 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34032 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34033 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34034 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34035 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34036 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34037 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34038 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34039 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34040 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34041 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34042 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34043 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34044 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34045 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34046 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34047 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34048 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34049 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34050 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34051 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34052 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34053 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34054 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34055 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34056 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34057 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34058
34059 // Map renamed classes back to their common name for OOR
34060 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34061 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34062 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34063
34064 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34065 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34066 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34067 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34068 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34069 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34070 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34071 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34072 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34073 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34074 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34075 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34076 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34077 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34078 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34079 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34080 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34081 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34082 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34083 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34084 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34085 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34086 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34087 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34088 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34089 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34090 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34091 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34092 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34093 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34094 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34095 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34096 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34097 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34098 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34099 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34100 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34101 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34102 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34103 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34104 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34105 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34106 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34107 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34108 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34109 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34110 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34111 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34112 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34113 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34114 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34115 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34116 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34117 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34118 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34119 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34120 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34121 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34122 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34123 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34124 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34125 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34126 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34127 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34128 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34129 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34130 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34131 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34132 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34133 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34134 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34135 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34136 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34137 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34138 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34139 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34140 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34141 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34142 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34143 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34144 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34145 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34146 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34147 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34148 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34149 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34150 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34151 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34152 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34153 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34154 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34155 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34156 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34157 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34158 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34159 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34160
34161 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34162
34163 }
34164