]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
9d54e2d372495d3b12a2981838dbe9c416c51356
[wxWidgets.git] / wxPython / src / mac / _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){
2824 int style = self->GetExtraStyle();
2825 if ( on )
2826 style |= wxFRAME_EX_METAL;
2827 else
2828 style &= ~wxFRAME_EX_METAL;
2829 self->SetExtraStyle(style);
2830 }
2831 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPopupWindow : public wxWindow {
2847 public:
2848 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852 class wxPyPopupTransientWindow : public wxPopupWindow
2853 {
2854 public:
2855 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2857 };
2858
2859
2860 #include <wx/tipwin.h>
2861
2862 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2863 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2864 }
2865
2866 #include <wx/tipwin.h>
2867
2868
2869 #include <wx/vscroll.h>
2870
2871
2872 class wxPyVScrolledWindow : public wxVScrolledWindow
2873 {
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2875 public:
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877
2878 wxPyVScrolledWindow(wxWindow *parent,
2879 wxWindowID id = wxID_ANY,
2880 const wxPoint& pos = wxDefaultPosition,
2881 const wxSize& size = wxDefaultSize,
2882 long style = 0,
2883 const wxString& name = wxPyPanelNameStr)
2884 : wxVScrolledWindow(parent, id, pos, size, style, name)
2885 {}
2886
2887 // Overridable virtuals
2888
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2892
2893
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2897 // once
2898 //
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2904 //
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 // usual
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2908
2909
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2914 // its own logic
2915 //
2916 // this function should return the best guess for the total height it may
2917 // make
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2919
2920
2921 // Also expose some other interesting protected methods
2922
2923
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2928
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2933
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939
2940 PYPRIVATE;
2941 };
2942
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2944
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2948
2949
2950 SWIGINTERN int
2951 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2952 {
2953 long v = 0;
2954 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2955 return SWIG_TypeError;
2956 }
2957 else if (val)
2958 *val = (unsigned long)v;
2959 return SWIG_OK;
2960 }
2961
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject*
2974 SWIG_From_unsigned_SS_long (unsigned long value)
2975 {
2976 return (value > LONG_MAX) ?
2977 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2978 }
2979
2980
2981 SWIGINTERNINLINE PyObject *
2982 SWIG_From_size_t (size_t value)
2983 {
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2985 }
2986
2987
2988 #include <wx/vlbox.h>
2989
2990 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2991
2992 class wxPyVListBox : public wxVListBox
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2995 public:
2996 wxPyVListBox() : wxVListBox() {}
2997
2998 wxPyVListBox(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyVListBoxNameStr)
3004 : wxVListBox(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3013
3014
3015 // the derived class must implement this method to return the height of the
3016 // specified item
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3019
3020
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3024 //
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3028
3029
3030 // this method is used to draw the items background and, maybe, a border
3031 // around it
3032 //
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3036 // current
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3039
3040
3041 PYPRIVATE;
3042 };
3043
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3045
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3050
3051
3052 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3053 unsigned long cookie = 0;
3054 int selected = self->GetFirstSelected(cookie);
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
3062 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3063 int selected = self->GetNextSelected(cookie);
3064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3065 PyObject* tup = PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3067 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3068 wxPyEndBlockThreads(blocked);
3069 return tup;
3070 }
3071
3072 #include <wx/htmllbox.h>
3073
3074
3075 class wxPyHtmlListBox : public wxHtmlListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3078 public:
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3080
3081 wxPyHtmlListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxHtmlListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3095
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3098
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3102
3103 // TODO:
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3107 // //
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116
3117
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n,
3121 const wxHtmlLinkInfo& link);
3122
3123 PYPRIVATE;
3124 };
3125
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3128
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3133
3134
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link) {
3137 bool found;
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3140 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3142 Py_DECREF(obj);
3143 }
3144 wxPyEndBlockThreads(blocked);
3145 if (! found)
3146 wxPyHtmlListBox::OnLinkClicked(n, link);
3147 }
3148
3149
3150
3151
3152
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3155
3156 class wxTaskBarIcon : public wxEvtHandler
3157 {
3158 public:
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 };
3161
3162
3163 class wxTaskBarIconEvent : public wxEvent
3164 {
3165 public:
3166 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent* Clone() const { return NULL; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu *menu) { return false; }
3174 };
3175
3176 enum {
3177 wxEVT_TASKBAR_MOVE = 0,
3178 wxEVT_TASKBAR_LEFT_DOWN = 0,
3179 wxEVT_TASKBAR_LEFT_UP = 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3181 wxEVT_TASKBAR_RIGHT_UP = 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3184 };
3185
3186
3187 #else
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon : public wxTaskBarIcon
3190 {
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3192 public:
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 {}
3195
3196 wxMenu* CreatePopupMenu() {
3197 wxMenu *rval = NULL;
3198 bool found;
3199 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3200 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3201 PyObject* ro;
3202 wxMenu* ptr;
3203 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3204 if (ro) {
3205 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3206 rval = ptr;
3207 Py_DECREF(ro);
3208 }
3209 }
3210 wxPyEndBlockThreads(blocked);
3211 if (! found)
3212 rval = wxTaskBarIcon::CreatePopupMenu();
3213 return rval;
3214 }
3215
3216 PYPRIVATE;
3217 };
3218
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3220
3221 #endif
3222
3223 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3224 self->RemoveIcon();
3225 delete self;
3226 }
3227 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3228 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3229 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3230 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3231 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3232 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3233
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3236
3237 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3238 wxArrayString arr;
3239 self->GetFilenames(arr);
3240 return wxArrayString2PyList_helper(arr);
3241 }
3242 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3243 wxArrayString arr;
3244 self->GetPaths(arr);
3245 return wxArrayString2PyList_helper(arr);
3246 }
3247 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3248 return wxArrayInt2PyList_helper(self->GetSelections());
3249 }
3250 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){
3251 return new wxSingleChoiceDialog(parent, message, caption,
3252 choices, choices_array, NULL, style, pos);
3253 }
3254 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3255
3256 SWIGINTERNINLINE PyObject*
3257 SWIG_From_bool (bool value)
3258 {
3259 return PyBool_FromLong(value ? 1 : 0);
3260 }
3261
3262
3263 #include <wx/mdi.h>
3264
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow : public wxWindow
3267 {
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3269 public:
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow* parent, const wxWindowID id,
3272 const wxPoint& pos = wxDefaultPosition,
3273 const wxSize& size = wxDefaultSize,
3274 long style = 0,
3275 const wxString& name = wxPyPanelNameStr)
3276 : wxWindow(parent, id, pos, size, style, name) {}
3277
3278 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3279
3280 bool DoEraseBackground(wxDC* dc) {
3281 #ifdef __WXMSW__
3282 return wxWindow::DoEraseBackground(dc->GetHDC());
3283 #else
3284 dc->SetBackground(wxBrush(GetBackgroundColour()));
3285 dc->Clear();
3286 return true;
3287 #endif
3288 }
3289
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3294
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3298
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3301
3302 DEC_PYCALLBACK__(InitDialog);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3305 DEC_PYCALLBACK_BOOL_(Validate);
3306
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3310
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3313
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3316
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3318
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3320
3321 PYPRIVATE;
3322 };
3323
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3325
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3330
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3334
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3337
3338 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3346
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3349
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3352
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3354
3355 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3356
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel : public wxPanel
3359 {
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3361 public:
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow* parent, const wxWindowID id,
3364 const wxPoint& pos = wxDefaultPosition,
3365 const wxSize& size = wxDefaultSize,
3366 long style = 0,
3367 const wxString& name = wxPyPanelNameStr)
3368 : wxPanel(parent, id, pos, size, style, name) {}
3369
3370 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3371 bool DoEraseBackground(wxDC* dc) {
3372 #ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374 #else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378 #endif
3379 }
3380
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3408
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
3413 PYPRIVATE;
3414 };
3415
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3444
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
3447 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow : public wxScrolledWindow
3451 {
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453 public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
3462 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3463 bool DoEraseBackground(wxDC* dc) {
3464 #ifdef __WXMSW__
3465 return wxWindow::DoEraseBackground(dc->GetHDC());
3466 #else
3467 dc->SetBackground(wxBrush(GetBackgroundColour()));
3468 dc->Clear();
3469 return true;
3470 #endif
3471 }
3472
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3477
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3481
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3484
3485 DEC_PYCALLBACK__(InitDialog);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3488 DEC_PYCALLBACK_BOOL_(Validate);
3489
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3493
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3496
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3499
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3501
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3503
3504 PYPRIVATE;
3505 };
3506
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3508
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3513
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3517
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3520
3521 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3525
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3529
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3535
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3537
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3539
3540
3541 #include "wx/wxPython/printfw.h"
3542
3543
3544 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3547 PyObject* data;
3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3549 data = PyString_FromStringAndSize(self->GetPrivData(),
3550 self->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked);
3552 return data;
3553 }
3554 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3555 if (! PyString_Check(data)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3557 "Expected string object"));
3558 return /* NULL */ ;
3559 }
3560
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3563 wxPyEndBlockThreads(blocked);
3564 }
3565
3566
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3568
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3571 bool hadErr = false;
3572 bool found;
3573
3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3575 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3576 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3577 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3578 PyObject* val;
3579
3580 val = PyTuple_GetItem(result, 0);
3581 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 1);
3585 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 2);
3589 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3590 else hadErr = true;
3591
3592 val = PyTuple_GetItem(result, 3);
3593 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3594 else hadErr = true;
3595 }
3596 else
3597 hadErr = true;
3598
3599 if (hadErr) {
3600 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3601 PyErr_Print();
3602 }
3603 Py_DECREF(result);
3604 }
3605 wxPyEndBlockThreads(blocked);
3606 if (! found)
3607 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3608 }
3609
3610
3611
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3616 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3619
3620
3621
3622
3623
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626
3627
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 bool rval=false; \
3631 bool found; \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 Py_DECREF(win); \
3638 Py_DECREF(dc); \
3639 } \
3640 wxPyEndBlockThreads(blocked); \
3641 if (! found) \
3642 rval = PCLASS::CBNAME(a, b); \
3643 return rval; \
3644 }
3645
3646
3647
3648
3649 class wxPyPrintPreview : public wxPrintPreview
3650 {
3651 DECLARE_CLASS(wxPyPrintPreview)
3652 public:
3653 wxPyPrintPreview(wxPyPrintout* printout,
3654 wxPyPrintout* printoutForPrinting,
3655 wxPrintDialogData* data=NULL)
3656 : wxPrintPreview(printout, printoutForPrinting, data)
3657 {}
3658 wxPyPrintPreview(wxPyPrintout* printout,
3659 wxPyPrintout* printoutForPrinting,
3660 wxPrintData* data)
3661 : wxPrintPreview(printout, printoutForPrinting, data)
3662 {}
3663
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling);
3671
3672 PYPRIVATE;
3673 };
3674
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3680 #else
3681 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3682 #endif
3683
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3691
3692
3693 class wxPyPreviewFrame : public wxPreviewFrame
3694 {
3695 DECLARE_CLASS(wxPyPreviewFrame)
3696 public:
3697 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3698 const wxString& title,
3699 const wxPoint& pos = wxDefaultPosition,
3700 const wxSize& size = wxDefaultSize,
3701 long style = wxDEFAULT_FRAME_STYLE,
3702 const wxString& name = wxPyFrameNameStr)
3703 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3704 {}
3705
3706 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3707 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3708
3709 DEC_PYCALLBACK_VOID_(Initialize);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar);
3712
3713 PYPRIVATE;
3714 };
3715
3716 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3717
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3721
3722
3723 class wxPyPreviewControlBar : public wxPreviewControlBar
3724 {
3725 DECLARE_CLASS(wxPyPreviewControlBar)
3726 public:
3727 wxPyPreviewControlBar(wxPrintPreview *preview,
3728 long buttons,
3729 wxWindow *parent,
3730 const wxPoint& pos = wxDefaultPosition,
3731 const wxSize& size = wxDefaultSize,
3732 long style = 0,
3733 const wxString& name = wxPyPanelNameStr)
3734 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3735 {}
3736
3737 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3738
3739 DEC_PYCALLBACK_VOID_(CreateButtons);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3741
3742 PYPRIVATE;
3743 };
3744
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3748
3749 #ifdef __cplusplus
3750 extern "C" {
3751 #endif
3752 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj = 0;
3754 wxWindow *arg1 = (wxWindow *) 0 ;
3755 int arg2 = (int) (int)-1 ;
3756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3758 wxSize const &arg4_defvalue = wxDefaultSize ;
3759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3760 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3762 wxString *arg6 = (wxString *) &arg6_defvalue ;
3763 wxPanel *result = 0 ;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 int val2 ;
3767 int ecode2 = 0 ;
3768 wxPoint temp3 ;
3769 wxSize temp4 ;
3770 long val5 ;
3771 int ecode5 = 0 ;
3772 bool temp6 = false ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 PyObject * obj2 = 0 ;
3776 PyObject * obj3 = 0 ;
3777 PyObject * obj4 = 0 ;
3778 PyObject * obj5 = 0 ;
3779 char * kwnames[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 };
3782
3783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3785 if (!SWIG_IsOK(res1)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 }
3788 arg1 = reinterpret_cast< wxWindow * >(argp1);
3789 if (obj1) {
3790 ecode2 = SWIG_AsVal_int(obj1, &val2);
3791 if (!SWIG_IsOK(ecode2)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 }
3794 arg2 = static_cast< int >(val2);
3795 }
3796 if (obj2) {
3797 {
3798 arg3 = &temp3;
3799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3800 }
3801 }
3802 if (obj3) {
3803 {
3804 arg4 = &temp4;
3805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3806 }
3807 }
3808 if (obj4) {
3809 ecode5 = SWIG_AsVal_long(obj4, &val5);
3810 if (!SWIG_IsOK(ecode5)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 }
3813 arg5 = static_cast< long >(val5);
3814 }
3815 if (obj5) {
3816 {
3817 arg6 = wxString_in_helper(obj5);
3818 if (arg6 == NULL) SWIG_fail;
3819 temp6 = true;
3820 }
3821 }
3822 {
3823 if (!wxPyCheckForApp()) SWIG_fail;
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3830 {
3831 if (temp6)
3832 delete arg6;
3833 }
3834 return resultobj;
3835 fail:
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return NULL;
3841 }
3842
3843
3844 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3845 PyObject *resultobj = 0;
3846 wxPanel *result = 0 ;
3847
3848 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3849 {
3850 if (!wxPyCheckForApp()) SWIG_fail;
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxPanel *)new wxPanel();
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj = 0;
3865 wxPanel *arg1 = (wxPanel *) 0 ;
3866 wxWindow *arg2 = (wxWindow *) 0 ;
3867 int arg3 = (int) (int)-1 ;
3868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3870 wxSize const &arg5_defvalue = wxDefaultSize ;
3871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3872 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3873 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3874 wxString *arg7 = (wxString *) &arg7_defvalue ;
3875 bool result;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 void *argp2 = 0 ;
3879 int res2 = 0 ;
3880 int val3 ;
3881 int ecode3 = 0 ;
3882 wxPoint temp4 ;
3883 wxSize temp5 ;
3884 long val6 ;
3885 int ecode6 = 0 ;
3886 bool temp7 = false ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 PyObject * obj2 = 0 ;
3890 PyObject * obj3 = 0 ;
3891 PyObject * obj4 = 0 ;
3892 PyObject * obj5 = 0 ;
3893 PyObject * obj6 = 0 ;
3894 char * kwnames[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 };
3897
3898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 }
3903 arg1 = reinterpret_cast< wxPanel * >(argp1);
3904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3905 if (!SWIG_IsOK(res2)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 }
3908 arg2 = reinterpret_cast< wxWindow * >(argp2);
3909 if (obj2) {
3910 ecode3 = SWIG_AsVal_int(obj2, &val3);
3911 if (!SWIG_IsOK(ecode3)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 }
3914 arg3 = static_cast< int >(val3);
3915 }
3916 if (obj3) {
3917 {
3918 arg4 = &temp4;
3919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3920 }
3921 }
3922 if (obj4) {
3923 {
3924 arg5 = &temp5;
3925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3926 }
3927 }
3928 if (obj5) {
3929 ecode6 = SWIG_AsVal_long(obj5, &val6);
3930 if (!SWIG_IsOK(ecode6)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 }
3933 arg6 = static_cast< long >(val6);
3934 }
3935 if (obj6) {
3936 {
3937 arg7 = wxString_in_helper(obj6);
3938 if (arg7 == NULL) SWIG_fail;
3939 temp7 = true;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3950 }
3951 {
3952 if (temp7)
3953 delete arg7;
3954 }
3955 return resultobj;
3956 fail:
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return NULL;
3962 }
3963
3964
3965 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3966 PyObject *resultobj = 0;
3967 wxPanel *arg1 = (wxPanel *) 0 ;
3968 void *argp1 = 0 ;
3969 int res1 = 0 ;
3970 PyObject *swig_obj[1] ;
3971
3972 if (!args) SWIG_fail;
3973 swig_obj[0] = args;
3974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3975 if (!SWIG_IsOK(res1)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 }
3978 arg1 = reinterpret_cast< wxPanel * >(argp1);
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_Py_Void();
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj = 0;
3994 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3995 SwigValueWrapper<wxVisualAttributes > result;
3996 int val1 ;
3997 int ecode1 = 0 ;
3998 PyObject * obj0 = 0 ;
3999 char * kwnames[] = {
4000 (char *) "variant", NULL
4001 };
4002
4003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4004 if (obj0) {
4005 ecode1 = SWIG_AsVal_int(obj0, &val1);
4006 if (!SWIG_IsOK(ecode1)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 }
4009 arg1 = static_cast< wxWindowVariant >(val1);
4010 }
4011 {
4012 if (!wxPyCheckForApp()) SWIG_fail;
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = wxPanel::GetClassDefaultAttributes(arg1);
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4026 PyObject *obj;
4027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4029 return SWIG_Py_Void();
4030 }
4031
4032 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 return SWIG_Python_InitShadowInstance(args);
4034 }
4035
4036 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 = (int) (int)-1 ;
4040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4042 wxSize const &arg4_defvalue = wxDefaultSize ;
4043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4044 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4045 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4046 wxString *arg6 = (wxString *) &arg6_defvalue ;
4047 wxScrolledWindow *result = 0 ;
4048 void *argp1 = 0 ;
4049 int res1 = 0 ;
4050 int val2 ;
4051 int ecode2 = 0 ;
4052 wxPoint temp3 ;
4053 wxSize temp4 ;
4054 long val5 ;
4055 int ecode5 = 0 ;
4056 bool temp6 = false ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 PyObject * obj2 = 0 ;
4060 PyObject * obj3 = 0 ;
4061 PyObject * obj4 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 char * kwnames[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 };
4066
4067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 }
4072 arg1 = reinterpret_cast< wxWindow * >(argp1);
4073 if (obj1) {
4074 ecode2 = SWIG_AsVal_int(obj1, &val2);
4075 if (!SWIG_IsOK(ecode2)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 }
4078 arg2 = static_cast< int >(val2);
4079 }
4080 if (obj2) {
4081 {
4082 arg3 = &temp3;
4083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4084 }
4085 }
4086 if (obj3) {
4087 {
4088 arg4 = &temp4;
4089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4090 }
4091 }
4092 if (obj4) {
4093 ecode5 = SWIG_AsVal_long(obj4, &val5);
4094 if (!SWIG_IsOK(ecode5)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 }
4097 arg5 = static_cast< long >(val5);
4098 }
4099 if (obj5) {
4100 {
4101 arg6 = wxString_in_helper(obj5);
4102 if (arg6 == NULL) SWIG_fail;
4103 temp6 = true;
4104 }
4105 }
4106 {
4107 if (!wxPyCheckForApp()) SWIG_fail;
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4114 {
4115 if (temp6)
4116 delete arg6;
4117 }
4118 return resultobj;
4119 fail:
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxScrolledWindow *result = 0 ;
4131
4132 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4133 {
4134 if (!wxPyCheckForApp()) SWIG_fail;
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (wxScrolledWindow *)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj = 0;
4149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4150 wxWindow *arg2 = (wxWindow *) 0 ;
4151 int arg3 = (int) (int)-1 ;
4152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4154 wxSize const &arg5_defvalue = wxDefaultSize ;
4155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4156 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4157 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4158 wxString *arg7 = (wxString *) &arg7_defvalue ;
4159 bool result;
4160 void *argp1 = 0 ;
4161 int res1 = 0 ;
4162 void *argp2 = 0 ;
4163 int res2 = 0 ;
4164 int val3 ;
4165 int ecode3 = 0 ;
4166 wxPoint temp4 ;
4167 wxSize temp5 ;
4168 long val6 ;
4169 int ecode6 = 0 ;
4170 bool temp7 = false ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 PyObject * obj2 = 0 ;
4174 PyObject * obj3 = 0 ;
4175 PyObject * obj4 = 0 ;
4176 PyObject * obj5 = 0 ;
4177 PyObject * obj6 = 0 ;
4178 char * kwnames[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 };
4181
4182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4184 if (!SWIG_IsOK(res1)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 }
4187 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4189 if (!SWIG_IsOK(res2)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 }
4192 arg2 = reinterpret_cast< wxWindow * >(argp2);
4193 if (obj2) {
4194 ecode3 = SWIG_AsVal_int(obj2, &val3);
4195 if (!SWIG_IsOK(ecode3)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 }
4198 arg3 = static_cast< int >(val3);
4199 }
4200 if (obj3) {
4201 {
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4204 }
4205 }
4206 if (obj4) {
4207 {
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4210 }
4211 }
4212 if (obj5) {
4213 ecode6 = SWIG_AsVal_long(obj5, &val6);
4214 if (!SWIG_IsOK(ecode6)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 }
4217 arg6 = static_cast< long >(val6);
4218 }
4219 if (obj6) {
4220 {
4221 arg7 = wxString_in_helper(obj6);
4222 if (arg7 == NULL) SWIG_fail;
4223 temp7 = true;
4224 }
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4234 }
4235 {
4236 if (temp7)
4237 delete arg7;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj = 0;
4251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4252 int arg2 ;
4253 int arg3 ;
4254 int arg4 ;
4255 int arg5 ;
4256 int arg6 = (int) 0 ;
4257 int arg7 = (int) 0 ;
4258 bool arg8 = (bool) false ;
4259 void *argp1 = 0 ;
4260 int res1 = 0 ;
4261 int val2 ;
4262 int ecode2 = 0 ;
4263 int val3 ;
4264 int ecode3 = 0 ;
4265 int val4 ;
4266 int ecode4 = 0 ;
4267 int val5 ;
4268 int ecode5 = 0 ;
4269 int val6 ;
4270 int ecode6 = 0 ;
4271 int val7 ;
4272 int ecode7 = 0 ;
4273 bool val8 ;
4274 int ecode8 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
4278 PyObject * obj3 = 0 ;
4279 PyObject * obj4 = 0 ;
4280 PyObject * obj5 = 0 ;
4281 PyObject * obj6 = 0 ;
4282 PyObject * obj7 = 0 ;
4283 char * kwnames[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 };
4286
4287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 }
4292 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4293 ecode2 = SWIG_AsVal_int(obj1, &val2);
4294 if (!SWIG_IsOK(ecode2)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 }
4297 arg2 = static_cast< int >(val2);
4298 ecode3 = SWIG_AsVal_int(obj2, &val3);
4299 if (!SWIG_IsOK(ecode3)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 }
4302 arg3 = static_cast< int >(val3);
4303 ecode4 = SWIG_AsVal_int(obj3, &val4);
4304 if (!SWIG_IsOK(ecode4)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 }
4307 arg4 = static_cast< int >(val4);
4308 ecode5 = SWIG_AsVal_int(obj4, &val5);
4309 if (!SWIG_IsOK(ecode5)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 }
4312 arg5 = static_cast< int >(val5);
4313 if (obj5) {
4314 ecode6 = SWIG_AsVal_int(obj5, &val6);
4315 if (!SWIG_IsOK(ecode6)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 }
4318 arg6 = static_cast< int >(val6);
4319 }
4320 if (obj6) {
4321 ecode7 = SWIG_AsVal_int(obj6, &val7);
4322 if (!SWIG_IsOK(ecode7)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 }
4325 arg7 = static_cast< int >(val7);
4326 }
4327 if (obj7) {
4328 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4329 if (!SWIG_IsOK(ecode8)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 }
4332 arg8 = static_cast< bool >(val8);
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int arg3 ;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 int val3 ;
4357 int ecode3 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 }
4370 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4371 ecode2 = SWIG_AsVal_int(obj1, &val2);
4372 if (!SWIG_IsOK(ecode2)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 }
4375 arg2 = static_cast< int >(val2);
4376 ecode3 = SWIG_AsVal_int(obj2, &val3);
4377 if (!SWIG_IsOK(ecode3)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 }
4380 arg3 = static_cast< int >(val3);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->Scroll(arg2,arg3);
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_Py_Void();
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4397 int arg2 ;
4398 int result;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 int val2 ;
4402 int ecode2 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 char * kwnames[] = {
4406 (char *) "self",(char *) "orient", NULL
4407 };
4408
4409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4411 if (!SWIG_IsOK(res1)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 }
4414 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4415 ecode2 = SWIG_AsVal_int(obj1, &val2);
4416 if (!SWIG_IsOK(ecode2)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 }
4419 arg2 = static_cast< int >(val2);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_From_int(static_cast< int >(result));
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollPageSize(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int arg2 ;
4484 int arg3 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int val2 ;
4488 int ecode2 = 0 ;
4489 int val3 ;
4490 int ecode3 = 0 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 }
4503 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 ecode3 = SWIG_AsVal_int(obj2, &val3);
4510 if (!SWIG_IsOK(ecode3)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 }
4513 arg3 = static_cast< int >(val3);
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->SetScrollRate(arg2,arg3);
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_Py_Void();
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 int *arg2 = (int *) 0 ;
4531 int *arg3 = (int *) 0 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 int temp2 ;
4535 int res2 = SWIG_TMPOBJ ;
4536 int temp3 ;
4537 int res3 = SWIG_TMPOBJ ;
4538 PyObject *swig_obj[1] ;
4539
4540 arg2 = &temp2;
4541 arg3 = &temp3;
4542 if (!args) SWIG_fail;
4543 swig_obj[0] = args;
4544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 }
4548 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 resultobj = SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2)) {
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4558 } else {
4559 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4561 }
4562 if (SWIG_IsTmpObj(res3)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4567 }
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 bool arg2 ;
4578 bool arg3 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 bool val2 ;
4582 int ecode2 = 0 ;
4583 bool val3 ;
4584 int ecode3 = 0 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj2 = 0 ;
4588 char * kwnames[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 };
4591
4592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4594 if (!SWIG_IsOK(res1)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 }
4597 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4599 if (!SWIG_IsOK(ecode2)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 }
4602 arg2 = static_cast< bool >(val2);
4603 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4604 if (!SWIG_IsOK(ecode3)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 }
4607 arg3 = static_cast< bool >(val3);
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->EnableScrolling(arg2,arg3);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_Py_Void();
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 int *arg2 = (int *) 0 ;
4625 int *arg3 = (int *) 0 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 int temp2 ;
4629 int res2 = SWIG_TMPOBJ ;
4630 int temp3 ;
4631 int res3 = SWIG_TMPOBJ ;
4632 PyObject *swig_obj[1] ;
4633
4634 arg2 = &temp2;
4635 arg3 = &temp3;
4636 if (!args) SWIG_fail;
4637 swig_obj[0] = args;
4638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4639 if (!SWIG_IsOK(res1)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 }
4642 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2)) {
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4652 } else {
4653 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4655 }
4656 if (SWIG_IsTmpObj(res3)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4661 }
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double arg2 ;
4672 double arg3 ;
4673 void *argp1 = 0 ;
4674 int res1 = 0 ;
4675 double val2 ;
4676 int ecode2 = 0 ;
4677 double val3 ;
4678 int ecode3 = 0 ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 PyObject * obj2 = 0 ;
4682 char * kwnames[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 };
4685
4686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4688 if (!SWIG_IsOK(res1)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 }
4691 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4692 ecode2 = SWIG_AsVal_double(obj1, &val2);
4693 if (!SWIG_IsOK(ecode2)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 }
4696 arg2 = static_cast< double >(val2);
4697 ecode3 = SWIG_AsVal_double(obj2, &val3);
4698 if (!SWIG_IsOK(ecode3)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 }
4701 arg3 = static_cast< double >(val3);
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 (arg1)->SetScale(arg2,arg3);
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = SWIG_Py_Void();
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4716 PyObject *resultobj = 0;
4717 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4718 double result;
4719 void *argp1 = 0 ;
4720 int res1 = 0 ;
4721 PyObject *swig_obj[1] ;
4722
4723 if (!args) SWIG_fail;
4724 swig_obj[0] = args;
4725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4726 if (!SWIG_IsOK(res1)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 }
4729 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = SWIG_From_double(static_cast< double >(result));
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4744 PyObject *resultobj = 0;
4745 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4746 double result;
4747 void *argp1 = 0 ;
4748 int res1 = 0 ;
4749 PyObject *swig_obj[1] ;
4750
4751 if (!args) SWIG_fail;
4752 swig_obj[0] = args;
4753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4754 if (!SWIG_IsOK(res1)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 }
4757 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = SWIG_From_double(static_cast< double >(result));
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4772 PyObject *resultobj = 0;
4773 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4774 wxPoint *arg2 = 0 ;
4775 wxPoint result;
4776 void *argp1 = 0 ;
4777 int res1 = 0 ;
4778 wxPoint temp2 ;
4779
4780 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4782 if (!SWIG_IsOK(res1)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 }
4785 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4786 {
4787 arg2 = &temp2;
4788 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4804 PyObject *resultobj = 0;
4805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4806 int arg2 ;
4807 int arg3 ;
4808 int *arg4 = (int *) 0 ;
4809 int *arg5 = (int *) 0 ;
4810 void *argp1 = 0 ;
4811 int res1 = 0 ;
4812 int val2 ;
4813 int ecode2 = 0 ;
4814 int val3 ;
4815 int ecode3 = 0 ;
4816 int temp4 ;
4817 int res4 = SWIG_TMPOBJ ;
4818 int temp5 ;
4819 int res5 = SWIG_TMPOBJ ;
4820
4821 arg4 = &temp4;
4822 arg5 = &temp5;
4823 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4825 if (!SWIG_IsOK(res1)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 }
4828 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4829 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4830 if (!SWIG_IsOK(ecode2)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 }
4833 arg2 = static_cast< int >(val2);
4834 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4835 if (!SWIG_IsOK(ecode3)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 }
4838 arg3 = static_cast< int >(val3);
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 resultobj = SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4)) {
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4848 } else {
4849 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4851 }
4852 if (SWIG_IsTmpObj(res5)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4857 }
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4865 int argc;
4866 PyObject *argv[4];
4867
4868 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4869 --argc;
4870 if (argc == 2) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4872 }
4873 if (argc == 3) {
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4875 }
4876
4877 fail:
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 return NULL;
4880 }
4881
4882
4883 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4884 PyObject *resultobj = 0;
4885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4886 wxPoint *arg2 = 0 ;
4887 wxPoint result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 wxPoint temp2 ;
4891
4892 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4894 if (!SWIG_IsOK(res1)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 }
4897 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4898 {
4899 arg2 = &temp2;
4900 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4909 return resultobj;
4910 fail:
4911 return NULL;
4912 }
4913
4914
4915 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4916 PyObject *resultobj = 0;
4917 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4918 int arg2 ;
4919 int arg3 ;
4920 int *arg4 = (int *) 0 ;
4921 int *arg5 = (int *) 0 ;
4922 void *argp1 = 0 ;
4923 int res1 = 0 ;
4924 int val2 ;
4925 int ecode2 = 0 ;
4926 int val3 ;
4927 int ecode3 = 0 ;
4928 int temp4 ;
4929 int res4 = SWIG_TMPOBJ ;
4930 int temp5 ;
4931 int res5 = SWIG_TMPOBJ ;
4932
4933 arg4 = &temp4;
4934 arg5 = &temp5;
4935 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4937 if (!SWIG_IsOK(res1)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 }
4940 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4941 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4942 if (!SWIG_IsOK(ecode2)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 }
4945 arg2 = static_cast< int >(val2);
4946 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4947 if (!SWIG_IsOK(ecode3)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 }
4950 arg3 = static_cast< int >(val3);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4)) {
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4960 } else {
4961 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4963 }
4964 if (SWIG_IsTmpObj(res5)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4969 }
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4977 int argc;
4978 PyObject *argv[4];
4979
4980 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4981 --argc;
4982 if (argc == 2) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4984 }
4985 if (argc == 3) {
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4987 }
4988
4989 fail:
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 }
5008 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_Py_Void();
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj = 0;
5024 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5025 wxScrollWinEvent *arg2 = 0 ;
5026 int result;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 void *argp2 = 0 ;
5030 int res2 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 char * kwnames[] = {
5034 (char *) "self",(char *) "event", NULL
5035 };
5036
5037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5039 if (!SWIG_IsOK(res1)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 }
5042 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5044 if (!SWIG_IsOK(res2)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 if (!argp2) {
5048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 }
5050 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->CalcScrollInc(*arg2);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_From_int(static_cast< int >(result));
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj = 0;
5066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5067 wxWindow *arg2 = (wxWindow *) 0 ;
5068 void *argp1 = 0 ;
5069 int res1 = 0 ;
5070 void *argp2 = 0 ;
5071 int res2 = 0 ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 char * kwnames[] = {
5075 (char *) "self",(char *) "target", NULL
5076 };
5077
5078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5080 if (!SWIG_IsOK(res1)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 }
5083 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5085 if (!SWIG_IsOK(res2)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 }
5088 arg2 = reinterpret_cast< wxWindow * >(argp2);
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetTargetWindow(arg2);
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 resultobj = SWIG_Py_Void();
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5103 PyObject *resultobj = 0;
5104 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5105 wxWindow *result = 0 ;
5106 void *argp1 = 0 ;
5107 int res1 = 0 ;
5108 PyObject *swig_obj[1] ;
5109
5110 if (!args) SWIG_fail;
5111 swig_obj[0] = args;
5112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 }
5116 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = wxPyMake_wxObject(result, 0);
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj = 0;
5134 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5135 wxRect *arg2 = 0 ;
5136 void *argp1 = 0 ;
5137 int res1 = 0 ;
5138 wxRect temp2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "rect", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 {
5152 arg2 = &temp2;
5153 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetTargetRect((wxRect const &)*arg2);
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_Py_Void();
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5169 PyObject *resultobj = 0;
5170 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5171 wxRect result;
5172 void *argp1 = 0 ;
5173 int res1 = 0 ;
5174 PyObject *swig_obj[1] ;
5175
5176 if (!args) SWIG_fail;
5177 swig_obj[0] = args;
5178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5179 if (!SWIG_IsOK(res1)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5181 }
5182 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5190 return resultobj;
5191 fail:
5192 return NULL;
5193 }
5194
5195
5196 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj = 0;
5198 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5199 wxDC *arg2 = 0 ;
5200 void *argp1 = 0 ;
5201 int res1 = 0 ;
5202 void *argp2 = 0 ;
5203 int res2 = 0 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char * kwnames[] = {
5207 (char *) "self",(char *) "dc", NULL
5208 };
5209
5210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5212 if (!SWIG_IsOK(res1)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5214 }
5215 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5217 if (!SWIG_IsOK(res2)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 if (!argp2) {
5221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5222 }
5223 arg2 = reinterpret_cast< wxDC * >(argp2);
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->DoPrepareDC(*arg2);
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_Py_Void();
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj = 0;
5239 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5240 SwigValueWrapper<wxVisualAttributes > result;
5241 int val1 ;
5242 int ecode1 = 0 ;
5243 PyObject * obj0 = 0 ;
5244 char * kwnames[] = {
5245 (char *) "variant", NULL
5246 };
5247
5248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5249 if (obj0) {
5250 ecode1 = SWIG_AsVal_int(obj0, &val1);
5251 if (!SWIG_IsOK(ecode1)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5253 }
5254 arg1 = static_cast< wxWindowVariant >(val1);
5255 }
5256 {
5257 if (!wxPyCheckForApp()) SWIG_fail;
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *obj;
5272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5274 return SWIG_Py_Void();
5275 }
5276
5277 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 return SWIG_Python_InitShadowInstance(args);
5279 }
5280
5281 SWIGINTERN int FrameNameStr_set(PyObject *) {
5282 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5283 return 1;
5284 }
5285
5286
5287 SWIGINTERN PyObject *FrameNameStr_get(void) {
5288 PyObject *pyobj = 0;
5289
5290 {
5291 #if wxUSE_UNICODE
5292 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #else
5294 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5295 #endif
5296 }
5297 return pyobj;
5298 }
5299
5300
5301 SWIGINTERN int DialogNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5303 return 1;
5304 }
5305
5306
5307 SWIGINTERN PyObject *DialogNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311 #if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #else
5314 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5315 #endif
5316 }
5317 return pyobj;
5318 }
5319
5320
5321 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5323 return 1;
5324 }
5325
5326
5327 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331 #if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #else
5334 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5335 #endif
5336 }
5337 return pyobj;
5338 }
5339
5340
5341 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5343 return 1;
5344 }
5345
5346
5347 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351 #if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #else
5354 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5355 #endif
5356 }
5357 return pyobj;
5358 }
5359
5360
5361 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5364 bool arg2 = (bool) true ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "maximize", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5381 if (obj1) {
5382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5383 if (!SWIG_IsOK(ecode2)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5385 }
5386 arg2 = static_cast< bool >(val2);
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->Maximize(arg2);
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_Py_Void();
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402 PyObject *resultobj = 0;
5403 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->Restore();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_Py_Void();
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5431 bool arg2 = (bool) true ;
5432 void *argp1 = 0 ;
5433 int res1 = 0 ;
5434 bool val2 ;
5435 int ecode2 = 0 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 char * kwnames[] = {
5439 (char *) "self",(char *) "iconize", NULL
5440 };
5441
5442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 if (obj1) {
5449 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5450 if (!SWIG_IsOK(ecode2)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5452 }
5453 arg2 = static_cast< bool >(val2);
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->Iconize(arg2);
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_Py_Void();
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469 PyObject *resultobj = 0;
5470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5471 bool result;
5472 void *argp1 = 0 ;
5473 int res1 = 0 ;
5474 PyObject *swig_obj[1] ;
5475
5476 if (!args) SWIG_fail;
5477 swig_obj[0] = args;
5478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5479 if (!SWIG_IsOK(res1)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5481 }
5482 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 {
5490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5491 }
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5499 PyObject *resultobj = 0;
5500 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5501 bool result;
5502 void *argp1 = 0 ;
5503 int res1 = 0 ;
5504 PyObject *swig_obj[1] ;
5505
5506 if (!args) SWIG_fail;
5507 swig_obj[0] = args;
5508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5509 if (!SWIG_IsOK(res1)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5511 }
5512 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5529 PyObject *resultobj = 0;
5530 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5531 bool result;
5532 void *argp1 = 0 ;
5533 int res1 = 0 ;
5534 PyObject *swig_obj[1] ;
5535
5536 if (!args) SWIG_fail;
5537 swig_obj[0] = args;
5538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5539 if (!SWIG_IsOK(res1)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5541 }
5542 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 {
5550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5559 PyObject *resultobj = 0;
5560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5561 wxIcon result;
5562 void *argp1 = 0 ;
5563 int res1 = 0 ;
5564 PyObject *swig_obj[1] ;
5565
5566 if (!args) SWIG_fail;
5567 swig_obj[0] = args;
5568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5569 if (!SWIG_IsOK(res1)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5571 }
5572 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj = 0;
5588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5589 wxIcon *arg2 = 0 ;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 void *argp2 = 0 ;
5593 int res2 = 0 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char * kwnames[] = {
5597 (char *) "self",(char *) "icon", NULL
5598 };
5599
5600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5602 if (!SWIG_IsOK(res1)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5604 }
5605 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5607 if (!SWIG_IsOK(res2)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 if (!argp2) {
5611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5612 }
5613 arg2 = reinterpret_cast< wxIcon * >(argp2);
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->SetIcon((wxIcon const &)*arg2);
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_Py_Void();
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj = 0;
5629 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5630 wxIconBundle *arg2 = 0 ;
5631 void *argp1 = 0 ;
5632 int res1 = 0 ;
5633 void *argp2 = 0 ;
5634 int res2 = 0 ;
5635 PyObject * obj0 = 0 ;
5636 PyObject * obj1 = 0 ;
5637 char * kwnames[] = {
5638 (char *) "self",(char *) "icons", NULL
5639 };
5640
5641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5643 if (!SWIG_IsOK(res1)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5645 }
5646 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5648 if (!SWIG_IsOK(res2)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 if (!argp2) {
5652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5653 }
5654 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_Py_Void();
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5671 bool arg2 ;
5672 long arg3 = (long) wxFULLSCREEN_ALL ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 bool val2 ;
5677 int ecode2 = 0 ;
5678 long val3 ;
5679 int ecode3 = 0 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 PyObject * obj2 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5694 if (!SWIG_IsOK(ecode2)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5696 }
5697 arg2 = static_cast< bool >(val2);
5698 if (obj2) {
5699 ecode3 = SWIG_AsVal_long(obj2, &val3);
5700 if (!SWIG_IsOK(ecode3)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5702 }
5703 arg3 = static_cast< long >(val3);
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5721 PyObject *resultobj = 0;
5722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5723 bool result;
5724 void *argp1 = 0 ;
5725 int res1 = 0 ;
5726 PyObject *swig_obj[1] ;
5727
5728 if (!args) SWIG_fail;
5729 swig_obj[0] = args;
5730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 }
5734 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj = 0;
5752 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5753 wxString *arg2 = 0 ;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 bool temp2 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char * kwnames[] = {
5760 (char *) "self",(char *) "title", NULL
5761 };
5762
5763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5765 if (!SWIG_IsOK(res1)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 }
5768 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5769 {
5770 arg2 = wxString_in_helper(obj1);
5771 if (arg2 == NULL) SWIG_fail;
5772 temp2 = true;
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->SetTitle((wxString const &)*arg2);
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = SWIG_Py_Void();
5781 {
5782 if (temp2)
5783 delete arg2;
5784 }
5785 return resultobj;
5786 fail:
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return NULL;
5792 }
5793
5794
5795 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5796 PyObject *resultobj = 0;
5797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5798 wxString result;
5799 void *argp1 = 0 ;
5800 int res1 = 0 ;
5801 PyObject *swig_obj[1] ;
5802
5803 if (!args) SWIG_fail;
5804 swig_obj[0] = args;
5805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5808 }
5809 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
5817 #if wxUSE_UNICODE
5818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5819 #else
5820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5821 #endif
5822 }
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj = 0;
5831 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5832 wxRegion *arg2 = 0 ;
5833 bool result;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 void *argp2 = 0 ;
5837 int res2 = 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char * kwnames[] = {
5841 (char *) "self",(char *) "region", NULL
5842 };
5843
5844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5846 if (!SWIG_IsOK(res1)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5848 }
5849 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5850 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5851 if (!SWIG_IsOK(res2)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 }
5854 if (!argp2) {
5855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5856 }
5857 arg2 = reinterpret_cast< wxRegion * >(argp2);
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5866 }
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj = 0;
5875 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5876 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5877 void *argp1 = 0 ;
5878 int res1 = 0 ;
5879 int val2 ;
5880 int ecode2 = 0 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char * kwnames[] = {
5884 (char *) "self",(char *) "flags", NULL
5885 };
5886
5887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5889 if (!SWIG_IsOK(res1)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5891 }
5892 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5893 if (obj1) {
5894 ecode2 = SWIG_AsVal_int(obj1, &val2);
5895 if (!SWIG_IsOK(ecode2)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5897 }
5898 arg2 = static_cast< int >(val2);
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->RequestUserAttention(arg2);
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_Py_Void();
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool result;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 PyObject *swig_obj[1] ;
5920
5921 if (!args) SWIG_fail;
5922 swig_obj[0] = args;
5923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5924 if (!SWIG_IsOK(res1)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5926 }
5927 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)(arg1)->IsActive();
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj = 0;
5945 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5946 bool arg2 ;
5947 void *argp1 = 0 ;
5948 int res1 = 0 ;
5949 bool val2 ;
5950 int ecode2 = 0 ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char * kwnames[] = {
5954 (char *) "self",(char *) "on", NULL
5955 };
5956
5957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5959 if (!SWIG_IsOK(res1)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5961 }
5962 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5963 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5964 if (!SWIG_IsOK(ecode2)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5966 }
5967 arg2 = static_cast< bool >(val2);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5982 PyObject *resultobj = 0;
5983 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5984 bool result;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 PyObject *swig_obj[1] ;
5988
5989 if (!args) SWIG_fail;
5990 swig_obj[0] = args;
5991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5992 if (!SWIG_IsOK(res1)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5994 }
5995 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj = 0;
6013 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6014 int arg2 = (int) wxBOTH ;
6015 void *argp1 = 0 ;
6016 int res1 = 0 ;
6017 int val2 ;
6018 int ecode2 = 0 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 char * kwnames[] = {
6022 (char *) "self",(char *) "dir", NULL
6023 };
6024
6025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6029 }
6030 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6031 if (obj1) {
6032 ecode2 = SWIG_AsVal_int(obj1, &val2);
6033 if (!SWIG_IsOK(ecode2)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6035 }
6036 arg2 = static_cast< int >(val2);
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 (arg1)->CenterOnScreen(arg2);
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = SWIG_Py_Void();
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = 0;
6053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6054 bool arg2 = (bool) true ;
6055 bool result;
6056 void *argp1 = 0 ;
6057 int res1 = 0 ;
6058 bool val2 ;
6059 int ecode2 = 0 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char * kwnames[] = {
6063 (char *) "self",(char *) "enable", NULL
6064 };
6065
6066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6068 if (!SWIG_IsOK(res1)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6070 }
6071 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6072 if (obj1) {
6073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6074 if (!SWIG_IsOK(ecode2)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6076 }
6077 arg2 = static_cast< bool >(val2);
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6087 }
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6095 PyObject *resultobj = 0;
6096 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6097 wxWindow *result = 0 ;
6098 void *argp1 = 0 ;
6099 int res1 = 0 ;
6100 PyObject *swig_obj[1] ;
6101
6102 if (!args) SWIG_fail;
6103 swig_obj[0] = args;
6104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6107 }
6108 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = wxPyMake_wxObject(result, 0);
6117 }
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj = 0;
6126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6127 wxWindow *arg2 = (wxWindow *) 0 ;
6128 wxWindow *result = 0 ;
6129 void *argp1 = 0 ;
6130 int res1 = 0 ;
6131 void *argp2 = 0 ;
6132 int res2 = 0 ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 char * kwnames[] = {
6136 (char *) "self",(char *) "child", NULL
6137 };
6138
6139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6141 if (!SWIG_IsOK(res1)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6143 }
6144 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res2)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6148 }
6149 arg2 = reinterpret_cast< wxWindow * >(argp2);
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = wxPyMake_wxObject(result, 0);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj = 0;
6167 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6168 wxWindow *arg2 = (wxWindow *) 0 ;
6169 void *argp1 = 0 ;
6170 int res1 = 0 ;
6171 void *argp2 = 0 ;
6172 int res2 = 0 ;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175 char * kwnames[] = {
6176 (char *) "self",(char *) "win", NULL
6177 };
6178
6179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6183 }
6184 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res2)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6188 }
6189 arg2 = reinterpret_cast< wxWindow * >(argp2);
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->SetTmpDefaultItem(arg2);
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_Py_Void();
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6204 PyObject *resultobj = 0;
6205 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6206 wxWindow *result = 0 ;
6207 void *argp1 = 0 ;
6208 int res1 = 0 ;
6209 PyObject *swig_obj[1] ;
6210
6211 if (!args) SWIG_fail;
6212 swig_obj[0] = args;
6213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6214 if (!SWIG_IsOK(res1)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6216 }
6217 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 resultobj = wxPyMake_wxObject(result, 0);
6226 }
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *obj;
6235 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6237 return SWIG_Py_Void();
6238 }
6239
6240 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj = 0;
6242 wxWindow *arg1 = (wxWindow *) 0 ;
6243 int arg2 = (int) (int)-1 ;
6244 wxString const &arg3_defvalue = wxPyEmptyString ;
6245 wxString *arg3 = (wxString *) &arg3_defvalue ;
6246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6248 wxSize const &arg5_defvalue = wxDefaultSize ;
6249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6250 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6251 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6252 wxString *arg7 = (wxString *) &arg7_defvalue ;
6253 wxFrame *result = 0 ;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 int val2 ;
6257 int ecode2 = 0 ;
6258 bool temp3 = false ;
6259 wxPoint temp4 ;
6260 wxSize temp5 ;
6261 long val6 ;
6262 int ecode6 = 0 ;
6263 bool temp7 = false ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 PyObject * obj2 = 0 ;
6267 PyObject * obj3 = 0 ;
6268 PyObject * obj4 = 0 ;
6269 PyObject * obj5 = 0 ;
6270 PyObject * obj6 = 0 ;
6271 char * kwnames[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 };
6274
6275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6277 if (!SWIG_IsOK(res1)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6279 }
6280 arg1 = reinterpret_cast< wxWindow * >(argp1);
6281 if (obj1) {
6282 ecode2 = SWIG_AsVal_int(obj1, &val2);
6283 if (!SWIG_IsOK(ecode2)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6285 }
6286 arg2 = static_cast< int >(val2);
6287 }
6288 if (obj2) {
6289 {
6290 arg3 = wxString_in_helper(obj2);
6291 if (arg3 == NULL) SWIG_fail;
6292 temp3 = true;
6293 }
6294 }
6295 if (obj3) {
6296 {
6297 arg4 = &temp4;
6298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6299 }
6300 }
6301 if (obj4) {
6302 {
6303 arg5 = &temp5;
6304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6305 }
6306 }
6307 if (obj5) {
6308 ecode6 = SWIG_AsVal_long(obj5, &val6);
6309 if (!SWIG_IsOK(ecode6)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6311 }
6312 arg6 = static_cast< long >(val6);
6313 }
6314 if (obj6) {
6315 {
6316 arg7 = wxString_in_helper(obj6);
6317 if (arg7 == NULL) SWIG_fail;
6318 temp7 = true;
6319 }
6320 }
6321 {
6322 if (!wxPyCheckForApp()) SWIG_fail;
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6329 {
6330 if (temp3)
6331 delete arg3;
6332 }
6333 {
6334 if (temp7)
6335 delete arg7;
6336 }
6337 return resultobj;
6338 fail:
6339 {
6340 if (temp3)
6341 delete arg3;
6342 }
6343 {
6344 if (temp7)
6345 delete arg7;
6346 }
6347 return NULL;
6348 }
6349
6350
6351 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6352 PyObject *resultobj = 0;
6353 wxFrame *result = 0 ;
6354
6355 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6356 {
6357 if (!wxPyCheckForApp()) SWIG_fail;
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxFrame *)new wxFrame();
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj = 0;
6372 wxFrame *arg1 = (wxFrame *) 0 ;
6373 wxWindow *arg2 = (wxWindow *) 0 ;
6374 int arg3 = (int) (int)-1 ;
6375 wxString const &arg4_defvalue = wxPyEmptyString ;
6376 wxString *arg4 = (wxString *) &arg4_defvalue ;
6377 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6378 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6379 wxSize const &arg6_defvalue = wxDefaultSize ;
6380 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6381 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6382 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6383 wxString *arg8 = (wxString *) &arg8_defvalue ;
6384 bool result;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 void *argp2 = 0 ;
6388 int res2 = 0 ;
6389 int val3 ;
6390 int ecode3 = 0 ;
6391 bool temp4 = false ;
6392 wxPoint temp5 ;
6393 wxSize temp6 ;
6394 long val7 ;
6395 int ecode7 = 0 ;
6396 bool temp8 = false ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
6400 PyObject * obj3 = 0 ;
6401 PyObject * obj4 = 0 ;
6402 PyObject * obj5 = 0 ;
6403 PyObject * obj6 = 0 ;
6404 PyObject * obj7 = 0 ;
6405 char * kwnames[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6407 };
6408
6409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6411 if (!SWIG_IsOK(res1)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6413 }
6414 arg1 = reinterpret_cast< wxFrame * >(argp1);
6415 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6416 if (!SWIG_IsOK(res2)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6418 }
6419 arg2 = reinterpret_cast< wxWindow * >(argp2);
6420 if (obj2) {
6421 ecode3 = SWIG_AsVal_int(obj2, &val3);
6422 if (!SWIG_IsOK(ecode3)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6424 }
6425 arg3 = static_cast< int >(val3);
6426 }
6427 if (obj3) {
6428 {
6429 arg4 = wxString_in_helper(obj3);
6430 if (arg4 == NULL) SWIG_fail;
6431 temp4 = true;
6432 }
6433 }
6434 if (obj4) {
6435 {
6436 arg5 = &temp5;
6437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6438 }
6439 }
6440 if (obj5) {
6441 {
6442 arg6 = &temp6;
6443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6444 }
6445 }
6446 if (obj6) {
6447 ecode7 = SWIG_AsVal_long(obj6, &val7);
6448 if (!SWIG_IsOK(ecode7)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6450 }
6451 arg7 = static_cast< long >(val7);
6452 }
6453 if (obj7) {
6454 {
6455 arg8 = wxString_in_helper(obj7);
6456 if (arg8 == NULL) SWIG_fail;
6457 temp8 = true;
6458 }
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6468 }
6469 {
6470 if (temp4)
6471 delete arg4;
6472 }
6473 {
6474 if (temp8)
6475 delete arg8;
6476 }
6477 return resultobj;
6478 fail:
6479 {
6480 if (temp4)
6481 delete arg4;
6482 }
6483 {
6484 if (temp8)
6485 delete arg8;
6486 }
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 void *argp1 = 0 ;
6495 int res1 = 0 ;
6496 PyObject *swig_obj[1] ;
6497
6498 if (!args) SWIG_fail;
6499 swig_obj[0] = args;
6500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6501 if (!SWIG_IsOK(res1)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6503 }
6504 arg1 = reinterpret_cast< wxFrame * >(argp1);
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = SWIG_Py_Void();
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6522 void *argp1 = 0 ;
6523 int res1 = 0 ;
6524 void *argp2 = 0 ;
6525 int res2 = 0 ;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 char * kwnames[] = {
6529 (char *) "self",(char *) "menubar", NULL
6530 };
6531
6532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6534 if (!SWIG_IsOK(res1)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 }
6537 arg1 = reinterpret_cast< wxFrame * >(argp1);
6538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6539 if (!SWIG_IsOK(res2)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6541 }
6542 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetMenuBar(arg2);
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_Py_Void();
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6557 PyObject *resultobj = 0;
6558 wxFrame *arg1 = (wxFrame *) 0 ;
6559 wxMenuBar *result = 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6569 }
6570 arg1 = reinterpret_cast< wxFrame * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = wxPyMake_wxObject(result, 0);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 int arg2 ;
6590 bool result;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 int val2 ;
6594 int ecode2 = 0 ;
6595 PyObject * obj0 = 0 ;
6596 PyObject * obj1 = 0 ;
6597 char * kwnames[] = {
6598 (char *) "self",(char *) "winid", NULL
6599 };
6600
6601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6605 }
6606 arg1 = reinterpret_cast< wxFrame * >(argp1);
6607 ecode2 = SWIG_AsVal_int(obj1, &val2);
6608 if (!SWIG_IsOK(ecode2)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6610 }
6611 arg2 = static_cast< int >(val2);
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (bool)(arg1)->ProcessCommand(arg2);
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6620 }
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj = 0;
6629 wxFrame *arg1 = (wxFrame *) 0 ;
6630 int arg2 = (int) 1 ;
6631 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6632 int arg4 = (int) 0 ;
6633 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6634 wxString *arg5 = (wxString *) &arg5_defvalue ;
6635 wxStatusBar *result = 0 ;
6636 void *argp1 = 0 ;
6637 int res1 = 0 ;
6638 int val2 ;
6639 int ecode2 = 0 ;
6640 long val3 ;
6641 int ecode3 = 0 ;
6642 int val4 ;
6643 int ecode4 = 0 ;
6644 bool temp5 = false ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 PyObject * obj2 = 0 ;
6648 PyObject * obj3 = 0 ;
6649 PyObject * obj4 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6658 }
6659 arg1 = reinterpret_cast< wxFrame * >(argp1);
6660 if (obj1) {
6661 ecode2 = SWIG_AsVal_int(obj1, &val2);
6662 if (!SWIG_IsOK(ecode2)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6664 }
6665 arg2 = static_cast< int >(val2);
6666 }
6667 if (obj2) {
6668 ecode3 = SWIG_AsVal_long(obj2, &val3);
6669 if (!SWIG_IsOK(ecode3)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6671 }
6672 arg3 = static_cast< long >(val3);
6673 }
6674 if (obj3) {
6675 ecode4 = SWIG_AsVal_int(obj3, &val4);
6676 if (!SWIG_IsOK(ecode4)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6678 }
6679 arg4 = static_cast< int >(val4);
6680 }
6681 if (obj4) {
6682 {
6683 arg5 = wxString_in_helper(obj4);
6684 if (arg5 == NULL) SWIG_fail;
6685 temp5 = true;
6686 }
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 resultobj = wxPyMake_wxObject(result, (bool)0);
6696 }
6697 {
6698 if (temp5)
6699 delete arg5;
6700 }
6701 return resultobj;
6702 fail:
6703 {
6704 if (temp5)
6705 delete arg5;
6706 }
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6712 PyObject *resultobj = 0;
6713 wxFrame *arg1 = (wxFrame *) 0 ;
6714 wxStatusBar *result = 0 ;
6715 void *argp1 = 0 ;
6716 int res1 = 0 ;
6717 PyObject *swig_obj[1] ;
6718
6719 if (!args) SWIG_fail;
6720 swig_obj[0] = args;
6721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6722 if (!SWIG_IsOK(res1)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6724 }
6725 arg1 = reinterpret_cast< wxFrame * >(argp1);
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 resultobj = wxPyMake_wxObject(result, (bool)0);
6734 }
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxFrame *arg1 = (wxFrame *) 0 ;
6744 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 void *argp2 = 0 ;
6748 int res2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char * kwnames[] = {
6752 (char *) "self",(char *) "statBar", NULL
6753 };
6754
6755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6757 if (!SWIG_IsOK(res1)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 }
6760 arg1 = reinterpret_cast< wxFrame * >(argp1);
6761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6762 if (!SWIG_IsOK(res2)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6764 }
6765 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->SetStatusBar(arg2);
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_Py_Void();
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj = 0;
6781 wxFrame *arg1 = (wxFrame *) 0 ;
6782 wxString *arg2 = 0 ;
6783 int arg3 = (int) 0 ;
6784 void *argp1 = 0 ;
6785 int res1 = 0 ;
6786 bool temp2 = false ;
6787 int val3 ;
6788 int ecode3 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 PyObject * obj2 = 0 ;
6792 char * kwnames[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6794 };
6795
6796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6798 if (!SWIG_IsOK(res1)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 }
6801 arg1 = reinterpret_cast< wxFrame * >(argp1);
6802 {
6803 arg2 = wxString_in_helper(obj1);
6804 if (arg2 == NULL) SWIG_fail;
6805 temp2 = true;
6806 }
6807 if (obj2) {
6808 ecode3 = SWIG_AsVal_int(obj2, &val3);
6809 if (!SWIG_IsOK(ecode3)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6811 }
6812 arg3 = static_cast< int >(val3);
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 {
6822 if (temp2)
6823 delete arg2;
6824 }
6825 return resultobj;
6826 fail:
6827 {
6828 if (temp2)
6829 delete arg2;
6830 }
6831 return NULL;
6832 }
6833
6834
6835 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj = 0;
6837 wxFrame *arg1 = (wxFrame *) 0 ;
6838 int arg2 ;
6839 int *arg3 = (int *) 0 ;
6840 void *argp1 = 0 ;
6841 int res1 = 0 ;
6842 PyObject * obj0 = 0 ;
6843 PyObject * obj1 = 0 ;
6844 char * kwnames[] = {
6845 (char *) "self",(char *) "widths", NULL
6846 };
6847
6848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6850 if (!SWIG_IsOK(res1)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6852 }
6853 arg1 = reinterpret_cast< wxFrame * >(argp1);
6854 {
6855 arg2 = PyList_Size(obj1);
6856 arg3 = int_LIST_helper(obj1);
6857 if (arg3 == NULL) SWIG_fail;
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_Py_Void();
6866 {
6867 if (arg3) delete [] arg3;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return NULL;
6875 }
6876
6877
6878 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj = 0;
6880 wxFrame *arg1 = (wxFrame *) 0 ;
6881 wxString *arg2 = 0 ;
6882 int arg3 = (int) 0 ;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 bool temp2 = false ;
6886 int val3 ;
6887 int ecode3 = 0 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 PyObject * obj2 = 0 ;
6891 char * kwnames[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6893 };
6894
6895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6899 }
6900 arg1 = reinterpret_cast< wxFrame * >(argp1);
6901 {
6902 arg2 = wxString_in_helper(obj1);
6903 if (arg2 == NULL) SWIG_fail;
6904 temp2 = true;
6905 }
6906 if (obj2) {
6907 ecode3 = SWIG_AsVal_int(obj2, &val3);
6908 if (!SWIG_IsOK(ecode3)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6910 }
6911 arg3 = static_cast< int >(val3);
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_Py_Void();
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return resultobj;
6925 fail:
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return NULL;
6931 }
6932
6933
6934 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj = 0;
6936 wxFrame *arg1 = (wxFrame *) 0 ;
6937 int arg2 = (int) 0 ;
6938 void *argp1 = 0 ;
6939 int res1 = 0 ;
6940 int val2 ;
6941 int ecode2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char * kwnames[] = {
6945 (char *) "self",(char *) "number", NULL
6946 };
6947
6948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6950 if (!SWIG_IsOK(res1)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6952 }
6953 arg1 = reinterpret_cast< wxFrame * >(argp1);
6954 if (obj1) {
6955 ecode2 = SWIG_AsVal_int(obj1, &val2);
6956 if (!SWIG_IsOK(ecode2)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6958 }
6959 arg2 = static_cast< int >(val2);
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->PopStatusText(arg2);
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 resultobj = SWIG_Py_Void();
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj = 0;
6976 wxFrame *arg1 = (wxFrame *) 0 ;
6977 int arg2 ;
6978 void *argp1 = 0 ;
6979 int res1 = 0 ;
6980 int val2 ;
6981 int ecode2 = 0 ;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 char * kwnames[] = {
6985 (char *) "self",(char *) "n", NULL
6986 };
6987
6988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6990 if (!SWIG_IsOK(res1)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6992 }
6993 arg1 = reinterpret_cast< wxFrame * >(argp1);
6994 ecode2 = SWIG_AsVal_int(obj1, &val2);
6995 if (!SWIG_IsOK(ecode2)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6997 }
6998 arg2 = static_cast< int >(val2);
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 (arg1)->SetStatusBarPane(arg2);
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_Py_Void();
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7013 PyObject *resultobj = 0;
7014 wxFrame *arg1 = (wxFrame *) 0 ;
7015 int result;
7016 void *argp1 = 0 ;
7017 int res1 = 0 ;
7018 PyObject *swig_obj[1] ;
7019
7020 if (!args) SWIG_fail;
7021 swig_obj[0] = args;
7022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7023 if (!SWIG_IsOK(res1)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7025 }
7026 arg1 = reinterpret_cast< wxFrame * >(argp1);
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_From_int(static_cast< int >(result));
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj = 0;
7042 wxFrame *arg1 = (wxFrame *) 0 ;
7043 long arg2 = (long) -1 ;
7044 int arg3 = (int) -1 ;
7045 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7046 wxString *arg4 = (wxString *) &arg4_defvalue ;
7047 wxToolBar *result = 0 ;
7048 void *argp1 = 0 ;
7049 int res1 = 0 ;
7050 long val2 ;
7051 int ecode2 = 0 ;
7052 int val3 ;
7053 int ecode3 = 0 ;
7054 bool temp4 = false ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 PyObject * obj2 = 0 ;
7058 PyObject * obj3 = 0 ;
7059 char * kwnames[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7061 };
7062
7063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 if (obj1) {
7070 ecode2 = SWIG_AsVal_long(obj1, &val2);
7071 if (!SWIG_IsOK(ecode2)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7073 }
7074 arg2 = static_cast< long >(val2);
7075 }
7076 if (obj2) {
7077 ecode3 = SWIG_AsVal_int(obj2, &val3);
7078 if (!SWIG_IsOK(ecode3)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7080 }
7081 arg3 = static_cast< int >(val3);
7082 }
7083 if (obj3) {
7084 {
7085 arg4 = wxString_in_helper(obj3);
7086 if (arg4 == NULL) SWIG_fail;
7087 temp4 = true;
7088 }
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = wxPyMake_wxObject(result, (bool)0);
7098 }
7099 {
7100 if (temp4)
7101 delete arg4;
7102 }
7103 return resultobj;
7104 fail:
7105 {
7106 if (temp4)
7107 delete arg4;
7108 }
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7114 PyObject *resultobj = 0;
7115 wxFrame *arg1 = (wxFrame *) 0 ;
7116 wxToolBar *result = 0 ;
7117 void *argp1 = 0 ;
7118 int res1 = 0 ;
7119 PyObject *swig_obj[1] ;
7120
7121 if (!args) SWIG_fail;
7122 swig_obj[0] = args;
7123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7124 if (!SWIG_IsOK(res1)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7126 }
7127 arg1 = reinterpret_cast< wxFrame * >(argp1);
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 {
7135 resultobj = wxPyMake_wxObject(result, (bool)0);
7136 }
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj = 0;
7145 wxFrame *arg1 = (wxFrame *) 0 ;
7146 wxToolBar *arg2 = (wxToolBar *) 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 void *argp2 = 0 ;
7150 int res2 = 0 ;
7151 PyObject * obj0 = 0 ;
7152 PyObject * obj1 = 0 ;
7153 char * kwnames[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7155 };
7156
7157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7161 }
7162 arg1 = reinterpret_cast< wxFrame * >(argp1);
7163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7164 if (!SWIG_IsOK(res2)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7166 }
7167 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 (arg1)->SetToolBar(arg2);
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = SWIG_Py_Void();
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj = 0;
7183 wxFrame *arg1 = (wxFrame *) 0 ;
7184 wxString *arg2 = 0 ;
7185 bool arg3 ;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 bool temp2 = false ;
7189 bool val3 ;
7190 int ecode3 = 0 ;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char * kwnames[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7196 };
7197
7198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7200 if (!SWIG_IsOK(res1)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7202 }
7203 arg1 = reinterpret_cast< wxFrame * >(argp1);
7204 {
7205 arg2 = wxString_in_helper(obj1);
7206 if (arg2 == NULL) SWIG_fail;
7207 temp2 = true;
7208 }
7209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7210 if (!SWIG_IsOK(ecode3)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7212 }
7213 arg3 = static_cast< bool >(val3);
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 resultobj = SWIG_Py_Void();
7221 {
7222 if (temp2)
7223 delete arg2;
7224 }
7225 return resultobj;
7226 fail:
7227 {
7228 if (temp2)
7229 delete arg2;
7230 }
7231 return NULL;
7232 }
7233
7234
7235 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj = 0;
7237 wxFrame *arg1 = (wxFrame *) 0 ;
7238 wxMenu *arg2 = (wxMenu *) NULL ;
7239 void *argp1 = 0 ;
7240 int res1 = 0 ;
7241 void *argp2 = 0 ;
7242 int res2 = 0 ;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 char * kwnames[] = {
7246 (char *) "self",(char *) "menu", NULL
7247 };
7248
7249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7251 if (!SWIG_IsOK(res1)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7253 }
7254 arg1 = reinterpret_cast< wxFrame * >(argp1);
7255 if (obj1) {
7256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7257 if (!SWIG_IsOK(res2)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7259 }
7260 arg2 = reinterpret_cast< wxMenu * >(argp2);
7261 }
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 (arg1)->DoMenuUpdates(arg2);
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 resultobj = SWIG_Py_Void();
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = 0;
7277 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7278 SwigValueWrapper<wxVisualAttributes > result;
7279 int val1 ;
7280 int ecode1 = 0 ;
7281 PyObject * obj0 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "variant", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7287 if (obj0) {
7288 ecode1 = SWIG_AsVal_int(obj0, &val1);
7289 if (!SWIG_IsOK(ecode1)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7291 }
7292 arg1 = static_cast< wxWindowVariant >(val1);
7293 }
7294 {
7295 if (!wxPyCheckForApp()) SWIG_fail;
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = wxFrame::GetClassDefaultAttributes(arg1);
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7309 PyObject *obj;
7310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7312 return SWIG_Py_Void();
7313 }
7314
7315 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7316 return SWIG_Python_InitShadowInstance(args);
7317 }
7318
7319 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxWindow *arg1 = (wxWindow *) 0 ;
7322 int arg2 = (int) (int)-1 ;
7323 wxString const &arg3_defvalue = wxPyEmptyString ;
7324 wxString *arg3 = (wxString *) &arg3_defvalue ;
7325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7327 wxSize const &arg5_defvalue = wxDefaultSize ;
7328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7329 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7330 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7331 wxString *arg7 = (wxString *) &arg7_defvalue ;
7332 wxDialog *result = 0 ;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 int val2 ;
7336 int ecode2 = 0 ;
7337 bool temp3 = false ;
7338 wxPoint temp4 ;
7339 wxSize temp5 ;
7340 long val6 ;
7341 int ecode6 = 0 ;
7342 bool temp7 = false ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 PyObject * obj2 = 0 ;
7346 PyObject * obj3 = 0 ;
7347 PyObject * obj4 = 0 ;
7348 PyObject * obj5 = 0 ;
7349 PyObject * obj6 = 0 ;
7350 char * kwnames[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7352 };
7353
7354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7356 if (!SWIG_IsOK(res1)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7358 }
7359 arg1 = reinterpret_cast< wxWindow * >(argp1);
7360 if (obj1) {
7361 ecode2 = SWIG_AsVal_int(obj1, &val2);
7362 if (!SWIG_IsOK(ecode2)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7364 }
7365 arg2 = static_cast< int >(val2);
7366 }
7367 if (obj2) {
7368 {
7369 arg3 = wxString_in_helper(obj2);
7370 if (arg3 == NULL) SWIG_fail;
7371 temp3 = true;
7372 }
7373 }
7374 if (obj3) {
7375 {
7376 arg4 = &temp4;
7377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7378 }
7379 }
7380 if (obj4) {
7381 {
7382 arg5 = &temp5;
7383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7384 }
7385 }
7386 if (obj5) {
7387 ecode6 = SWIG_AsVal_long(obj5, &val6);
7388 if (!SWIG_IsOK(ecode6)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7390 }
7391 arg6 = static_cast< long >(val6);
7392 }
7393 if (obj6) {
7394 {
7395 arg7 = wxString_in_helper(obj6);
7396 if (arg7 == NULL) SWIG_fail;
7397 temp7 = true;
7398 }
7399 }
7400 {
7401 if (!wxPyCheckForApp()) SWIG_fail;
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7408 {
7409 if (temp3)
7410 delete arg3;
7411 }
7412 {
7413 if (temp7)
7414 delete arg7;
7415 }
7416 return resultobj;
7417 fail:
7418 {
7419 if (temp3)
7420 delete arg3;
7421 }
7422 {
7423 if (temp7)
7424 delete arg7;
7425 }
7426 return NULL;
7427 }
7428
7429
7430 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7431 PyObject *resultobj = 0;
7432 wxDialog *result = 0 ;
7433
7434 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7435 {
7436 if (!wxPyCheckForApp()) SWIG_fail;
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (wxDialog *)new wxDialog();
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj = 0;
7451 wxDialog *arg1 = (wxDialog *) 0 ;
7452 wxWindow *arg2 = (wxWindow *) 0 ;
7453 int arg3 = (int) (int)-1 ;
7454 wxString const &arg4_defvalue = wxPyEmptyString ;
7455 wxString *arg4 = (wxString *) &arg4_defvalue ;
7456 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7457 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7458 wxSize const &arg6_defvalue = wxDefaultSize ;
7459 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7460 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7461 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7462 wxString *arg8 = (wxString *) &arg8_defvalue ;
7463 bool result;
7464 void *argp1 = 0 ;
7465 int res1 = 0 ;
7466 void *argp2 = 0 ;
7467 int res2 = 0 ;
7468 int val3 ;
7469 int ecode3 = 0 ;
7470 bool temp4 = false ;
7471 wxPoint temp5 ;
7472 wxSize temp6 ;
7473 long val7 ;
7474 int ecode7 = 0 ;
7475 bool temp8 = false ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 PyObject * obj2 = 0 ;
7479 PyObject * obj3 = 0 ;
7480 PyObject * obj4 = 0 ;
7481 PyObject * obj5 = 0 ;
7482 PyObject * obj6 = 0 ;
7483 PyObject * obj7 = 0 ;
7484 char * kwnames[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 };
7487
7488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7492 }
7493 arg1 = reinterpret_cast< wxDialog * >(argp1);
7494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7495 if (!SWIG_IsOK(res2)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7497 }
7498 arg2 = reinterpret_cast< wxWindow * >(argp2);
7499 if (obj2) {
7500 ecode3 = SWIG_AsVal_int(obj2, &val3);
7501 if (!SWIG_IsOK(ecode3)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7503 }
7504 arg3 = static_cast< int >(val3);
7505 }
7506 if (obj3) {
7507 {
7508 arg4 = wxString_in_helper(obj3);
7509 if (arg4 == NULL) SWIG_fail;
7510 temp4 = true;
7511 }
7512 }
7513 if (obj4) {
7514 {
7515 arg5 = &temp5;
7516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7517 }
7518 }
7519 if (obj5) {
7520 {
7521 arg6 = &temp6;
7522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7523 }
7524 }
7525 if (obj6) {
7526 ecode7 = SWIG_AsVal_long(obj6, &val7);
7527 if (!SWIG_IsOK(ecode7)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7529 }
7530 arg7 = static_cast< long >(val7);
7531 }
7532 if (obj7) {
7533 {
7534 arg8 = wxString_in_helper(obj7);
7535 if (arg8 == NULL) SWIG_fail;
7536 temp8 = true;
7537 }
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 {
7549 if (temp4)
7550 delete arg4;
7551 }
7552 {
7553 if (temp8)
7554 delete arg8;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp4)
7560 delete arg4;
7561 }
7562 {
7563 if (temp8)
7564 delete arg8;
7565 }
7566 return NULL;
7567 }
7568
7569
7570 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj = 0;
7572 wxDialog *arg1 = (wxDialog *) 0 ;
7573 int arg2 ;
7574 void *argp1 = 0 ;
7575 int res1 = 0 ;
7576 int val2 ;
7577 int ecode2 = 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char * kwnames[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7582 };
7583
7584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7586 if (!SWIG_IsOK(res1)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 }
7589 arg1 = reinterpret_cast< wxDialog * >(argp1);
7590 ecode2 = SWIG_AsVal_int(obj1, &val2);
7591 if (!SWIG_IsOK(ecode2)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7593 }
7594 arg2 = static_cast< int >(val2);
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 (arg1)->SetReturnCode(arg2);
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 resultobj = SWIG_Py_Void();
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7609 PyObject *resultobj = 0;
7610 wxDialog *arg1 = (wxDialog *) 0 ;
7611 int result;
7612 void *argp1 = 0 ;
7613 int res1 = 0 ;
7614 PyObject *swig_obj[1] ;
7615
7616 if (!args) SWIG_fail;
7617 swig_obj[0] = args;
7618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7619 if (!SWIG_IsOK(res1)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 }
7622 arg1 = reinterpret_cast< wxDialog * >(argp1);
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = SWIG_From_int(static_cast< int >(result));
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj = 0;
7638 wxDialog *arg1 = (wxDialog *) 0 ;
7639 int arg2 ;
7640 void *argp1 = 0 ;
7641 int res1 = 0 ;
7642 int val2 ;
7643 int ecode2 = 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char * kwnames[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7648 };
7649
7650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7652 if (!SWIG_IsOK(res1)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 }
7655 arg1 = reinterpret_cast< wxDialog * >(argp1);
7656 ecode2 = SWIG_AsVal_int(obj1, &val2);
7657 if (!SWIG_IsOK(ecode2)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7659 }
7660 arg2 = static_cast< int >(val2);
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 (arg1)->SetAffirmativeId(arg2);
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_Py_Void();
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7675 PyObject *resultobj = 0;
7676 wxDialog *arg1 = (wxDialog *) 0 ;
7677 int result;
7678 void *argp1 = 0 ;
7679 int res1 = 0 ;
7680 PyObject *swig_obj[1] ;
7681
7682 if (!args) SWIG_fail;
7683 swig_obj[0] = args;
7684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7685 if (!SWIG_IsOK(res1)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 }
7688 arg1 = reinterpret_cast< wxDialog * >(argp1);
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = SWIG_From_int(static_cast< int >(result));
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj = 0;
7704 wxDialog *arg1 = (wxDialog *) 0 ;
7705 int arg2 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 int val2 ;
7709 int ecode2 = 0 ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char * kwnames[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7714 };
7715
7716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7718 if (!SWIG_IsOK(res1)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 }
7721 arg1 = reinterpret_cast< wxDialog * >(argp1);
7722 ecode2 = SWIG_AsVal_int(obj1, &val2);
7723 if (!SWIG_IsOK(ecode2)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7725 }
7726 arg2 = static_cast< int >(val2);
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->SetEscapeId(arg2);
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_Py_Void();
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7741 PyObject *resultobj = 0;
7742 wxDialog *arg1 = (wxDialog *) 0 ;
7743 int result;
7744 void *argp1 = 0 ;
7745 int res1 = 0 ;
7746 PyObject *swig_obj[1] ;
7747
7748 if (!args) SWIG_fail;
7749 swig_obj[0] = args;
7750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7751 if (!SWIG_IsOK(res1)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7753 }
7754 arg1 = reinterpret_cast< wxDialog * >(argp1);
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 resultobj = SWIG_From_int(static_cast< int >(result));
7762 return resultobj;
7763 fail:
7764 return NULL;
7765 }
7766
7767
7768 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj = 0;
7770 wxDialog *arg1 = (wxDialog *) 0 ;
7771 wxString *arg2 = 0 ;
7772 wxSizer *result = 0 ;
7773 void *argp1 = 0 ;
7774 int res1 = 0 ;
7775 bool temp2 = false ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char * kwnames[] = {
7779 (char *) "self",(char *) "message", NULL
7780 };
7781
7782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7784 if (!SWIG_IsOK(res1)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7786 }
7787 arg1 = reinterpret_cast< wxDialog * >(argp1);
7788 {
7789 arg2 = wxString_in_helper(obj1);
7790 if (arg2 == NULL) SWIG_fail;
7791 temp2 = true;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 {
7800 resultobj = wxPyMake_wxObject(result, (bool)0);
7801 }
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return resultobj;
7807 fail:
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return NULL;
7813 }
7814
7815
7816 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj = 0;
7818 wxDialog *arg1 = (wxDialog *) 0 ;
7819 long arg2 ;
7820 bool arg3 = (bool) false ;
7821 int arg4 = (int) 0 ;
7822 wxSizer *result = 0 ;
7823 void *argp1 = 0 ;
7824 int res1 = 0 ;
7825 long val2 ;
7826 int ecode2 = 0 ;
7827 bool val3 ;
7828 int ecode3 = 0 ;
7829 int val4 ;
7830 int ecode4 = 0 ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 PyObject * obj2 = 0 ;
7834 PyObject * obj3 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7841 if (!SWIG_IsOK(res1)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7843 }
7844 arg1 = reinterpret_cast< wxDialog * >(argp1);
7845 ecode2 = SWIG_AsVal_long(obj1, &val2);
7846 if (!SWIG_IsOK(ecode2)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7848 }
7849 arg2 = static_cast< long >(val2);
7850 if (obj2) {
7851 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7852 if (!SWIG_IsOK(ecode3)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7854 }
7855 arg3 = static_cast< bool >(val3);
7856 }
7857 if (obj3) {
7858 ecode4 = SWIG_AsVal_int(obj3, &val4);
7859 if (!SWIG_IsOK(ecode4)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7861 }
7862 arg4 = static_cast< int >(val4);
7863 }
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 resultobj = wxPyMake_wxObject(result, (bool)0);
7872 }
7873 return resultobj;
7874 fail:
7875 return NULL;
7876 }
7877
7878
7879 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj = 0;
7881 wxDialog *arg1 = (wxDialog *) 0 ;
7882 long arg2 ;
7883 wxStdDialogButtonSizer *result = 0 ;
7884 void *argp1 = 0 ;
7885 int res1 = 0 ;
7886 long val2 ;
7887 int ecode2 = 0 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char * kwnames[] = {
7891 (char *) "self",(char *) "flags", NULL
7892 };
7893
7894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7896 if (!SWIG_IsOK(res1)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7898 }
7899 arg1 = reinterpret_cast< wxDialog * >(argp1);
7900 ecode2 = SWIG_AsVal_long(obj1, &val2);
7901 if (!SWIG_IsOK(ecode2)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7903 }
7904 arg2 = static_cast< long >(val2);
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7919 PyObject *resultobj = 0;
7920 wxDialog *arg1 = (wxDialog *) 0 ;
7921 bool result;
7922 void *argp1 = 0 ;
7923 int res1 = 0 ;
7924 PyObject *swig_obj[1] ;
7925
7926 if (!args) SWIG_fail;
7927 swig_obj[0] = args;
7928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7929 if (!SWIG_IsOK(res1)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7931 }
7932 arg1 = reinterpret_cast< wxDialog * >(argp1);
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (bool)((wxDialog const *)arg1)->IsModal();
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7949 PyObject *resultobj = 0;
7950 wxDialog *arg1 = (wxDialog *) 0 ;
7951 int result;
7952 void *argp1 = 0 ;
7953 int res1 = 0 ;
7954 PyObject *swig_obj[1] ;
7955
7956 if (!args) SWIG_fail;
7957 swig_obj[0] = args;
7958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7959 if (!SWIG_IsOK(res1)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7961 }
7962 arg1 = reinterpret_cast< wxDialog * >(argp1);
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (int)(arg1)->ShowModal();
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = SWIG_From_int(static_cast< int >(result));
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = 0;
7978 wxDialog *arg1 = (wxDialog *) 0 ;
7979 int arg2 ;
7980 void *argp1 = 0 ;
7981 int res1 = 0 ;
7982 int val2 ;
7983 int ecode2 = 0 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 char * kwnames[] = {
7987 (char *) "self",(char *) "retCode", NULL
7988 };
7989
7990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7992 if (!SWIG_IsOK(res1)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7994 }
7995 arg1 = reinterpret_cast< wxDialog * >(argp1);
7996 ecode2 = SWIG_AsVal_int(obj1, &val2);
7997 if (!SWIG_IsOK(ecode2)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7999 }
8000 arg2 = static_cast< int >(val2);
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->EndModal(arg2);
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = SWIG_Py_Void();
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj = 0;
8016 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8017 SwigValueWrapper<wxVisualAttributes > result;
8018 int val1 ;
8019 int ecode1 = 0 ;
8020 PyObject * obj0 = 0 ;
8021 char * kwnames[] = {
8022 (char *) "variant", NULL
8023 };
8024
8025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8026 if (obj0) {
8027 ecode1 = SWIG_AsVal_int(obj0, &val1);
8028 if (!SWIG_IsOK(ecode1)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8030 }
8031 arg1 = static_cast< wxWindowVariant >(val1);
8032 }
8033 {
8034 if (!wxPyCheckForApp()) SWIG_fail;
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = wxDialog::GetClassDefaultAttributes(arg1);
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8048 PyObject *obj;
8049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8051 return SWIG_Py_Void();
8052 }
8053
8054 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8055 return SWIG_Python_InitShadowInstance(args);
8056 }
8057
8058 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj = 0;
8060 wxWindow *arg1 = (wxWindow *) 0 ;
8061 int arg2 = (int) (int)-1 ;
8062 wxString const &arg3_defvalue = wxPyEmptyString ;
8063 wxString *arg3 = (wxString *) &arg3_defvalue ;
8064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8066 wxSize const &arg5_defvalue = wxDefaultSize ;
8067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8068 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8069 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8070 wxString *arg7 = (wxString *) &arg7_defvalue ;
8071 wxMiniFrame *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 int val2 ;
8075 int ecode2 = 0 ;
8076 bool temp3 = false ;
8077 wxPoint temp4 ;
8078 wxSize temp5 ;
8079 long val6 ;
8080 int ecode6 = 0 ;
8081 bool temp7 = false ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 PyObject * obj4 = 0 ;
8087 PyObject * obj5 = 0 ;
8088 PyObject * obj6 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8097 }
8098 arg1 = reinterpret_cast< wxWindow * >(argp1);
8099 if (obj1) {
8100 ecode2 = SWIG_AsVal_int(obj1, &val2);
8101 if (!SWIG_IsOK(ecode2)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8103 }
8104 arg2 = static_cast< int >(val2);
8105 }
8106 if (obj2) {
8107 {
8108 arg3 = wxString_in_helper(obj2);
8109 if (arg3 == NULL) SWIG_fail;
8110 temp3 = true;
8111 }
8112 }
8113 if (obj3) {
8114 {
8115 arg4 = &temp4;
8116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8117 }
8118 }
8119 if (obj4) {
8120 {
8121 arg5 = &temp5;
8122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8123 }
8124 }
8125 if (obj5) {
8126 ecode6 = SWIG_AsVal_long(obj5, &val6);
8127 if (!SWIG_IsOK(ecode6)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8129 }
8130 arg6 = static_cast< long >(val6);
8131 }
8132 if (obj6) {
8133 {
8134 arg7 = wxString_in_helper(obj6);
8135 if (arg7 == NULL) SWIG_fail;
8136 temp7 = true;
8137 }
8138 }
8139 {
8140 if (!wxPyCheckForApp()) SWIG_fail;
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8147 {
8148 if (temp3)
8149 delete arg3;
8150 }
8151 {
8152 if (temp7)
8153 delete arg7;
8154 }
8155 return resultobj;
8156 fail:
8157 {
8158 if (temp3)
8159 delete arg3;
8160 }
8161 {
8162 if (temp7)
8163 delete arg7;
8164 }
8165 return NULL;
8166 }
8167
8168
8169 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8170 PyObject *resultobj = 0;
8171 wxMiniFrame *result = 0 ;
8172
8173 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8174 {
8175 if (!wxPyCheckForApp()) SWIG_fail;
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (wxMiniFrame *)new wxMiniFrame();
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj = 0;
8190 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8191 wxWindow *arg2 = (wxWindow *) 0 ;
8192 int arg3 = (int) (int)-1 ;
8193 wxString const &arg4_defvalue = wxPyEmptyString ;
8194 wxString *arg4 = (wxString *) &arg4_defvalue ;
8195 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8196 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8197 wxSize const &arg6_defvalue = wxDefaultSize ;
8198 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8199 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8200 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8201 wxString *arg8 = (wxString *) &arg8_defvalue ;
8202 bool result;
8203 void *argp1 = 0 ;
8204 int res1 = 0 ;
8205 void *argp2 = 0 ;
8206 int res2 = 0 ;
8207 int val3 ;
8208 int ecode3 = 0 ;
8209 bool temp4 = false ;
8210 wxPoint temp5 ;
8211 wxSize temp6 ;
8212 long val7 ;
8213 int ecode7 = 0 ;
8214 bool temp8 = false ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 PyObject * obj3 = 0 ;
8219 PyObject * obj4 = 0 ;
8220 PyObject * obj5 = 0 ;
8221 PyObject * obj6 = 0 ;
8222 PyObject * obj7 = 0 ;
8223 char * kwnames[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8225 };
8226
8227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8229 if (!SWIG_IsOK(res1)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8231 }
8232 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8234 if (!SWIG_IsOK(res2)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8236 }
8237 arg2 = reinterpret_cast< wxWindow * >(argp2);
8238 if (obj2) {
8239 ecode3 = SWIG_AsVal_int(obj2, &val3);
8240 if (!SWIG_IsOK(ecode3)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8242 }
8243 arg3 = static_cast< int >(val3);
8244 }
8245 if (obj3) {
8246 {
8247 arg4 = wxString_in_helper(obj3);
8248 if (arg4 == NULL) SWIG_fail;
8249 temp4 = true;
8250 }
8251 }
8252 if (obj4) {
8253 {
8254 arg5 = &temp5;
8255 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8256 }
8257 }
8258 if (obj5) {
8259 {
8260 arg6 = &temp6;
8261 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8262 }
8263 }
8264 if (obj6) {
8265 ecode7 = SWIG_AsVal_long(obj6, &val7);
8266 if (!SWIG_IsOK(ecode7)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8268 }
8269 arg7 = static_cast< long >(val7);
8270 }
8271 if (obj7) {
8272 {
8273 arg8 = wxString_in_helper(obj7);
8274 if (arg8 == NULL) SWIG_fail;
8275 temp8 = true;
8276 }
8277 }
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
8287 {
8288 if (temp4)
8289 delete arg4;
8290 }
8291 {
8292 if (temp8)
8293 delete arg8;
8294 }
8295 return resultobj;
8296 fail:
8297 {
8298 if (temp4)
8299 delete arg4;
8300 }
8301 {
8302 if (temp8)
8303 delete arg8;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8310 PyObject *obj;
8311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8312 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8313 return SWIG_Py_Void();
8314 }
8315
8316 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8317 return SWIG_Python_InitShadowInstance(args);
8318 }
8319
8320 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj = 0;
8322 wxBitmap *arg1 = 0 ;
8323 wxWindow *arg2 = (wxWindow *) 0 ;
8324 int arg3 ;
8325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8327 wxSize const &arg5_defvalue = wxDefaultSize ;
8328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8329 long arg6 = (long) wxNO_BORDER ;
8330 wxSplashScreenWindow *result = 0 ;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 void *argp2 = 0 ;
8334 int res2 = 0 ;
8335 int val3 ;
8336 int ecode3 = 0 ;
8337 wxPoint temp4 ;
8338 wxSize temp5 ;
8339 long val6 ;
8340 int ecode6 = 0 ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj1 = 0 ;
8343 PyObject * obj2 = 0 ;
8344 PyObject * obj3 = 0 ;
8345 PyObject * obj4 = 0 ;
8346 PyObject * obj5 = 0 ;
8347 char * kwnames[] = {
8348 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8349 };
8350
8351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8352 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8353 if (!SWIG_IsOK(res1)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8355 }
8356 if (!argp1) {
8357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8358 }
8359 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8361 if (!SWIG_IsOK(res2)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8363 }
8364 arg2 = reinterpret_cast< wxWindow * >(argp2);
8365 ecode3 = SWIG_AsVal_int(obj2, &val3);
8366 if (!SWIG_IsOK(ecode3)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8368 }
8369 arg3 = static_cast< int >(val3);
8370 if (obj3) {
8371 {
8372 arg4 = &temp4;
8373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8374 }
8375 }
8376 if (obj4) {
8377 {
8378 arg5 = &temp5;
8379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8380 }
8381 }
8382 if (obj5) {
8383 ecode6 = SWIG_AsVal_long(obj5, &val6);
8384 if (!SWIG_IsOK(ecode6)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8386 }
8387 arg6 = static_cast< long >(val6);
8388 }
8389 {
8390 if (!wxPyCheckForApp()) SWIG_fail;
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj = 0;
8405 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8406 wxBitmap *arg2 = 0 ;
8407 void *argp1 = 0 ;
8408 int res1 = 0 ;
8409 void *argp2 = 0 ;
8410 int res2 = 0 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char * kwnames[] = {
8414 (char *) "self",(char *) "bitmap", NULL
8415 };
8416
8417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8421 }
8422 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8423 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8424 if (!SWIG_IsOK(res2)) {
8425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8426 }
8427 if (!argp2) {
8428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8429 }
8430 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 resultobj = SWIG_Py_Void();
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8445 PyObject *resultobj = 0;
8446 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8447 wxBitmap *result = 0 ;
8448 void *argp1 = 0 ;
8449 int res1 = 0 ;
8450 PyObject *swig_obj[1] ;
8451
8452 if (!args) SWIG_fail;
8453 swig_obj[0] = args;
8454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8455 if (!SWIG_IsOK(res1)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8457 }
8458 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 {
8462 wxBitmap &_result_ref = (arg1)->GetBitmap();
8463 result = (wxBitmap *) &_result_ref;
8464 }
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 {
8469 wxBitmap* resultptr = new wxBitmap(*result);
8470 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8471 }
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8479 PyObject *obj;
8480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8481 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8482 return SWIG_Py_Void();
8483 }
8484
8485 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8486 return SWIG_Python_InitShadowInstance(args);
8487 }
8488
8489 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj = 0;
8491 wxBitmap *arg1 = 0 ;
8492 long arg2 ;
8493 int arg3 ;
8494 wxWindow *arg4 = (wxWindow *) 0 ;
8495 int arg5 = (int) -1 ;
8496 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8497 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8498 wxSize const &arg7_defvalue = wxDefaultSize ;
8499 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8500 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8501 wxSplashScreen *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 long val2 ;
8505 int ecode2 = 0 ;
8506 int val3 ;
8507 int ecode3 = 0 ;
8508 void *argp4 = 0 ;
8509 int res4 = 0 ;
8510 int val5 ;
8511 int ecode5 = 0 ;
8512 wxPoint temp6 ;
8513 wxSize temp7 ;
8514 long val8 ;
8515 int ecode8 = 0 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 PyObject * obj4 = 0 ;
8521 PyObject * obj5 = 0 ;
8522 PyObject * obj6 = 0 ;
8523 PyObject * obj7 = 0 ;
8524 char * kwnames[] = {
8525 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8526 };
8527
8528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8529 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8530 if (!SWIG_IsOK(res1)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8532 }
8533 if (!argp1) {
8534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8535 }
8536 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8537 ecode2 = SWIG_AsVal_long(obj1, &val2);
8538 if (!SWIG_IsOK(ecode2)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8540 }
8541 arg2 = static_cast< long >(val2);
8542 ecode3 = SWIG_AsVal_int(obj2, &val3);
8543 if (!SWIG_IsOK(ecode3)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8545 }
8546 arg3 = static_cast< int >(val3);
8547 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8548 if (!SWIG_IsOK(res4)) {
8549 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8550 }
8551 arg4 = reinterpret_cast< wxWindow * >(argp4);
8552 if (obj4) {
8553 ecode5 = SWIG_AsVal_int(obj4, &val5);
8554 if (!SWIG_IsOK(ecode5)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8556 }
8557 arg5 = static_cast< int >(val5);
8558 }
8559 if (obj5) {
8560 {
8561 arg6 = &temp6;
8562 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8563 }
8564 }
8565 if (obj6) {
8566 {
8567 arg7 = &temp7;
8568 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8569 }
8570 }
8571 if (obj7) {
8572 ecode8 = SWIG_AsVal_long(obj7, &val8);
8573 if (!SWIG_IsOK(ecode8)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8575 }
8576 arg8 = static_cast< long >(val8);
8577 }
8578 {
8579 if (!wxPyCheckForApp()) SWIG_fail;
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8593 PyObject *resultobj = 0;
8594 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8595 long result;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 PyObject *swig_obj[1] ;
8599
8600 if (!args) SWIG_fail;
8601 swig_obj[0] = args;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8605 }
8606 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_From_long(static_cast< long >(result));
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8621 PyObject *resultobj = 0;
8622 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8623 wxSplashScreenWindow *result = 0 ;
8624 void *argp1 = 0 ;
8625 int res1 = 0 ;
8626 PyObject *swig_obj[1] ;
8627
8628 if (!args) SWIG_fail;
8629 swig_obj[0] = args;
8630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8631 if (!SWIG_IsOK(res1)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8633 }
8634 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8649 PyObject *resultobj = 0;
8650 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8651 int result;
8652 void *argp1 = 0 ;
8653 int res1 = 0 ;
8654 PyObject *swig_obj[1] ;
8655
8656 if (!args) SWIG_fail;
8657 swig_obj[0] = args;
8658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8661 }
8662 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = SWIG_From_int(static_cast< int >(result));
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8677 PyObject *obj;
8678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8680 return SWIG_Py_Void();
8681 }
8682
8683 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8684 return SWIG_Python_InitShadowInstance(args);
8685 }
8686
8687 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj = 0;
8689 wxWindow *arg1 = (wxWindow *) 0 ;
8690 int arg2 = (int) -1 ;
8691 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8692 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8693 wxString *arg4 = (wxString *) &arg4_defvalue ;
8694 wxStatusBar *result = 0 ;
8695 void *argp1 = 0 ;
8696 int res1 = 0 ;
8697 int val2 ;
8698 int ecode2 = 0 ;
8699 long val3 ;
8700 int ecode3 = 0 ;
8701 bool temp4 = false ;
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
8704 PyObject * obj2 = 0 ;
8705 PyObject * obj3 = 0 ;
8706 char * kwnames[] = {
8707 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8708 };
8709
8710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8712 if (!SWIG_IsOK(res1)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8714 }
8715 arg1 = reinterpret_cast< wxWindow * >(argp1);
8716 if (obj1) {
8717 ecode2 = SWIG_AsVal_int(obj1, &val2);
8718 if (!SWIG_IsOK(ecode2)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8720 }
8721 arg2 = static_cast< int >(val2);
8722 }
8723 if (obj2) {
8724 ecode3 = SWIG_AsVal_long(obj2, &val3);
8725 if (!SWIG_IsOK(ecode3)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8727 }
8728 arg3 = static_cast< long >(val3);
8729 }
8730 if (obj3) {
8731 {
8732 arg4 = wxString_in_helper(obj3);
8733 if (arg4 == NULL) SWIG_fail;
8734 temp4 = true;
8735 }
8736 }
8737 {
8738 if (!wxPyCheckForApp()) SWIG_fail;
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8745 {
8746 if (temp4)
8747 delete arg4;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp4)
8753 delete arg4;
8754 }
8755 return NULL;
8756 }
8757
8758
8759 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8760 PyObject *resultobj = 0;
8761 wxStatusBar *result = 0 ;
8762
8763 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8764 {
8765 if (!wxPyCheckForApp()) SWIG_fail;
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (wxStatusBar *)new wxStatusBar();
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj = 0;
8780 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8781 wxWindow *arg2 = (wxWindow *) 0 ;
8782 int arg3 = (int) -1 ;
8783 long arg4 = (long) wxST_SIZEGRIP ;
8784 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8785 wxString *arg5 = (wxString *) &arg5_defvalue ;
8786 bool result;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 void *argp2 = 0 ;
8790 int res2 = 0 ;
8791 int val3 ;
8792 int ecode3 = 0 ;
8793 long val4 ;
8794 int ecode4 = 0 ;
8795 bool temp5 = false ;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 PyObject * obj2 = 0 ;
8799 PyObject * obj3 = 0 ;
8800 PyObject * obj4 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8809 }
8810 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8812 if (!SWIG_IsOK(res2)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8814 }
8815 arg2 = reinterpret_cast< wxWindow * >(argp2);
8816 if (obj2) {
8817 ecode3 = SWIG_AsVal_int(obj2, &val3);
8818 if (!SWIG_IsOK(ecode3)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8820 }
8821 arg3 = static_cast< int >(val3);
8822 }
8823 if (obj3) {
8824 ecode4 = SWIG_AsVal_long(obj3, &val4);
8825 if (!SWIG_IsOK(ecode4)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8827 }
8828 arg4 = static_cast< long >(val4);
8829 }
8830 if (obj4) {
8831 {
8832 arg5 = wxString_in_helper(obj4);
8833 if (arg5 == NULL) SWIG_fail;
8834 temp5 = true;
8835 }
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 {
8844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8845 }
8846 {
8847 if (temp5)
8848 delete arg5;
8849 }
8850 return resultobj;
8851 fail:
8852 {
8853 if (temp5)
8854 delete arg5;
8855 }
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8863 int arg2 = (int) 1 ;
8864 void *argp1 = 0 ;
8865 int res1 = 0 ;
8866 int val2 ;
8867 int ecode2 = 0 ;
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 char * kwnames[] = {
8871 (char *) "self",(char *) "number", NULL
8872 };
8873
8874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8876 if (!SWIG_IsOK(res1)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8878 }
8879 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8880 if (obj1) {
8881 ecode2 = SWIG_AsVal_int(obj1, &val2);
8882 if (!SWIG_IsOK(ecode2)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8884 }
8885 arg2 = static_cast< int >(val2);
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetFieldsCount(arg2);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_Py_Void();
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8901 PyObject *resultobj = 0;
8902 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8903 int result;
8904 void *argp1 = 0 ;
8905 int res1 = 0 ;
8906 PyObject *swig_obj[1] ;
8907
8908 if (!args) SWIG_fail;
8909 swig_obj[0] = args;
8910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8911 if (!SWIG_IsOK(res1)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8913 }
8914 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_From_int(static_cast< int >(result));
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj = 0;
8930 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8931 wxString *arg2 = 0 ;
8932 int arg3 = (int) 0 ;
8933 void *argp1 = 0 ;
8934 int res1 = 0 ;
8935 bool temp2 = false ;
8936 int val3 ;
8937 int ecode3 = 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 char * kwnames[] = {
8942 (char *) "self",(char *) "text",(char *) "number", NULL
8943 };
8944
8945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8947 if (!SWIG_IsOK(res1)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8949 }
8950 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8951 {
8952 arg2 = wxString_in_helper(obj1);
8953 if (arg2 == NULL) SWIG_fail;
8954 temp2 = true;
8955 }
8956 if (obj2) {
8957 ecode3 = SWIG_AsVal_int(obj2, &val3);
8958 if (!SWIG_IsOK(ecode3)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8960 }
8961 arg3 = static_cast< int >(val3);
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 resultobj = SWIG_Py_Void();
8970 {
8971 if (temp2)
8972 delete arg2;
8973 }
8974 return resultobj;
8975 fail:
8976 {
8977 if (temp2)
8978 delete arg2;
8979 }
8980 return NULL;
8981 }
8982
8983
8984 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj = 0;
8986 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8987 int arg2 = (int) 0 ;
8988 wxString result;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 int val2 ;
8992 int ecode2 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char * kwnames[] = {
8996 (char *) "self",(char *) "number", NULL
8997 };
8998
8999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9001 if (!SWIG_IsOK(res1)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9003 }
9004 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9005 if (obj1) {
9006 ecode2 = SWIG_AsVal_int(obj1, &val2);
9007 if (!SWIG_IsOK(ecode2)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9009 }
9010 arg2 = static_cast< int >(val2);
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
9019 #if wxUSE_UNICODE
9020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9021 #else
9022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9023 #endif
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj = 0;
9033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9034 wxString *arg2 = 0 ;
9035 int arg3 = (int) 0 ;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 bool temp2 = false ;
9039 int val3 ;
9040 int ecode3 = 0 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 PyObject * obj2 = 0 ;
9044 char * kwnames[] = {
9045 (char *) "self",(char *) "text",(char *) "number", NULL
9046 };
9047
9048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9050 if (!SWIG_IsOK(res1)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9052 }
9053 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9054 {
9055 arg2 = wxString_in_helper(obj1);
9056 if (arg2 == NULL) SWIG_fail;
9057 temp2 = true;
9058 }
9059 if (obj2) {
9060 ecode3 = SWIG_AsVal_int(obj2, &val3);
9061 if (!SWIG_IsOK(ecode3)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9063 }
9064 arg3 = static_cast< int >(val3);
9065 }
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_Py_Void();
9073 {
9074 if (temp2)
9075 delete arg2;
9076 }
9077 return resultobj;
9078 fail:
9079 {
9080 if (temp2)
9081 delete arg2;
9082 }
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9090 int arg2 = (int) 0 ;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 int val2 ;
9094 int ecode2 = 0 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char * kwnames[] = {
9098 (char *) "self",(char *) "number", NULL
9099 };
9100
9101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9103 if (!SWIG_IsOK(res1)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9105 }
9106 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9107 if (obj1) {
9108 ecode2 = SWIG_AsVal_int(obj1, &val2);
9109 if (!SWIG_IsOK(ecode2)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9111 }
9112 arg2 = static_cast< int >(val2);
9113 }
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 (arg1)->PopStatusText(arg2);
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_Py_Void();
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj = 0;
9129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9130 int arg2 ;
9131 int *arg3 = (int *) 0 ;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj1 = 0 ;
9136 char * kwnames[] = {
9137 (char *) "self",(char *) "widths", NULL
9138 };
9139
9140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9144 }
9145 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9146 {
9147 arg2 = PyList_Size(obj1);
9148 arg3 = int_LIST_helper(obj1);
9149 if (arg3 == NULL) SWIG_fail;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (arg3) delete [] arg3;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (arg3) delete [] arg3;
9165 }
9166 return NULL;
9167 }
9168
9169
9170 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj = 0;
9172 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9173 int arg2 ;
9174 int *arg3 = (int *) 0 ;
9175 void *argp1 = 0 ;
9176 int res1 = 0 ;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 char * kwnames[] = {
9180 (char *) "self",(char *) "styles", NULL
9181 };
9182
9183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9185 if (!SWIG_IsOK(res1)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9187 }
9188 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9189 {
9190 arg2 = PyList_Size(obj1);
9191 arg3 = int_LIST_helper(obj1);
9192 if (arg3 == NULL) SWIG_fail;
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 {
9202 if (arg3) delete [] arg3;
9203 }
9204 return resultobj;
9205 fail:
9206 {
9207 if (arg3) delete [] arg3;
9208 }
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9216 int arg2 ;
9217 wxRect result;
9218 void *argp1 = 0 ;
9219 int res1 = 0 ;
9220 int val2 ;
9221 int ecode2 = 0 ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 char * kwnames[] = {
9225 (char *) "self",(char *) "i", NULL
9226 };
9227
9228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9230 if (!SWIG_IsOK(res1)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9232 }
9233 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9234 ecode2 = SWIG_AsVal_int(obj1, &val2);
9235 if (!SWIG_IsOK(ecode2)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9237 }
9238 arg2 = static_cast< int >(val2);
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = wxStatusBar_GetFieldRect(arg1,arg2);
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj = 0;
9254 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9255 int arg2 ;
9256 void *argp1 = 0 ;
9257 int res1 = 0 ;
9258 int val2 ;
9259 int ecode2 = 0 ;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 char * kwnames[] = {
9263 (char *) "self",(char *) "height", NULL
9264 };
9265
9266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9268 if (!SWIG_IsOK(res1)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9270 }
9271 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9272 ecode2 = SWIG_AsVal_int(obj1, &val2);
9273 if (!SWIG_IsOK(ecode2)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9275 }
9276 arg2 = static_cast< int >(val2);
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetMinHeight(arg2);
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_Py_Void();
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9291 PyObject *resultobj = 0;
9292 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9293 int result;
9294 void *argp1 = 0 ;
9295 int res1 = 0 ;
9296 PyObject *swig_obj[1] ;
9297
9298 if (!args) SWIG_fail;
9299 swig_obj[0] = args;
9300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9301 if (!SWIG_IsOK(res1)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9303 }
9304 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 resultobj = SWIG_From_int(static_cast< int >(result));
9312 return resultobj;
9313 fail:
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9319 PyObject *resultobj = 0;
9320 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9321 int result;
9322 void *argp1 = 0 ;
9323 int res1 = 0 ;
9324 PyObject *swig_obj[1] ;
9325
9326 if (!args) SWIG_fail;
9327 swig_obj[0] = args;
9328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9331 }
9332 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_From_int(static_cast< int >(result));
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj = 0;
9348 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9349 SwigValueWrapper<wxVisualAttributes > result;
9350 int val1 ;
9351 int ecode1 = 0 ;
9352 PyObject * obj0 = 0 ;
9353 char * kwnames[] = {
9354 (char *) "variant", NULL
9355 };
9356
9357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9358 if (obj0) {
9359 ecode1 = SWIG_AsVal_int(obj0, &val1);
9360 if (!SWIG_IsOK(ecode1)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9362 }
9363 arg1 = static_cast< wxWindowVariant >(val1);
9364 }
9365 {
9366 if (!wxPyCheckForApp()) SWIG_fail;
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9380 PyObject *obj;
9381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9382 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9383 return SWIG_Py_Void();
9384 }
9385
9386 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9387 return SWIG_Python_InitShadowInstance(args);
9388 }
9389
9390 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9391 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9392 return 1;
9393 }
9394
9395
9396 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9397 PyObject *pyobj = 0;
9398
9399 {
9400 #if wxUSE_UNICODE
9401 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9402 #else
9403 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9404 #endif
9405 }
9406 return pyobj;
9407 }
9408
9409
9410 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj = 0;
9412 wxWindow *arg1 = (wxWindow *) 0 ;
9413 int arg2 = (int) -1 ;
9414 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9415 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9416 wxSize const &arg4_defvalue = wxDefaultSize ;
9417 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9418 long arg5 = (long) wxSP_3D ;
9419 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9420 wxString *arg6 = (wxString *) &arg6_defvalue ;
9421 wxSplitterWindow *result = 0 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 wxPoint temp3 ;
9427 wxSize temp4 ;
9428 long val5 ;
9429 int ecode5 = 0 ;
9430 bool temp6 = false ;
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 PyObject * obj2 = 0 ;
9434 PyObject * obj3 = 0 ;
9435 PyObject * obj4 = 0 ;
9436 PyObject * obj5 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9445 }
9446 arg1 = reinterpret_cast< wxWindow * >(argp1);
9447 if (obj1) {
9448 ecode2 = SWIG_AsVal_int(obj1, &val2);
9449 if (!SWIG_IsOK(ecode2)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9451 }
9452 arg2 = static_cast< int >(val2);
9453 }
9454 if (obj2) {
9455 {
9456 arg3 = &temp3;
9457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9458 }
9459 }
9460 if (obj3) {
9461 {
9462 arg4 = &temp4;
9463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9464 }
9465 }
9466 if (obj4) {
9467 ecode5 = SWIG_AsVal_long(obj4, &val5);
9468 if (!SWIG_IsOK(ecode5)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9470 }
9471 arg5 = static_cast< long >(val5);
9472 }
9473 if (obj5) {
9474 {
9475 arg6 = wxString_in_helper(obj5);
9476 if (arg6 == NULL) SWIG_fail;
9477 temp6 = true;
9478 }
9479 }
9480 {
9481 if (!wxPyCheckForApp()) SWIG_fail;
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9488 {
9489 if (temp6)
9490 delete arg6;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp6)
9496 delete arg6;
9497 }
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9503 PyObject *resultobj = 0;
9504 wxSplitterWindow *result = 0 ;
9505
9506 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9507 {
9508 if (!wxPyCheckForApp()) SWIG_fail;
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (wxSplitterWindow *)new wxSplitterWindow();
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9515 return resultobj;
9516 fail:
9517 return NULL;
9518 }
9519
9520
9521 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj = 0;
9523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9524 wxWindow *arg2 = (wxWindow *) 0 ;
9525 int arg3 = (int) -1 ;
9526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9528 wxSize const &arg5_defvalue = wxDefaultSize ;
9529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9530 long arg6 = (long) wxSP_3D ;
9531 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9532 wxString *arg7 = (wxString *) &arg7_defvalue ;
9533 bool result;
9534 void *argp1 = 0 ;
9535 int res1 = 0 ;
9536 void *argp2 = 0 ;
9537 int res2 = 0 ;
9538 int val3 ;
9539 int ecode3 = 0 ;
9540 wxPoint temp4 ;
9541 wxSize temp5 ;
9542 long val6 ;
9543 int ecode6 = 0 ;
9544 bool temp7 = false ;
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 PyObject * obj2 = 0 ;
9548 PyObject * obj3 = 0 ;
9549 PyObject * obj4 = 0 ;
9550 PyObject * obj5 = 0 ;
9551 PyObject * obj6 = 0 ;
9552 char * kwnames[] = {
9553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9554 };
9555
9556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res1)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9560 }
9561 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res2)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9565 }
9566 arg2 = reinterpret_cast< wxWindow * >(argp2);
9567 if (obj2) {
9568 ecode3 = SWIG_AsVal_int(obj2, &val3);
9569 if (!SWIG_IsOK(ecode3)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9571 }
9572 arg3 = static_cast< int >(val3);
9573 }
9574 if (obj3) {
9575 {
9576 arg4 = &temp4;
9577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9578 }
9579 }
9580 if (obj4) {
9581 {
9582 arg5 = &temp5;
9583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9584 }
9585 }
9586 if (obj5) {
9587 ecode6 = SWIG_AsVal_long(obj5, &val6);
9588 if (!SWIG_IsOK(ecode6)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9590 }
9591 arg6 = static_cast< long >(val6);
9592 }
9593 if (obj6) {
9594 {
9595 arg7 = wxString_in_helper(obj6);
9596 if (arg7 == NULL) SWIG_fail;
9597 temp7 = true;
9598 }
9599 }
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9608 }
9609 {
9610 if (temp7)
9611 delete arg7;
9612 }
9613 return resultobj;
9614 fail:
9615 {
9616 if (temp7)
9617 delete arg7;
9618 }
9619 return NULL;
9620 }
9621
9622
9623 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9624 PyObject *resultobj = 0;
9625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9626 wxWindow *result = 0 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 PyObject *swig_obj[1] ;
9630
9631 if (!args) SWIG_fail;
9632 swig_obj[0] = args;
9633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9634 if (!SWIG_IsOK(res1)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9636 }
9637 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = wxPyMake_wxObject(result, 0);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9654 PyObject *resultobj = 0;
9655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9656 wxWindow *result = 0 ;
9657 void *argp1 = 0 ;
9658 int res1 = 0 ;
9659 PyObject *swig_obj[1] ;
9660
9661 if (!args) SWIG_fail;
9662 swig_obj[0] = args;
9663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9666 }
9667 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 resultobj = wxPyMake_wxObject(result, 0);
9676 }
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj = 0;
9685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9686 int arg2 ;
9687 void *argp1 = 0 ;
9688 int res1 = 0 ;
9689 int val2 ;
9690 int ecode2 = 0 ;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 char * kwnames[] = {
9694 (char *) "self",(char *) "mode", NULL
9695 };
9696
9697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9699 if (!SWIG_IsOK(res1)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9701 }
9702 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9703 ecode2 = SWIG_AsVal_int(obj1, &val2);
9704 if (!SWIG_IsOK(ecode2)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9706 }
9707 arg2 = static_cast< int >(val2);
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetSplitMode(arg2);
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 resultobj = SWIG_Py_Void();
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9722 PyObject *resultobj = 0;
9723 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9724 wxSplitMode result;
9725 void *argp1 = 0 ;
9726 int res1 = 0 ;
9727 PyObject *swig_obj[1] ;
9728
9729 if (!args) SWIG_fail;
9730 swig_obj[0] = args;
9731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9734 }
9735 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_From_int(static_cast< int >(result));
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj = 0;
9751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9752 wxWindow *arg2 = (wxWindow *) 0 ;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 void *argp2 = 0 ;
9756 int res2 = 0 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char * kwnames[] = {
9760 (char *) "self",(char *) "window", NULL
9761 };
9762
9763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9765 if (!SWIG_IsOK(res1)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 }
9768 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9770 if (!SWIG_IsOK(res2)) {
9771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 }
9773 arg2 = reinterpret_cast< wxWindow * >(argp2);
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->Initialize(arg2);
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = SWIG_Py_Void();
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj = 0;
9789 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9790 wxWindow *arg2 = (wxWindow *) 0 ;
9791 wxWindow *arg3 = (wxWindow *) 0 ;
9792 int arg4 = (int) 0 ;
9793 bool result;
9794 void *argp1 = 0 ;
9795 int res1 = 0 ;
9796 void *argp2 = 0 ;
9797 int res2 = 0 ;
9798 void *argp3 = 0 ;
9799 int res3 = 0 ;
9800 int val4 ;
9801 int ecode4 = 0 ;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 PyObject * obj2 = 0 ;
9805 PyObject * obj3 = 0 ;
9806 char * kwnames[] = {
9807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9808 };
9809
9810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9812 if (!SWIG_IsOK(res1)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9814 }
9815 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res2)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9819 }
9820 arg2 = reinterpret_cast< wxWindow * >(argp2);
9821 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res3)) {
9823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9824 }
9825 arg3 = reinterpret_cast< wxWindow * >(argp3);
9826 if (obj3) {
9827 ecode4 = SWIG_AsVal_int(obj3, &val4);
9828 if (!SWIG_IsOK(ecode4)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9830 }
9831 arg4 = static_cast< int >(val4);
9832 }
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 {
9840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9841 }
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9851 wxWindow *arg2 = (wxWindow *) 0 ;
9852 wxWindow *arg3 = (wxWindow *) 0 ;
9853 int arg4 = (int) 0 ;
9854 bool result;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 void *argp2 = 0 ;
9858 int res2 = 0 ;
9859 void *argp3 = 0 ;
9860 int res3 = 0 ;
9861 int val4 ;
9862 int ecode4 = 0 ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 PyObject * obj3 = 0 ;
9867 char * kwnames[] = {
9868 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9869 };
9870
9871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9873 if (!SWIG_IsOK(res1)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9875 }
9876 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9878 if (!SWIG_IsOK(res2)) {
9879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9880 }
9881 arg2 = reinterpret_cast< wxWindow * >(argp2);
9882 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9883 if (!SWIG_IsOK(res3)) {
9884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9885 }
9886 arg3 = reinterpret_cast< wxWindow * >(argp3);
9887 if (obj3) {
9888 ecode4 = SWIG_AsVal_int(obj3, &val4);
9889 if (!SWIG_IsOK(ecode4)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9891 }
9892 arg4 = static_cast< int >(val4);
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 {
9901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9902 }
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj = 0;
9911 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9912 wxWindow *arg2 = (wxWindow *) NULL ;
9913 bool result;
9914 void *argp1 = 0 ;
9915 int res1 = 0 ;
9916 void *argp2 = 0 ;
9917 int res2 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "toRemove", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 }
9929 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9930 if (obj1) {
9931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9932 if (!SWIG_IsOK(res2)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9934 }
9935 arg2 = reinterpret_cast< wxWindow * >(argp2);
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (bool)(arg1)->Unsplit(arg2);
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 {
9944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj = 0;
9954 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9955 wxWindow *arg2 = (wxWindow *) 0 ;
9956 wxWindow *arg3 = (wxWindow *) 0 ;
9957 bool result;
9958 void *argp1 = 0 ;
9959 int res1 = 0 ;
9960 void *argp2 = 0 ;
9961 int res2 = 0 ;
9962 void *argp3 = 0 ;
9963 int res3 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9975 }
9976 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9978 if (!SWIG_IsOK(res2)) {
9979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9980 }
9981 arg2 = reinterpret_cast< wxWindow * >(argp2);
9982 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9983 if (!SWIG_IsOK(res3)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9985 }
9986 arg3 = reinterpret_cast< wxWindow * >(argp3);
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10003 PyObject *resultobj = 0;
10004 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10005 void *argp1 = 0 ;
10006 int res1 = 0 ;
10007 PyObject *swig_obj[1] ;
10008
10009 if (!args) SWIG_fail;
10010 swig_obj[0] = args;
10011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10012 if (!SWIG_IsOK(res1)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10014 }
10015 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 (arg1)->UpdateSize();
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = SWIG_Py_Void();
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10030 PyObject *resultobj = 0;
10031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10032 bool result;
10033 void *argp1 = 0 ;
10034 int res1 = 0 ;
10035 PyObject *swig_obj[1] ;
10036
10037 if (!args) SWIG_fail;
10038 swig_obj[0] = args;
10039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10040 if (!SWIG_IsOK(res1)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10042 }
10043 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 {
10051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10052 }
10053 return resultobj;
10054 fail:
10055 return NULL;
10056 }
10057
10058
10059 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10060 PyObject *resultobj = 0;
10061 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10062 int arg2 ;
10063 void *argp1 = 0 ;
10064 int res1 = 0 ;
10065 int val2 ;
10066 int ecode2 = 0 ;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 char * kwnames[] = {
10070 (char *) "self",(char *) "width", NULL
10071 };
10072
10073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10075 if (!SWIG_IsOK(res1)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10077 }
10078 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10079 ecode2 = SWIG_AsVal_int(obj1, &val2);
10080 if (!SWIG_IsOK(ecode2)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10082 }
10083 arg2 = static_cast< int >(val2);
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetSashSize(arg2);
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_Py_Void();
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj = 0;
10099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10100 int arg2 ;
10101 void *argp1 = 0 ;
10102 int res1 = 0 ;
10103 int val2 ;
10104 int ecode2 = 0 ;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 char * kwnames[] = {
10108 (char *) "self",(char *) "width", NULL
10109 };
10110
10111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10115 }
10116 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10117 ecode2 = SWIG_AsVal_int(obj1, &val2);
10118 if (!SWIG_IsOK(ecode2)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10120 }
10121 arg2 = static_cast< int >(val2);
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->SetBorderSize(arg2);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_Py_Void();
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10136 PyObject *resultobj = 0;
10137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10138 int result;
10139 void *argp1 = 0 ;
10140 int res1 = 0 ;
10141 PyObject *swig_obj[1] ;
10142
10143 if (!args) SWIG_fail;
10144 swig_obj[0] = args;
10145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10146 if (!SWIG_IsOK(res1)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10148 }
10149 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = SWIG_From_int(static_cast< int >(result));
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10164 PyObject *resultobj = 0;
10165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10166 int result;
10167 void *argp1 = 0 ;
10168 int res1 = 0 ;
10169 PyObject *swig_obj[1] ;
10170
10171 if (!args) SWIG_fail;
10172 swig_obj[0] = args;
10173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10174 if (!SWIG_IsOK(res1)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10176 }
10177 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_From_int(static_cast< int >(result));
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj = 0;
10193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10194 int arg2 ;
10195 bool arg3 = (bool) true ;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 int val2 ;
10199 int ecode2 = 0 ;
10200 bool val3 ;
10201 int ecode3 = 0 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 PyObject * obj2 = 0 ;
10205 char * kwnames[] = {
10206 (char *) "self",(char *) "position",(char *) "redraw", NULL
10207 };
10208
10209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 ecode2 = SWIG_AsVal_int(obj1, &val2);
10216 if (!SWIG_IsOK(ecode2)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10218 }
10219 arg2 = static_cast< int >(val2);
10220 if (obj2) {
10221 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10222 if (!SWIG_IsOK(ecode3)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10224 }
10225 arg3 = static_cast< bool >(val3);
10226 }
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 (arg1)->SetSashPosition(arg2,arg3);
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 resultobj = SWIG_Py_Void();
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10241 PyObject *resultobj = 0;
10242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10243 int result;
10244 void *argp1 = 0 ;
10245 int res1 = 0 ;
10246 PyObject *swig_obj[1] ;
10247
10248 if (!args) SWIG_fail;
10249 swig_obj[0] = args;
10250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10251 if (!SWIG_IsOK(res1)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10253 }
10254 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_From_int(static_cast< int >(result));
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 double arg2 ;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 double val2 ;
10275 int ecode2 = 0 ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 char * kwnames[] = {
10279 (char *) "self",(char *) "gravity", NULL
10280 };
10281
10282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10284 if (!SWIG_IsOK(res1)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10286 }
10287 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10288 ecode2 = SWIG_AsVal_double(obj1, &val2);
10289 if (!SWIG_IsOK(ecode2)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10291 }
10292 arg2 = static_cast< double >(val2);
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 (arg1)->SetSashGravity(arg2);
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = SWIG_Py_Void();
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10307 PyObject *resultobj = 0;
10308 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10309 double result;
10310 void *argp1 = 0 ;
10311 int res1 = 0 ;
10312 PyObject *swig_obj[1] ;
10313
10314 if (!args) SWIG_fail;
10315 swig_obj[0] = args;
10316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10317 if (!SWIG_IsOK(res1)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10319 }
10320 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 resultobj = SWIG_From_double(static_cast< double >(result));
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj = 0;
10336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10337 int arg2 ;
10338 void *argp1 = 0 ;
10339 int res1 = 0 ;
10340 int val2 ;
10341 int ecode2 = 0 ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 char * kwnames[] = {
10345 (char *) "self",(char *) "min", NULL
10346 };
10347
10348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10350 if (!SWIG_IsOK(res1)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10352 }
10353 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10354 ecode2 = SWIG_AsVal_int(obj1, &val2);
10355 if (!SWIG_IsOK(ecode2)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10357 }
10358 arg2 = static_cast< int >(val2);
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 (arg1)->SetMinimumPaneSize(arg2);
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = SWIG_Py_Void();
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10373 PyObject *resultobj = 0;
10374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10375 int result;
10376 void *argp1 = 0 ;
10377 int res1 = 0 ;
10378 PyObject *swig_obj[1] ;
10379
10380 if (!args) SWIG_fail;
10381 swig_obj[0] = args;
10382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10383 if (!SWIG_IsOK(res1)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10385 }
10386 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 resultobj = SWIG_From_int(static_cast< int >(result));
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj = 0;
10402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10403 int arg2 ;
10404 int arg3 ;
10405 int arg4 = (int) 5 ;
10406 bool result;
10407 void *argp1 = 0 ;
10408 int res1 = 0 ;
10409 int val2 ;
10410 int ecode2 = 0 ;
10411 int val3 ;
10412 int ecode3 = 0 ;
10413 int val4 ;
10414 int ecode4 = 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 PyObject * obj2 = 0 ;
10418 PyObject * obj3 = 0 ;
10419 char * kwnames[] = {
10420 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10421 };
10422
10423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10425 if (!SWIG_IsOK(res1)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10427 }
10428 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10429 ecode2 = SWIG_AsVal_int(obj1, &val2);
10430 if (!SWIG_IsOK(ecode2)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10432 }
10433 arg2 = static_cast< int >(val2);
10434 ecode3 = SWIG_AsVal_int(obj2, &val3);
10435 if (!SWIG_IsOK(ecode3)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10437 }
10438 arg3 = static_cast< int >(val3);
10439 if (obj3) {
10440 ecode4 = SWIG_AsVal_int(obj3, &val4);
10441 if (!SWIG_IsOK(ecode4)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10443 }
10444 arg4 = static_cast< int >(val4);
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10462 PyObject *resultobj = 0;
10463 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10464 void *argp1 = 0 ;
10465 int res1 = 0 ;
10466 PyObject *swig_obj[1] ;
10467
10468 if (!args) SWIG_fail;
10469 swig_obj[0] = args;
10470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10473 }
10474 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SizeWindows();
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_Py_Void();
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj = 0;
10490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10491 bool arg2 ;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 bool val2 ;
10495 int ecode2 = 0 ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "self",(char *) "needUpdating", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10504 if (!SWIG_IsOK(res1)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10506 }
10507 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10508 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10509 if (!SWIG_IsOK(ecode2)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10511 }
10512 arg2 = static_cast< bool >(val2);
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->SetNeedUpdating(arg2);
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_Py_Void();
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10527 PyObject *resultobj = 0;
10528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10529 bool result;
10530 void *argp1 = 0 ;
10531 int res1 = 0 ;
10532 PyObject *swig_obj[1] ;
10533
10534 if (!args) SWIG_fail;
10535 swig_obj[0] = args;
10536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10537 if (!SWIG_IsOK(res1)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10539 }
10540 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 {
10548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10549 }
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj = 0;
10558 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10559 SwigValueWrapper<wxVisualAttributes > result;
10560 int val1 ;
10561 int ecode1 = 0 ;
10562 PyObject * obj0 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "variant", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10568 if (obj0) {
10569 ecode1 = SWIG_AsVal_int(obj0, &val1);
10570 if (!SWIG_IsOK(ecode1)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10572 }
10573 arg1 = static_cast< wxWindowVariant >(val1);
10574 }
10575 {
10576 if (!wxPyCheckForApp()) SWIG_fail;
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10590 PyObject *obj;
10591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10592 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10593 return SWIG_Py_Void();
10594 }
10595
10596 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10597 return SWIG_Python_InitShadowInstance(args);
10598 }
10599
10600 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10603 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10604 wxSplitterEvent *result = 0 ;
10605 int val1 ;
10606 int ecode1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "type",(char *) "splitter", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10616 if (obj0) {
10617 ecode1 = SWIG_AsVal_int(obj0, &val1);
10618 if (!SWIG_IsOK(ecode1)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10620 }
10621 arg1 = static_cast< wxEventType >(val1);
10622 }
10623 if (obj1) {
10624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10627 }
10628 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10637 return resultobj;
10638 fail:
10639 return NULL;
10640 }
10641
10642
10643 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj = 0;
10645 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10646 int arg2 ;
10647 void *argp1 = 0 ;
10648 int res1 = 0 ;
10649 int val2 ;
10650 int ecode2 = 0 ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 char * kwnames[] = {
10654 (char *) "self",(char *) "pos", NULL
10655 };
10656
10657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10659 if (!SWIG_IsOK(res1)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10661 }
10662 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10663 ecode2 = SWIG_AsVal_int(obj1, &val2);
10664 if (!SWIG_IsOK(ecode2)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10666 }
10667 arg2 = static_cast< int >(val2);
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetSashPosition(arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10682 PyObject *resultobj = 0;
10683 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10684 int result;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 PyObject *swig_obj[1] ;
10688
10689 if (!args) SWIG_fail;
10690 swig_obj[0] = args;
10691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10692 if (!SWIG_IsOK(res1)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10694 }
10695 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_From_int(static_cast< int >(result));
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10710 PyObject *resultobj = 0;
10711 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10712 wxWindow *result = 0 ;
10713 void *argp1 = 0 ;
10714 int res1 = 0 ;
10715 PyObject *swig_obj[1] ;
10716
10717 if (!args) SWIG_fail;
10718 swig_obj[0] = args;
10719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10720 if (!SWIG_IsOK(res1)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10722 }
10723 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 {
10731 resultobj = wxPyMake_wxObject(result, 0);
10732 }
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10740 PyObject *resultobj = 0;
10741 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10742 int result;
10743 void *argp1 = 0 ;
10744 int res1 = 0 ;
10745 PyObject *swig_obj[1] ;
10746
10747 if (!args) SWIG_fail;
10748 swig_obj[0] = args;
10749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10750 if (!SWIG_IsOK(res1)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10752 }
10753 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_From_int(static_cast< int >(result));
10761 return resultobj;
10762 fail:
10763 return NULL;
10764 }
10765
10766
10767 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10768 PyObject *resultobj = 0;
10769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10770 int result;
10771 void *argp1 = 0 ;
10772 int res1 = 0 ;
10773 PyObject *swig_obj[1] ;
10774
10775 if (!args) SWIG_fail;
10776 swig_obj[0] = args;
10777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10778 if (!SWIG_IsOK(res1)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10780 }
10781 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = SWIG_From_int(static_cast< int >(result));
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10796 PyObject *obj;
10797 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10799 return SWIG_Py_Void();
10800 }
10801
10802 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10803 return SWIG_Python_InitShadowInstance(args);
10804 }
10805
10806 SWIGINTERN int SashNameStr_set(PyObject *) {
10807 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10808 return 1;
10809 }
10810
10811
10812 SWIGINTERN PyObject *SashNameStr_get(void) {
10813 PyObject *pyobj = 0;
10814
10815 {
10816 #if wxUSE_UNICODE
10817 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10818 #else
10819 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10820 #endif
10821 }
10822 return pyobj;
10823 }
10824
10825
10826 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10827 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10828 return 1;
10829 }
10830
10831
10832 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10833 PyObject *pyobj = 0;
10834
10835 {
10836 #if wxUSE_UNICODE
10837 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10838 #else
10839 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10840 #endif
10841 }
10842 return pyobj;
10843 }
10844
10845
10846 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj = 0;
10848 wxWindow *arg1 = (wxWindow *) 0 ;
10849 int arg2 = (int) -1 ;
10850 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10851 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10852 wxSize const &arg4_defvalue = wxDefaultSize ;
10853 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10854 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10855 wxString const &arg6_defvalue = wxPySashNameStr ;
10856 wxString *arg6 = (wxString *) &arg6_defvalue ;
10857 wxSashWindow *result = 0 ;
10858 void *argp1 = 0 ;
10859 int res1 = 0 ;
10860 int val2 ;
10861 int ecode2 = 0 ;
10862 wxPoint temp3 ;
10863 wxSize temp4 ;
10864 long val5 ;
10865 int ecode5 = 0 ;
10866 bool temp6 = false ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 PyObject * obj3 = 0 ;
10871 PyObject * obj4 = 0 ;
10872 PyObject * obj5 = 0 ;
10873 char * kwnames[] = {
10874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10875 };
10876
10877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10879 if (!SWIG_IsOK(res1)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10881 }
10882 arg1 = reinterpret_cast< wxWindow * >(argp1);
10883 if (obj1) {
10884 ecode2 = SWIG_AsVal_int(obj1, &val2);
10885 if (!SWIG_IsOK(ecode2)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10887 }
10888 arg2 = static_cast< int >(val2);
10889 }
10890 if (obj2) {
10891 {
10892 arg3 = &temp3;
10893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10894 }
10895 }
10896 if (obj3) {
10897 {
10898 arg4 = &temp4;
10899 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10900 }
10901 }
10902 if (obj4) {
10903 ecode5 = SWIG_AsVal_long(obj4, &val5);
10904 if (!SWIG_IsOK(ecode5)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10906 }
10907 arg5 = static_cast< long >(val5);
10908 }
10909 if (obj5) {
10910 {
10911 arg6 = wxString_in_helper(obj5);
10912 if (arg6 == NULL) SWIG_fail;
10913 temp6 = true;
10914 }
10915 }
10916 {
10917 if (!wxPyCheckForApp()) SWIG_fail;
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10924 {
10925 if (temp6)
10926 delete arg6;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp6)
10932 delete arg6;
10933 }
10934 return NULL;
10935 }
10936
10937
10938 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10939 PyObject *resultobj = 0;
10940 wxSashWindow *result = 0 ;
10941
10942 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10943 {
10944 if (!wxPyCheckForApp()) SWIG_fail;
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (wxSashWindow *)new wxSashWindow();
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj = 0;
10959 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10960 wxWindow *arg2 = (wxWindow *) 0 ;
10961 int arg3 = (int) -1 ;
10962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10964 wxSize const &arg5_defvalue = wxDefaultSize ;
10965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10966 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10967 wxString const &arg7_defvalue = wxPySashNameStr ;
10968 wxString *arg7 = (wxString *) &arg7_defvalue ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 void *argp2 = 0 ;
10973 int res2 = 0 ;
10974 int val3 ;
10975 int ecode3 = 0 ;
10976 wxPoint temp4 ;
10977 wxSize temp5 ;
10978 long val6 ;
10979 int ecode6 = 0 ;
10980 bool temp7 = false ;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
10984 PyObject * obj3 = 0 ;
10985 PyObject * obj4 = 0 ;
10986 PyObject * obj5 = 0 ;
10987 PyObject * obj6 = 0 ;
10988 char * kwnames[] = {
10989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10990 };
10991
10992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10994 if (!SWIG_IsOK(res1)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10996 }
10997 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10999 if (!SWIG_IsOK(res2)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11001 }
11002 arg2 = reinterpret_cast< wxWindow * >(argp2);
11003 if (obj2) {
11004 ecode3 = SWIG_AsVal_int(obj2, &val3);
11005 if (!SWIG_IsOK(ecode3)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11007 }
11008 arg3 = static_cast< int >(val3);
11009 }
11010 if (obj3) {
11011 {
11012 arg4 = &temp4;
11013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11014 }
11015 }
11016 if (obj4) {
11017 {
11018 arg5 = &temp5;
11019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11020 }
11021 }
11022 if (obj5) {
11023 ecode6 = SWIG_AsVal_long(obj5, &val6);
11024 if (!SWIG_IsOK(ecode6)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11026 }
11027 arg6 = static_cast< long >(val6);
11028 }
11029 if (obj6) {
11030 {
11031 arg7 = wxString_in_helper(obj6);
11032 if (arg7 == NULL) SWIG_fail;
11033 temp7 = true;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 {
11043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11044 }
11045 {
11046 if (temp7)
11047 delete arg7;
11048 }
11049 return resultobj;
11050 fail:
11051 {
11052 if (temp7)
11053 delete arg7;
11054 }
11055 return NULL;
11056 }
11057
11058
11059 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj = 0;
11061 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11062 wxSashEdgePosition arg2 ;
11063 bool arg3 ;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 int val2 ;
11067 int ecode2 = 0 ;
11068 bool val3 ;
11069 int ecode3 = 0 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 char * kwnames[] = {
11074 (char *) "self",(char *) "edge",(char *) "sash", NULL
11075 };
11076
11077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res1)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 }
11082 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11083 ecode2 = SWIG_AsVal_int(obj1, &val2);
11084 if (!SWIG_IsOK(ecode2)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11086 }
11087 arg2 = static_cast< wxSashEdgePosition >(val2);
11088 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11089 if (!SWIG_IsOK(ecode3)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11091 }
11092 arg3 = static_cast< bool >(val3);
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->SetSashVisible(arg2,arg3);
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 resultobj = SWIG_Py_Void();
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj = 0;
11108 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11109 wxSashEdgePosition arg2 ;
11110 bool result;
11111 void *argp1 = 0 ;
11112 int res1 = 0 ;
11113 int val2 ;
11114 int ecode2 = 0 ;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 char * kwnames[] = {
11118 (char *) "self",(char *) "edge", NULL
11119 };
11120
11121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11123 if (!SWIG_IsOK(res1)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11125 }
11126 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11127 ecode2 = SWIG_AsVal_int(obj1, &val2);
11128 if (!SWIG_IsOK(ecode2)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11130 }
11131 arg2 = static_cast< wxSashEdgePosition >(val2);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 wxSashEdgePosition arg2 ;
11151 bool arg3 ;
11152 void *argp1 = 0 ;
11153 int res1 = 0 ;
11154 int val2 ;
11155 int ecode2 = 0 ;
11156 bool val3 ;
11157 int ecode3 = 0 ;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 PyObject * obj2 = 0 ;
11161 char * kwnames[] = {
11162 (char *) "self",(char *) "edge",(char *) "border", NULL
11163 };
11164
11165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11167 if (!SWIG_IsOK(res1)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11169 }
11170 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11171 ecode2 = SWIG_AsVal_int(obj1, &val2);
11172 if (!SWIG_IsOK(ecode2)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11174 }
11175 arg2 = static_cast< wxSashEdgePosition >(val2);
11176 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11177 if (!SWIG_IsOK(ecode3)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11179 }
11180 arg3 = static_cast< bool >(val3);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetSashBorder(arg2,arg3);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_Py_Void();
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 wxSashEdgePosition arg2 ;
11198 bool result;
11199 void *argp1 = 0 ;
11200 int res1 = 0 ;
11201 int val2 ;
11202 int ecode2 = 0 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 char * kwnames[] = {
11206 (char *) "self",(char *) "edge", NULL
11207 };
11208
11209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11213 }
11214 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11215 ecode2 = SWIG_AsVal_int(obj1, &val2);
11216 if (!SWIG_IsOK(ecode2)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11218 }
11219 arg2 = static_cast< wxSashEdgePosition >(val2);
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11228 }
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj = 0;
11237 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11238 wxSashEdgePosition arg2 ;
11239 int result;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 int val2 ;
11243 int ecode2 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "edge", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 }
11260 arg2 = static_cast< wxSashEdgePosition >(val2);
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_From_int(static_cast< int >(result));
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = 0;
11276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11277 int arg2 ;
11278 void *argp1 = 0 ;
11279 int res1 = 0 ;
11280 int val2 ;
11281 int ecode2 = 0 ;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char * kwnames[] = {
11285 (char *) "self",(char *) "width", NULL
11286 };
11287
11288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11292 }
11293 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11294 ecode2 = SWIG_AsVal_int(obj1, &val2);
11295 if (!SWIG_IsOK(ecode2)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11297 }
11298 arg2 = static_cast< int >(val2);
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetDefaultBorderSize(arg2);
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 resultobj = SWIG_Py_Void();
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11313 PyObject *resultobj = 0;
11314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11315 int result;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 PyObject *swig_obj[1] ;
11319
11320 if (!args) SWIG_fail;
11321 swig_obj[0] = args;
11322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11323 if (!SWIG_IsOK(res1)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11325 }
11326 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_From_int(static_cast< int >(result));
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj = 0;
11342 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11343 int arg2 ;
11344 void *argp1 = 0 ;
11345 int res1 = 0 ;
11346 int val2 ;
11347 int ecode2 = 0 ;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char * kwnames[] = {
11351 (char *) "self",(char *) "width", NULL
11352 };
11353
11354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11356 if (!SWIG_IsOK(res1)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11358 }
11359 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11360 ecode2 = SWIG_AsVal_int(obj1, &val2);
11361 if (!SWIG_IsOK(ecode2)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11363 }
11364 arg2 = static_cast< int >(val2);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->SetExtraBorderSize(arg2);
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_Py_Void();
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 PyObject *resultobj = 0;
11380 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11381 int result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 PyObject *swig_obj[1] ;
11385
11386 if (!args) SWIG_fail;
11387 swig_obj[0] = args;
11388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11391 }
11392 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_int(static_cast< int >(result));
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj = 0;
11408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11409 int arg2 ;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 int val2 ;
11413 int ecode2 = 0 ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char * kwnames[] = {
11417 (char *) "self",(char *) "min", NULL
11418 };
11419
11420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11422 if (!SWIG_IsOK(res1)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11424 }
11425 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11426 ecode2 = SWIG_AsVal_int(obj1, &val2);
11427 if (!SWIG_IsOK(ecode2)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11429 }
11430 arg2 = static_cast< int >(val2);
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetMinimumSizeX(arg2);
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_Py_Void();
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj = 0;
11446 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11447 int arg2 ;
11448 void *argp1 = 0 ;
11449 int res1 = 0 ;
11450 int val2 ;
11451 int ecode2 = 0 ;
11452 PyObject * obj0 = 0 ;
11453 PyObject * obj1 = 0 ;
11454 char * kwnames[] = {
11455 (char *) "self",(char *) "min", NULL
11456 };
11457
11458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11462 }
11463 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11464 ecode2 = SWIG_AsVal_int(obj1, &val2);
11465 if (!SWIG_IsOK(ecode2)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11467 }
11468 arg2 = static_cast< int >(val2);
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SetMinimumSizeY(arg2);
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_Py_Void();
11476 return resultobj;
11477 fail:
11478 return NULL;
11479 }
11480
11481
11482 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11483 PyObject *resultobj = 0;
11484 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11485 int result;
11486 void *argp1 = 0 ;
11487 int res1 = 0 ;
11488 PyObject *swig_obj[1] ;
11489
11490 if (!args) SWIG_fail;
11491 swig_obj[0] = args;
11492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11493 if (!SWIG_IsOK(res1)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11495 }
11496 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_From_int(static_cast< int >(result));
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11513 int result;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 PyObject *swig_obj[1] ;
11517
11518 if (!args) SWIG_fail;
11519 swig_obj[0] = args;
11520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11523 }
11524 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = SWIG_From_int(static_cast< int >(result));
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj = 0;
11540 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11541 int arg2 ;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 int val2 ;
11545 int ecode2 = 0 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char * kwnames[] = {
11549 (char *) "self",(char *) "max", NULL
11550 };
11551
11552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11554 if (!SWIG_IsOK(res1)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 }
11557 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11558 ecode2 = SWIG_AsVal_int(obj1, &val2);
11559 if (!SWIG_IsOK(ecode2)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11561 }
11562 arg2 = static_cast< int >(val2);
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 (arg1)->SetMaximumSizeX(arg2);
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 resultobj = SWIG_Py_Void();
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj = 0;
11578 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11579 int arg2 ;
11580 void *argp1 = 0 ;
11581 int res1 = 0 ;
11582 int val2 ;
11583 int ecode2 = 0 ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char * kwnames[] = {
11587 (char *) "self",(char *) "max", NULL
11588 };
11589
11590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11592 if (!SWIG_IsOK(res1)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11594 }
11595 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11596 ecode2 = SWIG_AsVal_int(obj1, &val2);
11597 if (!SWIG_IsOK(ecode2)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11599 }
11600 arg2 = static_cast< int >(val2);
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 (arg1)->SetMaximumSizeY(arg2);
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_Py_Void();
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11615 PyObject *resultobj = 0;
11616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11617 int result;
11618 void *argp1 = 0 ;
11619 int res1 = 0 ;
11620 PyObject *swig_obj[1] ;
11621
11622 if (!args) SWIG_fail;
11623 swig_obj[0] = args;
11624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11625 if (!SWIG_IsOK(res1)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11627 }
11628 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 resultobj = SWIG_From_int(static_cast< int >(result));
11636 return resultobj;
11637 fail:
11638 return NULL;
11639 }
11640
11641
11642 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11643 PyObject *resultobj = 0;
11644 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11645 int result;
11646 void *argp1 = 0 ;
11647 int res1 = 0 ;
11648 PyObject *swig_obj[1] ;
11649
11650 if (!args) SWIG_fail;
11651 swig_obj[0] = args;
11652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11653 if (!SWIG_IsOK(res1)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11655 }
11656 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_From_int(static_cast< int >(result));
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj = 0;
11672 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11673 int arg2 ;
11674 int arg3 ;
11675 int arg4 = (int) 2 ;
11676 wxSashEdgePosition result;
11677 void *argp1 = 0 ;
11678 int res1 = 0 ;
11679 int val2 ;
11680 int ecode2 = 0 ;
11681 int val3 ;
11682 int ecode3 = 0 ;
11683 int val4 ;
11684 int ecode4 = 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char * kwnames[] = {
11690 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11691 };
11692
11693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11695 if (!SWIG_IsOK(res1)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11697 }
11698 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11699 ecode2 = SWIG_AsVal_int(obj1, &val2);
11700 if (!SWIG_IsOK(ecode2)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11702 }
11703 arg2 = static_cast< int >(val2);
11704 ecode3 = SWIG_AsVal_int(obj2, &val3);
11705 if (!SWIG_IsOK(ecode3)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11707 }
11708 arg3 = static_cast< int >(val3);
11709 if (obj3) {
11710 ecode4 = SWIG_AsVal_int(obj3, &val4);
11711 if (!SWIG_IsOK(ecode4)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11713 }
11714 arg4 = static_cast< int >(val4);
11715 }
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_From_int(static_cast< int >(result));
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11730 PyObject *resultobj = 0;
11731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->SizeWindows();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_Py_Void();
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11757 PyObject *obj;
11758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11760 return SWIG_Py_Void();
11761 }
11762
11763 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11764 return SWIG_Python_InitShadowInstance(args);
11765 }
11766
11767 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj = 0;
11769 int arg1 = (int) 0 ;
11770 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11771 wxSashEvent *result = 0 ;
11772 int val1 ;
11773 int ecode1 = 0 ;
11774 int val2 ;
11775 int ecode2 = 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char * kwnames[] = {
11779 (char *) "id",(char *) "edge", NULL
11780 };
11781
11782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11783 if (obj0) {
11784 ecode1 = SWIG_AsVal_int(obj0, &val1);
11785 if (!SWIG_IsOK(ecode1)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11787 }
11788 arg1 = static_cast< int >(val1);
11789 }
11790 if (obj1) {
11791 ecode2 = SWIG_AsVal_int(obj1, &val2);
11792 if (!SWIG_IsOK(ecode2)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11794 }
11795 arg2 = static_cast< wxSashEdgePosition >(val2);
11796 }
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj = 0;
11812 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11813 wxSashEdgePosition arg2 ;
11814 void *argp1 = 0 ;
11815 int res1 = 0 ;
11816 int val2 ;
11817 int ecode2 = 0 ;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char * kwnames[] = {
11821 (char *) "self",(char *) "edge", NULL
11822 };
11823
11824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11826 if (!SWIG_IsOK(res1)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11828 }
11829 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11830 ecode2 = SWIG_AsVal_int(obj1, &val2);
11831 if (!SWIG_IsOK(ecode2)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11833 }
11834 arg2 = static_cast< wxSashEdgePosition >(val2);
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetEdge(arg2);
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_Py_Void();
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 PyObject *resultobj = 0;
11850 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11851 wxSashEdgePosition result;
11852 void *argp1 = 0 ;
11853 int res1 = 0 ;
11854 PyObject *swig_obj[1] ;
11855
11856 if (!args) SWIG_fail;
11857 swig_obj[0] = args;
11858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11859 if (!SWIG_IsOK(res1)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11861 }
11862 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_From_int(static_cast< int >(result));
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj = 0;
11878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11879 wxRect *arg2 = 0 ;
11880 void *argp1 = 0 ;
11881 int res1 = 0 ;
11882 wxRect temp2 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char * kwnames[] = {
11886 (char *) "self",(char *) "rect", NULL
11887 };
11888
11889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11891 if (!SWIG_IsOK(res1)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11893 }
11894 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11895 {
11896 arg2 = &temp2;
11897 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 (arg1)->SetDragRect((wxRect const &)*arg2);
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 resultobj = SWIG_Py_Void();
11906 return resultobj;
11907 fail:
11908 return NULL;
11909 }
11910
11911
11912 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11913 PyObject *resultobj = 0;
11914 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11915 wxRect result;
11916 void *argp1 = 0 ;
11917 int res1 = 0 ;
11918 PyObject *swig_obj[1] ;
11919
11920 if (!args) SWIG_fail;
11921 swig_obj[0] = args;
11922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11923 if (!SWIG_IsOK(res1)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11925 }
11926 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = ((wxSashEvent const *)arg1)->GetDragRect();
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj = 0;
11942 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11943 wxSashDragStatus arg2 ;
11944 void *argp1 = 0 ;
11945 int res1 = 0 ;
11946 int val2 ;
11947 int ecode2 = 0 ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 char * kwnames[] = {
11951 (char *) "self",(char *) "status", NULL
11952 };
11953
11954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11956 if (!SWIG_IsOK(res1)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11958 }
11959 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11960 ecode2 = SWIG_AsVal_int(obj1, &val2);
11961 if (!SWIG_IsOK(ecode2)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11963 }
11964 arg2 = static_cast< wxSashDragStatus >(val2);
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 (arg1)->SetDragStatus(arg2);
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 resultobj = SWIG_Py_Void();
11972 return resultobj;
11973 fail:
11974 return NULL;
11975 }
11976
11977
11978 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11979 PyObject *resultobj = 0;
11980 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11981 wxSashDragStatus result;
11982 void *argp1 = 0 ;
11983 int res1 = 0 ;
11984 PyObject *swig_obj[1] ;
11985
11986 if (!args) SWIG_fail;
11987 swig_obj[0] = args;
11988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11989 if (!SWIG_IsOK(res1)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11991 }
11992 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_From_int(static_cast< int >(result));
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12007 PyObject *obj;
12008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12010 return SWIG_Py_Void();
12011 }
12012
12013 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12014 return SWIG_Python_InitShadowInstance(args);
12015 }
12016
12017 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12018 PyObject *resultobj = 0;
12019 int arg1 = (int) 0 ;
12020 wxQueryLayoutInfoEvent *result = 0 ;
12021 int val1 ;
12022 int ecode1 = 0 ;
12023 PyObject * obj0 = 0 ;
12024 char * kwnames[] = {
12025 (char *) "id", NULL
12026 };
12027
12028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12029 if (obj0) {
12030 ecode1 = SWIG_AsVal_int(obj0, &val1);
12031 if (!SWIG_IsOK(ecode1)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12033 }
12034 arg1 = static_cast< int >(val1);
12035 }
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj = 0;
12051 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12052 int arg2 ;
12053 void *argp1 = 0 ;
12054 int res1 = 0 ;
12055 int val2 ;
12056 int ecode2 = 0 ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char * kwnames[] = {
12060 (char *) "self",(char *) "length", NULL
12061 };
12062
12063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12065 if (!SWIG_IsOK(res1)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12067 }
12068 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12069 ecode2 = SWIG_AsVal_int(obj1, &val2);
12070 if (!SWIG_IsOK(ecode2)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12072 }
12073 arg2 = static_cast< int >(val2);
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 (arg1)->SetRequestedLength(arg2);
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 resultobj = SWIG_Py_Void();
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12088 PyObject *resultobj = 0;
12089 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12090 int result;
12091 void *argp1 = 0 ;
12092 int res1 = 0 ;
12093 PyObject *swig_obj[1] ;
12094
12095 if (!args) SWIG_fail;
12096 swig_obj[0] = args;
12097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12098 if (!SWIG_IsOK(res1)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12100 }
12101 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_From_int(static_cast< int >(result));
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj = 0;
12117 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12118 int arg2 ;
12119 void *argp1 = 0 ;
12120 int res1 = 0 ;
12121 int val2 ;
12122 int ecode2 = 0 ;
12123 PyObject * obj0 = 0 ;
12124 PyObject * obj1 = 0 ;
12125 char * kwnames[] = {
12126 (char *) "self",(char *) "flags", NULL
12127 };
12128
12129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12131 if (!SWIG_IsOK(res1)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12133 }
12134 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12135 ecode2 = SWIG_AsVal_int(obj1, &val2);
12136 if (!SWIG_IsOK(ecode2)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12138 }
12139 arg2 = static_cast< int >(val2);
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetFlags(arg2);
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_Py_Void();
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12154 PyObject *resultobj = 0;
12155 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12156 int result;
12157 void *argp1 = 0 ;
12158 int res1 = 0 ;
12159 PyObject *swig_obj[1] ;
12160
12161 if (!args) SWIG_fail;
12162 swig_obj[0] = args;
12163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12164 if (!SWIG_IsOK(res1)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12166 }
12167 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_From_int(static_cast< int >(result));
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj = 0;
12183 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12184 wxSize *arg2 = 0 ;
12185 void *argp1 = 0 ;
12186 int res1 = 0 ;
12187 wxSize temp2 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char * kwnames[] = {
12191 (char *) "self",(char *) "size", NULL
12192 };
12193
12194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12196 if (!SWIG_IsOK(res1)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12198 }
12199 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12200 {
12201 arg2 = &temp2;
12202 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12203 }
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 (arg1)->SetSize((wxSize const &)*arg2);
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 resultobj = SWIG_Py_Void();
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12218 PyObject *resultobj = 0;
12219 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12220 wxSize result;
12221 void *argp1 = 0 ;
12222 int res1 = 0 ;
12223 PyObject *swig_obj[1] ;
12224
12225 if (!args) SWIG_fail;
12226 swig_obj[0] = args;
12227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12228 if (!SWIG_IsOK(res1)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12230 }
12231 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj = 0;
12247 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12248 wxLayoutOrientation arg2 ;
12249 void *argp1 = 0 ;
12250 int res1 = 0 ;
12251 int val2 ;
12252 int ecode2 = 0 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 char * kwnames[] = {
12256 (char *) "self",(char *) "orient", NULL
12257 };
12258
12259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12261 if (!SWIG_IsOK(res1)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12263 }
12264 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12265 ecode2 = SWIG_AsVal_int(obj1, &val2);
12266 if (!SWIG_IsOK(ecode2)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12268 }
12269 arg2 = static_cast< wxLayoutOrientation >(val2);
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetOrientation(arg2);
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = SWIG_Py_Void();
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12284 PyObject *resultobj = 0;
12285 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12286 wxLayoutOrientation result;
12287 void *argp1 = 0 ;
12288 int res1 = 0 ;
12289 PyObject *swig_obj[1] ;
12290
12291 if (!args) SWIG_fail;
12292 swig_obj[0] = args;
12293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12294 if (!SWIG_IsOK(res1)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12296 }
12297 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_From_int(static_cast< int >(result));
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = 0;
12313 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12314 wxLayoutAlignment arg2 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int val2 ;
12318 int ecode2 = 0 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 char * kwnames[] = {
12322 (char *) "self",(char *) "align", NULL
12323 };
12324
12325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12327 if (!SWIG_IsOK(res1)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12329 }
12330 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12331 ecode2 = SWIG_AsVal_int(obj1, &val2);
12332 if (!SWIG_IsOK(ecode2)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12334 }
12335 arg2 = static_cast< wxLayoutAlignment >(val2);
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->SetAlignment(arg2);
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_Py_Void();
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12350 PyObject *resultobj = 0;
12351 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12352 wxLayoutAlignment result;
12353 void *argp1 = 0 ;
12354 int res1 = 0 ;
12355 PyObject *swig_obj[1] ;
12356
12357 if (!args) SWIG_fail;
12358 swig_obj[0] = args;
12359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12360 if (!SWIG_IsOK(res1)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12362 }
12363 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 resultobj = SWIG_From_int(static_cast< int >(result));
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12378 PyObject *obj;
12379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12381 return SWIG_Py_Void();
12382 }
12383
12384 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12385 return SWIG_Python_InitShadowInstance(args);
12386 }
12387
12388 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj = 0;
12390 int arg1 = (int) 0 ;
12391 wxCalculateLayoutEvent *result = 0 ;
12392 int val1 ;
12393 int ecode1 = 0 ;
12394 PyObject * obj0 = 0 ;
12395 char * kwnames[] = {
12396 (char *) "id", NULL
12397 };
12398
12399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12400 if (obj0) {
12401 ecode1 = SWIG_AsVal_int(obj0, &val1);
12402 if (!SWIG_IsOK(ecode1)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12404 }
12405 arg1 = static_cast< int >(val1);
12406 }
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj = 0;
12422 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12423 int arg2 ;
12424 void *argp1 = 0 ;
12425 int res1 = 0 ;
12426 int val2 ;
12427 int ecode2 = 0 ;
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char * kwnames[] = {
12431 (char *) "self",(char *) "flags", NULL
12432 };
12433
12434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12436 if (!SWIG_IsOK(res1)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12438 }
12439 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12440 ecode2 = SWIG_AsVal_int(obj1, &val2);
12441 if (!SWIG_IsOK(ecode2)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12443 }
12444 arg2 = static_cast< int >(val2);
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetFlags(arg2);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_Py_Void();
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *resultobj = 0;
12460 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12461 int result;
12462 void *argp1 = 0 ;
12463 int res1 = 0 ;
12464 PyObject *swig_obj[1] ;
12465
12466 if (!args) SWIG_fail;
12467 swig_obj[0] = args;
12468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12469 if (!SWIG_IsOK(res1)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12471 }
12472 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_From_int(static_cast< int >(result));
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj = 0;
12488 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12489 wxRect *arg2 = 0 ;
12490 void *argp1 = 0 ;
12491 int res1 = 0 ;
12492 wxRect temp2 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 char * kwnames[] = {
12496 (char *) "self",(char *) "rect", NULL
12497 };
12498
12499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12501 if (!SWIG_IsOK(res1)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12503 }
12504 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12505 {
12506 arg2 = &temp2;
12507 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12508 }
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetRect((wxRect const &)*arg2);
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_Py_Void();
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12523 PyObject *resultobj = 0;
12524 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12525 wxRect result;
12526 void *argp1 = 0 ;
12527 int res1 = 0 ;
12528 PyObject *swig_obj[1] ;
12529
12530 if (!args) SWIG_fail;
12531 swig_obj[0] = args;
12532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12533 if (!SWIG_IsOK(res1)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12535 }
12536 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12551 PyObject *obj;
12552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12554 return SWIG_Py_Void();
12555 }
12556
12557 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12558 return SWIG_Python_InitShadowInstance(args);
12559 }
12560
12561 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj = 0;
12563 wxWindow *arg1 = (wxWindow *) 0 ;
12564 int arg2 = (int) -1 ;
12565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12567 wxSize const &arg4_defvalue = wxDefaultSize ;
12568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12569 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12570 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12571 wxString *arg6 = (wxString *) &arg6_defvalue ;
12572 wxSashLayoutWindow *result = 0 ;
12573 void *argp1 = 0 ;
12574 int res1 = 0 ;
12575 int val2 ;
12576 int ecode2 = 0 ;
12577 wxPoint temp3 ;
12578 wxSize temp4 ;
12579 long val5 ;
12580 int ecode5 = 0 ;
12581 bool temp6 = false ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
12585 PyObject * obj3 = 0 ;
12586 PyObject * obj4 = 0 ;
12587 PyObject * obj5 = 0 ;
12588 char * kwnames[] = {
12589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12590 };
12591
12592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12594 if (!SWIG_IsOK(res1)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12596 }
12597 arg1 = reinterpret_cast< wxWindow * >(argp1);
12598 if (obj1) {
12599 ecode2 = SWIG_AsVal_int(obj1, &val2);
12600 if (!SWIG_IsOK(ecode2)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12602 }
12603 arg2 = static_cast< int >(val2);
12604 }
12605 if (obj2) {
12606 {
12607 arg3 = &temp3;
12608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12609 }
12610 }
12611 if (obj3) {
12612 {
12613 arg4 = &temp4;
12614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12615 }
12616 }
12617 if (obj4) {
12618 ecode5 = SWIG_AsVal_long(obj4, &val5);
12619 if (!SWIG_IsOK(ecode5)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12621 }
12622 arg5 = static_cast< long >(val5);
12623 }
12624 if (obj5) {
12625 {
12626 arg6 = wxString_in_helper(obj5);
12627 if (arg6 == NULL) SWIG_fail;
12628 temp6 = true;
12629 }
12630 }
12631 {
12632 if (!wxPyCheckForApp()) SWIG_fail;
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12639 {
12640 if (temp6)
12641 delete arg6;
12642 }
12643 return resultobj;
12644 fail:
12645 {
12646 if (temp6)
12647 delete arg6;
12648 }
12649 return NULL;
12650 }
12651
12652
12653 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12654 PyObject *resultobj = 0;
12655 wxSashLayoutWindow *result = 0 ;
12656
12657 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12658 {
12659 if (!wxPyCheckForApp()) SWIG_fail;
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj = 0;
12674 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12675 wxWindow *arg2 = (wxWindow *) 0 ;
12676 int arg3 = (int) -1 ;
12677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12679 wxSize const &arg5_defvalue = wxDefaultSize ;
12680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12681 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12682 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12683 wxString *arg7 = (wxString *) &arg7_defvalue ;
12684 bool result;
12685 void *argp1 = 0 ;
12686 int res1 = 0 ;
12687 void *argp2 = 0 ;
12688 int res2 = 0 ;
12689 int val3 ;
12690 int ecode3 = 0 ;
12691 wxPoint temp4 ;
12692 wxSize temp5 ;
12693 long val6 ;
12694 int ecode6 = 0 ;
12695 bool temp7 = false ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 PyObject * obj3 = 0 ;
12700 PyObject * obj4 = 0 ;
12701 PyObject * obj5 = 0 ;
12702 PyObject * obj6 = 0 ;
12703 char * kwnames[] = {
12704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12705 };
12706
12707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12709 if (!SWIG_IsOK(res1)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12711 }
12712 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12714 if (!SWIG_IsOK(res2)) {
12715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12716 }
12717 arg2 = reinterpret_cast< wxWindow * >(argp2);
12718 if (obj2) {
12719 ecode3 = SWIG_AsVal_int(obj2, &val3);
12720 if (!SWIG_IsOK(ecode3)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12722 }
12723 arg3 = static_cast< int >(val3);
12724 }
12725 if (obj3) {
12726 {
12727 arg4 = &temp4;
12728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12729 }
12730 }
12731 if (obj4) {
12732 {
12733 arg5 = &temp5;
12734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12735 }
12736 }
12737 if (obj5) {
12738 ecode6 = SWIG_AsVal_long(obj5, &val6);
12739 if (!SWIG_IsOK(ecode6)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12741 }
12742 arg6 = static_cast< long >(val6);
12743 }
12744 if (obj6) {
12745 {
12746 arg7 = wxString_in_helper(obj6);
12747 if (arg7 == NULL) SWIG_fail;
12748 temp7 = true;
12749 }
12750 }
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 {
12758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12759 }
12760 {
12761 if (temp7)
12762 delete arg7;
12763 }
12764 return resultobj;
12765 fail:
12766 {
12767 if (temp7)
12768 delete arg7;
12769 }
12770 return NULL;
12771 }
12772
12773
12774 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12775 PyObject *resultobj = 0;
12776 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12777 wxLayoutAlignment result;
12778 void *argp1 = 0 ;
12779 int res1 = 0 ;
12780 PyObject *swig_obj[1] ;
12781
12782 if (!args) SWIG_fail;
12783 swig_obj[0] = args;
12784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12785 if (!SWIG_IsOK(res1)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12787 }
12788 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = SWIG_From_int(static_cast< int >(result));
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12803 PyObject *resultobj = 0;
12804 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12805 wxLayoutOrientation result;
12806 void *argp1 = 0 ;
12807 int res1 = 0 ;
12808 PyObject *swig_obj[1] ;
12809
12810 if (!args) SWIG_fail;
12811 swig_obj[0] = args;
12812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12815 }
12816 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = SWIG_From_int(static_cast< int >(result));
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = 0;
12832 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12833 wxLayoutAlignment arg2 ;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 int val2 ;
12837 int ecode2 = 0 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 char * kwnames[] = {
12841 (char *) "self",(char *) "alignment", NULL
12842 };
12843
12844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12846 if (!SWIG_IsOK(res1)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12848 }
12849 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12850 ecode2 = SWIG_AsVal_int(obj1, &val2);
12851 if (!SWIG_IsOK(ecode2)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12853 }
12854 arg2 = static_cast< wxLayoutAlignment >(val2);
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->SetAlignment(arg2);
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 resultobj = SWIG_Py_Void();
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj = 0;
12870 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12871 wxSize *arg2 = 0 ;
12872 void *argp1 = 0 ;
12873 int res1 = 0 ;
12874 wxSize temp2 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 char * kwnames[] = {
12878 (char *) "self",(char *) "size", NULL
12879 };
12880
12881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12883 if (!SWIG_IsOK(res1)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12885 }
12886 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12887 {
12888 arg2 = &temp2;
12889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = SWIG_Py_Void();
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12907 wxLayoutOrientation arg2 ;
12908 void *argp1 = 0 ;
12909 int res1 = 0 ;
12910 int val2 ;
12911 int ecode2 = 0 ;
12912 PyObject * obj0 = 0 ;
12913 PyObject * obj1 = 0 ;
12914 char * kwnames[] = {
12915 (char *) "self",(char *) "orientation", NULL
12916 };
12917
12918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12920 if (!SWIG_IsOK(res1)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12922 }
12923 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12924 ecode2 = SWIG_AsVal_int(obj1, &val2);
12925 if (!SWIG_IsOK(ecode2)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12927 }
12928 arg2 = static_cast< wxLayoutOrientation >(val2);
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->SetOrientation(arg2);
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_Py_Void();
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12943 PyObject *obj;
12944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12946 return SWIG_Py_Void();
12947 }
12948
12949 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 return SWIG_Python_InitShadowInstance(args);
12951 }
12952
12953 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12954 PyObject *resultobj = 0;
12955 wxLayoutAlgorithm *result = 0 ;
12956
12957 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12965 return resultobj;
12966 fail:
12967 return NULL;
12968 }
12969
12970
12971 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 PyObject *resultobj = 0;
12973 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 PyObject *swig_obj[1] ;
12977
12978 if (!args) SWIG_fail;
12979 swig_obj[0] = args;
12980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12981 if (!SWIG_IsOK(res1)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12983 }
12984 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 delete arg1;
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj = 0;
13001 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13002 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13003 wxRect *arg3 = (wxRect *) NULL ;
13004 bool result;
13005 void *argp1 = 0 ;
13006 int res1 = 0 ;
13007 void *argp2 = 0 ;
13008 int res2 = 0 ;
13009 void *argp3 = 0 ;
13010 int res3 = 0 ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 char * kwnames[] = {
13015 (char *) "self",(char *) "frame",(char *) "rect", NULL
13016 };
13017
13018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13020 if (!SWIG_IsOK(res1)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13022 }
13023 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13024 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13025 if (!SWIG_IsOK(res2)) {
13026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13027 }
13028 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13029 if (obj2) {
13030 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13031 if (!SWIG_IsOK(res3)) {
13032 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13033 }
13034 arg3 = reinterpret_cast< wxRect * >(argp3);
13035 }
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 {
13043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13044 }
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = 0;
13053 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13054 wxFrame *arg2 = (wxFrame *) 0 ;
13055 wxWindow *arg3 = (wxWindow *) NULL ;
13056 bool result;
13057 void *argp1 = 0 ;
13058 int res1 = 0 ;
13059 void *argp2 = 0 ;
13060 int res2 = 0 ;
13061 void *argp3 = 0 ;
13062 int res3 = 0 ;
13063 PyObject * obj0 = 0 ;
13064 PyObject * obj1 = 0 ;
13065 PyObject * obj2 = 0 ;
13066 char * kwnames[] = {
13067 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13068 };
13069
13070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13074 }
13075 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13077 if (!SWIG_IsOK(res2)) {
13078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13079 }
13080 arg2 = reinterpret_cast< wxFrame * >(argp2);
13081 if (obj2) {
13082 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13083 if (!SWIG_IsOK(res3)) {
13084 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13085 }
13086 arg3 = reinterpret_cast< wxWindow * >(argp3);
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13096 }
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj = 0;
13105 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13106 wxWindow *arg2 = (wxWindow *) 0 ;
13107 wxWindow *arg3 = (wxWindow *) NULL ;
13108 bool result;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 void *argp2 = 0 ;
13112 int res2 = 0 ;
13113 void *argp3 = 0 ;
13114 int res3 = 0 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 PyObject * obj2 = 0 ;
13118 char * kwnames[] = {
13119 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13120 };
13121
13122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13124 if (!SWIG_IsOK(res1)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13126 }
13127 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13129 if (!SWIG_IsOK(res2)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13131 }
13132 arg2 = reinterpret_cast< wxWindow * >(argp2);
13133 if (obj2) {
13134 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13135 if (!SWIG_IsOK(res3)) {
13136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13137 }
13138 arg3 = reinterpret_cast< wxWindow * >(argp3);
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 {
13147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13148 }
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13156 PyObject *obj;
13157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13158 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13159 return SWIG_Py_Void();
13160 }
13161
13162 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 return SWIG_Python_InitShadowInstance(args);
13164 }
13165
13166 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj = 0;
13168 wxWindow *arg1 = (wxWindow *) 0 ;
13169 int arg2 = (int) wxBORDER_NONE ;
13170 wxPopupWindow *result = 0 ;
13171 void *argp1 = 0 ;
13172 int res1 = 0 ;
13173 int val2 ;
13174 int ecode2 = 0 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 char * kwnames[] = {
13178 (char *) "parent",(char *) "flags", NULL
13179 };
13180
13181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13183 if (!SWIG_IsOK(res1)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13185 }
13186 arg1 = reinterpret_cast< wxWindow * >(argp1);
13187 if (obj1) {
13188 ecode2 = SWIG_AsVal_int(obj1, &val2);
13189 if (!SWIG_IsOK(ecode2)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13191 }
13192 arg2 = static_cast< int >(val2);
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13208 PyObject *resultobj = 0;
13209 wxPopupWindow *result = 0 ;
13210
13211 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxPopupWindow *)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *obj;
13227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13229 return SWIG_Py_Void();
13230 }
13231
13232 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 return SWIG_Python_InitShadowInstance(args);
13234 }
13235
13236 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = 0;
13238 wxWindow *arg1 = (wxWindow *) 0 ;
13239 int arg2 = (int) wxBORDER_NONE ;
13240 wxPyPopupTransientWindow *result = 0 ;
13241 void *argp1 = 0 ;
13242 int res1 = 0 ;
13243 int val2 ;
13244 int ecode2 = 0 ;
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
13247 char * kwnames[] = {
13248 (char *) "parent",(char *) "style", NULL
13249 };
13250
13251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13255 }
13256 arg1 = reinterpret_cast< wxWindow * >(argp1);
13257 if (obj1) {
13258 ecode2 = SWIG_AsVal_int(obj1, &val2);
13259 if (!SWIG_IsOK(ecode2)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13261 }
13262 arg2 = static_cast< int >(val2);
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13278 PyObject *resultobj = 0;
13279 wxPyPopupTransientWindow *result = 0 ;
13280
13281 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13296 PyObject *obj;
13297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13299 return SWIG_Py_Void();
13300 }
13301
13302 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 return SWIG_Python_InitShadowInstance(args);
13304 }
13305
13306 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj = 0;
13308 wxWindow *arg1 = (wxWindow *) 0 ;
13309 wxString *arg2 = 0 ;
13310 int arg3 = (int) 100 ;
13311 wxRect *arg4 = (wxRect *) NULL ;
13312 wxTipWindow *result = 0 ;
13313 void *argp1 = 0 ;
13314 int res1 = 0 ;
13315 bool temp2 = false ;
13316 int val3 ;
13317 int ecode3 = 0 ;
13318 void *argp4 = 0 ;
13319 int res4 = 0 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 PyObject * obj3 = 0 ;
13324 char * kwnames[] = {
13325 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13326 };
13327
13328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13330 if (!SWIG_IsOK(res1)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13332 }
13333 arg1 = reinterpret_cast< wxWindow * >(argp1);
13334 {
13335 arg2 = wxString_in_helper(obj1);
13336 if (arg2 == NULL) SWIG_fail;
13337 temp2 = true;
13338 }
13339 if (obj2) {
13340 ecode3 = SWIG_AsVal_int(obj2, &val3);
13341 if (!SWIG_IsOK(ecode3)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13343 }
13344 arg3 = static_cast< int >(val3);
13345 }
13346 if (obj3) {
13347 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13348 if (!SWIG_IsOK(res4)) {
13349 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13350 }
13351 arg4 = reinterpret_cast< wxRect * >(argp4);
13352 }
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13361 {
13362 if (temp2)
13363 delete arg2;
13364 }
13365 return resultobj;
13366 fail:
13367 {
13368 if (temp2)
13369 delete arg2;
13370 }
13371 return NULL;
13372 }
13373
13374
13375 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj = 0;
13377 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13378 wxRect *arg2 = 0 ;
13379 void *argp1 = 0 ;
13380 int res1 = 0 ;
13381 wxRect temp2 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 char * kwnames[] = {
13385 (char *) "self",(char *) "rectBound", NULL
13386 };
13387
13388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13392 }
13393 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13394 {
13395 arg2 = &temp2;
13396 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_Py_Void();
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13412 PyObject *resultobj = 0;
13413 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13414 void *argp1 = 0 ;
13415 int res1 = 0 ;
13416 PyObject *swig_obj[1] ;
13417
13418 if (!args) SWIG_fail;
13419 swig_obj[0] = args;
13420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13421 if (!SWIG_IsOK(res1)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13423 }
13424 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->Close();
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = SWIG_Py_Void();
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13439 PyObject *obj;
13440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13442 return SWIG_Py_Void();
13443 }
13444
13445 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 return SWIG_Python_InitShadowInstance(args);
13447 }
13448
13449 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj = 0;
13451 wxWindow *arg1 = (wxWindow *) 0 ;
13452 int arg2 = (int) wxID_ANY ;
13453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13455 wxSize const &arg4_defvalue = wxDefaultSize ;
13456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13457 long arg5 = (long) 0 ;
13458 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13459 wxString *arg6 = (wxString *) &arg6_defvalue ;
13460 wxPyVScrolledWindow *result = 0 ;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 int val2 ;
13464 int ecode2 = 0 ;
13465 wxPoint temp3 ;
13466 wxSize temp4 ;
13467 long val5 ;
13468 int ecode5 = 0 ;
13469 bool temp6 = false ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 PyObject * obj5 = 0 ;
13476 char * kwnames[] = {
13477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13478 };
13479
13480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13482 if (!SWIG_IsOK(res1)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13484 }
13485 arg1 = reinterpret_cast< wxWindow * >(argp1);
13486 if (obj1) {
13487 ecode2 = SWIG_AsVal_int(obj1, &val2);
13488 if (!SWIG_IsOK(ecode2)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13490 }
13491 arg2 = static_cast< int >(val2);
13492 }
13493 if (obj2) {
13494 {
13495 arg3 = &temp3;
13496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13497 }
13498 }
13499 if (obj3) {
13500 {
13501 arg4 = &temp4;
13502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13503 }
13504 }
13505 if (obj4) {
13506 ecode5 = SWIG_AsVal_long(obj4, &val5);
13507 if (!SWIG_IsOK(ecode5)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13509 }
13510 arg5 = static_cast< long >(val5);
13511 }
13512 if (obj5) {
13513 {
13514 arg6 = wxString_in_helper(obj5);
13515 if (arg6 == NULL) SWIG_fail;
13516 temp6 = true;
13517 }
13518 }
13519 {
13520 if (!wxPyCheckForApp()) SWIG_fail;
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13527 {
13528 if (temp6)
13529 delete arg6;
13530 }
13531 return resultobj;
13532 fail:
13533 {
13534 if (temp6)
13535 delete arg6;
13536 }
13537 return NULL;
13538 }
13539
13540
13541 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13542 PyObject *resultobj = 0;
13543 wxPyVScrolledWindow *result = 0 ;
13544
13545 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13546 {
13547 if (!wxPyCheckForApp()) SWIG_fail;
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj = 0;
13562 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13563 PyObject *arg2 = (PyObject *) 0 ;
13564 PyObject *arg3 = (PyObject *) 0 ;
13565 void *argp1 = 0 ;
13566 int res1 = 0 ;
13567 PyObject * obj0 = 0 ;
13568 PyObject * obj1 = 0 ;
13569 PyObject * obj2 = 0 ;
13570 char * kwnames[] = {
13571 (char *) "self",(char *) "self",(char *) "_class", NULL
13572 };
13573
13574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 }
13579 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13580 arg2 = obj1;
13581 arg3 = obj2;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 (arg1)->_setCallbackInfo(arg2,arg3);
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = SWIG_Py_Void();
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj = 0;
13597 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13598 wxWindow *arg2 = (wxWindow *) 0 ;
13599 int arg3 = (int) wxID_ANY ;
13600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13602 wxSize const &arg5_defvalue = wxDefaultSize ;
13603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13604 long arg6 = (long) 0 ;
13605 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13606 wxString *arg7 = (wxString *) &arg7_defvalue ;
13607 bool result;
13608 void *argp1 = 0 ;
13609 int res1 = 0 ;
13610 void *argp2 = 0 ;
13611 int res2 = 0 ;
13612 int val3 ;
13613 int ecode3 = 0 ;
13614 wxPoint temp4 ;
13615 wxSize temp5 ;
13616 long val6 ;
13617 int ecode6 = 0 ;
13618 bool temp7 = false ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 PyObject * obj2 = 0 ;
13622 PyObject * obj3 = 0 ;
13623 PyObject * obj4 = 0 ;
13624 PyObject * obj5 = 0 ;
13625 PyObject * obj6 = 0 ;
13626 char * kwnames[] = {
13627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13634 }
13635 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res2)) {
13638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13639 }
13640 arg2 = reinterpret_cast< wxWindow * >(argp2);
13641 if (obj2) {
13642 ecode3 = SWIG_AsVal_int(obj2, &val3);
13643 if (!SWIG_IsOK(ecode3)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13645 }
13646 arg3 = static_cast< int >(val3);
13647 }
13648 if (obj3) {
13649 {
13650 arg4 = &temp4;
13651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13652 }
13653 }
13654 if (obj4) {
13655 {
13656 arg5 = &temp5;
13657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13658 }
13659 }
13660 if (obj5) {
13661 ecode6 = SWIG_AsVal_long(obj5, &val6);
13662 if (!SWIG_IsOK(ecode6)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13664 }
13665 arg6 = static_cast< long >(val6);
13666 }
13667 if (obj6) {
13668 {
13669 arg7 = wxString_in_helper(obj6);
13670 if (arg7 == NULL) SWIG_fail;
13671 temp7 = true;
13672 }
13673 }
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13682 }
13683 {
13684 if (temp7)
13685 delete arg7;
13686 }
13687 return resultobj;
13688 fail:
13689 {
13690 if (temp7)
13691 delete arg7;
13692 }
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13700 size_t arg2 ;
13701 void *argp1 = 0 ;
13702 int res1 = 0 ;
13703 size_t val2 ;
13704 int ecode2 = 0 ;
13705 PyObject * obj0 = 0 ;
13706 PyObject * obj1 = 0 ;
13707 char * kwnames[] = {
13708 (char *) "self",(char *) "count", NULL
13709 };
13710
13711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13713 if (!SWIG_IsOK(res1)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 }
13716 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13717 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13718 if (!SWIG_IsOK(ecode2)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13720 }
13721 arg2 = static_cast< size_t >(val2);
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 (arg1)->SetLineCount(arg2);
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 resultobj = SWIG_Py_Void();
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = 0;
13737 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13738 size_t arg2 ;
13739 bool result;
13740 void *argp1 = 0 ;
13741 int res1 = 0 ;
13742 size_t val2 ;
13743 int ecode2 = 0 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char * kwnames[] = {
13747 (char *) "self",(char *) "line", NULL
13748 };
13749
13750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13752 if (!SWIG_IsOK(res1)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13754 }
13755 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13756 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13757 if (!SWIG_IsOK(ecode2)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13759 }
13760 arg2 = static_cast< size_t >(val2);
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->ScrollToLine(arg2);
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13779 size_t arg2 ;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 size_t val2 ;
13783 int ecode2 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "line", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13797 if (!SWIG_IsOK(ecode2)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13799 }
13800 arg2 = static_cast< size_t >(val2);
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->RefreshLine(arg2);
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 resultobj = SWIG_Py_Void();
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj = 0;
13816 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13817 size_t arg2 ;
13818 size_t arg3 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 size_t val2 ;
13822 int ecode2 = 0 ;
13823 size_t val3 ;
13824 int ecode3 = 0 ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "from",(char *) "to", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13836 }
13837 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13838 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13839 if (!SWIG_IsOK(ecode2)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13841 }
13842 arg2 = static_cast< size_t >(val2);
13843 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13844 if (!SWIG_IsOK(ecode3)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13846 }
13847 arg3 = static_cast< size_t >(val3);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->RefreshLines(arg2,arg3);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_Py_Void();
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13864 int arg2 ;
13865 int arg3 ;
13866 int result;
13867 void *argp1 = 0 ;
13868 int res1 = 0 ;
13869 int val2 ;
13870 int ecode2 = 0 ;
13871 int val3 ;
13872 int ecode3 = 0 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 PyObject * obj2 = 0 ;
13876 char * kwnames[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13878 };
13879
13880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13882 if (!SWIG_IsOK(res1)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13884 }
13885 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13886 ecode2 = SWIG_AsVal_int(obj1, &val2);
13887 if (!SWIG_IsOK(ecode2)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13889 }
13890 arg2 = static_cast< int >(val2);
13891 ecode3 = SWIG_AsVal_int(obj2, &val3);
13892 if (!SWIG_IsOK(ecode3)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13894 }
13895 arg3 = static_cast< int >(val3);
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_From_int(static_cast< int >(result));
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = 0;
13911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13912 wxPoint *arg2 = 0 ;
13913 int result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 wxPoint temp2 ;
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 char * kwnames[] = {
13920 (char *) "self",(char *) "pt", NULL
13921 };
13922
13923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13927 }
13928 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13929 {
13930 arg2 = &temp2;
13931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = SWIG_From_int(static_cast< int >(result));
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13947 PyObject *resultobj = 0;
13948 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13949 void *argp1 = 0 ;
13950 int res1 = 0 ;
13951 PyObject *swig_obj[1] ;
13952
13953 if (!args) SWIG_fail;
13954 swig_obj[0] = args;
13955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13956 if (!SWIG_IsOK(res1)) {
13957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13958 }
13959 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->RefreshAll();
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 resultobj = SWIG_Py_Void();
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13974 PyObject *resultobj = 0;
13975 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13976 size_t result;
13977 void *argp1 = 0 ;
13978 int res1 = 0 ;
13979 PyObject *swig_obj[1] ;
13980
13981 if (!args) SWIG_fail;
13982 swig_obj[0] = args;
13983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13986 }
13987 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 PyObject *resultobj = 0;
14003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14004 size_t result;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 PyObject *swig_obj[1] ;
14008
14009 if (!args) SWIG_fail;
14010 swig_obj[0] = args;
14011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 }
14015 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14030 PyObject *resultobj = 0;
14031 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14032 size_t result;
14033 void *argp1 = 0 ;
14034 int res1 = 0 ;
14035 PyObject *swig_obj[1] ;
14036
14037 if (!args) SWIG_fail;
14038 swig_obj[0] = args;
14039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14040 if (!SWIG_IsOK(res1)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14042 }
14043 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj = 0;
14059 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14060 size_t arg2 ;
14061 bool result;
14062 void *argp1 = 0 ;
14063 int res1 = 0 ;
14064 size_t val2 ;
14065 int ecode2 = 0 ;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 char * kwnames[] = {
14069 (char *) "self",(char *) "line", NULL
14070 };
14071
14072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14074 if (!SWIG_IsOK(res1)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14076 }
14077 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14079 if (!SWIG_IsOK(ecode2)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14081 }
14082 arg2 = static_cast< size_t >(val2);
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14091 }
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14099 PyObject *resultobj = 0;
14100 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14101 size_t result;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject *swig_obj[1] ;
14105
14106 if (!args) SWIG_fail;
14107 swig_obj[0] = args;
14108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14111 }
14112 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 size_t result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 }
14140 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj = 0;
14156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14157 size_t arg2 ;
14158 bool arg3 = (bool) false ;
14159 size_t result;
14160 void *argp1 = 0 ;
14161 int res1 = 0 ;
14162 size_t val2 ;
14163 int ecode2 = 0 ;
14164 bool val3 ;
14165 int ecode3 = 0 ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 PyObject * obj2 = 0 ;
14169 char * kwnames[] = {
14170 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14171 };
14172
14173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14175 if (!SWIG_IsOK(res1)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14177 }
14178 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14180 if (!SWIG_IsOK(ecode2)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14182 }
14183 arg2 = static_cast< size_t >(val2);
14184 if (obj2) {
14185 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14186 if (!SWIG_IsOK(ecode3)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14188 }
14189 arg3 = static_cast< bool >(val3);
14190 }
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj = 0;
14206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14207 size_t arg2 ;
14208 size_t arg3 ;
14209 int result;
14210 void *argp1 = 0 ;
14211 int res1 = 0 ;
14212 size_t val2 ;
14213 int ecode2 = 0 ;
14214 size_t val3 ;
14215 int ecode3 = 0 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char * kwnames[] = {
14220 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14221 };
14222
14223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14225 if (!SWIG_IsOK(res1)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14227 }
14228 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14229 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14230 if (!SWIG_IsOK(ecode2)) {
14231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14232 }
14233 arg2 = static_cast< size_t >(val2);
14234 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14235 if (!SWIG_IsOK(ecode3)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14237 }
14238 arg3 = static_cast< size_t >(val3);
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = SWIG_From_int(static_cast< int >(result));
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14253 PyObject *obj;
14254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14256 return SWIG_Py_Void();
14257 }
14258
14259 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 return SWIG_Python_InitShadowInstance(args);
14261 }
14262
14263 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14264 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14265 return 1;
14266 }
14267
14268
14269 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14270 PyObject *pyobj = 0;
14271
14272 {
14273 #if wxUSE_UNICODE
14274 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14275 #else
14276 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14277 #endif
14278 }
14279 return pyobj;
14280 }
14281
14282
14283 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = 0;
14285 wxWindow *arg1 = (wxWindow *) 0 ;
14286 int arg2 = (int) wxID_ANY ;
14287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14289 wxSize const &arg4_defvalue = wxDefaultSize ;
14290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14291 long arg5 = (long) 0 ;
14292 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14293 wxString *arg6 = (wxString *) &arg6_defvalue ;
14294 wxPyVListBox *result = 0 ;
14295 void *argp1 = 0 ;
14296 int res1 = 0 ;
14297 int val2 ;
14298 int ecode2 = 0 ;
14299 wxPoint temp3 ;
14300 wxSize temp4 ;
14301 long val5 ;
14302 int ecode5 = 0 ;
14303 bool temp6 = false ;
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 PyObject * obj2 = 0 ;
14307 PyObject * obj3 = 0 ;
14308 PyObject * obj4 = 0 ;
14309 PyObject * obj5 = 0 ;
14310 char * kwnames[] = {
14311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14312 };
14313
14314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14316 if (!SWIG_IsOK(res1)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14318 }
14319 arg1 = reinterpret_cast< wxWindow * >(argp1);
14320 if (obj1) {
14321 ecode2 = SWIG_AsVal_int(obj1, &val2);
14322 if (!SWIG_IsOK(ecode2)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14324 }
14325 arg2 = static_cast< int >(val2);
14326 }
14327 if (obj2) {
14328 {
14329 arg3 = &temp3;
14330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14331 }
14332 }
14333 if (obj3) {
14334 {
14335 arg4 = &temp4;
14336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14337 }
14338 }
14339 if (obj4) {
14340 ecode5 = SWIG_AsVal_long(obj4, &val5);
14341 if (!SWIG_IsOK(ecode5)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14343 }
14344 arg5 = static_cast< long >(val5);
14345 }
14346 if (obj5) {
14347 {
14348 arg6 = wxString_in_helper(obj5);
14349 if (arg6 == NULL) SWIG_fail;
14350 temp6 = true;
14351 }
14352 }
14353 {
14354 if (!wxPyCheckForApp()) SWIG_fail;
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14361 {
14362 if (temp6)
14363 delete arg6;
14364 }
14365 return resultobj;
14366 fail:
14367 {
14368 if (temp6)
14369 delete arg6;
14370 }
14371 return NULL;
14372 }
14373
14374
14375 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 PyObject *resultobj = 0;
14377 wxPyVListBox *result = 0 ;
14378
14379 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14380 {
14381 if (!wxPyCheckForApp()) SWIG_fail;
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (wxPyVListBox *)new wxPyVListBox();
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj = 0;
14396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14397 PyObject *arg2 = (PyObject *) 0 ;
14398 PyObject *arg3 = (PyObject *) 0 ;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 PyObject * obj0 = 0 ;
14402 PyObject * obj1 = 0 ;
14403 PyObject * obj2 = 0 ;
14404 char * kwnames[] = {
14405 (char *) "self",(char *) "self",(char *) "_class", NULL
14406 };
14407
14408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14410 if (!SWIG_IsOK(res1)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14412 }
14413 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14414 arg2 = obj1;
14415 arg3 = obj2;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->_setCallbackInfo(arg2,arg3);
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_Py_Void();
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj = 0;
14431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14432 wxWindow *arg2 = (wxWindow *) 0 ;
14433 int arg3 = (int) wxID_ANY ;
14434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14436 wxSize const &arg5_defvalue = wxDefaultSize ;
14437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14438 long arg6 = (long) 0 ;
14439 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14440 wxString *arg7 = (wxString *) &arg7_defvalue ;
14441 bool result;
14442 void *argp1 = 0 ;
14443 int res1 = 0 ;
14444 void *argp2 = 0 ;
14445 int res2 = 0 ;
14446 int val3 ;
14447 int ecode3 = 0 ;
14448 wxPoint temp4 ;
14449 wxSize temp5 ;
14450 long val6 ;
14451 int ecode6 = 0 ;
14452 bool temp7 = false ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 PyObject * obj3 = 0 ;
14457 PyObject * obj4 = 0 ;
14458 PyObject * obj5 = 0 ;
14459 PyObject * obj6 = 0 ;
14460 char * kwnames[] = {
14461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14462 };
14463
14464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14468 }
14469 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14471 if (!SWIG_IsOK(res2)) {
14472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14473 }
14474 arg2 = reinterpret_cast< wxWindow * >(argp2);
14475 if (obj2) {
14476 ecode3 = SWIG_AsVal_int(obj2, &val3);
14477 if (!SWIG_IsOK(ecode3)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14479 }
14480 arg3 = static_cast< int >(val3);
14481 }
14482 if (obj3) {
14483 {
14484 arg4 = &temp4;
14485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14486 }
14487 }
14488 if (obj4) {
14489 {
14490 arg5 = &temp5;
14491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14492 }
14493 }
14494 if (obj5) {
14495 ecode6 = SWIG_AsVal_long(obj5, &val6);
14496 if (!SWIG_IsOK(ecode6)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14498 }
14499 arg6 = static_cast< long >(val6);
14500 }
14501 if (obj6) {
14502 {
14503 arg7 = wxString_in_helper(obj6);
14504 if (arg7 == NULL) SWIG_fail;
14505 temp7 = true;
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14516 }
14517 {
14518 if (temp7)
14519 delete arg7;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp7)
14525 delete arg7;
14526 }
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 size_t result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject *swig_obj[1] ;
14538
14539 if (!args) SWIG_fail;
14540 swig_obj[0] = args;
14541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 }
14545 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14553 return resultobj;
14554 fail:
14555 return NULL;
14556 }
14557
14558
14559 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14560 PyObject *resultobj = 0;
14561 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14562 bool result;
14563 void *argp1 = 0 ;
14564 int res1 = 0 ;
14565 PyObject *swig_obj[1] ;
14566
14567 if (!args) SWIG_fail;
14568 swig_obj[0] = args;
14569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14570 if (!SWIG_IsOK(res1)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14572 }
14573 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 {
14581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14592 int result;
14593 void *argp1 = 0 ;
14594 int res1 = 0 ;
14595 PyObject *swig_obj[1] ;
14596
14597 if (!args) SWIG_fail;
14598 swig_obj[0] = args;
14599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14600 if (!SWIG_IsOK(res1)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14602 }
14603 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 resultobj = SWIG_From_int(static_cast< int >(result));
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj = 0;
14619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14620 size_t arg2 ;
14621 bool result;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 size_t val2 ;
14625 int ecode2 = 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "item", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14636 }
14637 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14638 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14639 if (!SWIG_IsOK(ecode2)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14641 }
14642 arg2 = static_cast< size_t >(val2);
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 {
14650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14651 }
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj = 0;
14660 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14661 size_t arg2 ;
14662 bool result;
14663 void *argp1 = 0 ;
14664 int res1 = 0 ;
14665 size_t val2 ;
14666 int ecode2 = 0 ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 char * kwnames[] = {
14670 (char *) "self",(char *) "item", NULL
14671 };
14672
14673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14675 if (!SWIG_IsOK(res1)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14677 }
14678 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14679 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14680 if (!SWIG_IsOK(ecode2)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14682 }
14683 arg2 = static_cast< size_t >(val2);
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14700 PyObject *resultobj = 0;
14701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14702 size_t result;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 PyObject *swig_obj[1] ;
14706
14707 if (!args) SWIG_fail;
14708 swig_obj[0] = args;
14709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14710 if (!SWIG_IsOK(res1)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14712 }
14713 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14728 PyObject *resultobj = 0;
14729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14730 PyObject *result = 0 ;
14731 void *argp1 = 0 ;
14732 int res1 = 0 ;
14733 PyObject *swig_obj[1] ;
14734
14735 if (!args) SWIG_fail;
14736 swig_obj[0] = args;
14737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14738 if (!SWIG_IsOK(res1)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14740 }
14741 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 resultobj = result;
14749 return resultobj;
14750 fail:
14751 return NULL;
14752 }
14753
14754
14755 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj = 0;
14757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14758 unsigned long arg2 ;
14759 PyObject *result = 0 ;
14760 void *argp1 = 0 ;
14761 int res1 = 0 ;
14762 unsigned long val2 ;
14763 int ecode2 = 0 ;
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj1 = 0 ;
14766 char * kwnames[] = {
14767 (char *) "self",(char *) "cookie", NULL
14768 };
14769
14770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14772 if (!SWIG_IsOK(res1)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14774 }
14775 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14776 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14777 if (!SWIG_IsOK(ecode2)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14779 }
14780 arg2 = static_cast< unsigned long >(val2);
14781 {
14782 PyThreadState* __tstate = wxPyBeginAllowThreads();
14783 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 resultobj = result;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14795 PyObject *resultobj = 0;
14796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14797 wxPoint result;
14798 void *argp1 = 0 ;
14799 int res1 = 0 ;
14800 PyObject *swig_obj[1] ;
14801
14802 if (!args) SWIG_fail;
14803 swig_obj[0] = args;
14804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14805 if (!SWIG_IsOK(res1)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14807 }
14808 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = ((wxPyVListBox const *)arg1)->GetMargins();
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14823 PyObject *resultobj = 0;
14824 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14825 wxColour *result = 0 ;
14826 void *argp1 = 0 ;
14827 int res1 = 0 ;
14828 PyObject *swig_obj[1] ;
14829
14830 if (!args) SWIG_fail;
14831 swig_obj[0] = args;
14832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14835 }
14836 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 {
14840 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14841 result = (wxColour *) &_result_ref;
14842 }
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14847 return resultobj;
14848 fail:
14849 return NULL;
14850 }
14851
14852
14853 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj = 0;
14855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14856 size_t arg2 ;
14857 void *argp1 = 0 ;
14858 int res1 = 0 ;
14859 size_t val2 ;
14860 int ecode2 = 0 ;
14861 PyObject * obj0 = 0 ;
14862 PyObject * obj1 = 0 ;
14863 char * kwnames[] = {
14864 (char *) "self",(char *) "count", NULL
14865 };
14866
14867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14869 if (!SWIG_IsOK(res1)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14871 }
14872 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14873 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14874 if (!SWIG_IsOK(ecode2)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14876 }
14877 arg2 = static_cast< size_t >(val2);
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 (arg1)->SetItemCount(arg2);
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = SWIG_Py_Void();
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14892 PyObject *resultobj = 0;
14893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14894 void *argp1 = 0 ;
14895 int res1 = 0 ;
14896 PyObject *swig_obj[1] ;
14897
14898 if (!args) SWIG_fail;
14899 swig_obj[0] = args;
14900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14901 if (!SWIG_IsOK(res1)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14903 }
14904 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->Clear();
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 resultobj = SWIG_Py_Void();
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj = 0;
14920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14921 int arg2 ;
14922 void *argp1 = 0 ;
14923 int res1 = 0 ;
14924 int val2 ;
14925 int ecode2 = 0 ;
14926 PyObject * obj0 = 0 ;
14927 PyObject * obj1 = 0 ;
14928 char * kwnames[] = {
14929 (char *) "self",(char *) "selection", NULL
14930 };
14931
14932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14934 if (!SWIG_IsOK(res1)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14936 }
14937 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14938 ecode2 = SWIG_AsVal_int(obj1, &val2);
14939 if (!SWIG_IsOK(ecode2)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14941 }
14942 arg2 = static_cast< int >(val2);
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->SetSelection(arg2);
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = SWIG_Py_Void();
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj = 0;
14958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14959 size_t arg2 ;
14960 bool arg3 = (bool) true ;
14961 bool result;
14962 void *argp1 = 0 ;
14963 int res1 = 0 ;
14964 size_t val2 ;
14965 int ecode2 = 0 ;
14966 bool val3 ;
14967 int ecode3 = 0 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 PyObject * obj2 = 0 ;
14971 char * kwnames[] = {
14972 (char *) "self",(char *) "item",(char *) "select", NULL
14973 };
14974
14975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14977 if (!SWIG_IsOK(res1)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14979 }
14980 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14981 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14982 if (!SWIG_IsOK(ecode2)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14984 }
14985 arg2 = static_cast< size_t >(val2);
14986 if (obj2) {
14987 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14988 if (!SWIG_IsOK(ecode3)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14990 }
14991 arg3 = static_cast< bool >(val3);
14992 }
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (bool)(arg1)->Select(arg2,arg3);
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 size_t arg2 ;
15012 size_t arg3 ;
15013 bool result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 size_t val2 ;
15017 int ecode2 = 0 ;
15018 size_t val3 ;
15019 int ecode3 = 0 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 PyObject * obj2 = 0 ;
15023 char * kwnames[] = {
15024 (char *) "self",(char *) "from",(char *) "to", NULL
15025 };
15026
15027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15034 if (!SWIG_IsOK(ecode2)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15036 }
15037 arg2 = static_cast< size_t >(val2);
15038 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15039 if (!SWIG_IsOK(ecode3)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15041 }
15042 arg3 = static_cast< size_t >(val3);
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (bool)(arg1)->SelectRange(arg2,arg3);
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj = 0;
15060 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15061 size_t arg2 ;
15062 void *argp1 = 0 ;
15063 int res1 = 0 ;
15064 size_t val2 ;
15065 int ecode2 = 0 ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 char * kwnames[] = {
15069 (char *) "self",(char *) "item", NULL
15070 };
15071
15072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15074 if (!SWIG_IsOK(res1)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15076 }
15077 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15079 if (!SWIG_IsOK(ecode2)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15081 }
15082 arg2 = static_cast< size_t >(val2);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->Toggle(arg2);
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_Py_Void();
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097 PyObject *resultobj = 0;
15098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15099 bool result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 PyObject *swig_obj[1] ;
15103
15104 if (!args) SWIG_fail;
15105 swig_obj[0] = args;
15106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15107 if (!SWIG_IsOK(res1)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15109 }
15110 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (bool)(arg1)->SelectAll();
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15119 }
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15127 PyObject *resultobj = 0;
15128 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15129 bool result;
15130 void *argp1 = 0 ;
15131 int res1 = 0 ;
15132 PyObject *swig_obj[1] ;
15133
15134 if (!args) SWIG_fail;
15135 swig_obj[0] = args;
15136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15139 }
15140 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (bool)(arg1)->DeselectAll();
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 {
15148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15149 }
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj = 0;
15158 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15159 wxPoint *arg2 = 0 ;
15160 void *argp1 = 0 ;
15161 int res1 = 0 ;
15162 wxPoint temp2 ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char * kwnames[] = {
15166 (char *) "self",(char *) "pt", NULL
15167 };
15168
15169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15171 if (!SWIG_IsOK(res1)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15173 }
15174 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15175 {
15176 arg2 = &temp2;
15177 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15178 }
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->SetMargins((wxPoint const &)*arg2);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_Py_Void();
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj = 0;
15194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15195 int arg2 ;
15196 int arg3 ;
15197 void *argp1 = 0 ;
15198 int res1 = 0 ;
15199 int val2 ;
15200 int ecode2 = 0 ;
15201 int val3 ;
15202 int ecode3 = 0 ;
15203 PyObject * obj0 = 0 ;
15204 PyObject * obj1 = 0 ;
15205 PyObject * obj2 = 0 ;
15206 char * kwnames[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15208 };
15209
15210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15212 if (!SWIG_IsOK(res1)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15214 }
15215 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15216 ecode2 = SWIG_AsVal_int(obj1, &val2);
15217 if (!SWIG_IsOK(ecode2)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15219 }
15220 arg2 = static_cast< int >(val2);
15221 ecode3 = SWIG_AsVal_int(obj2, &val3);
15222 if (!SWIG_IsOK(ecode3)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15224 }
15225 arg3 = static_cast< int >(val3);
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetMargins(arg2,arg3);
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = SWIG_Py_Void();
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj = 0;
15241 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15242 wxColour *arg2 = 0 ;
15243 void *argp1 = 0 ;
15244 int res1 = 0 ;
15245 wxColour temp2 ;
15246 PyObject * obj0 = 0 ;
15247 PyObject * obj1 = 0 ;
15248 char * kwnames[] = {
15249 (char *) "self",(char *) "col", NULL
15250 };
15251
15252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15254 if (!SWIG_IsOK(res1)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 }
15257 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15258 {
15259 arg2 = &temp2;
15260 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_Py_Void();
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 wxDC *arg2 = 0 ;
15279 wxRect *arg3 = 0 ;
15280 size_t arg4 ;
15281 void *argp1 = 0 ;
15282 int res1 = 0 ;
15283 void *argp2 = 0 ;
15284 int res2 = 0 ;
15285 wxRect temp3 ;
15286 size_t val4 ;
15287 int ecode4 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15303 if (!SWIG_IsOK(res2)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15305 }
15306 if (!argp2) {
15307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15308 }
15309 arg2 = reinterpret_cast< wxDC * >(argp2);
15310 {
15311 arg3 = &temp3;
15312 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15313 }
15314 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15315 if (!SWIG_IsOK(ecode4)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15317 }
15318 arg4 = static_cast< size_t >(val4);
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = SWIG_Py_Void();
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj = 0;
15334 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15335 wxDC *arg2 = 0 ;
15336 wxRect *arg3 = 0 ;
15337 size_t arg4 ;
15338 void *argp1 = 0 ;
15339 int res1 = 0 ;
15340 void *argp2 = 0 ;
15341 int res2 = 0 ;
15342 wxRect temp3 ;
15343 size_t val4 ;
15344 int ecode4 = 0 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 PyObject * obj2 = 0 ;
15348 PyObject * obj3 = 0 ;
15349 char * kwnames[] = {
15350 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15351 };
15352
15353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15355 if (!SWIG_IsOK(res1)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15357 }
15358 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15359 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15360 if (!SWIG_IsOK(res2)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15362 }
15363 if (!argp2) {
15364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15365 }
15366 arg2 = reinterpret_cast< wxDC * >(argp2);
15367 {
15368 arg3 = &temp3;
15369 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15370 }
15371 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15372 if (!SWIG_IsOK(ecode4)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15374 }
15375 arg4 = static_cast< size_t >(val4);
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_Py_Void();
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15390 PyObject *obj;
15391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15393 return SWIG_Py_Void();
15394 }
15395
15396 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15397 return SWIG_Python_InitShadowInstance(args);
15398 }
15399
15400 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj = 0;
15402 wxWindow *arg1 = (wxWindow *) 0 ;
15403 int arg2 = (int) wxID_ANY ;
15404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15406 wxSize const &arg4_defvalue = wxDefaultSize ;
15407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15408 long arg5 = (long) 0 ;
15409 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15410 wxString *arg6 = (wxString *) &arg6_defvalue ;
15411 wxPyHtmlListBox *result = 0 ;
15412 void *argp1 = 0 ;
15413 int res1 = 0 ;
15414 int val2 ;
15415 int ecode2 = 0 ;
15416 wxPoint temp3 ;
15417 wxSize temp4 ;
15418 long val5 ;
15419 int ecode5 = 0 ;
15420 bool temp6 = false ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 PyObject * obj3 = 0 ;
15425 PyObject * obj4 = 0 ;
15426 PyObject * obj5 = 0 ;
15427 char * kwnames[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15429 };
15430
15431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15433 if (!SWIG_IsOK(res1)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15435 }
15436 arg1 = reinterpret_cast< wxWindow * >(argp1);
15437 if (obj1) {
15438 ecode2 = SWIG_AsVal_int(obj1, &val2);
15439 if (!SWIG_IsOK(ecode2)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15441 }
15442 arg2 = static_cast< int >(val2);
15443 }
15444 if (obj2) {
15445 {
15446 arg3 = &temp3;
15447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15448 }
15449 }
15450 if (obj3) {
15451 {
15452 arg4 = &temp4;
15453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15454 }
15455 }
15456 if (obj4) {
15457 ecode5 = SWIG_AsVal_long(obj4, &val5);
15458 if (!SWIG_IsOK(ecode5)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15460 }
15461 arg5 = static_cast< long >(val5);
15462 }
15463 if (obj5) {
15464 {
15465 arg6 = wxString_in_helper(obj5);
15466 if (arg6 == NULL) SWIG_fail;
15467 temp6 = true;
15468 }
15469 }
15470 {
15471 if (!wxPyCheckForApp()) SWIG_fail;
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15478 {
15479 if (temp6)
15480 delete arg6;
15481 }
15482 return resultobj;
15483 fail:
15484 {
15485 if (temp6)
15486 delete arg6;
15487 }
15488 return NULL;
15489 }
15490
15491
15492 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15493 PyObject *resultobj = 0;
15494 wxPyHtmlListBox *result = 0 ;
15495
15496 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15497 {
15498 if (!wxPyCheckForApp()) SWIG_fail;
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj = 0;
15513 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15514 PyObject *arg2 = (PyObject *) 0 ;
15515 PyObject *arg3 = (PyObject *) 0 ;
15516 void *argp1 = 0 ;
15517 int res1 = 0 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 PyObject * obj2 = 0 ;
15521 char * kwnames[] = {
15522 (char *) "self",(char *) "self",(char *) "_class", NULL
15523 };
15524
15525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15527 if (!SWIG_IsOK(res1)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15529 }
15530 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15531 arg2 = obj1;
15532 arg3 = obj2;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->_setCallbackInfo(arg2,arg3);
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_Py_Void();
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj = 0;
15548 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15549 wxWindow *arg2 = (wxWindow *) 0 ;
15550 int arg3 = (int) wxID_ANY ;
15551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15553 wxSize const &arg5_defvalue = wxDefaultSize ;
15554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15555 long arg6 = (long) 0 ;
15556 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15557 wxString *arg7 = (wxString *) &arg7_defvalue ;
15558 bool result;
15559 void *argp1 = 0 ;
15560 int res1 = 0 ;
15561 void *argp2 = 0 ;
15562 int res2 = 0 ;
15563 int val3 ;
15564 int ecode3 = 0 ;
15565 wxPoint temp4 ;
15566 wxSize temp5 ;
15567 long val6 ;
15568 int ecode6 = 0 ;
15569 bool temp7 = false ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 PyObject * obj3 = 0 ;
15574 PyObject * obj4 = 0 ;
15575 PyObject * obj5 = 0 ;
15576 PyObject * obj6 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15585 }
15586 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15588 if (!SWIG_IsOK(res2)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15590 }
15591 arg2 = reinterpret_cast< wxWindow * >(argp2);
15592 if (obj2) {
15593 ecode3 = SWIG_AsVal_int(obj2, &val3);
15594 if (!SWIG_IsOK(ecode3)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15596 }
15597 arg3 = static_cast< int >(val3);
15598 }
15599 if (obj3) {
15600 {
15601 arg4 = &temp4;
15602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15603 }
15604 }
15605 if (obj4) {
15606 {
15607 arg5 = &temp5;
15608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15609 }
15610 }
15611 if (obj5) {
15612 ecode6 = SWIG_AsVal_long(obj5, &val6);
15613 if (!SWIG_IsOK(ecode6)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15615 }
15616 arg6 = static_cast< long >(val6);
15617 }
15618 if (obj6) {
15619 {
15620 arg7 = wxString_in_helper(obj6);
15621 if (arg7 == NULL) SWIG_fail;
15622 temp7 = true;
15623 }
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15633 }
15634 {
15635 if (temp7)
15636 delete arg7;
15637 }
15638 return resultobj;
15639 fail:
15640 {
15641 if (temp7)
15642 delete arg7;
15643 }
15644 return NULL;
15645 }
15646
15647
15648 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj = 0;
15650 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15651 size_t arg2 ;
15652 void *argp1 = 0 ;
15653 int res1 = 0 ;
15654 size_t val2 ;
15655 int ecode2 = 0 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 char * kwnames[] = {
15659 (char *) "self",(char *) "count", NULL
15660 };
15661
15662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15664 if (!SWIG_IsOK(res1)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15666 }
15667 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15668 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15669 if (!SWIG_IsOK(ecode2)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15671 }
15672 arg2 = static_cast< size_t >(val2);
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetItemCount(arg2);
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_Py_Void();
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15687 PyObject *resultobj = 0;
15688 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15689 wxFileSystem *result = 0 ;
15690 void *argp1 = 0 ;
15691 int res1 = 0 ;
15692 PyObject *swig_obj[1] ;
15693
15694 if (!args) SWIG_fail;
15695 swig_obj[0] = args;
15696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15697 if (!SWIG_IsOK(res1)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15699 }
15700 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 {
15704 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15705 result = (wxFileSystem *) &_result_ref;
15706 }
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj = 0;
15719 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15720 size_t arg2 ;
15721 wxHtmlLinkInfo *arg3 = 0 ;
15722 void *argp1 = 0 ;
15723 int res1 = 0 ;
15724 size_t val2 ;
15725 int ecode2 = 0 ;
15726 void *argp3 = 0 ;
15727 int res3 = 0 ;
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 PyObject * obj2 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "self",(char *) "n",(char *) "link", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15737 if (!SWIG_IsOK(res1)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 }
15740 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15741 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15742 if (!SWIG_IsOK(ecode2)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15744 }
15745 arg2 = static_cast< size_t >(val2);
15746 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15747 if (!SWIG_IsOK(res3)) {
15748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15749 }
15750 if (!argp3) {
15751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15752 }
15753 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = SWIG_Py_Void();
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15768 PyObject *obj;
15769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15771 return SWIG_Py_Void();
15772 }
15773
15774 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15775 return SWIG_Python_InitShadowInstance(args);
15776 }
15777
15778 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *resultobj = 0;
15780 wxPyTaskBarIcon *result = 0 ;
15781
15782 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15798 PyObject *resultobj = 0;
15799 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15800 void *argp1 = 0 ;
15801 int res1 = 0 ;
15802 PyObject *swig_obj[1] ;
15803
15804 if (!args) SWIG_fail;
15805 swig_obj[0] = args;
15806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15809 }
15810 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 delete arg1;
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_Py_Void();
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = 0;
15827 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15828 PyObject *arg2 = (PyObject *) 0 ;
15829 PyObject *arg3 = (PyObject *) 0 ;
15830 int arg4 ;
15831 void *argp1 = 0 ;
15832 int res1 = 0 ;
15833 int val4 ;
15834 int ecode4 = 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 PyObject * obj2 = 0 ;
15838 PyObject * obj3 = 0 ;
15839 char * kwnames[] = {
15840 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15841 };
15842
15843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15845 if (!SWIG_IsOK(res1)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15847 }
15848 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15849 arg2 = obj1;
15850 arg3 = obj2;
15851 ecode4 = SWIG_AsVal_int(obj3, &val4);
15852 if (!SWIG_IsOK(ecode4)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15854 }
15855 arg4 = static_cast< int >(val4);
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_Py_Void();
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 PyObject *resultobj = 0;
15871 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 PyObject *swig_obj[1] ;
15875
15876 if (!args) SWIG_fail;
15877 swig_obj[0] = args;
15878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15879 if (!SWIG_IsOK(res1)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15881 }
15882 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 wxPyTaskBarIcon_Destroy(arg1);
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_Py_Void();
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15897 PyObject *resultobj = 0;
15898 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15899 bool result;
15900 void *argp1 = 0 ;
15901 int res1 = 0 ;
15902 PyObject *swig_obj[1] ;
15903
15904 if (!args) SWIG_fail;
15905 swig_obj[0] = args;
15906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15907 if (!SWIG_IsOK(res1)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15909 }
15910 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15927 PyObject *resultobj = 0;
15928 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15929 bool result;
15930 void *argp1 = 0 ;
15931 int res1 = 0 ;
15932 PyObject *swig_obj[1] ;
15933
15934 if (!args) SWIG_fail;
15935 swig_obj[0] = args;
15936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15937 if (!SWIG_IsOK(res1)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15939 }
15940 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15949 }
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj = 0;
15958 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15959 wxIcon *arg2 = 0 ;
15960 wxString const &arg3_defvalue = wxPyEmptyString ;
15961 wxString *arg3 = (wxString *) &arg3_defvalue ;
15962 bool result;
15963 void *argp1 = 0 ;
15964 int res1 = 0 ;
15965 void *argp2 = 0 ;
15966 int res2 = 0 ;
15967 bool temp3 = false ;
15968 PyObject * obj0 = 0 ;
15969 PyObject * obj1 = 0 ;
15970 PyObject * obj2 = 0 ;
15971 char * kwnames[] = {
15972 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15973 };
15974
15975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15977 if (!SWIG_IsOK(res1)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15979 }
15980 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15981 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15982 if (!SWIG_IsOK(res2)) {
15983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15984 }
15985 if (!argp2) {
15986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15987 }
15988 arg2 = reinterpret_cast< wxIcon * >(argp2);
15989 if (obj2) {
15990 {
15991 arg3 = wxString_in_helper(obj2);
15992 if (arg3 == NULL) SWIG_fail;
15993 temp3 = true;
15994 }
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 {
16003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16004 }
16005 {
16006 if (temp3)
16007 delete arg3;
16008 }
16009 return resultobj;
16010 fail:
16011 {
16012 if (temp3)
16013 delete arg3;
16014 }
16015 return NULL;
16016 }
16017
16018
16019 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16022 bool result;
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, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 }
16033 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->RemoveIcon();
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 }
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj = 0;
16051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16052 wxMenu *arg2 = (wxMenu *) 0 ;
16053 bool result;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 void *argp2 = 0 ;
16057 int res2 = 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char * kwnames[] = {
16061 (char *) "self",(char *) "menu", NULL
16062 };
16063
16064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16066 if (!SWIG_IsOK(res1)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16068 }
16069 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16071 if (!SWIG_IsOK(res2)) {
16072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16073 }
16074 arg2 = reinterpret_cast< wxMenu * >(argp2);
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (bool)(arg1)->PopupMenu(arg2);
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 {
16082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16083 }
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 PyObject *obj;
16092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16094 return SWIG_Py_Void();
16095 }
16096
16097 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16098 return SWIG_Python_InitShadowInstance(args);
16099 }
16100
16101 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj = 0;
16103 wxEventType arg1 ;
16104 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16105 wxTaskBarIconEvent *result = 0 ;
16106 int val1 ;
16107 int ecode1 = 0 ;
16108 void *argp2 = 0 ;
16109 int res2 = 0 ;
16110 PyObject * obj0 = 0 ;
16111 PyObject * obj1 = 0 ;
16112 char * kwnames[] = {
16113 (char *) "evtType",(char *) "tbIcon", NULL
16114 };
16115
16116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16117 ecode1 = SWIG_AsVal_int(obj0, &val1);
16118 if (!SWIG_IsOK(ecode1)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16120 }
16121 arg1 = static_cast< wxEventType >(val1);
16122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res2)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16125 }
16126 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16141 PyObject *obj;
16142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16144 return SWIG_Py_Void();
16145 }
16146
16147 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16148 return SWIG_Python_InitShadowInstance(args);
16149 }
16150
16151 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16152 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16153 return 1;
16154 }
16155
16156
16157 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16158 PyObject *pyobj = 0;
16159
16160 {
16161 #if wxUSE_UNICODE
16162 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16163 #else
16164 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16165 #endif
16166 }
16167 return pyobj;
16168 }
16169
16170
16171 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16172 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16173 return 1;
16174 }
16175
16176
16177 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16178 PyObject *pyobj = 0;
16179
16180 {
16181 #if wxUSE_UNICODE
16182 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16183 #else
16184 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16185 #endif
16186 }
16187 return pyobj;
16188 }
16189
16190
16191 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16192 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16193 return 1;
16194 }
16195
16196
16197 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16198 PyObject *pyobj = 0;
16199
16200 {
16201 #if wxUSE_UNICODE
16202 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16203 #else
16204 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16205 #endif
16206 }
16207 return pyobj;
16208 }
16209
16210
16211 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16212 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16213 return 1;
16214 }
16215
16216
16217 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16218 PyObject *pyobj = 0;
16219
16220 {
16221 #if wxUSE_UNICODE
16222 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16223 #else
16224 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16225 #endif
16226 }
16227 return pyobj;
16228 }
16229
16230
16231 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16232 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16233 return 1;
16234 }
16235
16236
16237 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16238 PyObject *pyobj = 0;
16239
16240 {
16241 #if wxUSE_UNICODE
16242 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16243 #else
16244 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16245 #endif
16246 }
16247 return pyobj;
16248 }
16249
16250
16251 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16252 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16253 return 1;
16254 }
16255
16256
16257 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16258 PyObject *pyobj = 0;
16259
16260 {
16261 #if wxUSE_UNICODE
16262 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16263 #else
16264 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16265 #endif
16266 }
16267 return pyobj;
16268 }
16269
16270
16271 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16272 PyObject *resultobj = 0;
16273 wxColourData *result = 0 ;
16274
16275 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxColourData *)new wxColourData();
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxColourData *arg1 = (wxColourData *) 0 ;
16292 void *argp1 = 0 ;
16293 int res1 = 0 ;
16294 PyObject *swig_obj[1] ;
16295
16296 if (!args) SWIG_fail;
16297 swig_obj[0] = args;
16298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16301 }
16302 arg1 = reinterpret_cast< wxColourData * >(argp1);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 delete arg1;
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_Py_Void();
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16318 PyObject *resultobj = 0;
16319 wxColourData *arg1 = (wxColourData *) 0 ;
16320 bool result;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 PyObject *swig_obj[1] ;
16324
16325 if (!args) SWIG_fail;
16326 swig_obj[0] = args;
16327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16328 if (!SWIG_IsOK(res1)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16330 }
16331 arg1 = reinterpret_cast< wxColourData * >(argp1);
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 result = (bool)(arg1)->GetChooseFull();
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16348 PyObject *resultobj = 0;
16349 wxColourData *arg1 = (wxColourData *) 0 ;
16350 wxColour result;
16351 void *argp1 = 0 ;
16352 int res1 = 0 ;
16353 PyObject *swig_obj[1] ;
16354
16355 if (!args) SWIG_fail;
16356 swig_obj[0] = args;
16357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16358 if (!SWIG_IsOK(res1)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16360 }
16361 arg1 = reinterpret_cast< wxColourData * >(argp1);
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (arg1)->GetColour();
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj = 0;
16377 wxColourData *arg1 = (wxColourData *) 0 ;
16378 int arg2 ;
16379 wxColour result;
16380 void *argp1 = 0 ;
16381 int res1 = 0 ;
16382 int val2 ;
16383 int ecode2 = 0 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char * kwnames[] = {
16387 (char *) "self",(char *) "i", NULL
16388 };
16389
16390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16392 if (!SWIG_IsOK(res1)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16394 }
16395 arg1 = reinterpret_cast< wxColourData * >(argp1);
16396 ecode2 = SWIG_AsVal_int(obj1, &val2);
16397 if (!SWIG_IsOK(ecode2)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16399 }
16400 arg2 = static_cast< int >(val2);
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (arg1)->GetCustomColour(arg2);
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj = 0;
16416 wxColourData *arg1 = (wxColourData *) 0 ;
16417 int arg2 ;
16418 void *argp1 = 0 ;
16419 int res1 = 0 ;
16420 int val2 ;
16421 int ecode2 = 0 ;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char * kwnames[] = {
16425 (char *) "self",(char *) "flag", NULL
16426 };
16427
16428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16430 if (!SWIG_IsOK(res1)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16432 }
16433 arg1 = reinterpret_cast< wxColourData * >(argp1);
16434 ecode2 = SWIG_AsVal_int(obj1, &val2);
16435 if (!SWIG_IsOK(ecode2)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16437 }
16438 arg2 = static_cast< int >(val2);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 (arg1)->SetChooseFull(arg2);
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 resultobj = SWIG_Py_Void();
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj = 0;
16454 wxColourData *arg1 = (wxColourData *) 0 ;
16455 wxColour *arg2 = 0 ;
16456 void *argp1 = 0 ;
16457 int res1 = 0 ;
16458 wxColour temp2 ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 char * kwnames[] = {
16462 (char *) "self",(char *) "colour", NULL
16463 };
16464
16465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16467 if (!SWIG_IsOK(res1)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16469 }
16470 arg1 = reinterpret_cast< wxColourData * >(argp1);
16471 {
16472 arg2 = &temp2;
16473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetColour((wxColour const &)*arg2);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_Py_Void();
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj = 0;
16490 wxColourData *arg1 = (wxColourData *) 0 ;
16491 int arg2 ;
16492 wxColour *arg3 = 0 ;
16493 void *argp1 = 0 ;
16494 int res1 = 0 ;
16495 int val2 ;
16496 int ecode2 = 0 ;
16497 wxColour temp3 ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 PyObject * obj2 = 0 ;
16501 char * kwnames[] = {
16502 (char *) "self",(char *) "i",(char *) "colour", NULL
16503 };
16504
16505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16507 if (!SWIG_IsOK(res1)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16509 }
16510 arg1 = reinterpret_cast< wxColourData * >(argp1);
16511 ecode2 = SWIG_AsVal_int(obj1, &val2);
16512 if (!SWIG_IsOK(ecode2)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16514 }
16515 arg2 = static_cast< int >(val2);
16516 {
16517 arg3 = &temp3;
16518 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16519 }
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_Py_Void();
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *obj;
16535 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16537 return SWIG_Py_Void();
16538 }
16539
16540 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 return SWIG_Python_InitShadowInstance(args);
16542 }
16543
16544 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj = 0;
16546 wxWindow *arg1 = (wxWindow *) 0 ;
16547 wxColourData *arg2 = (wxColourData *) NULL ;
16548 wxColourDialog *result = 0 ;
16549 void *argp1 = 0 ;
16550 int res1 = 0 ;
16551 void *argp2 = 0 ;
16552 int res2 = 0 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char * kwnames[] = {
16556 (char *) "parent",(char *) "data", NULL
16557 };
16558
16559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16561 if (!SWIG_IsOK(res1)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16563 }
16564 arg1 = reinterpret_cast< wxWindow * >(argp1);
16565 if (obj1) {
16566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16567 if (!SWIG_IsOK(res2)) {
16568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16569 }
16570 arg2 = reinterpret_cast< wxColourData * >(argp2);
16571 }
16572 {
16573 if (!wxPyCheckForApp()) SWIG_fail;
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16587 PyObject *resultobj = 0;
16588 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16589 wxColourData *result = 0 ;
16590 void *argp1 = 0 ;
16591 int res1 = 0 ;
16592 PyObject *swig_obj[1] ;
16593
16594 if (!args) SWIG_fail;
16595 swig_obj[0] = args;
16596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16599 }
16600 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 {
16604 wxColourData &_result_ref = (arg1)->GetColourData();
16605 result = (wxColourData *) &_result_ref;
16606 }
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16618 PyObject *obj;
16619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16620 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16621 return SWIG_Py_Void();
16622 }
16623
16624 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 return SWIG_Python_InitShadowInstance(args);
16626 }
16627
16628 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj = 0;
16630 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16631 wxColour const &arg2_defvalue = wxNullColour ;
16632 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16633 wxString const &arg3_defvalue = wxPyEmptyString ;
16634 wxString *arg3 = (wxString *) &arg3_defvalue ;
16635 wxColour result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 wxColour temp2 ;
16639 bool temp3 = false ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 PyObject * obj2 = 0 ;
16643 char * kwnames[] = {
16644 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16645 };
16646
16647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16648 if (obj0) {
16649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16650 if (!SWIG_IsOK(res1)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16652 }
16653 arg1 = reinterpret_cast< wxWindow * >(argp1);
16654 }
16655 if (obj1) {
16656 {
16657 arg2 = &temp2;
16658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16659 }
16660 }
16661 if (obj2) {
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16675 {
16676 if (temp3)
16677 delete arg3;
16678 }
16679 return resultobj;
16680 fail:
16681 {
16682 if (temp3)
16683 delete arg3;
16684 }
16685 return NULL;
16686 }
16687
16688
16689 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj = 0;
16691 wxWindow *arg1 = (wxWindow *) 0 ;
16692 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16693 wxString *arg2 = (wxString *) &arg2_defvalue ;
16694 wxString const &arg3_defvalue = wxPyEmptyString ;
16695 wxString *arg3 = (wxString *) &arg3_defvalue ;
16696 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16697 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16698 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16699 wxSize const &arg6_defvalue = wxDefaultSize ;
16700 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16701 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16702 wxString *arg7 = (wxString *) &arg7_defvalue ;
16703 wxDirDialog *result = 0 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 bool temp2 = false ;
16707 bool temp3 = false ;
16708 long val4 ;
16709 int ecode4 = 0 ;
16710 wxPoint temp5 ;
16711 wxSize temp6 ;
16712 bool temp7 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 PyObject * obj6 = 0 ;
16720 char * kwnames[] = {
16721 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16722 };
16723
16724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16726 if (!SWIG_IsOK(res1)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16728 }
16729 arg1 = reinterpret_cast< wxWindow * >(argp1);
16730 if (obj1) {
16731 {
16732 arg2 = wxString_in_helper(obj1);
16733 if (arg2 == NULL) SWIG_fail;
16734 temp2 = true;
16735 }
16736 }
16737 if (obj2) {
16738 {
16739 arg3 = wxString_in_helper(obj2);
16740 if (arg3 == NULL) SWIG_fail;
16741 temp3 = true;
16742 }
16743 }
16744 if (obj3) {
16745 ecode4 = SWIG_AsVal_long(obj3, &val4);
16746 if (!SWIG_IsOK(ecode4)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16748 }
16749 arg4 = static_cast< long >(val4);
16750 }
16751 if (obj4) {
16752 {
16753 arg5 = &temp5;
16754 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16755 }
16756 }
16757 if (obj5) {
16758 {
16759 arg6 = &temp6;
16760 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16761 }
16762 }
16763 if (obj6) {
16764 {
16765 arg7 = wxString_in_helper(obj6);
16766 if (arg7 == NULL) SWIG_fail;
16767 temp7 = true;
16768 }
16769 }
16770 {
16771 if (!wxPyCheckForApp()) SWIG_fail;
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16778 {
16779 if (temp2)
16780 delete arg2;
16781 }
16782 {
16783 if (temp3)
16784 delete arg3;
16785 }
16786 {
16787 if (temp7)
16788 delete arg7;
16789 }
16790 return resultobj;
16791 fail:
16792 {
16793 if (temp2)
16794 delete arg2;
16795 }
16796 {
16797 if (temp3)
16798 delete arg3;
16799 }
16800 {
16801 if (temp7)
16802 delete arg7;
16803 }
16804 return NULL;
16805 }
16806
16807
16808 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16809 PyObject *resultobj = 0;
16810 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16811 wxString result;
16812 void *argp1 = 0 ;
16813 int res1 = 0 ;
16814 PyObject *swig_obj[1] ;
16815
16816 if (!args) SWIG_fail;
16817 swig_obj[0] = args;
16818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16819 if (!SWIG_IsOK(res1)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16821 }
16822 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (arg1)->GetPath();
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 #if wxUSE_UNICODE
16831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16832 #else
16833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16834 #endif
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 PyObject *resultobj = 0;
16844 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16845 wxString result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 PyObject *swig_obj[1] ;
16849
16850 if (!args) SWIG_fail;
16851 swig_obj[0] = args;
16852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16853 if (!SWIG_IsOK(res1)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16855 }
16856 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetMessage();
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 #if wxUSE_UNICODE
16865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16866 #else
16867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16868 #endif
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj = 0;
16878 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16879 wxString *arg2 = 0 ;
16880 void *argp1 = 0 ;
16881 int res1 = 0 ;
16882 bool temp2 = false ;
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 char * kwnames[] = {
16886 (char *) "self",(char *) "message", NULL
16887 };
16888
16889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16891 if (!SWIG_IsOK(res1)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16893 }
16894 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16895 {
16896 arg2 = wxString_in_helper(obj1);
16897 if (arg2 == NULL) SWIG_fail;
16898 temp2 = true;
16899 }
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->SetMessage((wxString const &)*arg2);
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = SWIG_Py_Void();
16907 {
16908 if (temp2)
16909 delete arg2;
16910 }
16911 return resultobj;
16912 fail:
16913 {
16914 if (temp2)
16915 delete arg2;
16916 }
16917 return NULL;
16918 }
16919
16920
16921 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj = 0;
16923 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16924 wxString *arg2 = 0 ;
16925 void *argp1 = 0 ;
16926 int res1 = 0 ;
16927 bool temp2 = false ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 char * kwnames[] = {
16931 (char *) "self",(char *) "path", NULL
16932 };
16933
16934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16938 }
16939 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16940 {
16941 arg2 = wxString_in_helper(obj1);
16942 if (arg2 == NULL) SWIG_fail;
16943 temp2 = true;
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 (arg1)->SetPath((wxString const &)*arg2);
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 resultobj = SWIG_Py_Void();
16952 {
16953 if (temp2)
16954 delete arg2;
16955 }
16956 return resultobj;
16957 fail:
16958 {
16959 if (temp2)
16960 delete arg2;
16961 }
16962 return NULL;
16963 }
16964
16965
16966 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16967 PyObject *obj;
16968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16970 return SWIG_Py_Void();
16971 }
16972
16973 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 return SWIG_Python_InitShadowInstance(args);
16975 }
16976
16977 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj = 0;
16979 wxWindow *arg1 = (wxWindow *) 0 ;
16980 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16981 wxString *arg2 = (wxString *) &arg2_defvalue ;
16982 wxString const &arg3_defvalue = wxPyEmptyString ;
16983 wxString *arg3 = (wxString *) &arg3_defvalue ;
16984 wxString const &arg4_defvalue = wxPyEmptyString ;
16985 wxString *arg4 = (wxString *) &arg4_defvalue ;
16986 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16987 wxString *arg5 = (wxString *) &arg5_defvalue ;
16988 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16989 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16990 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16991 wxFileDialog *result = 0 ;
16992 void *argp1 = 0 ;
16993 int res1 = 0 ;
16994 bool temp2 = false ;
16995 bool temp3 = false ;
16996 bool temp4 = false ;
16997 bool temp5 = false ;
16998 long val6 ;
16999 int ecode6 = 0 ;
17000 wxPoint temp7 ;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 PyObject * obj2 = 0 ;
17004 PyObject * obj3 = 0 ;
17005 PyObject * obj4 = 0 ;
17006 PyObject * obj5 = 0 ;
17007 PyObject * obj6 = 0 ;
17008 char * kwnames[] = {
17009 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17010 };
17011
17012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17014 if (!SWIG_IsOK(res1)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17016 }
17017 arg1 = reinterpret_cast< wxWindow * >(argp1);
17018 if (obj1) {
17019 {
17020 arg2 = wxString_in_helper(obj1);
17021 if (arg2 == NULL) SWIG_fail;
17022 temp2 = true;
17023 }
17024 }
17025 if (obj2) {
17026 {
17027 arg3 = wxString_in_helper(obj2);
17028 if (arg3 == NULL) SWIG_fail;
17029 temp3 = true;
17030 }
17031 }
17032 if (obj3) {
17033 {
17034 arg4 = wxString_in_helper(obj3);
17035 if (arg4 == NULL) SWIG_fail;
17036 temp4 = true;
17037 }
17038 }
17039 if (obj4) {
17040 {
17041 arg5 = wxString_in_helper(obj4);
17042 if (arg5 == NULL) SWIG_fail;
17043 temp5 = true;
17044 }
17045 }
17046 if (obj5) {
17047 ecode6 = SWIG_AsVal_long(obj5, &val6);
17048 if (!SWIG_IsOK(ecode6)) {
17049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17050 }
17051 arg6 = static_cast< long >(val6);
17052 }
17053 if (obj6) {
17054 {
17055 arg7 = &temp7;
17056 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17057 }
17058 }
17059 {
17060 if (!wxPyCheckForApp()) SWIG_fail;
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17067 {
17068 if (temp2)
17069 delete arg2;
17070 }
17071 {
17072 if (temp3)
17073 delete arg3;
17074 }
17075 {
17076 if (temp4)
17077 delete arg4;
17078 }
17079 {
17080 if (temp5)
17081 delete arg5;
17082 }
17083 return resultobj;
17084 fail:
17085 {
17086 if (temp2)
17087 delete arg2;
17088 }
17089 {
17090 if (temp3)
17091 delete arg3;
17092 }
17093 {
17094 if (temp4)
17095 delete arg4;
17096 }
17097 {
17098 if (temp5)
17099 delete arg5;
17100 }
17101 return NULL;
17102 }
17103
17104
17105 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj = 0;
17107 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17108 wxString *arg2 = 0 ;
17109 void *argp1 = 0 ;
17110 int res1 = 0 ;
17111 bool temp2 = false ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char * kwnames[] = {
17115 (char *) "self",(char *) "message", NULL
17116 };
17117
17118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17120 if (!SWIG_IsOK(res1)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17122 }
17123 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17124 {
17125 arg2 = wxString_in_helper(obj1);
17126 if (arg2 == NULL) SWIG_fail;
17127 temp2 = true;
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->SetMessage((wxString const &)*arg2);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_Py_Void();
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return resultobj;
17141 fail:
17142 {
17143 if (temp2)
17144 delete arg2;
17145 }
17146 return NULL;
17147 }
17148
17149
17150 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj = 0;
17152 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17153 wxString *arg2 = 0 ;
17154 void *argp1 = 0 ;
17155 int res1 = 0 ;
17156 bool temp2 = false ;
17157 PyObject * obj0 = 0 ;
17158 PyObject * obj1 = 0 ;
17159 char * kwnames[] = {
17160 (char *) "self",(char *) "path", NULL
17161 };
17162
17163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17165 if (!SWIG_IsOK(res1)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17167 }
17168 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17169 {
17170 arg2 = wxString_in_helper(obj1);
17171 if (arg2 == NULL) SWIG_fail;
17172 temp2 = true;
17173 }
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 (arg1)->SetPath((wxString const &)*arg2);
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_Py_Void();
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return resultobj;
17186 fail:
17187 {
17188 if (temp2)
17189 delete arg2;
17190 }
17191 return NULL;
17192 }
17193
17194
17195 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17198 wxString *arg2 = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char * kwnames[] = {
17205 (char *) "self",(char *) "dir", NULL
17206 };
17207
17208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17210 if (!SWIG_IsOK(res1)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17212 }
17213 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17214 {
17215 arg2 = wxString_in_helper(obj1);
17216 if (arg2 == NULL) SWIG_fail;
17217 temp2 = true;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->SetDirectory((wxString const &)*arg2);
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_Py_Void();
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return resultobj;
17231 fail:
17232 {
17233 if (temp2)
17234 delete arg2;
17235 }
17236 return NULL;
17237 }
17238
17239
17240 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17243 wxString *arg2 = 0 ;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 bool temp2 = false ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char * kwnames[] = {
17250 (char *) "self",(char *) "name", NULL
17251 };
17252
17253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17255 if (!SWIG_IsOK(res1)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17257 }
17258 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17259 {
17260 arg2 = wxString_in_helper(obj1);
17261 if (arg2 == NULL) SWIG_fail;
17262 temp2 = true;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetFilename((wxString const &)*arg2);
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 resultobj = SWIG_Py_Void();
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (temp2)
17279 delete arg2;
17280 }
17281 return NULL;
17282 }
17283
17284
17285 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = 0;
17287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17288 wxString *arg2 = 0 ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 bool temp2 = false ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "self",(char *) "wildCard", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17302 }
17303 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17304 {
17305 arg2 = wxString_in_helper(obj1);
17306 if (arg2 == NULL) SWIG_fail;
17307 temp2 = true;
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->SetWildcard((wxString const &)*arg2);
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = SWIG_Py_Void();
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return resultobj;
17321 fail:
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return NULL;
17327 }
17328
17329
17330 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj = 0;
17332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17333 int arg2 ;
17334 void *argp1 = 0 ;
17335 int res1 = 0 ;
17336 int val2 ;
17337 int ecode2 = 0 ;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char * kwnames[] = {
17341 (char *) "self",(char *) "filterIndex", NULL
17342 };
17343
17344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17346 if (!SWIG_IsOK(res1)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17348 }
17349 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17350 ecode2 = SWIG_AsVal_int(obj1, &val2);
17351 if (!SWIG_IsOK(ecode2)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17353 }
17354 arg2 = static_cast< int >(val2);
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetFilterIndex(arg2);
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 resultobj = SWIG_Py_Void();
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17369 PyObject *resultobj = 0;
17370 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17371 wxString result;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 PyObject *swig_obj[1] ;
17375
17376 if (!args) SWIG_fail;
17377 swig_obj[0] = args;
17378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17379 if (!SWIG_IsOK(res1)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17381 }
17382 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = ((wxFileDialog const *)arg1)->GetMessage();
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 #if wxUSE_UNICODE
17391 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17392 #else
17393 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17394 #endif
17395 }
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17403 PyObject *resultobj = 0;
17404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17405 wxString result;
17406 void *argp1 = 0 ;
17407 int res1 = 0 ;
17408 PyObject *swig_obj[1] ;
17409
17410 if (!args) SWIG_fail;
17411 swig_obj[0] = args;
17412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17413 if (!SWIG_IsOK(res1)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17415 }
17416 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = ((wxFileDialog const *)arg1)->GetPath();
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 #if wxUSE_UNICODE
17425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17426 #else
17427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17428 #endif
17429 }
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17437 PyObject *resultobj = 0;
17438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17439 wxString result;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 PyObject *swig_obj[1] ;
17443
17444 if (!args) SWIG_fail;
17445 swig_obj[0] = args;
17446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17447 if (!SWIG_IsOK(res1)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17449 }
17450 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 result = ((wxFileDialog const *)arg1)->GetDirectory();
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 {
17458 #if wxUSE_UNICODE
17459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17460 #else
17461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17462 #endif
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17471 PyObject *resultobj = 0;
17472 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17473 wxString result;
17474 void *argp1 = 0 ;
17475 int res1 = 0 ;
17476 PyObject *swig_obj[1] ;
17477
17478 if (!args) SWIG_fail;
17479 swig_obj[0] = args;
17480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17481 if (!SWIG_IsOK(res1)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17483 }
17484 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = ((wxFileDialog const *)arg1)->GetFilename();
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 {
17492 #if wxUSE_UNICODE
17493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17494 #else
17495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17496 #endif
17497 }
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17505 PyObject *resultobj = 0;
17506 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17507 wxString result;
17508 void *argp1 = 0 ;
17509 int res1 = 0 ;
17510 PyObject *swig_obj[1] ;
17511
17512 if (!args) SWIG_fail;
17513 swig_obj[0] = args;
17514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17517 }
17518 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = ((wxFileDialog const *)arg1)->GetWildcard();
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 {
17526 #if wxUSE_UNICODE
17527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17528 #else
17529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17530 #endif
17531 }
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17539 PyObject *resultobj = 0;
17540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17541 int result;
17542 void *argp1 = 0 ;
17543 int res1 = 0 ;
17544 PyObject *swig_obj[1] ;
17545
17546 if (!args) SWIG_fail;
17547 swig_obj[0] = args;
17548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17549 if (!SWIG_IsOK(res1)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17551 }
17552 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = SWIG_From_int(static_cast< int >(result));
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17567 PyObject *resultobj = 0;
17568 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17569 PyObject *result = 0 ;
17570 void *argp1 = 0 ;
17571 int res1 = 0 ;
17572 PyObject *swig_obj[1] ;
17573
17574 if (!args) SWIG_fail;
17575 swig_obj[0] = args;
17576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17577 if (!SWIG_IsOK(res1)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17579 }
17580 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = result;
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17595 PyObject *resultobj = 0;
17596 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17597 PyObject *result = 0 ;
17598 void *argp1 = 0 ;
17599 int res1 = 0 ;
17600 PyObject *swig_obj[1] ;
17601
17602 if (!args) SWIG_fail;
17603 swig_obj[0] = args;
17604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17605 if (!SWIG_IsOK(res1)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17607 }
17608 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = result;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *obj;
17624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17626 return SWIG_Py_Void();
17627 }
17628
17629 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17630 return SWIG_Python_InitShadowInstance(args);
17631 }
17632
17633 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj = 0;
17635 wxWindow *arg1 = (wxWindow *) 0 ;
17636 wxString *arg2 = 0 ;
17637 wxString *arg3 = 0 ;
17638 int arg4 = (int) 0 ;
17639 wxString *arg5 = (wxString *) NULL ;
17640 long arg6 = (long) wxCHOICEDLG_STYLE ;
17641 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17642 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17643 wxMultiChoiceDialog *result = 0 ;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 bool temp2 = false ;
17647 bool temp3 = false ;
17648 long val6 ;
17649 int ecode6 = 0 ;
17650 wxPoint temp7 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 PyObject * obj2 = 0 ;
17654 PyObject * obj3 = 0 ;
17655 PyObject * obj4 = 0 ;
17656 PyObject * obj5 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17665 }
17666 arg1 = reinterpret_cast< wxWindow * >(argp1);
17667 {
17668 arg2 = wxString_in_helper(obj1);
17669 if (arg2 == NULL) SWIG_fail;
17670 temp2 = true;
17671 }
17672 {
17673 arg3 = wxString_in_helper(obj2);
17674 if (arg3 == NULL) SWIG_fail;
17675 temp3 = true;
17676 }
17677 if (obj3) {
17678 {
17679 arg4 = PyList_Size(obj3);
17680 arg5 = wxString_LIST_helper(obj3);
17681 if (arg5 == NULL) SWIG_fail;
17682 }
17683 }
17684 if (obj4) {
17685 ecode6 = SWIG_AsVal_long(obj4, &val6);
17686 if (!SWIG_IsOK(ecode6)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17688 }
17689 arg6 = static_cast< long >(val6);
17690 }
17691 if (obj5) {
17692 {
17693 arg7 = &temp7;
17694 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17695 }
17696 }
17697 {
17698 if (!wxPyCheckForApp()) SWIG_fail;
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17705 {
17706 if (temp2)
17707 delete arg2;
17708 }
17709 {
17710 if (temp3)
17711 delete arg3;
17712 }
17713 {
17714 if (arg5) delete [] arg5;
17715 }
17716 return resultobj;
17717 fail:
17718 {
17719 if (temp2)
17720 delete arg2;
17721 }
17722 {
17723 if (temp3)
17724 delete arg3;
17725 }
17726 {
17727 if (arg5) delete [] arg5;
17728 }
17729 return NULL;
17730 }
17731
17732
17733 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj = 0;
17735 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17736 wxArrayInt *arg2 = 0 ;
17737 void *argp1 = 0 ;
17738 int res1 = 0 ;
17739 bool temp2 = false ;
17740 PyObject * obj0 = 0 ;
17741 PyObject * obj1 = 0 ;
17742 char * kwnames[] = {
17743 (char *) "self",(char *) "selections", NULL
17744 };
17745
17746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17748 if (!SWIG_IsOK(res1)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17750 }
17751 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17752 {
17753 if (! PySequence_Check(obj1)) {
17754 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17755 SWIG_fail;
17756 }
17757 arg2 = new wxArrayInt;
17758 temp2 = true;
17759 int i, len=PySequence_Length(obj1);
17760 for (i=0; i<len; i++) {
17761 PyObject* item = PySequence_GetItem(obj1, i);
17762 PyObject* number = PyNumber_Int(item);
17763 arg2->Add(PyInt_AS_LONG(number));
17764 Py_DECREF(item);
17765 Py_DECREF(number);
17766 }
17767 }
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_Py_Void();
17775 {
17776 if (temp2) delete arg2;
17777 }
17778 return resultobj;
17779 fail:
17780 {
17781 if (temp2) delete arg2;
17782 }
17783 return NULL;
17784 }
17785
17786
17787 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17788 PyObject *resultobj = 0;
17789 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17790 PyObject *result = 0 ;
17791 void *argp1 = 0 ;
17792 int res1 = 0 ;
17793 PyObject *swig_obj[1] ;
17794
17795 if (!args) SWIG_fail;
17796 swig_obj[0] = args;
17797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17798 if (!SWIG_IsOK(res1)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17800 }
17801 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 resultobj = result;
17809 return resultobj;
17810 fail:
17811 return NULL;
17812 }
17813
17814
17815 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17816 PyObject *obj;
17817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17819 return SWIG_Py_Void();
17820 }
17821
17822 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17823 return SWIG_Python_InitShadowInstance(args);
17824 }
17825
17826 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj = 0;
17828 wxWindow *arg1 = (wxWindow *) 0 ;
17829 wxString *arg2 = 0 ;
17830 wxString *arg3 = 0 ;
17831 int arg4 ;
17832 wxString *arg5 = (wxString *) 0 ;
17833 long arg6 = (long) wxCHOICEDLG_STYLE ;
17834 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17835 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17836 wxSingleChoiceDialog *result = 0 ;
17837 void *argp1 = 0 ;
17838 int res1 = 0 ;
17839 bool temp2 = false ;
17840 bool temp3 = false ;
17841 long val6 ;
17842 int ecode6 = 0 ;
17843 wxPoint temp7 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 PyObject * obj2 = 0 ;
17847 PyObject * obj3 = 0 ;
17848 PyObject * obj4 = 0 ;
17849 PyObject * obj5 = 0 ;
17850 char * kwnames[] = {
17851 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17852 };
17853
17854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17858 }
17859 arg1 = reinterpret_cast< wxWindow * >(argp1);
17860 {
17861 arg2 = wxString_in_helper(obj1);
17862 if (arg2 == NULL) SWIG_fail;
17863 temp2 = true;
17864 }
17865 {
17866 arg3 = wxString_in_helper(obj2);
17867 if (arg3 == NULL) SWIG_fail;
17868 temp3 = true;
17869 }
17870 {
17871 arg4 = PyList_Size(obj3);
17872 arg5 = wxString_LIST_helper(obj3);
17873 if (arg5 == NULL) SWIG_fail;
17874 }
17875 if (obj4) {
17876 ecode6 = SWIG_AsVal_long(obj4, &val6);
17877 if (!SWIG_IsOK(ecode6)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17879 }
17880 arg6 = static_cast< long >(val6);
17881 }
17882 if (obj5) {
17883 {
17884 arg7 = &temp7;
17885 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17886 }
17887 }
17888 {
17889 if (!wxPyCheckForApp()) SWIG_fail;
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17896 {
17897 if (temp2)
17898 delete arg2;
17899 }
17900 {
17901 if (temp3)
17902 delete arg3;
17903 }
17904 {
17905 if (arg5) delete [] arg5;
17906 }
17907 return resultobj;
17908 fail:
17909 {
17910 if (temp2)
17911 delete arg2;
17912 }
17913 {
17914 if (temp3)
17915 delete arg3;
17916 }
17917 {
17918 if (arg5) delete [] arg5;
17919 }
17920 return NULL;
17921 }
17922
17923
17924 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17927 int result;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 PyObject *swig_obj[1] ;
17931
17932 if (!args) SWIG_fail;
17933 swig_obj[0] = args;
17934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17935 if (!SWIG_IsOK(res1)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17937 }
17938 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (int)(arg1)->GetSelection();
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 resultobj = SWIG_From_int(static_cast< int >(result));
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17953 PyObject *resultobj = 0;
17954 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17955 wxString result;
17956 void *argp1 = 0 ;
17957 int res1 = 0 ;
17958 PyObject *swig_obj[1] ;
17959
17960 if (!args) SWIG_fail;
17961 swig_obj[0] = args;
17962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17963 if (!SWIG_IsOK(res1)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17965 }
17966 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (arg1)->GetStringSelection();
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 {
17974 #if wxUSE_UNICODE
17975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17976 #else
17977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17978 #endif
17979 }
17980 return resultobj;
17981 fail:
17982 return NULL;
17983 }
17984
17985
17986 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj = 0;
17988 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17989 int arg2 ;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 int val2 ;
17993 int ecode2 = 0 ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 char * kwnames[] = {
17997 (char *) "self",(char *) "sel", NULL
17998 };
17999
18000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18002 if (!SWIG_IsOK(res1)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18004 }
18005 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18006 ecode2 = SWIG_AsVal_int(obj1, &val2);
18007 if (!SWIG_IsOK(ecode2)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18009 }
18010 arg2 = static_cast< int >(val2);
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->SetSelection(arg2);
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = SWIG_Py_Void();
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18025 PyObject *obj;
18026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18027 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18028 return SWIG_Py_Void();
18029 }
18030
18031 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18032 return SWIG_Python_InitShadowInstance(args);
18033 }
18034
18035 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj = 0;
18037 wxWindow *arg1 = (wxWindow *) 0 ;
18038 wxString *arg2 = 0 ;
18039 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18040 wxString *arg3 = (wxString *) &arg3_defvalue ;
18041 wxString const &arg4_defvalue = wxPyEmptyString ;
18042 wxString *arg4 = (wxString *) &arg4_defvalue ;
18043 long arg5 = (long) wxTextEntryDialogStyle ;
18044 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18045 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18046 wxTextEntryDialog *result = 0 ;
18047 void *argp1 = 0 ;
18048 int res1 = 0 ;
18049 bool temp2 = false ;
18050 bool temp3 = false ;
18051 bool temp4 = false ;
18052 long val5 ;
18053 int ecode5 = 0 ;
18054 wxPoint temp6 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 PyObject * obj3 = 0 ;
18059 PyObject * obj4 = 0 ;
18060 PyObject * obj5 = 0 ;
18061 char * kwnames[] = {
18062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18063 };
18064
18065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18067 if (!SWIG_IsOK(res1)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18069 }
18070 arg1 = reinterpret_cast< wxWindow * >(argp1);
18071 {
18072 arg2 = wxString_in_helper(obj1);
18073 if (arg2 == NULL) SWIG_fail;
18074 temp2 = true;
18075 }
18076 if (obj2) {
18077 {
18078 arg3 = wxString_in_helper(obj2);
18079 if (arg3 == NULL) SWIG_fail;
18080 temp3 = true;
18081 }
18082 }
18083 if (obj3) {
18084 {
18085 arg4 = wxString_in_helper(obj3);
18086 if (arg4 == NULL) SWIG_fail;
18087 temp4 = true;
18088 }
18089 }
18090 if (obj4) {
18091 ecode5 = SWIG_AsVal_long(obj4, &val5);
18092 if (!SWIG_IsOK(ecode5)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18094 }
18095 arg5 = static_cast< long >(val5);
18096 }
18097 if (obj5) {
18098 {
18099 arg6 = &temp6;
18100 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18101 }
18102 }
18103 {
18104 if (!wxPyCheckForApp()) SWIG_fail;
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18111 {
18112 if (temp2)
18113 delete arg2;
18114 }
18115 {
18116 if (temp3)
18117 delete arg3;
18118 }
18119 {
18120 if (temp4)
18121 delete arg4;
18122 }
18123 return resultobj;
18124 fail:
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (temp4)
18135 delete arg4;
18136 }
18137 return NULL;
18138 }
18139
18140
18141 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18144 wxString result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18154 }
18155 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (arg1)->GetValue();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 {
18163 #if wxUSE_UNICODE
18164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18165 #else
18166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18167 #endif
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj = 0;
18177 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18178 wxString *arg2 = 0 ;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 bool temp2 = false ;
18182 PyObject * obj0 = 0 ;
18183 PyObject * obj1 = 0 ;
18184 char * kwnames[] = {
18185 (char *) "self",(char *) "value", NULL
18186 };
18187
18188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18190 if (!SWIG_IsOK(res1)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18192 }
18193 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18194 {
18195 arg2 = wxString_in_helper(obj1);
18196 if (arg2 == NULL) SWIG_fail;
18197 temp2 = true;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->SetValue((wxString const &)*arg2);
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_Py_Void();
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 return resultobj;
18211 fail:
18212 {
18213 if (temp2)
18214 delete arg2;
18215 }
18216 return NULL;
18217 }
18218
18219
18220 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18221 PyObject *obj;
18222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18224 return SWIG_Py_Void();
18225 }
18226
18227 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18228 return SWIG_Python_InitShadowInstance(args);
18229 }
18230
18231 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18232 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18233 return 1;
18234 }
18235
18236
18237 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18238 PyObject *pyobj = 0;
18239
18240 {
18241 #if wxUSE_UNICODE
18242 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18243 #else
18244 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18245 #endif
18246 }
18247 return pyobj;
18248 }
18249
18250
18251 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxWindow *arg1 = (wxWindow *) 0 ;
18254 wxString *arg2 = 0 ;
18255 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18256 wxString *arg3 = (wxString *) &arg3_defvalue ;
18257 wxString const &arg4_defvalue = wxPyEmptyString ;
18258 wxString *arg4 = (wxString *) &arg4_defvalue ;
18259 long arg5 = (long) wxTextEntryDialogStyle ;
18260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18262 wxPasswordEntryDialog *result = 0 ;
18263 void *argp1 = 0 ;
18264 int res1 = 0 ;
18265 bool temp2 = false ;
18266 bool temp3 = false ;
18267 bool temp4 = false ;
18268 long val5 ;
18269 int ecode5 = 0 ;
18270 wxPoint temp6 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 }
18286 arg1 = reinterpret_cast< wxWindow * >(argp1);
18287 {
18288 arg2 = wxString_in_helper(obj1);
18289 if (arg2 == NULL) SWIG_fail;
18290 temp2 = true;
18291 }
18292 if (obj2) {
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 }
18299 if (obj3) {
18300 {
18301 arg4 = wxString_in_helper(obj3);
18302 if (arg4 == NULL) SWIG_fail;
18303 temp4 = true;
18304 }
18305 }
18306 if (obj4) {
18307 ecode5 = SWIG_AsVal_long(obj4, &val5);
18308 if (!SWIG_IsOK(ecode5)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18310 }
18311 arg5 = static_cast< long >(val5);
18312 }
18313 if (obj5) {
18314 {
18315 arg6 = &temp6;
18316 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18317 }
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18326 {
18327 if (temp2)
18328 delete arg2;
18329 }
18330 {
18331 if (temp3)
18332 delete arg3;
18333 }
18334 {
18335 if (temp4)
18336 delete arg4;
18337 }
18338 return resultobj;
18339 fail:
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 {
18345 if (temp3)
18346 delete arg3;
18347 }
18348 {
18349 if (temp4)
18350 delete arg4;
18351 }
18352 return NULL;
18353 }
18354
18355
18356 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 PyObject *obj;
18358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18360 return SWIG_Py_Void();
18361 }
18362
18363 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18364 return SWIG_Python_InitShadowInstance(args);
18365 }
18366
18367 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj = 0;
18369 wxWindow *arg1 = (wxWindow *) 0 ;
18370 wxString *arg2 = 0 ;
18371 wxString *arg3 = 0 ;
18372 wxString *arg4 = 0 ;
18373 long arg5 ;
18374 long arg6 ;
18375 long arg7 ;
18376 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18377 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18378 wxNumberEntryDialog *result = 0 ;
18379 void *argp1 = 0 ;
18380 int res1 = 0 ;
18381 bool temp2 = false ;
18382 bool temp3 = false ;
18383 bool temp4 = false ;
18384 long val5 ;
18385 int ecode5 = 0 ;
18386 long val6 ;
18387 int ecode6 = 0 ;
18388 long val7 ;
18389 int ecode7 = 0 ;
18390 wxPoint temp8 ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 PyObject * obj2 = 0 ;
18394 PyObject * obj3 = 0 ;
18395 PyObject * obj4 = 0 ;
18396 PyObject * obj5 = 0 ;
18397 PyObject * obj6 = 0 ;
18398 PyObject * obj7 = 0 ;
18399 char * kwnames[] = {
18400 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18401 };
18402
18403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18405 if (!SWIG_IsOK(res1)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18407 }
18408 arg1 = reinterpret_cast< wxWindow * >(argp1);
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
18412 temp2 = true;
18413 }
18414 {
18415 arg3 = wxString_in_helper(obj2);
18416 if (arg3 == NULL) SWIG_fail;
18417 temp3 = true;
18418 }
18419 {
18420 arg4 = wxString_in_helper(obj3);
18421 if (arg4 == NULL) SWIG_fail;
18422 temp4 = true;
18423 }
18424 ecode5 = SWIG_AsVal_long(obj4, &val5);
18425 if (!SWIG_IsOK(ecode5)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18427 }
18428 arg5 = static_cast< long >(val5);
18429 ecode6 = SWIG_AsVal_long(obj5, &val6);
18430 if (!SWIG_IsOK(ecode6)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18432 }
18433 arg6 = static_cast< long >(val6);
18434 ecode7 = SWIG_AsVal_long(obj6, &val7);
18435 if (!SWIG_IsOK(ecode7)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18437 }
18438 arg7 = static_cast< long >(val7);
18439 if (obj7) {
18440 {
18441 arg8 = &temp8;
18442 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18443 }
18444 }
18445 {
18446 if (!wxPyCheckForApp()) SWIG_fail;
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18453 {
18454 if (temp2)
18455 delete arg2;
18456 }
18457 {
18458 if (temp3)
18459 delete arg3;
18460 }
18461 {
18462 if (temp4)
18463 delete arg4;
18464 }
18465 return resultobj;
18466 fail:
18467 {
18468 if (temp2)
18469 delete arg2;
18470 }
18471 {
18472 if (temp3)
18473 delete arg3;
18474 }
18475 {
18476 if (temp4)
18477 delete arg4;
18478 }
18479 return NULL;
18480 }
18481
18482
18483 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18484 PyObject *resultobj = 0;
18485 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18486 long result;
18487 void *argp1 = 0 ;
18488 int res1 = 0 ;
18489 PyObject *swig_obj[1] ;
18490
18491 if (!args) SWIG_fail;
18492 swig_obj[0] = args;
18493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18494 if (!SWIG_IsOK(res1)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18496 }
18497 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (long)(arg1)->GetValue();
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = SWIG_From_long(static_cast< long >(result));
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18512 PyObject *obj;
18513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18515 return SWIG_Py_Void();
18516 }
18517
18518 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 return SWIG_Python_InitShadowInstance(args);
18520 }
18521
18522 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18523 PyObject *resultobj = 0;
18524 wxFontData *result = 0 ;
18525
18526 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (wxFontData *)new wxFontData();
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18541 PyObject *resultobj = 0;
18542 wxFontData *arg1 = (wxFontData *) 0 ;
18543 void *argp1 = 0 ;
18544 int res1 = 0 ;
18545 PyObject *swig_obj[1] ;
18546
18547 if (!args) SWIG_fail;
18548 swig_obj[0] = args;
18549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18550 if (!SWIG_IsOK(res1)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18552 }
18553 arg1 = reinterpret_cast< wxFontData * >(argp1);
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 delete arg1;
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_Py_Void();
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj = 0;
18570 wxFontData *arg1 = (wxFontData *) 0 ;
18571 bool arg2 ;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 bool val2 ;
18575 int ecode2 = 0 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char * kwnames[] = {
18579 (char *) "self",(char *) "enable", NULL
18580 };
18581
18582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18586 }
18587 arg1 = reinterpret_cast< wxFontData * >(argp1);
18588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18589 if (!SWIG_IsOK(ecode2)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18591 }
18592 arg2 = static_cast< bool >(val2);
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->EnableEffects(arg2);
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_Py_Void();
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 bool result;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 PyObject *swig_obj[1] ;
18613
18614 if (!args) SWIG_fail;
18615 swig_obj[0] = args;
18616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18617 if (!SWIG_IsOK(res1)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18619 }
18620 arg1 = reinterpret_cast< wxFontData * >(argp1);
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (bool)(arg1)->GetAllowSymbols();
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633 }
18634
18635
18636 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18637 PyObject *resultobj = 0;
18638 wxFontData *arg1 = (wxFontData *) 0 ;
18639 wxColour result;
18640 void *argp1 = 0 ;
18641 int res1 = 0 ;
18642 PyObject *swig_obj[1] ;
18643
18644 if (!args) SWIG_fail;
18645 swig_obj[0] = args;
18646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18647 if (!SWIG_IsOK(res1)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18649 }
18650 arg1 = reinterpret_cast< wxFontData * >(argp1);
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (arg1)->GetColour();
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18665 PyObject *resultobj = 0;
18666 wxFontData *arg1 = (wxFontData *) 0 ;
18667 wxFont result;
18668 void *argp1 = 0 ;
18669 int res1 = 0 ;
18670 PyObject *swig_obj[1] ;
18671
18672 if (!args) SWIG_fail;
18673 swig_obj[0] = args;
18674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18675 if (!SWIG_IsOK(res1)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18677 }
18678 arg1 = reinterpret_cast< wxFontData * >(argp1);
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (arg1)->GetChosenFont();
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18693 PyObject *resultobj = 0;
18694 wxFontData *arg1 = (wxFontData *) 0 ;
18695 bool result;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->GetEnableEffects();
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18723 PyObject *resultobj = 0;
18724 wxFontData *arg1 = (wxFontData *) 0 ;
18725 wxFont result;
18726 void *argp1 = 0 ;
18727 int res1 = 0 ;
18728 PyObject *swig_obj[1] ;
18729
18730 if (!args) SWIG_fail;
18731 swig_obj[0] = args;
18732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18733 if (!SWIG_IsOK(res1)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18735 }
18736 arg1 = reinterpret_cast< wxFontData * >(argp1);
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (arg1)->GetInitialFont();
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18751 PyObject *resultobj = 0;
18752 wxFontData *arg1 = (wxFontData *) 0 ;
18753 bool result;
18754 void *argp1 = 0 ;
18755 int res1 = 0 ;
18756 PyObject *swig_obj[1] ;
18757
18758 if (!args) SWIG_fail;
18759 swig_obj[0] = args;
18760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18761 if (!SWIG_IsOK(res1)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18763 }
18764 arg1 = reinterpret_cast< wxFontData * >(argp1);
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (bool)(arg1)->GetShowHelp();
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 {
18772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18773 }
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj = 0;
18782 wxFontData *arg1 = (wxFontData *) 0 ;
18783 bool arg2 ;
18784 void *argp1 = 0 ;
18785 int res1 = 0 ;
18786 bool val2 ;
18787 int ecode2 = 0 ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 char * kwnames[] = {
18791 (char *) "self",(char *) "allowSymbols", NULL
18792 };
18793
18794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18796 if (!SWIG_IsOK(res1)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18798 }
18799 arg1 = reinterpret_cast< wxFontData * >(argp1);
18800 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18801 if (!SWIG_IsOK(ecode2)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18803 }
18804 arg2 = static_cast< bool >(val2);
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetAllowSymbols(arg2);
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 resultobj = SWIG_Py_Void();
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj = 0;
18820 wxFontData *arg1 = (wxFontData *) 0 ;
18821 wxFont *arg2 = 0 ;
18822 void *argp1 = 0 ;
18823 int res1 = 0 ;
18824 void *argp2 = 0 ;
18825 int res2 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char * kwnames[] = {
18829 (char *) "self",(char *) "font", NULL
18830 };
18831
18832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 }
18837 arg1 = reinterpret_cast< wxFontData * >(argp1);
18838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18839 if (!SWIG_IsOK(res2)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18841 }
18842 if (!argp2) {
18843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18844 }
18845 arg2 = reinterpret_cast< wxFont * >(argp2);
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->SetChosenFont((wxFont const &)*arg2);
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 resultobj = SWIG_Py_Void();
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj = 0;
18861 wxFontData *arg1 = (wxFontData *) 0 ;
18862 wxColour *arg2 = 0 ;
18863 void *argp1 = 0 ;
18864 int res1 = 0 ;
18865 wxColour temp2 ;
18866 PyObject * obj0 = 0 ;
18867 PyObject * obj1 = 0 ;
18868 char * kwnames[] = {
18869 (char *) "self",(char *) "colour", NULL
18870 };
18871
18872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18874 if (!SWIG_IsOK(res1)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18876 }
18877 arg1 = reinterpret_cast< wxFontData * >(argp1);
18878 {
18879 arg2 = &temp2;
18880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18881 }
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->SetColour((wxColour const &)*arg2);
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_Py_Void();
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj = 0;
18897 wxFontData *arg1 = (wxFontData *) 0 ;
18898 wxFont *arg2 = 0 ;
18899 void *argp1 = 0 ;
18900 int res1 = 0 ;
18901 void *argp2 = 0 ;
18902 int res2 = 0 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char * kwnames[] = {
18906 (char *) "self",(char *) "font", NULL
18907 };
18908
18909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxFontData * >(argp1);
18915 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18916 if (!SWIG_IsOK(res2)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18918 }
18919 if (!argp2) {
18920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18921 }
18922 arg2 = reinterpret_cast< wxFont * >(argp2);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 (arg1)->SetInitialFont((wxFont const &)*arg2);
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 resultobj = SWIG_Py_Void();
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj = 0;
18938 wxFontData *arg1 = (wxFontData *) 0 ;
18939 int arg2 ;
18940 int arg3 ;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 int val2 ;
18944 int ecode2 = 0 ;
18945 int val3 ;
18946 int ecode3 = 0 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 PyObject * obj2 = 0 ;
18950 char * kwnames[] = {
18951 (char *) "self",(char *) "min",(char *) "max", NULL
18952 };
18953
18954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18958 }
18959 arg1 = reinterpret_cast< wxFontData * >(argp1);
18960 ecode2 = SWIG_AsVal_int(obj1, &val2);
18961 if (!SWIG_IsOK(ecode2)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18963 }
18964 arg2 = static_cast< int >(val2);
18965 ecode3 = SWIG_AsVal_int(obj2, &val3);
18966 if (!SWIG_IsOK(ecode3)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18968 }
18969 arg3 = static_cast< int >(val3);
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetRange(arg2,arg3);
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 resultobj = SWIG_Py_Void();
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj = 0;
18985 wxFontData *arg1 = (wxFontData *) 0 ;
18986 bool arg2 ;
18987 void *argp1 = 0 ;
18988 int res1 = 0 ;
18989 bool val2 ;
18990 int ecode2 = 0 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char * kwnames[] = {
18994 (char *) "self",(char *) "showHelp", NULL
18995 };
18996
18997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18999 if (!SWIG_IsOK(res1)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19001 }
19002 arg1 = reinterpret_cast< wxFontData * >(argp1);
19003 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19004 if (!SWIG_IsOK(ecode2)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19006 }
19007 arg2 = static_cast< bool >(val2);
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 (arg1)->SetShowHelp(arg2);
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_Py_Void();
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19022 PyObject *obj;
19023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19025 return SWIG_Py_Void();
19026 }
19027
19028 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19029 return SWIG_Python_InitShadowInstance(args);
19030 }
19031
19032 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = 0;
19034 wxWindow *arg1 = (wxWindow *) 0 ;
19035 wxFontData *arg2 = 0 ;
19036 wxFontDialog *result = 0 ;
19037 void *argp1 = 0 ;
19038 int res1 = 0 ;
19039 void *argp2 = 0 ;
19040 int res2 = 0 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char * kwnames[] = {
19044 (char *) "parent",(char *) "data", NULL
19045 };
19046
19047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19051 }
19052 arg1 = reinterpret_cast< wxWindow * >(argp1);
19053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19054 if (!SWIG_IsOK(res2)) {
19055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19056 }
19057 if (!argp2) {
19058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19059 }
19060 arg2 = reinterpret_cast< wxFontData * >(argp2);
19061 {
19062 if (!wxPyCheckForApp()) SWIG_fail;
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19076 PyObject *resultobj = 0;
19077 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19078 wxFontData *result = 0 ;
19079 void *argp1 = 0 ;
19080 int res1 = 0 ;
19081 PyObject *swig_obj[1] ;
19082
19083 if (!args) SWIG_fail;
19084 swig_obj[0] = args;
19085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19086 if (!SWIG_IsOK(res1)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19088 }
19089 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 {
19093 wxFontData &_result_ref = (arg1)->GetFontData();
19094 result = (wxFontData *) &_result_ref;
19095 }
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19107 PyObject *obj;
19108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19110 return SWIG_Py_Void();
19111 }
19112
19113 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19114 return SWIG_Python_InitShadowInstance(args);
19115 }
19116
19117 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj = 0;
19119 wxWindow *arg1 = (wxWindow *) NULL ;
19120 wxFont const &arg2_defvalue = wxNullFont ;
19121 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19122 wxString const &arg3_defvalue = wxPyEmptyString ;
19123 wxString *arg3 = (wxString *) &arg3_defvalue ;
19124 wxFont result;
19125 void *argp1 = 0 ;
19126 int res1 = 0 ;
19127 void *argp2 = 0 ;
19128 int res2 = 0 ;
19129 bool temp3 = false ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 PyObject * obj2 = 0 ;
19133 char * kwnames[] = {
19134 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19135 };
19136
19137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19138 if (obj0) {
19139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19140 if (!SWIG_IsOK(res1)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19142 }
19143 arg1 = reinterpret_cast< wxWindow * >(argp1);
19144 }
19145 if (obj1) {
19146 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19147 if (!SWIG_IsOK(res2)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19149 }
19150 if (!argp2) {
19151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19152 }
19153 arg2 = reinterpret_cast< wxFont * >(argp2);
19154 }
19155 if (obj2) {
19156 {
19157 arg3 = wxString_in_helper(obj2);
19158 if (arg3 == NULL) SWIG_fail;
19159 temp3 = true;
19160 }
19161 }
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19169 {
19170 if (temp3)
19171 delete arg3;
19172 }
19173 return resultobj;
19174 fail:
19175 {
19176 if (temp3)
19177 delete arg3;
19178 }
19179 return NULL;
19180 }
19181
19182
19183 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj = 0;
19185 wxWindow *arg1 = (wxWindow *) 0 ;
19186 wxString *arg2 = 0 ;
19187 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19188 wxString *arg3 = (wxString *) &arg3_defvalue ;
19189 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19190 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19191 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19192 wxMessageDialog *result = 0 ;
19193 void *argp1 = 0 ;
19194 int res1 = 0 ;
19195 bool temp2 = false ;
19196 bool temp3 = false ;
19197 long val4 ;
19198 int ecode4 = 0 ;
19199 wxPoint temp5 ;
19200 PyObject * obj0 = 0 ;
19201 PyObject * obj1 = 0 ;
19202 PyObject * obj2 = 0 ;
19203 PyObject * obj3 = 0 ;
19204 PyObject * obj4 = 0 ;
19205 char * kwnames[] = {
19206 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19207 };
19208
19209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19211 if (!SWIG_IsOK(res1)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19213 }
19214 arg1 = reinterpret_cast< wxWindow * >(argp1);
19215 {
19216 arg2 = wxString_in_helper(obj1);
19217 if (arg2 == NULL) SWIG_fail;
19218 temp2 = true;
19219 }
19220 if (obj2) {
19221 {
19222 arg3 = wxString_in_helper(obj2);
19223 if (arg3 == NULL) SWIG_fail;
19224 temp3 = true;
19225 }
19226 }
19227 if (obj3) {
19228 ecode4 = SWIG_AsVal_long(obj3, &val4);
19229 if (!SWIG_IsOK(ecode4)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19231 }
19232 arg4 = static_cast< long >(val4);
19233 }
19234 if (obj4) {
19235 {
19236 arg5 = &temp5;
19237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19238 }
19239 }
19240 {
19241 if (!wxPyCheckForApp()) SWIG_fail;
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19248 {
19249 if (temp2)
19250 delete arg2;
19251 }
19252 {
19253 if (temp3)
19254 delete arg3;
19255 }
19256 return resultobj;
19257 fail:
19258 {
19259 if (temp2)
19260 delete arg2;
19261 }
19262 {
19263 if (temp3)
19264 delete arg3;
19265 }
19266 return NULL;
19267 }
19268
19269
19270 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19271 PyObject *obj;
19272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19273 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19274 return SWIG_Py_Void();
19275 }
19276
19277 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19278 return SWIG_Python_InitShadowInstance(args);
19279 }
19280
19281 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj = 0;
19283 wxString *arg1 = 0 ;
19284 wxString *arg2 = 0 ;
19285 int arg3 = (int) 100 ;
19286 wxWindow *arg4 = (wxWindow *) NULL ;
19287 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19288 wxProgressDialog *result = 0 ;
19289 bool temp1 = false ;
19290 bool temp2 = false ;
19291 int val3 ;
19292 int ecode3 = 0 ;
19293 void *argp4 = 0 ;
19294 int res4 = 0 ;
19295 int val5 ;
19296 int ecode5 = 0 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 PyObject * obj2 = 0 ;
19300 PyObject * obj3 = 0 ;
19301 PyObject * obj4 = 0 ;
19302 char * kwnames[] = {
19303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19304 };
19305
19306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19307 {
19308 arg1 = wxString_in_helper(obj0);
19309 if (arg1 == NULL) SWIG_fail;
19310 temp1 = true;
19311 }
19312 {
19313 arg2 = wxString_in_helper(obj1);
19314 if (arg2 == NULL) SWIG_fail;
19315 temp2 = true;
19316 }
19317 if (obj2) {
19318 ecode3 = SWIG_AsVal_int(obj2, &val3);
19319 if (!SWIG_IsOK(ecode3)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19321 }
19322 arg3 = static_cast< int >(val3);
19323 }
19324 if (obj3) {
19325 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19326 if (!SWIG_IsOK(res4)) {
19327 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19328 }
19329 arg4 = reinterpret_cast< wxWindow * >(argp4);
19330 }
19331 if (obj4) {
19332 ecode5 = SWIG_AsVal_int(obj4, &val5);
19333 if (!SWIG_IsOK(ecode5)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19335 }
19336 arg5 = static_cast< int >(val5);
19337 }
19338 {
19339 if (!wxPyCheckForApp()) SWIG_fail;
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19346 {
19347 if (temp1)
19348 delete arg1;
19349 }
19350 {
19351 if (temp2)
19352 delete arg2;
19353 }
19354 return resultobj;
19355 fail:
19356 {
19357 if (temp1)
19358 delete arg1;
19359 }
19360 {
19361 if (temp2)
19362 delete arg2;
19363 }
19364 return NULL;
19365 }
19366
19367
19368 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj = 0;
19370 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19371 int arg2 ;
19372 wxString const &arg3_defvalue = wxPyEmptyString ;
19373 wxString *arg3 = (wxString *) &arg3_defvalue ;
19374 bool *arg4 = (bool *) 0 ;
19375 bool result;
19376 void *argp1 = 0 ;
19377 int res1 = 0 ;
19378 int val2 ;
19379 int ecode2 = 0 ;
19380 bool temp3 = false ;
19381 bool temp4 ;
19382 int res4 = SWIG_TMPOBJ ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 char * kwnames[] = {
19387 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19388 };
19389
19390 arg4 = &temp4;
19391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19395 }
19396 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19397 ecode2 = SWIG_AsVal_int(obj1, &val2);
19398 if (!SWIG_IsOK(ecode2)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19400 }
19401 arg2 = static_cast< int >(val2);
19402 if (obj2) {
19403 {
19404 arg3 = wxString_in_helper(obj2);
19405 if (arg3 == NULL) SWIG_fail;
19406 temp3 = true;
19407 }
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 {
19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19417 }
19418 if (SWIG_IsTmpObj(res4)) {
19419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19420 } else {
19421 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19423 }
19424 {
19425 if (temp3)
19426 delete arg3;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19441 wxString const &arg2_defvalue = wxPyEmptyString ;
19442 wxString *arg2 = (wxString *) &arg2_defvalue ;
19443 bool *arg3 = (bool *) 0 ;
19444 bool result;
19445 void *argp1 = 0 ;
19446 int res1 = 0 ;
19447 bool temp2 = false ;
19448 bool temp3 ;
19449 int res3 = SWIG_TMPOBJ ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char * kwnames[] = {
19453 (char *) "self",(char *) "newmsg", NULL
19454 };
19455
19456 arg3 = &temp3;
19457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail;
19458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19459 if (!SWIG_IsOK(res1)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19461 }
19462 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19463 if (obj1) {
19464 {
19465 arg2 = wxString_in_helper(obj1);
19466 if (arg2 == NULL) SWIG_fail;
19467 temp2 = true;
19468 }
19469 }
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3);
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19478 }
19479 if (SWIG_IsTmpObj(res3)) {
19480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19481 } else {
19482 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19484 }
19485 {
19486 if (temp2)
19487 delete arg2;
19488 }
19489 return resultobj;
19490 fail:
19491 {
19492 if (temp2)
19493 delete arg2;
19494 }
19495 return NULL;
19496 }
19497
19498
19499 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19500 PyObject *resultobj = 0;
19501 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19502 void *argp1 = 0 ;
19503 int res1 = 0 ;
19504 PyObject *swig_obj[1] ;
19505
19506 if (!args) SWIG_fail;
19507 swig_obj[0] = args;
19508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19509 if (!SWIG_IsOK(res1)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19511 }
19512 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->Resume();
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_Py_Void();
19520 return resultobj;
19521 fail:
19522 return NULL;
19523 }
19524
19525
19526 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19527 PyObject *obj;
19528 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19529 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19530 return SWIG_Py_Void();
19531 }
19532
19533 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19534 return SWIG_Python_InitShadowInstance(args);
19535 }
19536
19537 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj = 0;
19539 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19540 int arg2 = (int) 0 ;
19541 wxFindDialogEvent *result = 0 ;
19542 int val1 ;
19543 int ecode1 = 0 ;
19544 int val2 ;
19545 int ecode2 = 0 ;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char * kwnames[] = {
19549 (char *) "commandType",(char *) "id", NULL
19550 };
19551
19552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19553 if (obj0) {
19554 ecode1 = SWIG_AsVal_int(obj0, &val1);
19555 if (!SWIG_IsOK(ecode1)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19557 }
19558 arg1 = static_cast< wxEventType >(val1);
19559 }
19560 if (obj1) {
19561 ecode2 = SWIG_AsVal_int(obj1, &val2);
19562 if (!SWIG_IsOK(ecode2)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19564 }
19565 arg2 = static_cast< int >(val2);
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19581 PyObject *resultobj = 0;
19582 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19583 int result;
19584 void *argp1 = 0 ;
19585 int res1 = 0 ;
19586 PyObject *swig_obj[1] ;
19587
19588 if (!args) SWIG_fail;
19589 swig_obj[0] = args;
19590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19591 if (!SWIG_IsOK(res1)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19593 }
19594 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (int)(arg1)->GetFlags();
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = SWIG_From_int(static_cast< int >(result));
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19609 PyObject *resultobj = 0;
19610 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19611 wxString *result = 0 ;
19612 void *argp1 = 0 ;
19613 int res1 = 0 ;
19614 PyObject *swig_obj[1] ;
19615
19616 if (!args) SWIG_fail;
19617 swig_obj[0] = args;
19618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19619 if (!SWIG_IsOK(res1)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19621 }
19622 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 {
19626 wxString const &_result_ref = (arg1)->GetFindString();
19627 result = (wxString *) &_result_ref;
19628 }
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
19633 #if wxUSE_UNICODE
19634 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19635 #else
19636 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19637 #endif
19638 }
19639 return resultobj;
19640 fail:
19641 return NULL;
19642 }
19643
19644
19645 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19646 PyObject *resultobj = 0;
19647 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19648 wxString *result = 0 ;
19649 void *argp1 = 0 ;
19650 int res1 = 0 ;
19651 PyObject *swig_obj[1] ;
19652
19653 if (!args) SWIG_fail;
19654 swig_obj[0] = args;
19655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19656 if (!SWIG_IsOK(res1)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19658 }
19659 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 {
19663 wxString const &_result_ref = (arg1)->GetReplaceString();
19664 result = (wxString *) &_result_ref;
19665 }
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670 #if wxUSE_UNICODE
19671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19672 #else
19673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19674 #endif
19675 }
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19683 PyObject *resultobj = 0;
19684 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19685 wxFindReplaceDialog *result = 0 ;
19686 void *argp1 = 0 ;
19687 int res1 = 0 ;
19688 PyObject *swig_obj[1] ;
19689
19690 if (!args) SWIG_fail;
19691 swig_obj[0] = args;
19692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19693 if (!SWIG_IsOK(res1)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19695 }
19696 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj = 0;
19712 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19713 int arg2 ;
19714 void *argp1 = 0 ;
19715 int res1 = 0 ;
19716 int val2 ;
19717 int ecode2 = 0 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char * kwnames[] = {
19721 (char *) "self",(char *) "flags", NULL
19722 };
19723
19724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19726 if (!SWIG_IsOK(res1)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19728 }
19729 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19730 ecode2 = SWIG_AsVal_int(obj1, &val2);
19731 if (!SWIG_IsOK(ecode2)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19733 }
19734 arg2 = static_cast< int >(val2);
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->SetFlags(arg2);
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 resultobj = SWIG_Py_Void();
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj = 0;
19750 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19751 wxString *arg2 = 0 ;
19752 void *argp1 = 0 ;
19753 int res1 = 0 ;
19754 bool temp2 = false ;
19755 PyObject * obj0 = 0 ;
19756 PyObject * obj1 = 0 ;
19757 char * kwnames[] = {
19758 (char *) "self",(char *) "str", NULL
19759 };
19760
19761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19763 if (!SWIG_IsOK(res1)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19765 }
19766 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19767 {
19768 arg2 = wxString_in_helper(obj1);
19769 if (arg2 == NULL) SWIG_fail;
19770 temp2 = true;
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 (arg1)->SetFindString((wxString const &)*arg2);
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_Py_Void();
19779 {
19780 if (temp2)
19781 delete arg2;
19782 }
19783 return resultobj;
19784 fail:
19785 {
19786 if (temp2)
19787 delete arg2;
19788 }
19789 return NULL;
19790 }
19791
19792
19793 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19794 PyObject *resultobj = 0;
19795 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19796 wxString *arg2 = 0 ;
19797 void *argp1 = 0 ;
19798 int res1 = 0 ;
19799 bool temp2 = false ;
19800 PyObject * obj0 = 0 ;
19801 PyObject * obj1 = 0 ;
19802 char * kwnames[] = {
19803 (char *) "self",(char *) "str", NULL
19804 };
19805
19806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19808 if (!SWIG_IsOK(res1)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 }
19811 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19812 {
19813 arg2 = wxString_in_helper(obj1);
19814 if (arg2 == NULL) SWIG_fail;
19815 temp2 = true;
19816 }
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->SetReplaceString((wxString const &)*arg2);
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = SWIG_Py_Void();
19824 {
19825 if (temp2)
19826 delete arg2;
19827 }
19828 return resultobj;
19829 fail:
19830 {
19831 if (temp2)
19832 delete arg2;
19833 }
19834 return NULL;
19835 }
19836
19837
19838 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19839 PyObject *obj;
19840 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19842 return SWIG_Py_Void();
19843 }
19844
19845 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19846 return SWIG_Python_InitShadowInstance(args);
19847 }
19848
19849 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj = 0;
19851 int arg1 = (int) 0 ;
19852 wxFindReplaceData *result = 0 ;
19853 int val1 ;
19854 int ecode1 = 0 ;
19855 PyObject * obj0 = 0 ;
19856 char * kwnames[] = {
19857 (char *) "flags", NULL
19858 };
19859
19860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19861 if (obj0) {
19862 ecode1 = SWIG_AsVal_int(obj0, &val1);
19863 if (!SWIG_IsOK(ecode1)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19865 }
19866 arg1 = static_cast< int >(val1);
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19882 PyObject *resultobj = 0;
19883 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19884 void *argp1 = 0 ;
19885 int res1 = 0 ;
19886 PyObject *swig_obj[1] ;
19887
19888 if (!args) SWIG_fail;
19889 swig_obj[0] = args;
19890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19891 if (!SWIG_IsOK(res1)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19893 }
19894 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 delete arg1;
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = SWIG_Py_Void();
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19910 PyObject *resultobj = 0;
19911 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19912 wxString *result = 0 ;
19913 void *argp1 = 0 ;
19914 int res1 = 0 ;
19915 PyObject *swig_obj[1] ;
19916
19917 if (!args) SWIG_fail;
19918 swig_obj[0] = args;
19919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19920 if (!SWIG_IsOK(res1)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19922 }
19923 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 {
19927 wxString const &_result_ref = (arg1)->GetFindString();
19928 result = (wxString *) &_result_ref;
19929 }
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 #if wxUSE_UNICODE
19935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19936 #else
19937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19938 #endif
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19947 PyObject *resultobj = 0;
19948 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19949 wxString *result = 0 ;
19950 void *argp1 = 0 ;
19951 int res1 = 0 ;
19952 PyObject *swig_obj[1] ;
19953
19954 if (!args) SWIG_fail;
19955 swig_obj[0] = args;
19956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19957 if (!SWIG_IsOK(res1)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19959 }
19960 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 {
19964 wxString const &_result_ref = (arg1)->GetReplaceString();
19965 result = (wxString *) &_result_ref;
19966 }
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
19971 #if wxUSE_UNICODE
19972 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19973 #else
19974 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19975 #endif
19976 }
19977 return resultobj;
19978 fail:
19979 return NULL;
19980 }
19981
19982
19983 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19984 PyObject *resultobj = 0;
19985 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19986 int result;
19987 void *argp1 = 0 ;
19988 int res1 = 0 ;
19989 PyObject *swig_obj[1] ;
19990
19991 if (!args) SWIG_fail;
19992 swig_obj[0] = args;
19993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19994 if (!SWIG_IsOK(res1)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19996 }
19997 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (int)(arg1)->GetFlags();
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 resultobj = SWIG_From_int(static_cast< int >(result));
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj = 0;
20013 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20014 int arg2 ;
20015 void *argp1 = 0 ;
20016 int res1 = 0 ;
20017 int val2 ;
20018 int ecode2 = 0 ;
20019 PyObject * obj0 = 0 ;
20020 PyObject * obj1 = 0 ;
20021 char * kwnames[] = {
20022 (char *) "self",(char *) "flags", NULL
20023 };
20024
20025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20027 if (!SWIG_IsOK(res1)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20029 }
20030 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20031 ecode2 = SWIG_AsVal_int(obj1, &val2);
20032 if (!SWIG_IsOK(ecode2)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20034 }
20035 arg2 = static_cast< int >(val2);
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 (arg1)->SetFlags(arg2);
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = SWIG_Py_Void();
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj = 0;
20051 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20052 wxString *arg2 = 0 ;
20053 void *argp1 = 0 ;
20054 int res1 = 0 ;
20055 bool temp2 = false ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char * kwnames[] = {
20059 (char *) "self",(char *) "str", NULL
20060 };
20061
20062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20064 if (!SWIG_IsOK(res1)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20066 }
20067 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20068 {
20069 arg2 = wxString_in_helper(obj1);
20070 if (arg2 == NULL) SWIG_fail;
20071 temp2 = true;
20072 }
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->SetFindString((wxString const &)*arg2);
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = SWIG_Py_Void();
20080 {
20081 if (temp2)
20082 delete arg2;
20083 }
20084 return resultobj;
20085 fail:
20086 {
20087 if (temp2)
20088 delete arg2;
20089 }
20090 return NULL;
20091 }
20092
20093
20094 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj = 0;
20096 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20097 wxString *arg2 = 0 ;
20098 void *argp1 = 0 ;
20099 int res1 = 0 ;
20100 bool temp2 = false ;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103 char * kwnames[] = {
20104 (char *) "self",(char *) "str", NULL
20105 };
20106
20107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20109 if (!SWIG_IsOK(res1)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20111 }
20112 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20113 {
20114 arg2 = wxString_in_helper(obj1);
20115 if (arg2 == NULL) SWIG_fail;
20116 temp2 = true;
20117 }
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 (arg1)->SetReplaceString((wxString const &)*arg2);
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = SWIG_Py_Void();
20125 {
20126 if (temp2)
20127 delete arg2;
20128 }
20129 return resultobj;
20130 fail:
20131 {
20132 if (temp2)
20133 delete arg2;
20134 }
20135 return NULL;
20136 }
20137
20138
20139 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20140 PyObject *obj;
20141 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20143 return SWIG_Py_Void();
20144 }
20145
20146 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20147 return SWIG_Python_InitShadowInstance(args);
20148 }
20149
20150 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj = 0;
20152 wxWindow *arg1 = (wxWindow *) 0 ;
20153 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20154 wxString *arg3 = 0 ;
20155 int arg4 = (int) 0 ;
20156 wxFindReplaceDialog *result = 0 ;
20157 void *argp1 = 0 ;
20158 int res1 = 0 ;
20159 void *argp2 = 0 ;
20160 int res2 = 0 ;
20161 bool temp3 = false ;
20162 int val4 ;
20163 int ecode4 = 0 ;
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 PyObject * obj2 = 0 ;
20167 PyObject * obj3 = 0 ;
20168 char * kwnames[] = {
20169 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20170 };
20171
20172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20174 if (!SWIG_IsOK(res1)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20176 }
20177 arg1 = reinterpret_cast< wxWindow * >(argp1);
20178 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20179 if (!SWIG_IsOK(res2)) {
20180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20181 }
20182 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20183 {
20184 arg3 = wxString_in_helper(obj2);
20185 if (arg3 == NULL) SWIG_fail;
20186 temp3 = true;
20187 }
20188 if (obj3) {
20189 ecode4 = SWIG_AsVal_int(obj3, &val4);
20190 if (!SWIG_IsOK(ecode4)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20192 }
20193 arg4 = static_cast< int >(val4);
20194 }
20195 {
20196 if (!wxPyCheckForApp()) SWIG_fail;
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20203 {
20204 if (temp3)
20205 delete arg3;
20206 }
20207 return resultobj;
20208 fail:
20209 {
20210 if (temp3)
20211 delete arg3;
20212 }
20213 return NULL;
20214 }
20215
20216
20217 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20218 PyObject *resultobj = 0;
20219 wxFindReplaceDialog *result = 0 ;
20220
20221 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20222 {
20223 if (!wxPyCheckForApp()) SWIG_fail;
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj = 0;
20238 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20239 wxWindow *arg2 = (wxWindow *) 0 ;
20240 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20241 wxString *arg4 = 0 ;
20242 int arg5 = (int) 0 ;
20243 bool result;
20244 void *argp1 = 0 ;
20245 int res1 = 0 ;
20246 void *argp2 = 0 ;
20247 int res2 = 0 ;
20248 void *argp3 = 0 ;
20249 int res3 = 0 ;
20250 bool temp4 = false ;
20251 int val5 ;
20252 int ecode5 = 0 ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 PyObject * obj2 = 0 ;
20256 PyObject * obj3 = 0 ;
20257 PyObject * obj4 = 0 ;
20258 char * kwnames[] = {
20259 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20260 };
20261
20262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20264 if (!SWIG_IsOK(res1)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20266 }
20267 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20269 if (!SWIG_IsOK(res2)) {
20270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20271 }
20272 arg2 = reinterpret_cast< wxWindow * >(argp2);
20273 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20274 if (!SWIG_IsOK(res3)) {
20275 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20276 }
20277 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20278 {
20279 arg4 = wxString_in_helper(obj3);
20280 if (arg4 == NULL) SWIG_fail;
20281 temp4 = true;
20282 }
20283 if (obj4) {
20284 ecode5 = SWIG_AsVal_int(obj4, &val5);
20285 if (!SWIG_IsOK(ecode5)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20287 }
20288 arg5 = static_cast< int >(val5);
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20298 }
20299 {
20300 if (temp4)
20301 delete arg4;
20302 }
20303 return resultobj;
20304 fail:
20305 {
20306 if (temp4)
20307 delete arg4;
20308 }
20309 return NULL;
20310 }
20311
20312
20313 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20314 PyObject *resultobj = 0;
20315 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20316 wxFindReplaceData *result = 0 ;
20317 void *argp1 = 0 ;
20318 int res1 = 0 ;
20319 PyObject *swig_obj[1] ;
20320
20321 if (!args) SWIG_fail;
20322 swig_obj[0] = args;
20323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20324 if (!SWIG_IsOK(res1)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20326 }
20327 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (wxFindReplaceData *)(arg1)->GetData();
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj = 0;
20343 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20344 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20345 void *argp1 = 0 ;
20346 int res1 = 0 ;
20347 void *argp2 = 0 ;
20348 int res2 = 0 ;
20349 PyObject * obj0 = 0 ;
20350 PyObject * obj1 = 0 ;
20351 char * kwnames[] = {
20352 (char *) "self",(char *) "data", NULL
20353 };
20354
20355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20357 if (!SWIG_IsOK(res1)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20359 }
20360 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20362 if (!SWIG_IsOK(res2)) {
20363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20364 }
20365 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 (arg1)->SetData(arg2);
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = SWIG_Py_Void();
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20380 PyObject *obj;
20381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20383 return SWIG_Py_Void();
20384 }
20385
20386 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20387 return SWIG_Python_InitShadowInstance(args);
20388 }
20389
20390 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj = 0;
20392 wxWindow *arg1 = (wxWindow *) 0 ;
20393 int arg2 = (int) (int)-1 ;
20394 wxString const &arg3_defvalue = wxPyEmptyString ;
20395 wxString *arg3 = (wxString *) &arg3_defvalue ;
20396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20398 wxSize const &arg5_defvalue = wxDefaultSize ;
20399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20400 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20401 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20402 wxString *arg7 = (wxString *) &arg7_defvalue ;
20403 wxMDIParentFrame *result = 0 ;
20404 void *argp1 = 0 ;
20405 int res1 = 0 ;
20406 int val2 ;
20407 int ecode2 = 0 ;
20408 bool temp3 = false ;
20409 wxPoint temp4 ;
20410 wxSize temp5 ;
20411 long val6 ;
20412 int ecode6 = 0 ;
20413 bool temp7 = false ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
20417 PyObject * obj3 = 0 ;
20418 PyObject * obj4 = 0 ;
20419 PyObject * obj5 = 0 ;
20420 PyObject * obj6 = 0 ;
20421 char * kwnames[] = {
20422 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20423 };
20424
20425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20427 if (!SWIG_IsOK(res1)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20429 }
20430 arg1 = reinterpret_cast< wxWindow * >(argp1);
20431 if (obj1) {
20432 ecode2 = SWIG_AsVal_int(obj1, &val2);
20433 if (!SWIG_IsOK(ecode2)) {
20434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20435 }
20436 arg2 = static_cast< int >(val2);
20437 }
20438 if (obj2) {
20439 {
20440 arg3 = wxString_in_helper(obj2);
20441 if (arg3 == NULL) SWIG_fail;
20442 temp3 = true;
20443 }
20444 }
20445 if (obj3) {
20446 {
20447 arg4 = &temp4;
20448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20449 }
20450 }
20451 if (obj4) {
20452 {
20453 arg5 = &temp5;
20454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20455 }
20456 }
20457 if (obj5) {
20458 ecode6 = SWIG_AsVal_long(obj5, &val6);
20459 if (!SWIG_IsOK(ecode6)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20461 }
20462 arg6 = static_cast< long >(val6);
20463 }
20464 if (obj6) {
20465 {
20466 arg7 = wxString_in_helper(obj6);
20467 if (arg7 == NULL) SWIG_fail;
20468 temp7 = true;
20469 }
20470 }
20471 {
20472 if (!wxPyCheckForApp()) SWIG_fail;
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20479 {
20480 if (temp3)
20481 delete arg3;
20482 }
20483 {
20484 if (temp7)
20485 delete arg7;
20486 }
20487 return resultobj;
20488 fail:
20489 {
20490 if (temp3)
20491 delete arg3;
20492 }
20493 {
20494 if (temp7)
20495 delete arg7;
20496 }
20497 return NULL;
20498 }
20499
20500
20501 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20502 PyObject *resultobj = 0;
20503 wxMDIParentFrame *result = 0 ;
20504
20505 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20506 {
20507 if (!wxPyCheckForApp()) SWIG_fail;
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj = 0;
20522 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20523 wxWindow *arg2 = (wxWindow *) 0 ;
20524 int arg3 = (int) (int)-1 ;
20525 wxString const &arg4_defvalue = wxPyEmptyString ;
20526 wxString *arg4 = (wxString *) &arg4_defvalue ;
20527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20529 wxSize const &arg6_defvalue = wxDefaultSize ;
20530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20531 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20532 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20533 wxString *arg8 = (wxString *) &arg8_defvalue ;
20534 bool result;
20535 void *argp1 = 0 ;
20536 int res1 = 0 ;
20537 void *argp2 = 0 ;
20538 int res2 = 0 ;
20539 int val3 ;
20540 int ecode3 = 0 ;
20541 bool temp4 = false ;
20542 wxPoint temp5 ;
20543 wxSize temp6 ;
20544 long val7 ;
20545 int ecode7 = 0 ;
20546 bool temp8 = false ;
20547 PyObject * obj0 = 0 ;
20548 PyObject * obj1 = 0 ;
20549 PyObject * obj2 = 0 ;
20550 PyObject * obj3 = 0 ;
20551 PyObject * obj4 = 0 ;
20552 PyObject * obj5 = 0 ;
20553 PyObject * obj6 = 0 ;
20554 PyObject * obj7 = 0 ;
20555 char * kwnames[] = {
20556 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20557 };
20558
20559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20561 if (!SWIG_IsOK(res1)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20563 }
20564 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20566 if (!SWIG_IsOK(res2)) {
20567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20568 }
20569 arg2 = reinterpret_cast< wxWindow * >(argp2);
20570 if (obj2) {
20571 ecode3 = SWIG_AsVal_int(obj2, &val3);
20572 if (!SWIG_IsOK(ecode3)) {
20573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20574 }
20575 arg3 = static_cast< int >(val3);
20576 }
20577 if (obj3) {
20578 {
20579 arg4 = wxString_in_helper(obj3);
20580 if (arg4 == NULL) SWIG_fail;
20581 temp4 = true;
20582 }
20583 }
20584 if (obj4) {
20585 {
20586 arg5 = &temp5;
20587 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20588 }
20589 }
20590 if (obj5) {
20591 {
20592 arg6 = &temp6;
20593 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20594 }
20595 }
20596 if (obj6) {
20597 ecode7 = SWIG_AsVal_long(obj6, &val7);
20598 if (!SWIG_IsOK(ecode7)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20600 }
20601 arg7 = static_cast< long >(val7);
20602 }
20603 if (obj7) {
20604 {
20605 arg8 = wxString_in_helper(obj7);
20606 if (arg8 == NULL) SWIG_fail;
20607 temp8 = true;
20608 }
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 {
20617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20618 }
20619 {
20620 if (temp4)
20621 delete arg4;
20622 }
20623 {
20624 if (temp8)
20625 delete arg8;
20626 }
20627 return resultobj;
20628 fail:
20629 {
20630 if (temp4)
20631 delete arg4;
20632 }
20633 {
20634 if (temp8)
20635 delete arg8;
20636 }
20637 return NULL;
20638 }
20639
20640
20641 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20642 PyObject *resultobj = 0;
20643 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20644 void *argp1 = 0 ;
20645 int res1 = 0 ;
20646 PyObject *swig_obj[1] ;
20647
20648 if (!args) SWIG_fail;
20649 swig_obj[0] = args;
20650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20651 if (!SWIG_IsOK(res1)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20653 }
20654 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->ActivateNext();
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_Py_Void();
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20669 PyObject *resultobj = 0;
20670 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 PyObject *swig_obj[1] ;
20674
20675 if (!args) SWIG_fail;
20676 swig_obj[0] = args;
20677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20678 if (!SWIG_IsOK(res1)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20680 }
20681 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 (arg1)->ActivatePrevious();
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 resultobj = SWIG_Py_Void();
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20696 PyObject *resultobj = 0;
20697 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20698 void *argp1 = 0 ;
20699 int res1 = 0 ;
20700 PyObject *swig_obj[1] ;
20701
20702 if (!args) SWIG_fail;
20703 swig_obj[0] = args;
20704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20705 if (!SWIG_IsOK(res1)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20707 }
20708 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 (arg1)->ArrangeIcons();
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 resultobj = SWIG_Py_Void();
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20723 PyObject *resultobj = 0;
20724 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20725 void *argp1 = 0 ;
20726 int res1 = 0 ;
20727 PyObject *swig_obj[1] ;
20728
20729 if (!args) SWIG_fail;
20730 swig_obj[0] = args;
20731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20732 if (!SWIG_IsOK(res1)) {
20733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20734 }
20735 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 (arg1)->Cascade();
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 resultobj = SWIG_Py_Void();
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 PyObject *resultobj = 0;
20751 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20752 wxMDIChildFrame *result = 0 ;
20753 void *argp1 = 0 ;
20754 int res1 = 0 ;
20755 PyObject *swig_obj[1] ;
20756
20757 if (!args) SWIG_fail;
20758 swig_obj[0] = args;
20759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20762 }
20763 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 resultobj = wxPyMake_wxObject(result, (bool)0);
20772 }
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20780 PyObject *resultobj = 0;
20781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20782 wxMDIClientWindow *result = 0 ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 PyObject *swig_obj[1] ;
20786
20787 if (!args) SWIG_fail;
20788 swig_obj[0] = args;
20789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20790 if (!SWIG_IsOK(res1)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20792 }
20793 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 {
20801 resultobj = wxPyMake_wxObject(result, (bool)0);
20802 }
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20810 PyObject *resultobj = 0;
20811 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20812 wxWindow *result = 0 ;
20813 void *argp1 = 0 ;
20814 int res1 = 0 ;
20815 PyObject *swig_obj[1] ;
20816
20817 if (!args) SWIG_fail;
20818 swig_obj[0] = args;
20819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20820 if (!SWIG_IsOK(res1)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20822 }
20823 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (wxWindow *)(arg1)->GetToolBar();
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 resultobj = wxPyMake_wxObject(result, 0);
20832 }
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj = 0;
20841 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20842 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20843 void *argp1 = 0 ;
20844 int res1 = 0 ;
20845 int val2 ;
20846 int ecode2 = 0 ;
20847 PyObject * obj0 = 0 ;
20848 PyObject * obj1 = 0 ;
20849 char * kwnames[] = {
20850 (char *) "self",(char *) "orient", NULL
20851 };
20852
20853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20855 if (!SWIG_IsOK(res1)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20857 }
20858 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20859 if (obj1) {
20860 ecode2 = SWIG_AsVal_int(obj1, &val2);
20861 if (!SWIG_IsOK(ecode2)) {
20862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20863 }
20864 arg2 = static_cast< wxOrientation >(val2);
20865 }
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 (arg1)->Tile(arg2);
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 resultobj = SWIG_Py_Void();
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20880 PyObject *obj;
20881 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20882 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20883 return SWIG_Py_Void();
20884 }
20885
20886 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20887 return SWIG_Python_InitShadowInstance(args);
20888 }
20889
20890 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj = 0;
20892 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20893 int arg2 = (int) (int)-1 ;
20894 wxString const &arg3_defvalue = wxPyEmptyString ;
20895 wxString *arg3 = (wxString *) &arg3_defvalue ;
20896 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20897 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20898 wxSize const &arg5_defvalue = wxDefaultSize ;
20899 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20900 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20901 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20902 wxString *arg7 = (wxString *) &arg7_defvalue ;
20903 wxMDIChildFrame *result = 0 ;
20904 void *argp1 = 0 ;
20905 int res1 = 0 ;
20906 int val2 ;
20907 int ecode2 = 0 ;
20908 bool temp3 = false ;
20909 wxPoint temp4 ;
20910 wxSize temp5 ;
20911 long val6 ;
20912 int ecode6 = 0 ;
20913 bool temp7 = false ;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 PyObject * obj2 = 0 ;
20917 PyObject * obj3 = 0 ;
20918 PyObject * obj4 = 0 ;
20919 PyObject * obj5 = 0 ;
20920 PyObject * obj6 = 0 ;
20921 char * kwnames[] = {
20922 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20923 };
20924
20925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20927 if (!SWIG_IsOK(res1)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20929 }
20930 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20931 if (obj1) {
20932 ecode2 = SWIG_AsVal_int(obj1, &val2);
20933 if (!SWIG_IsOK(ecode2)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20935 }
20936 arg2 = static_cast< int >(val2);
20937 }
20938 if (obj2) {
20939 {
20940 arg3 = wxString_in_helper(obj2);
20941 if (arg3 == NULL) SWIG_fail;
20942 temp3 = true;
20943 }
20944 }
20945 if (obj3) {
20946 {
20947 arg4 = &temp4;
20948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20949 }
20950 }
20951 if (obj4) {
20952 {
20953 arg5 = &temp5;
20954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20955 }
20956 }
20957 if (obj5) {
20958 ecode6 = SWIG_AsVal_long(obj5, &val6);
20959 if (!SWIG_IsOK(ecode6)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20961 }
20962 arg6 = static_cast< long >(val6);
20963 }
20964 if (obj6) {
20965 {
20966 arg7 = wxString_in_helper(obj6);
20967 if (arg7 == NULL) SWIG_fail;
20968 temp7 = true;
20969 }
20970 }
20971 {
20972 if (!wxPyCheckForApp()) SWIG_fail;
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20979 {
20980 if (temp3)
20981 delete arg3;
20982 }
20983 {
20984 if (temp7)
20985 delete arg7;
20986 }
20987 return resultobj;
20988 fail:
20989 {
20990 if (temp3)
20991 delete arg3;
20992 }
20993 {
20994 if (temp7)
20995 delete arg7;
20996 }
20997 return NULL;
20998 }
20999
21000
21001 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21002 PyObject *resultobj = 0;
21003 wxMDIChildFrame *result = 0 ;
21004
21005 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21006 {
21007 if (!wxPyCheckForApp()) SWIG_fail;
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj = 0;
21022 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21023 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21024 int arg3 = (int) (int)-1 ;
21025 wxString const &arg4_defvalue = wxPyEmptyString ;
21026 wxString *arg4 = (wxString *) &arg4_defvalue ;
21027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21029 wxSize const &arg6_defvalue = wxDefaultSize ;
21030 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21031 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21032 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21033 wxString *arg8 = (wxString *) &arg8_defvalue ;
21034 bool result;
21035 void *argp1 = 0 ;
21036 int res1 = 0 ;
21037 void *argp2 = 0 ;
21038 int res2 = 0 ;
21039 int val3 ;
21040 int ecode3 = 0 ;
21041 bool temp4 = false ;
21042 wxPoint temp5 ;
21043 wxSize temp6 ;
21044 long val7 ;
21045 int ecode7 = 0 ;
21046 bool temp8 = false ;
21047 PyObject * obj0 = 0 ;
21048 PyObject * obj1 = 0 ;
21049 PyObject * obj2 = 0 ;
21050 PyObject * obj3 = 0 ;
21051 PyObject * obj4 = 0 ;
21052 PyObject * obj5 = 0 ;
21053 PyObject * obj6 = 0 ;
21054 PyObject * obj7 = 0 ;
21055 char * kwnames[] = {
21056 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21057 };
21058
21059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21061 if (!SWIG_IsOK(res1)) {
21062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21063 }
21064 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21065 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21066 if (!SWIG_IsOK(res2)) {
21067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21068 }
21069 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21070 if (obj2) {
21071 ecode3 = SWIG_AsVal_int(obj2, &val3);
21072 if (!SWIG_IsOK(ecode3)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21074 }
21075 arg3 = static_cast< int >(val3);
21076 }
21077 if (obj3) {
21078 {
21079 arg4 = wxString_in_helper(obj3);
21080 if (arg4 == NULL) SWIG_fail;
21081 temp4 = true;
21082 }
21083 }
21084 if (obj4) {
21085 {
21086 arg5 = &temp5;
21087 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21088 }
21089 }
21090 if (obj5) {
21091 {
21092 arg6 = &temp6;
21093 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21094 }
21095 }
21096 if (obj6) {
21097 ecode7 = SWIG_AsVal_long(obj6, &val7);
21098 if (!SWIG_IsOK(ecode7)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21100 }
21101 arg7 = static_cast< long >(val7);
21102 }
21103 if (obj7) {
21104 {
21105 arg8 = wxString_in_helper(obj7);
21106 if (arg8 == NULL) SWIG_fail;
21107 temp8 = true;
21108 }
21109 }
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 {
21117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21118 }
21119 {
21120 if (temp4)
21121 delete arg4;
21122 }
21123 {
21124 if (temp8)
21125 delete arg8;
21126 }
21127 return resultobj;
21128 fail:
21129 {
21130 if (temp4)
21131 delete arg4;
21132 }
21133 {
21134 if (temp8)
21135 delete arg8;
21136 }
21137 return NULL;
21138 }
21139
21140
21141 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21142 PyObject *resultobj = 0;
21143 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21144 void *argp1 = 0 ;
21145 int res1 = 0 ;
21146 PyObject *swig_obj[1] ;
21147
21148 if (!args) SWIG_fail;
21149 swig_obj[0] = args;
21150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21151 if (!SWIG_IsOK(res1)) {
21152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21153 }
21154 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->Activate();
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 resultobj = SWIG_Py_Void();
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21169 PyObject *obj;
21170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21171 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21172 return SWIG_Py_Void();
21173 }
21174
21175 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21176 return SWIG_Python_InitShadowInstance(args);
21177 }
21178
21179 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj = 0;
21181 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21182 long arg2 = (long) 0 ;
21183 wxMDIClientWindow *result = 0 ;
21184 void *argp1 = 0 ;
21185 int res1 = 0 ;
21186 long val2 ;
21187 int ecode2 = 0 ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 char * kwnames[] = {
21191 (char *) "parent",(char *) "style", NULL
21192 };
21193
21194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21196 if (!SWIG_IsOK(res1)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21198 }
21199 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21200 if (obj1) {
21201 ecode2 = SWIG_AsVal_long(obj1, &val2);
21202 if (!SWIG_IsOK(ecode2)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21204 }
21205 arg2 = static_cast< long >(val2);
21206 }
21207 {
21208 if (!wxPyCheckForApp()) SWIG_fail;
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21222 PyObject *resultobj = 0;
21223 wxMDIClientWindow *result = 0 ;
21224
21225 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21226 {
21227 if (!wxPyCheckForApp()) SWIG_fail;
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj = 0;
21242 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21243 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21244 long arg3 = (long) 0 ;
21245 bool result;
21246 void *argp1 = 0 ;
21247 int res1 = 0 ;
21248 void *argp2 = 0 ;
21249 int res2 = 0 ;
21250 long val3 ;
21251 int ecode3 = 0 ;
21252 PyObject * obj0 = 0 ;
21253 PyObject * obj1 = 0 ;
21254 PyObject * obj2 = 0 ;
21255 char * kwnames[] = {
21256 (char *) "self",(char *) "parent",(char *) "style", NULL
21257 };
21258
21259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21261 if (!SWIG_IsOK(res1)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21263 }
21264 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21266 if (!SWIG_IsOK(res2)) {
21267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21268 }
21269 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21270 if (obj2) {
21271 ecode3 = SWIG_AsVal_long(obj2, &val3);
21272 if (!SWIG_IsOK(ecode3)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21274 }
21275 arg3 = static_cast< long >(val3);
21276 }
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = (bool)(arg1)->Create(arg2,arg3);
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 {
21284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21285 }
21286 return resultobj;
21287 fail:
21288 return NULL;
21289 }
21290
21291
21292 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21293 PyObject *obj;
21294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21295 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21296 return SWIG_Py_Void();
21297 }
21298
21299 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21300 return SWIG_Python_InitShadowInstance(args);
21301 }
21302
21303 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj = 0;
21305 wxWindow *arg1 = (wxWindow *) 0 ;
21306 int arg2 = (int) (int)-1 ;
21307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21309 wxSize const &arg4_defvalue = wxDefaultSize ;
21310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21311 long arg5 = (long) 0 ;
21312 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21313 wxString *arg6 = (wxString *) &arg6_defvalue ;
21314 wxPyWindow *result = 0 ;
21315 void *argp1 = 0 ;
21316 int res1 = 0 ;
21317 int val2 ;
21318 int ecode2 = 0 ;
21319 wxPoint temp3 ;
21320 wxSize temp4 ;
21321 long val5 ;
21322 int ecode5 = 0 ;
21323 bool temp6 = false ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 PyObject * obj2 = 0 ;
21327 PyObject * obj3 = 0 ;
21328 PyObject * obj4 = 0 ;
21329 PyObject * obj5 = 0 ;
21330 char * kwnames[] = {
21331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21332 };
21333
21334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21336 if (!SWIG_IsOK(res1)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21338 }
21339 arg1 = reinterpret_cast< wxWindow * >(argp1);
21340 if (obj1) {
21341 ecode2 = SWIG_AsVal_int(obj1, &val2);
21342 if (!SWIG_IsOK(ecode2)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21344 }
21345 arg2 = static_cast< int >(val2);
21346 }
21347 if (obj2) {
21348 {
21349 arg3 = &temp3;
21350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21351 }
21352 }
21353 if (obj3) {
21354 {
21355 arg4 = &temp4;
21356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21357 }
21358 }
21359 if (obj4) {
21360 ecode5 = SWIG_AsVal_long(obj4, &val5);
21361 if (!SWIG_IsOK(ecode5)) {
21362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21363 }
21364 arg5 = static_cast< long >(val5);
21365 }
21366 if (obj5) {
21367 {
21368 arg6 = wxString_in_helper(obj5);
21369 if (arg6 == NULL) SWIG_fail;
21370 temp6 = true;
21371 }
21372 }
21373 {
21374 if (!wxPyCheckForApp()) SWIG_fail;
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21381 {
21382 if (temp6)
21383 delete arg6;
21384 }
21385 return resultobj;
21386 fail:
21387 {
21388 if (temp6)
21389 delete arg6;
21390 }
21391 return NULL;
21392 }
21393
21394
21395 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21396 PyObject *resultobj = 0;
21397 wxPyWindow *result = 0 ;
21398
21399 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21400 {
21401 if (!wxPyCheckForApp()) SWIG_fail;
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = (wxPyWindow *)new wxPyWindow();
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj = 0;
21416 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21417 PyObject *arg2 = (PyObject *) 0 ;
21418 PyObject *arg3 = (PyObject *) 0 ;
21419 void *argp1 = 0 ;
21420 int res1 = 0 ;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 PyObject * obj2 = 0 ;
21424 char * kwnames[] = {
21425 (char *) "self",(char *) "self",(char *) "_class", NULL
21426 };
21427
21428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21430 if (!SWIG_IsOK(res1)) {
21431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21432 }
21433 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21434 arg2 = obj1;
21435 arg3 = obj2;
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 (arg1)->_setCallbackInfo(arg2,arg3);
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 resultobj = SWIG_Py_Void();
21443 return resultobj;
21444 fail:
21445 return NULL;
21446 }
21447
21448
21449 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj = 0;
21451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21452 wxSize *arg2 = 0 ;
21453 void *argp1 = 0 ;
21454 int res1 = 0 ;
21455 wxSize temp2 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 char * kwnames[] = {
21459 (char *) "self",(char *) "size", NULL
21460 };
21461
21462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21464 if (!SWIG_IsOK(res1)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21466 }
21467 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21468 {
21469 arg2 = &temp2;
21470 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21471 }
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 (arg1)->SetBestSize((wxSize const &)*arg2);
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 resultobj = SWIG_Py_Void();
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj = 0;
21487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21488 wxDC *arg2 = (wxDC *) 0 ;
21489 bool result;
21490 void *argp1 = 0 ;
21491 int res1 = 0 ;
21492 void *argp2 = 0 ;
21493 int res2 = 0 ;
21494 PyObject * obj0 = 0 ;
21495 PyObject * obj1 = 0 ;
21496 char * kwnames[] = {
21497 (char *) "self",(char *) "dc", NULL
21498 };
21499
21500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21502 if (!SWIG_IsOK(res1)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21504 }
21505 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21507 if (!SWIG_IsOK(res2)) {
21508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21509 }
21510 arg2 = reinterpret_cast< wxDC * >(argp2);
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = (bool)(arg1)->DoEraseBackground(arg2);
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj = 0;
21528 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21529 int arg2 ;
21530 int arg3 ;
21531 int arg4 ;
21532 int arg5 ;
21533 void *argp1 = 0 ;
21534 int res1 = 0 ;
21535 int val2 ;
21536 int ecode2 = 0 ;
21537 int val3 ;
21538 int ecode3 = 0 ;
21539 int val4 ;
21540 int ecode4 = 0 ;
21541 int val5 ;
21542 int ecode5 = 0 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 PyObject * obj2 = 0 ;
21546 PyObject * obj3 = 0 ;
21547 PyObject * obj4 = 0 ;
21548 char * kwnames[] = {
21549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21550 };
21551
21552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21554 if (!SWIG_IsOK(res1)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21556 }
21557 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21558 ecode2 = SWIG_AsVal_int(obj1, &val2);
21559 if (!SWIG_IsOK(ecode2)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21561 }
21562 arg2 = static_cast< int >(val2);
21563 ecode3 = SWIG_AsVal_int(obj2, &val3);
21564 if (!SWIG_IsOK(ecode3)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21566 }
21567 arg3 = static_cast< int >(val3);
21568 ecode4 = SWIG_AsVal_int(obj3, &val4);
21569 if (!SWIG_IsOK(ecode4)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21571 }
21572 arg4 = static_cast< int >(val4);
21573 ecode5 = SWIG_AsVal_int(obj4, &val5);
21574 if (!SWIG_IsOK(ecode5)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21576 }
21577 arg5 = static_cast< int >(val5);
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 resultobj = SWIG_Py_Void();
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj = 0;
21593 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21594 int arg2 ;
21595 int arg3 ;
21596 int arg4 ;
21597 int arg5 ;
21598 int arg6 = (int) wxSIZE_AUTO ;
21599 void *argp1 = 0 ;
21600 int res1 = 0 ;
21601 int val2 ;
21602 int ecode2 = 0 ;
21603 int val3 ;
21604 int ecode3 = 0 ;
21605 int val4 ;
21606 int ecode4 = 0 ;
21607 int val5 ;
21608 int ecode5 = 0 ;
21609 int val6 ;
21610 int ecode6 = 0 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 PyObject * obj2 = 0 ;
21614 PyObject * obj3 = 0 ;
21615 PyObject * obj4 = 0 ;
21616 PyObject * obj5 = 0 ;
21617 char * kwnames[] = {
21618 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21619 };
21620
21621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21623 if (!SWIG_IsOK(res1)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21625 }
21626 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21627 ecode2 = SWIG_AsVal_int(obj1, &val2);
21628 if (!SWIG_IsOK(ecode2)) {
21629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21630 }
21631 arg2 = static_cast< int >(val2);
21632 ecode3 = SWIG_AsVal_int(obj2, &val3);
21633 if (!SWIG_IsOK(ecode3)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21635 }
21636 arg3 = static_cast< int >(val3);
21637 ecode4 = SWIG_AsVal_int(obj3, &val4);
21638 if (!SWIG_IsOK(ecode4)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21640 }
21641 arg4 = static_cast< int >(val4);
21642 ecode5 = SWIG_AsVal_int(obj4, &val5);
21643 if (!SWIG_IsOK(ecode5)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21645 }
21646 arg5 = static_cast< int >(val5);
21647 if (obj5) {
21648 ecode6 = SWIG_AsVal_int(obj5, &val6);
21649 if (!SWIG_IsOK(ecode6)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21651 }
21652 arg6 = static_cast< int >(val6);
21653 }
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 resultobj = SWIG_Py_Void();
21661 return resultobj;
21662 fail:
21663 return NULL;
21664 }
21665
21666
21667 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21668 PyObject *resultobj = 0;
21669 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21670 int arg2 ;
21671 int arg3 ;
21672 void *argp1 = 0 ;
21673 int res1 = 0 ;
21674 int val2 ;
21675 int ecode2 = 0 ;
21676 int val3 ;
21677 int ecode3 = 0 ;
21678 PyObject * obj0 = 0 ;
21679 PyObject * obj1 = 0 ;
21680 PyObject * obj2 = 0 ;
21681 char * kwnames[] = {
21682 (char *) "self",(char *) "width",(char *) "height", NULL
21683 };
21684
21685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21687 if (!SWIG_IsOK(res1)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21689 }
21690 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21691 ecode2 = SWIG_AsVal_int(obj1, &val2);
21692 if (!SWIG_IsOK(ecode2)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21694 }
21695 arg2 = static_cast< int >(val2);
21696 ecode3 = SWIG_AsVal_int(obj2, &val3);
21697 if (!SWIG_IsOK(ecode3)) {
21698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21699 }
21700 arg3 = static_cast< int >(val3);
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 (arg1)->DoSetClientSize(arg2,arg3);
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 resultobj = SWIG_Py_Void();
21708 return resultobj;
21709 fail:
21710 return NULL;
21711 }
21712
21713
21714 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21715 PyObject *resultobj = 0;
21716 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21717 int arg2 ;
21718 int arg3 ;
21719 void *argp1 = 0 ;
21720 int res1 = 0 ;
21721 int val2 ;
21722 int ecode2 = 0 ;
21723 int val3 ;
21724 int ecode3 = 0 ;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 PyObject * obj2 = 0 ;
21728 char * kwnames[] = {
21729 (char *) "self",(char *) "x",(char *) "y", NULL
21730 };
21731
21732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21734 if (!SWIG_IsOK(res1)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21736 }
21737 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21738 ecode2 = SWIG_AsVal_int(obj1, &val2);
21739 if (!SWIG_IsOK(ecode2)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21741 }
21742 arg2 = static_cast< int >(val2);
21743 ecode3 = SWIG_AsVal_int(obj2, &val3);
21744 if (!SWIG_IsOK(ecode3)) {
21745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21746 }
21747 arg3 = static_cast< int >(val3);
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 (arg1)->DoSetVirtualSize(arg2,arg3);
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 resultobj = SWIG_Py_Void();
21755 return resultobj;
21756 fail:
21757 return NULL;
21758 }
21759
21760
21761 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21762 PyObject *resultobj = 0;
21763 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21764 int *arg2 = (int *) 0 ;
21765 int *arg3 = (int *) 0 ;
21766 void *argp1 = 0 ;
21767 int res1 = 0 ;
21768 int temp2 ;
21769 int res2 = SWIG_TMPOBJ ;
21770 int temp3 ;
21771 int res3 = SWIG_TMPOBJ ;
21772 PyObject *swig_obj[1] ;
21773
21774 arg2 = &temp2;
21775 arg3 = &temp3;
21776 if (!args) SWIG_fail;
21777 swig_obj[0] = args;
21778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21779 if (!SWIG_IsOK(res1)) {
21780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21781 }
21782 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
21785 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 resultobj = SWIG_Py_Void();
21790 if (SWIG_IsTmpObj(res2)) {
21791 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21792 } else {
21793 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21794 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21795 }
21796 if (SWIG_IsTmpObj(res3)) {
21797 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21798 } else {
21799 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21801 }
21802 return resultobj;
21803 fail:
21804 return NULL;
21805 }
21806
21807
21808 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21809 PyObject *resultobj = 0;
21810 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21811 int *arg2 = (int *) 0 ;
21812 int *arg3 = (int *) 0 ;
21813 void *argp1 = 0 ;
21814 int res1 = 0 ;
21815 int temp2 ;
21816 int res2 = SWIG_TMPOBJ ;
21817 int temp3 ;
21818 int res3 = SWIG_TMPOBJ ;
21819 PyObject *swig_obj[1] ;
21820
21821 arg2 = &temp2;
21822 arg3 = &temp3;
21823 if (!args) SWIG_fail;
21824 swig_obj[0] = args;
21825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21826 if (!SWIG_IsOK(res1)) {
21827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21828 }
21829 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 resultobj = SWIG_Py_Void();
21837 if (SWIG_IsTmpObj(res2)) {
21838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21839 } else {
21840 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21842 }
21843 if (SWIG_IsTmpObj(res3)) {
21844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21845 } else {
21846 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21848 }
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21856 PyObject *resultobj = 0;
21857 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21858 int *arg2 = (int *) 0 ;
21859 int *arg3 = (int *) 0 ;
21860 void *argp1 = 0 ;
21861 int res1 = 0 ;
21862 int temp2 ;
21863 int res2 = SWIG_TMPOBJ ;
21864 int temp3 ;
21865 int res3 = SWIG_TMPOBJ ;
21866 PyObject *swig_obj[1] ;
21867
21868 arg2 = &temp2;
21869 arg3 = &temp3;
21870 if (!args) SWIG_fail;
21871 swig_obj[0] = args;
21872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21873 if (!SWIG_IsOK(res1)) {
21874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21875 }
21876 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21877 {
21878 PyThreadState* __tstate = wxPyBeginAllowThreads();
21879 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 resultobj = SWIG_Py_Void();
21884 if (SWIG_IsTmpObj(res2)) {
21885 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21886 } else {
21887 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21889 }
21890 if (SWIG_IsTmpObj(res3)) {
21891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21892 } else {
21893 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21894 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21895 }
21896 return resultobj;
21897 fail:
21898 return NULL;
21899 }
21900
21901
21902 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21903 PyObject *resultobj = 0;
21904 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21905 wxSize result;
21906 void *argp1 = 0 ;
21907 int res1 = 0 ;
21908 PyObject *swig_obj[1] ;
21909
21910 if (!args) SWIG_fail;
21911 swig_obj[0] = args;
21912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21913 if (!SWIG_IsOK(res1)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21915 }
21916 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21931 PyObject *resultobj = 0;
21932 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21933 wxSize result;
21934 void *argp1 = 0 ;
21935 int res1 = 0 ;
21936 PyObject *swig_obj[1] ;
21937
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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21943 }
21944 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21952 return resultobj;
21953 fail:
21954 return NULL;
21955 }
21956
21957
21958 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21959 PyObject *resultobj = 0;
21960 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21961 SwigValueWrapper<wxVisualAttributes > result;
21962 void *argp1 = 0 ;
21963 int res1 = 0 ;
21964 PyObject *swig_obj[1] ;
21965
21966 if (!args) SWIG_fail;
21967 swig_obj[0] = args;
21968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21969 if (!SWIG_IsOK(res1)) {
21970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21971 }
21972 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (arg1)->GetDefaultAttributes();
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21987 PyObject *resultobj = 0;
21988 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21989 void *argp1 = 0 ;
21990 int res1 = 0 ;
21991 PyObject *swig_obj[1] ;
21992
21993 if (!args) SWIG_fail;
21994 swig_obj[0] = args;
21995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21996 if (!SWIG_IsOK(res1)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21998 }
21999 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->OnInternalIdle();
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 resultobj = SWIG_Py_Void();
22007 return resultobj;
22008 fail:
22009 return NULL;
22010 }
22011
22012
22013 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22014 PyObject *obj;
22015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22017 return SWIG_Py_Void();
22018 }
22019
22020 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22021 return SWIG_Python_InitShadowInstance(args);
22022 }
22023
22024 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = 0;
22026 wxWindow *arg1 = (wxWindow *) 0 ;
22027 int arg2 = (int) (int)-1 ;
22028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22030 wxSize const &arg4_defvalue = wxDefaultSize ;
22031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22032 long arg5 = (long) 0 ;
22033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22034 wxString *arg6 = (wxString *) &arg6_defvalue ;
22035 wxPyPanel *result = 0 ;
22036 void *argp1 = 0 ;
22037 int res1 = 0 ;
22038 int val2 ;
22039 int ecode2 = 0 ;
22040 wxPoint temp3 ;
22041 wxSize temp4 ;
22042 long val5 ;
22043 int ecode5 = 0 ;
22044 bool temp6 = false ;
22045 PyObject * obj0 = 0 ;
22046 PyObject * obj1 = 0 ;
22047 PyObject * obj2 = 0 ;
22048 PyObject * obj3 = 0 ;
22049 PyObject * obj4 = 0 ;
22050 PyObject * obj5 = 0 ;
22051 char * kwnames[] = {
22052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22053 };
22054
22055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22057 if (!SWIG_IsOK(res1)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22059 }
22060 arg1 = reinterpret_cast< wxWindow * >(argp1);
22061 if (obj1) {
22062 ecode2 = SWIG_AsVal_int(obj1, &val2);
22063 if (!SWIG_IsOK(ecode2)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22065 }
22066 arg2 = static_cast< int >(val2);
22067 }
22068 if (obj2) {
22069 {
22070 arg3 = &temp3;
22071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22072 }
22073 }
22074 if (obj3) {
22075 {
22076 arg4 = &temp4;
22077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22078 }
22079 }
22080 if (obj4) {
22081 ecode5 = SWIG_AsVal_long(obj4, &val5);
22082 if (!SWIG_IsOK(ecode5)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22084 }
22085 arg5 = static_cast< long >(val5);
22086 }
22087 if (obj5) {
22088 {
22089 arg6 = wxString_in_helper(obj5);
22090 if (arg6 == NULL) SWIG_fail;
22091 temp6 = true;
22092 }
22093 }
22094 {
22095 if (!wxPyCheckForApp()) SWIG_fail;
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22102 {
22103 if (temp6)
22104 delete arg6;
22105 }
22106 return resultobj;
22107 fail:
22108 {
22109 if (temp6)
22110 delete arg6;
22111 }
22112 return NULL;
22113 }
22114
22115
22116 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22117 PyObject *resultobj = 0;
22118 wxPyPanel *result = 0 ;
22119
22120 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22121 {
22122 if (!wxPyCheckForApp()) SWIG_fail;
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (wxPyPanel *)new wxPyPanel();
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj = 0;
22137 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22138 PyObject *arg2 = (PyObject *) 0 ;
22139 PyObject *arg3 = (PyObject *) 0 ;
22140 void *argp1 = 0 ;
22141 int res1 = 0 ;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 PyObject * obj2 = 0 ;
22145 char * kwnames[] = {
22146 (char *) "self",(char *) "self",(char *) "_class", NULL
22147 };
22148
22149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22151 if (!SWIG_IsOK(res1)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22153 }
22154 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22155 arg2 = obj1;
22156 arg3 = obj2;
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 (arg1)->_setCallbackInfo(arg2,arg3);
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 resultobj = SWIG_Py_Void();
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj = 0;
22172 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22173 wxSize *arg2 = 0 ;
22174 void *argp1 = 0 ;
22175 int res1 = 0 ;
22176 wxSize temp2 ;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char * kwnames[] = {
22180 (char *) "self",(char *) "size", NULL
22181 };
22182
22183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22185 if (!SWIG_IsOK(res1)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22187 }
22188 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22189 {
22190 arg2 = &temp2;
22191 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22192 }
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 (arg1)->SetBestSize((wxSize const &)*arg2);
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 resultobj = SWIG_Py_Void();
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj = 0;
22208 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22209 wxDC *arg2 = (wxDC *) 0 ;
22210 bool result;
22211 void *argp1 = 0 ;
22212 int res1 = 0 ;
22213 void *argp2 = 0 ;
22214 int res2 = 0 ;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 char * kwnames[] = {
22218 (char *) "self",(char *) "dc", NULL
22219 };
22220
22221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22223 if (!SWIG_IsOK(res1)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22225 }
22226 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22228 if (!SWIG_IsOK(res2)) {
22229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22230 }
22231 arg2 = reinterpret_cast< wxDC * >(argp2);
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (bool)(arg1)->DoEraseBackground(arg2);
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 {
22239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22240 }
22241 return resultobj;
22242 fail:
22243 return NULL;
22244 }
22245
22246
22247 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj = 0;
22249 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22250 int arg2 ;
22251 int arg3 ;
22252 int arg4 ;
22253 int arg5 ;
22254 void *argp1 = 0 ;
22255 int res1 = 0 ;
22256 int val2 ;
22257 int ecode2 = 0 ;
22258 int val3 ;
22259 int ecode3 = 0 ;
22260 int val4 ;
22261 int ecode4 = 0 ;
22262 int val5 ;
22263 int ecode5 = 0 ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 PyObject * obj2 = 0 ;
22267 PyObject * obj3 = 0 ;
22268 PyObject * obj4 = 0 ;
22269 char * kwnames[] = {
22270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22271 };
22272
22273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22275 if (!SWIG_IsOK(res1)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22277 }
22278 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22279 ecode2 = SWIG_AsVal_int(obj1, &val2);
22280 if (!SWIG_IsOK(ecode2)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22282 }
22283 arg2 = static_cast< int >(val2);
22284 ecode3 = SWIG_AsVal_int(obj2, &val3);
22285 if (!SWIG_IsOK(ecode3)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22287 }
22288 arg3 = static_cast< int >(val3);
22289 ecode4 = SWIG_AsVal_int(obj3, &val4);
22290 if (!SWIG_IsOK(ecode4)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22292 }
22293 arg4 = static_cast< int >(val4);
22294 ecode5 = SWIG_AsVal_int(obj4, &val5);
22295 if (!SWIG_IsOK(ecode5)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22297 }
22298 arg5 = static_cast< int >(val5);
22299 {
22300 PyThreadState* __tstate = wxPyBeginAllowThreads();
22301 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 resultobj = SWIG_Py_Void();
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj = 0;
22314 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22315 int arg2 ;
22316 int arg3 ;
22317 int arg4 ;
22318 int arg5 ;
22319 int arg6 = (int) wxSIZE_AUTO ;
22320 void *argp1 = 0 ;
22321 int res1 = 0 ;
22322 int val2 ;
22323 int ecode2 = 0 ;
22324 int val3 ;
22325 int ecode3 = 0 ;
22326 int val4 ;
22327 int ecode4 = 0 ;
22328 int val5 ;
22329 int ecode5 = 0 ;
22330 int val6 ;
22331 int ecode6 = 0 ;
22332 PyObject * obj0 = 0 ;
22333 PyObject * obj1 = 0 ;
22334 PyObject * obj2 = 0 ;
22335 PyObject * obj3 = 0 ;
22336 PyObject * obj4 = 0 ;
22337 PyObject * obj5 = 0 ;
22338 char * kwnames[] = {
22339 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22340 };
22341
22342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22344 if (!SWIG_IsOK(res1)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22346 }
22347 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22348 ecode2 = SWIG_AsVal_int(obj1, &val2);
22349 if (!SWIG_IsOK(ecode2)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22351 }
22352 arg2 = static_cast< int >(val2);
22353 ecode3 = SWIG_AsVal_int(obj2, &val3);
22354 if (!SWIG_IsOK(ecode3)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22356 }
22357 arg3 = static_cast< int >(val3);
22358 ecode4 = SWIG_AsVal_int(obj3, &val4);
22359 if (!SWIG_IsOK(ecode4)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22361 }
22362 arg4 = static_cast< int >(val4);
22363 ecode5 = SWIG_AsVal_int(obj4, &val5);
22364 if (!SWIG_IsOK(ecode5)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22366 }
22367 arg5 = static_cast< int >(val5);
22368 if (obj5) {
22369 ecode6 = SWIG_AsVal_int(obj5, &val6);
22370 if (!SWIG_IsOK(ecode6)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22372 }
22373 arg6 = static_cast< int >(val6);
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 resultobj = SWIG_Py_Void();
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj = 0;
22390 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22391 int arg2 ;
22392 int arg3 ;
22393 void *argp1 = 0 ;
22394 int res1 = 0 ;
22395 int val2 ;
22396 int ecode2 = 0 ;
22397 int val3 ;
22398 int ecode3 = 0 ;
22399 PyObject * obj0 = 0 ;
22400 PyObject * obj1 = 0 ;
22401 PyObject * obj2 = 0 ;
22402 char * kwnames[] = {
22403 (char *) "self",(char *) "width",(char *) "height", NULL
22404 };
22405
22406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22408 if (!SWIG_IsOK(res1)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22410 }
22411 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22412 ecode2 = SWIG_AsVal_int(obj1, &val2);
22413 if (!SWIG_IsOK(ecode2)) {
22414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22415 }
22416 arg2 = static_cast< int >(val2);
22417 ecode3 = SWIG_AsVal_int(obj2, &val3);
22418 if (!SWIG_IsOK(ecode3)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22420 }
22421 arg3 = static_cast< int >(val3);
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 (arg1)->DoSetClientSize(arg2,arg3);
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 resultobj = SWIG_Py_Void();
22429 return resultobj;
22430 fail:
22431 return NULL;
22432 }
22433
22434
22435 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj = 0;
22437 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22438 int arg2 ;
22439 int arg3 ;
22440 void *argp1 = 0 ;
22441 int res1 = 0 ;
22442 int val2 ;
22443 int ecode2 = 0 ;
22444 int val3 ;
22445 int ecode3 = 0 ;
22446 PyObject * obj0 = 0 ;
22447 PyObject * obj1 = 0 ;
22448 PyObject * obj2 = 0 ;
22449 char * kwnames[] = {
22450 (char *) "self",(char *) "x",(char *) "y", NULL
22451 };
22452
22453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22455 if (!SWIG_IsOK(res1)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22457 }
22458 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22459 ecode2 = SWIG_AsVal_int(obj1, &val2);
22460 if (!SWIG_IsOK(ecode2)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22462 }
22463 arg2 = static_cast< int >(val2);
22464 ecode3 = SWIG_AsVal_int(obj2, &val3);
22465 if (!SWIG_IsOK(ecode3)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22467 }
22468 arg3 = static_cast< int >(val3);
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->DoSetVirtualSize(arg2,arg3);
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 resultobj = SWIG_Py_Void();
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22483 PyObject *resultobj = 0;
22484 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22485 int *arg2 = (int *) 0 ;
22486 int *arg3 = (int *) 0 ;
22487 void *argp1 = 0 ;
22488 int res1 = 0 ;
22489 int temp2 ;
22490 int res2 = SWIG_TMPOBJ ;
22491 int temp3 ;
22492 int res3 = SWIG_TMPOBJ ;
22493 PyObject *swig_obj[1] ;
22494
22495 arg2 = &temp2;
22496 arg3 = &temp3;
22497 if (!args) SWIG_fail;
22498 swig_obj[0] = args;
22499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22500 if (!SWIG_IsOK(res1)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22502 }
22503 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 resultobj = SWIG_Py_Void();
22511 if (SWIG_IsTmpObj(res2)) {
22512 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22513 } else {
22514 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22515 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22516 }
22517 if (SWIG_IsTmpObj(res3)) {
22518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22519 } else {
22520 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22522 }
22523 return resultobj;
22524 fail:
22525 return NULL;
22526 }
22527
22528
22529 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22530 PyObject *resultobj = 0;
22531 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22532 int *arg2 = (int *) 0 ;
22533 int *arg3 = (int *) 0 ;
22534 void *argp1 = 0 ;
22535 int res1 = 0 ;
22536 int temp2 ;
22537 int res2 = SWIG_TMPOBJ ;
22538 int temp3 ;
22539 int res3 = SWIG_TMPOBJ ;
22540 PyObject *swig_obj[1] ;
22541
22542 arg2 = &temp2;
22543 arg3 = &temp3;
22544 if (!args) SWIG_fail;
22545 swig_obj[0] = args;
22546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22547 if (!SWIG_IsOK(res1)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22549 }
22550 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 resultobj = SWIG_Py_Void();
22558 if (SWIG_IsTmpObj(res2)) {
22559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22560 } else {
22561 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22563 }
22564 if (SWIG_IsTmpObj(res3)) {
22565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22566 } else {
22567 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22569 }
22570 return resultobj;
22571 fail:
22572 return NULL;
22573 }
22574
22575
22576 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22577 PyObject *resultobj = 0;
22578 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22579 int *arg2 = (int *) 0 ;
22580 int *arg3 = (int *) 0 ;
22581 void *argp1 = 0 ;
22582 int res1 = 0 ;
22583 int temp2 ;
22584 int res2 = SWIG_TMPOBJ ;
22585 int temp3 ;
22586 int res3 = SWIG_TMPOBJ ;
22587 PyObject *swig_obj[1] ;
22588
22589 arg2 = &temp2;
22590 arg3 = &temp3;
22591 if (!args) SWIG_fail;
22592 swig_obj[0] = args;
22593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22594 if (!SWIG_IsOK(res1)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22596 }
22597 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 resultobj = SWIG_Py_Void();
22605 if (SWIG_IsTmpObj(res2)) {
22606 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22607 } else {
22608 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22609 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22610 }
22611 if (SWIG_IsTmpObj(res3)) {
22612 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22613 } else {
22614 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22615 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22616 }
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22624 PyObject *resultobj = 0;
22625 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22626 wxSize result;
22627 void *argp1 = 0 ;
22628 int res1 = 0 ;
22629 PyObject *swig_obj[1] ;
22630
22631 if (!args) SWIG_fail;
22632 swig_obj[0] = args;
22633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22634 if (!SWIG_IsOK(res1)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22636 }
22637 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22645 return resultobj;
22646 fail:
22647 return NULL;
22648 }
22649
22650
22651 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22652 PyObject *resultobj = 0;
22653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22654 wxSize result;
22655 void *argp1 = 0 ;
22656 int res1 = 0 ;
22657 PyObject *swig_obj[1] ;
22658
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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22664 }
22665 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22673 return resultobj;
22674 fail:
22675 return NULL;
22676 }
22677
22678
22679 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22680 PyObject *resultobj = 0;
22681 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22682 SwigValueWrapper<wxVisualAttributes > result;
22683 void *argp1 = 0 ;
22684 int res1 = 0 ;
22685 PyObject *swig_obj[1] ;
22686
22687 if (!args) SWIG_fail;
22688 swig_obj[0] = args;
22689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22690 if (!SWIG_IsOK(res1)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22692 }
22693 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 result = (arg1)->GetDefaultAttributes();
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22701 return resultobj;
22702 fail:
22703 return NULL;
22704 }
22705
22706
22707 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22708 PyObject *resultobj = 0;
22709 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22710 void *argp1 = 0 ;
22711 int res1 = 0 ;
22712 PyObject *swig_obj[1] ;
22713
22714 if (!args) SWIG_fail;
22715 swig_obj[0] = args;
22716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22717 if (!SWIG_IsOK(res1)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22719 }
22720 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 (arg1)->OnInternalIdle();
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 resultobj = SWIG_Py_Void();
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22735 PyObject *obj;
22736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22737 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22738 return SWIG_Py_Void();
22739 }
22740
22741 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22742 return SWIG_Python_InitShadowInstance(args);
22743 }
22744
22745 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj = 0;
22747 wxWindow *arg1 = (wxWindow *) 0 ;
22748 int arg2 = (int) (int)-1 ;
22749 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22750 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22751 wxSize const &arg4_defvalue = wxDefaultSize ;
22752 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22753 long arg5 = (long) 0 ;
22754 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22755 wxString *arg6 = (wxString *) &arg6_defvalue ;
22756 wxPyScrolledWindow *result = 0 ;
22757 void *argp1 = 0 ;
22758 int res1 = 0 ;
22759 int val2 ;
22760 int ecode2 = 0 ;
22761 wxPoint temp3 ;
22762 wxSize temp4 ;
22763 long val5 ;
22764 int ecode5 = 0 ;
22765 bool temp6 = false ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 PyObject * obj2 = 0 ;
22769 PyObject * obj3 = 0 ;
22770 PyObject * obj4 = 0 ;
22771 PyObject * obj5 = 0 ;
22772 char * kwnames[] = {
22773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22774 };
22775
22776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22778 if (!SWIG_IsOK(res1)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22780 }
22781 arg1 = reinterpret_cast< wxWindow * >(argp1);
22782 if (obj1) {
22783 ecode2 = SWIG_AsVal_int(obj1, &val2);
22784 if (!SWIG_IsOK(ecode2)) {
22785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22786 }
22787 arg2 = static_cast< int >(val2);
22788 }
22789 if (obj2) {
22790 {
22791 arg3 = &temp3;
22792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22793 }
22794 }
22795 if (obj3) {
22796 {
22797 arg4 = &temp4;
22798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22799 }
22800 }
22801 if (obj4) {
22802 ecode5 = SWIG_AsVal_long(obj4, &val5);
22803 if (!SWIG_IsOK(ecode5)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22805 }
22806 arg5 = static_cast< long >(val5);
22807 }
22808 if (obj5) {
22809 {
22810 arg6 = wxString_in_helper(obj5);
22811 if (arg6 == NULL) SWIG_fail;
22812 temp6 = true;
22813 }
22814 }
22815 {
22816 if (!wxPyCheckForApp()) SWIG_fail;
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22819 wxPyEndAllowThreads(__tstate);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22823 {
22824 if (temp6)
22825 delete arg6;
22826 }
22827 return resultobj;
22828 fail:
22829 {
22830 if (temp6)
22831 delete arg6;
22832 }
22833 return NULL;
22834 }
22835
22836
22837 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 PyObject *resultobj = 0;
22839 wxPyScrolledWindow *result = 0 ;
22840
22841 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22842 {
22843 if (!wxPyCheckForApp()) SWIG_fail;
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22850 return resultobj;
22851 fail:
22852 return NULL;
22853 }
22854
22855
22856 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj = 0;
22858 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22859 PyObject *arg2 = (PyObject *) 0 ;
22860 PyObject *arg3 = (PyObject *) 0 ;
22861 void *argp1 = 0 ;
22862 int res1 = 0 ;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 PyObject * obj2 = 0 ;
22866 char * kwnames[] = {
22867 (char *) "self",(char *) "self",(char *) "_class", NULL
22868 };
22869
22870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22872 if (!SWIG_IsOK(res1)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22874 }
22875 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22876 arg2 = obj1;
22877 arg3 = obj2;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 (arg1)->_setCallbackInfo(arg2,arg3);
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 resultobj = SWIG_Py_Void();
22885 return resultobj;
22886 fail:
22887 return NULL;
22888 }
22889
22890
22891 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj = 0;
22893 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22894 wxSize *arg2 = 0 ;
22895 void *argp1 = 0 ;
22896 int res1 = 0 ;
22897 wxSize temp2 ;
22898 PyObject * obj0 = 0 ;
22899 PyObject * obj1 = 0 ;
22900 char * kwnames[] = {
22901 (char *) "self",(char *) "size", NULL
22902 };
22903
22904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22906 if (!SWIG_IsOK(res1)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22908 }
22909 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22910 {
22911 arg2 = &temp2;
22912 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22913 }
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 (arg1)->SetBestSize((wxSize const &)*arg2);
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 resultobj = SWIG_Py_Void();
22921 return resultobj;
22922 fail:
22923 return NULL;
22924 }
22925
22926
22927 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22928 PyObject *resultobj = 0;
22929 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22930 wxDC *arg2 = (wxDC *) 0 ;
22931 bool result;
22932 void *argp1 = 0 ;
22933 int res1 = 0 ;
22934 void *argp2 = 0 ;
22935 int res2 = 0 ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char * kwnames[] = {
22939 (char *) "self",(char *) "dc", NULL
22940 };
22941
22942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22946 }
22947 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22949 if (!SWIG_IsOK(res2)) {
22950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22951 }
22952 arg2 = reinterpret_cast< wxDC * >(argp2);
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (bool)(arg1)->DoEraseBackground(arg2);
22956 wxPyEndAllowThreads(__tstate);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 }
22959 {
22960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22961 }
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj = 0;
22970 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22971 int arg2 ;
22972 int arg3 ;
22973 int arg4 ;
22974 int arg5 ;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 int val2 ;
22978 int ecode2 = 0 ;
22979 int val3 ;
22980 int ecode3 = 0 ;
22981 int val4 ;
22982 int ecode4 = 0 ;
22983 int val5 ;
22984 int ecode5 = 0 ;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 PyObject * obj2 = 0 ;
22988 PyObject * obj3 = 0 ;
22989 PyObject * obj4 = 0 ;
22990 char * kwnames[] = {
22991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22992 };
22993
22994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22996 if (!SWIG_IsOK(res1)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22998 }
22999 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23000 ecode2 = SWIG_AsVal_int(obj1, &val2);
23001 if (!SWIG_IsOK(ecode2)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23003 }
23004 arg2 = static_cast< int >(val2);
23005 ecode3 = SWIG_AsVal_int(obj2, &val3);
23006 if (!SWIG_IsOK(ecode3)) {
23007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23008 }
23009 arg3 = static_cast< int >(val3);
23010 ecode4 = SWIG_AsVal_int(obj3, &val4);
23011 if (!SWIG_IsOK(ecode4)) {
23012 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23013 }
23014 arg4 = static_cast< int >(val4);
23015 ecode5 = SWIG_AsVal_int(obj4, &val5);
23016 if (!SWIG_IsOK(ecode5)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23018 }
23019 arg5 = static_cast< int >(val5);
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 resultobj = SWIG_Py_Void();
23027 return resultobj;
23028 fail:
23029 return NULL;
23030 }
23031
23032
23033 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23034 PyObject *resultobj = 0;
23035 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23036 int arg2 ;
23037 int arg3 ;
23038 int arg4 ;
23039 int arg5 ;
23040 int arg6 = (int) wxSIZE_AUTO ;
23041 void *argp1 = 0 ;
23042 int res1 = 0 ;
23043 int val2 ;
23044 int ecode2 = 0 ;
23045 int val3 ;
23046 int ecode3 = 0 ;
23047 int val4 ;
23048 int ecode4 = 0 ;
23049 int val5 ;
23050 int ecode5 = 0 ;
23051 int val6 ;
23052 int ecode6 = 0 ;
23053 PyObject * obj0 = 0 ;
23054 PyObject * obj1 = 0 ;
23055 PyObject * obj2 = 0 ;
23056 PyObject * obj3 = 0 ;
23057 PyObject * obj4 = 0 ;
23058 PyObject * obj5 = 0 ;
23059 char * kwnames[] = {
23060 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23061 };
23062
23063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23065 if (!SWIG_IsOK(res1)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23067 }
23068 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23069 ecode2 = SWIG_AsVal_int(obj1, &val2);
23070 if (!SWIG_IsOK(ecode2)) {
23071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23072 }
23073 arg2 = static_cast< int >(val2);
23074 ecode3 = SWIG_AsVal_int(obj2, &val3);
23075 if (!SWIG_IsOK(ecode3)) {
23076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23077 }
23078 arg3 = static_cast< int >(val3);
23079 ecode4 = SWIG_AsVal_int(obj3, &val4);
23080 if (!SWIG_IsOK(ecode4)) {
23081 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23082 }
23083 arg4 = static_cast< int >(val4);
23084 ecode5 = SWIG_AsVal_int(obj4, &val5);
23085 if (!SWIG_IsOK(ecode5)) {
23086 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23087 }
23088 arg5 = static_cast< int >(val5);
23089 if (obj5) {
23090 ecode6 = SWIG_AsVal_int(obj5, &val6);
23091 if (!SWIG_IsOK(ecode6)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23093 }
23094 arg6 = static_cast< int >(val6);
23095 }
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 resultobj = SWIG_Py_Void();
23103 return resultobj;
23104 fail:
23105 return NULL;
23106 }
23107
23108
23109 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23110 PyObject *resultobj = 0;
23111 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23112 int arg2 ;
23113 int arg3 ;
23114 void *argp1 = 0 ;
23115 int res1 = 0 ;
23116 int val2 ;
23117 int ecode2 = 0 ;
23118 int val3 ;
23119 int ecode3 = 0 ;
23120 PyObject * obj0 = 0 ;
23121 PyObject * obj1 = 0 ;
23122 PyObject * obj2 = 0 ;
23123 char * kwnames[] = {
23124 (char *) "self",(char *) "width",(char *) "height", NULL
23125 };
23126
23127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23129 if (!SWIG_IsOK(res1)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23131 }
23132 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23133 ecode2 = SWIG_AsVal_int(obj1, &val2);
23134 if (!SWIG_IsOK(ecode2)) {
23135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23136 }
23137 arg2 = static_cast< int >(val2);
23138 ecode3 = SWIG_AsVal_int(obj2, &val3);
23139 if (!SWIG_IsOK(ecode3)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23141 }
23142 arg3 = static_cast< int >(val3);
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 (arg1)->DoSetClientSize(arg2,arg3);
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 resultobj = SWIG_Py_Void();
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj = 0;
23158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23159 int arg2 ;
23160 int arg3 ;
23161 void *argp1 = 0 ;
23162 int res1 = 0 ;
23163 int val2 ;
23164 int ecode2 = 0 ;
23165 int val3 ;
23166 int ecode3 = 0 ;
23167 PyObject * obj0 = 0 ;
23168 PyObject * obj1 = 0 ;
23169 PyObject * obj2 = 0 ;
23170 char * kwnames[] = {
23171 (char *) "self",(char *) "x",(char *) "y", NULL
23172 };
23173
23174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23176 if (!SWIG_IsOK(res1)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23178 }
23179 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23180 ecode2 = SWIG_AsVal_int(obj1, &val2);
23181 if (!SWIG_IsOK(ecode2)) {
23182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23183 }
23184 arg2 = static_cast< int >(val2);
23185 ecode3 = SWIG_AsVal_int(obj2, &val3);
23186 if (!SWIG_IsOK(ecode3)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23188 }
23189 arg3 = static_cast< int >(val3);
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 (arg1)->DoSetVirtualSize(arg2,arg3);
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 resultobj = SWIG_Py_Void();
23197 return resultobj;
23198 fail:
23199 return NULL;
23200 }
23201
23202
23203 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23204 PyObject *resultobj = 0;
23205 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23206 int *arg2 = (int *) 0 ;
23207 int *arg3 = (int *) 0 ;
23208 void *argp1 = 0 ;
23209 int res1 = 0 ;
23210 int temp2 ;
23211 int res2 = SWIG_TMPOBJ ;
23212 int temp3 ;
23213 int res3 = SWIG_TMPOBJ ;
23214 PyObject *swig_obj[1] ;
23215
23216 arg2 = &temp2;
23217 arg3 = &temp3;
23218 if (!args) SWIG_fail;
23219 swig_obj[0] = args;
23220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23221 if (!SWIG_IsOK(res1)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23223 }
23224 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 resultobj = SWIG_Py_Void();
23232 if (SWIG_IsTmpObj(res2)) {
23233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23234 } else {
23235 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23237 }
23238 if (SWIG_IsTmpObj(res3)) {
23239 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23240 } else {
23241 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23242 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23243 }
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23251 PyObject *resultobj = 0;
23252 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23253 int *arg2 = (int *) 0 ;
23254 int *arg3 = (int *) 0 ;
23255 void *argp1 = 0 ;
23256 int res1 = 0 ;
23257 int temp2 ;
23258 int res2 = SWIG_TMPOBJ ;
23259 int temp3 ;
23260 int res3 = SWIG_TMPOBJ ;
23261 PyObject *swig_obj[1] ;
23262
23263 arg2 = &temp2;
23264 arg3 = &temp3;
23265 if (!args) SWIG_fail;
23266 swig_obj[0] = args;
23267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23268 if (!SWIG_IsOK(res1)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23270 }
23271 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 resultobj = SWIG_Py_Void();
23279 if (SWIG_IsTmpObj(res2)) {
23280 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23281 } else {
23282 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23283 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23284 }
23285 if (SWIG_IsTmpObj(res3)) {
23286 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23287 } else {
23288 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23289 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23290 }
23291 return resultobj;
23292 fail:
23293 return NULL;
23294 }
23295
23296
23297 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23298 PyObject *resultobj = 0;
23299 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23300 int *arg2 = (int *) 0 ;
23301 int *arg3 = (int *) 0 ;
23302 void *argp1 = 0 ;
23303 int res1 = 0 ;
23304 int temp2 ;
23305 int res2 = SWIG_TMPOBJ ;
23306 int temp3 ;
23307 int res3 = SWIG_TMPOBJ ;
23308 PyObject *swig_obj[1] ;
23309
23310 arg2 = &temp2;
23311 arg3 = &temp3;
23312 if (!args) SWIG_fail;
23313 swig_obj[0] = args;
23314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23315 if (!SWIG_IsOK(res1)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23317 }
23318 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 resultobj = SWIG_Py_Void();
23326 if (SWIG_IsTmpObj(res2)) {
23327 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23328 } else {
23329 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23330 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23331 }
23332 if (SWIG_IsTmpObj(res3)) {
23333 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23334 } else {
23335 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23336 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23337 }
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23345 PyObject *resultobj = 0;
23346 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23347 wxSize result;
23348 void *argp1 = 0 ;
23349 int res1 = 0 ;
23350 PyObject *swig_obj[1] ;
23351
23352 if (!args) SWIG_fail;
23353 swig_obj[0] = args;
23354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23355 if (!SWIG_IsOK(res1)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23357 }
23358 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23373 PyObject *resultobj = 0;
23374 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23375 wxSize result;
23376 void *argp1 = 0 ;
23377 int res1 = 0 ;
23378 PyObject *swig_obj[1] ;
23379
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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23385 }
23386 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 PyObject *resultobj = 0;
23402 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23403 SwigValueWrapper<wxVisualAttributes > result;
23404 void *argp1 = 0 ;
23405 int res1 = 0 ;
23406 PyObject *swig_obj[1] ;
23407
23408 if (!args) SWIG_fail;
23409 swig_obj[0] = args;
23410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23411 if (!SWIG_IsOK(res1)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23413 }
23414 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (arg1)->GetDefaultAttributes();
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23422 return resultobj;
23423 fail:
23424 return NULL;
23425 }
23426
23427
23428 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23429 PyObject *resultobj = 0;
23430 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23431 void *argp1 = 0 ;
23432 int res1 = 0 ;
23433 PyObject *swig_obj[1] ;
23434
23435 if (!args) SWIG_fail;
23436 swig_obj[0] = args;
23437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23438 if (!SWIG_IsOK(res1)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23440 }
23441 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 (arg1)->OnInternalIdle();
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 resultobj = SWIG_Py_Void();
23449 return resultobj;
23450 fail:
23451 return NULL;
23452 }
23453
23454
23455 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23456 PyObject *obj;
23457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23459 return SWIG_Py_Void();
23460 }
23461
23462 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23463 return SWIG_Python_InitShadowInstance(args);
23464 }
23465
23466 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23467 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23468 return 1;
23469 }
23470
23471
23472 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23473 PyObject *pyobj = 0;
23474
23475 {
23476 #if wxUSE_UNICODE
23477 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23478 #else
23479 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23480 #endif
23481 }
23482 return pyobj;
23483 }
23484
23485
23486 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23487 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23488 return 1;
23489 }
23490
23491
23492 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23493 PyObject *pyobj = 0;
23494
23495 {
23496 #if wxUSE_UNICODE
23497 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23498 #else
23499 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23500 #endif
23501 }
23502 return pyobj;
23503 }
23504
23505
23506 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23507 PyObject *resultobj = 0;
23508 wxPrintData *result = 0 ;
23509
23510 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (wxPrintData *)new wxPrintData();
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
23517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23518 return resultobj;
23519 fail:
23520 return NULL;
23521 }
23522
23523
23524 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23525 PyObject *resultobj = 0;
23526 wxPrintData *arg1 = 0 ;
23527 wxPrintData *result = 0 ;
23528 void *argp1 = 0 ;
23529 int res1 = 0 ;
23530
23531 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23533 if (!SWIG_IsOK(res1)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23535 }
23536 if (!argp1) {
23537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23538 }
23539 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23554 int argc;
23555 PyObject *argv[2];
23556
23557 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23558 --argc;
23559 if (argc == 0) {
23560 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23561 }
23562 if (argc == 1) {
23563 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23564 }
23565
23566 fail:
23567 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23568 return NULL;
23569 }
23570
23571
23572 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23573 PyObject *resultobj = 0;
23574 wxPrintData *arg1 = (wxPrintData *) 0 ;
23575 void *argp1 = 0 ;
23576 int res1 = 0 ;
23577 PyObject *swig_obj[1] ;
23578
23579 if (!args) SWIG_fail;
23580 swig_obj[0] = args;
23581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23582 if (!SWIG_IsOK(res1)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23584 }
23585 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 delete arg1;
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 resultobj = SWIG_Py_Void();
23594 return resultobj;
23595 fail:
23596 return NULL;
23597 }
23598
23599
23600 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23601 PyObject *resultobj = 0;
23602 wxPrintData *arg1 = (wxPrintData *) 0 ;
23603 int result;
23604 void *argp1 = 0 ;
23605 int res1 = 0 ;
23606 PyObject *swig_obj[1] ;
23607
23608 if (!args) SWIG_fail;
23609 swig_obj[0] = args;
23610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23611 if (!SWIG_IsOK(res1)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23613 }
23614 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (int)(arg1)->GetNoCopies();
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 resultobj = SWIG_From_int(static_cast< int >(result));
23622 return resultobj;
23623 fail:
23624 return NULL;
23625 }
23626
23627
23628 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23629 PyObject *resultobj = 0;
23630 wxPrintData *arg1 = (wxPrintData *) 0 ;
23631 bool result;
23632 void *argp1 = 0 ;
23633 int res1 = 0 ;
23634 PyObject *swig_obj[1] ;
23635
23636 if (!args) SWIG_fail;
23637 swig_obj[0] = args;
23638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23639 if (!SWIG_IsOK(res1)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23641 }
23642 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (bool)(arg1)->GetCollate();
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 {
23650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23651 }
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23659 PyObject *resultobj = 0;
23660 wxPrintData *arg1 = (wxPrintData *) 0 ;
23661 int result;
23662 void *argp1 = 0 ;
23663 int res1 = 0 ;
23664 PyObject *swig_obj[1] ;
23665
23666 if (!args) SWIG_fail;
23667 swig_obj[0] = args;
23668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23669 if (!SWIG_IsOK(res1)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23671 }
23672 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (int)(arg1)->GetOrientation();
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 resultobj = SWIG_From_int(static_cast< int >(result));
23680 return resultobj;
23681 fail:
23682 return NULL;
23683 }
23684
23685
23686 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23687 PyObject *resultobj = 0;
23688 wxPrintData *arg1 = (wxPrintData *) 0 ;
23689 bool result;
23690 void *argp1 = 0 ;
23691 int res1 = 0 ;
23692 PyObject *swig_obj[1] ;
23693
23694 if (!args) SWIG_fail;
23695 swig_obj[0] = args;
23696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23697 if (!SWIG_IsOK(res1)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23699 }
23700 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (bool)(arg1)->Ok();
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 {
23708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23717 PyObject *resultobj = 0;
23718 wxPrintData *arg1 = (wxPrintData *) 0 ;
23719 wxString *result = 0 ;
23720 void *argp1 = 0 ;
23721 int res1 = 0 ;
23722 PyObject *swig_obj[1] ;
23723
23724 if (!args) SWIG_fail;
23725 swig_obj[0] = args;
23726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23727 if (!SWIG_IsOK(res1)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23729 }
23730 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 {
23734 wxString const &_result_ref = (arg1)->GetPrinterName();
23735 result = (wxString *) &_result_ref;
23736 }
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 {
23741 #if wxUSE_UNICODE
23742 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23743 #else
23744 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23745 #endif
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxPrintData *arg1 = (wxPrintData *) 0 ;
23756 bool result;
23757 void *argp1 = 0 ;
23758 int res1 = 0 ;
23759 PyObject *swig_obj[1] ;
23760
23761 if (!args) SWIG_fail;
23762 swig_obj[0] = args;
23763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23764 if (!SWIG_IsOK(res1)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 }
23767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (bool)(arg1)->GetColour();
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 {
23775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23776 }
23777 return resultobj;
23778 fail:
23779 return NULL;
23780 }
23781
23782
23783 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23784 PyObject *resultobj = 0;
23785 wxPrintData *arg1 = (wxPrintData *) 0 ;
23786 wxDuplexMode result;
23787 void *argp1 = 0 ;
23788 int res1 = 0 ;
23789 PyObject *swig_obj[1] ;
23790
23791 if (!args) SWIG_fail;
23792 swig_obj[0] = args;
23793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23794 if (!SWIG_IsOK(res1)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23796 }
23797 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = (wxDuplexMode)(arg1)->GetDuplex();
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 resultobj = SWIG_From_int(static_cast< int >(result));
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23812 PyObject *resultobj = 0;
23813 wxPrintData *arg1 = (wxPrintData *) 0 ;
23814 wxPaperSize result;
23815 void *argp1 = 0 ;
23816 int res1 = 0 ;
23817 PyObject *swig_obj[1] ;
23818
23819 if (!args) SWIG_fail;
23820 swig_obj[0] = args;
23821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23822 if (!SWIG_IsOK(res1)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23824 }
23825 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 result = (wxPaperSize)(arg1)->GetPaperId();
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 resultobj = SWIG_From_int(static_cast< int >(result));
23833 return resultobj;
23834 fail:
23835 return NULL;
23836 }
23837
23838
23839 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23840 PyObject *resultobj = 0;
23841 wxPrintData *arg1 = (wxPrintData *) 0 ;
23842 wxSize *result = 0 ;
23843 void *argp1 = 0 ;
23844 int res1 = 0 ;
23845 PyObject *swig_obj[1] ;
23846
23847 if (!args) SWIG_fail;
23848 swig_obj[0] = args;
23849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23850 if (!SWIG_IsOK(res1)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23852 }
23853 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 {
23857 wxSize const &_result_ref = (arg1)->GetPaperSize();
23858 result = (wxSize *) &_result_ref;
23859 }
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23864 return resultobj;
23865 fail:
23866 return NULL;
23867 }
23868
23869
23870 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23871 PyObject *resultobj = 0;
23872 wxPrintData *arg1 = (wxPrintData *) 0 ;
23873 int result;
23874 void *argp1 = 0 ;
23875 int res1 = 0 ;
23876 PyObject *swig_obj[1] ;
23877
23878 if (!args) SWIG_fail;
23879 swig_obj[0] = args;
23880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23881 if (!SWIG_IsOK(res1)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23883 }
23884 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 result = (int)(arg1)->GetQuality();
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 resultobj = SWIG_From_int(static_cast< int >(result));
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23899 PyObject *resultobj = 0;
23900 wxPrintData *arg1 = (wxPrintData *) 0 ;
23901 wxPrintBin result;
23902 void *argp1 = 0 ;
23903 int res1 = 0 ;
23904 PyObject *swig_obj[1] ;
23905
23906 if (!args) SWIG_fail;
23907 swig_obj[0] = args;
23908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23909 if (!SWIG_IsOK(res1)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 }
23912 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (wxPrintBin)(arg1)->GetBin();
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 resultobj = SWIG_From_int(static_cast< int >(result));
23920 return resultobj;
23921 fail:
23922 return NULL;
23923 }
23924
23925
23926 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23927 PyObject *resultobj = 0;
23928 wxPrintData *arg1 = (wxPrintData *) 0 ;
23929 wxPrintMode result;
23930 void *argp1 = 0 ;
23931 int res1 = 0 ;
23932 PyObject *swig_obj[1] ;
23933
23934 if (!args) SWIG_fail;
23935 swig_obj[0] = args;
23936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23937 if (!SWIG_IsOK(res1)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23939 }
23940 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 resultobj = SWIG_From_int(static_cast< int >(result));
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj = 0;
23956 wxPrintData *arg1 = (wxPrintData *) 0 ;
23957 int arg2 ;
23958 void *argp1 = 0 ;
23959 int res1 = 0 ;
23960 int val2 ;
23961 int ecode2 = 0 ;
23962 PyObject * obj0 = 0 ;
23963 PyObject * obj1 = 0 ;
23964 char * kwnames[] = {
23965 (char *) "self",(char *) "v", NULL
23966 };
23967
23968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23970 if (!SWIG_IsOK(res1)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23972 }
23973 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23974 ecode2 = SWIG_AsVal_int(obj1, &val2);
23975 if (!SWIG_IsOK(ecode2)) {
23976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23977 }
23978 arg2 = static_cast< int >(val2);
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 (arg1)->SetNoCopies(arg2);
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 resultobj = SWIG_Py_Void();
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj = 0;
23994 wxPrintData *arg1 = (wxPrintData *) 0 ;
23995 bool arg2 ;
23996 void *argp1 = 0 ;
23997 int res1 = 0 ;
23998 bool val2 ;
23999 int ecode2 = 0 ;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 char * kwnames[] = {
24003 (char *) "self",(char *) "flag", NULL
24004 };
24005
24006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24008 if (!SWIG_IsOK(res1)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24010 }
24011 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24013 if (!SWIG_IsOK(ecode2)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24015 }
24016 arg2 = static_cast< bool >(val2);
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->SetCollate(arg2);
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 resultobj = SWIG_Py_Void();
24024 return resultobj;
24025 fail:
24026 return NULL;
24027 }
24028
24029
24030 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj = 0;
24032 wxPrintData *arg1 = (wxPrintData *) 0 ;
24033 int arg2 ;
24034 void *argp1 = 0 ;
24035 int res1 = 0 ;
24036 int val2 ;
24037 int ecode2 = 0 ;
24038 PyObject * obj0 = 0 ;
24039 PyObject * obj1 = 0 ;
24040 char * kwnames[] = {
24041 (char *) "self",(char *) "orient", NULL
24042 };
24043
24044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24046 if (!SWIG_IsOK(res1)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24048 }
24049 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24050 ecode2 = SWIG_AsVal_int(obj1, &val2);
24051 if (!SWIG_IsOK(ecode2)) {
24052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24053 }
24054 arg2 = static_cast< int >(val2);
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 (arg1)->SetOrientation(arg2);
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 resultobj = SWIG_Py_Void();
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj = 0;
24070 wxPrintData *arg1 = (wxPrintData *) 0 ;
24071 wxString *arg2 = 0 ;
24072 void *argp1 = 0 ;
24073 int res1 = 0 ;
24074 bool temp2 = false ;
24075 PyObject * obj0 = 0 ;
24076 PyObject * obj1 = 0 ;
24077 char * kwnames[] = {
24078 (char *) "self",(char *) "name", NULL
24079 };
24080
24081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24083 if (!SWIG_IsOK(res1)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24085 }
24086 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24087 {
24088 arg2 = wxString_in_helper(obj1);
24089 if (arg2 == NULL) SWIG_fail;
24090 temp2 = true;
24091 }
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 (arg1)->SetPrinterName((wxString const &)*arg2);
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 resultobj = SWIG_Py_Void();
24099 {
24100 if (temp2)
24101 delete arg2;
24102 }
24103 return resultobj;
24104 fail:
24105 {
24106 if (temp2)
24107 delete arg2;
24108 }
24109 return NULL;
24110 }
24111
24112
24113 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj = 0;
24115 wxPrintData *arg1 = (wxPrintData *) 0 ;
24116 bool arg2 ;
24117 void *argp1 = 0 ;
24118 int res1 = 0 ;
24119 bool val2 ;
24120 int ecode2 = 0 ;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 char * kwnames[] = {
24124 (char *) "self",(char *) "colour", NULL
24125 };
24126
24127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24129 if (!SWIG_IsOK(res1)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24131 }
24132 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24133 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24134 if (!SWIG_IsOK(ecode2)) {
24135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24136 }
24137 arg2 = static_cast< bool >(val2);
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 (arg1)->SetColour(arg2);
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = SWIG_Py_Void();
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj = 0;
24153 wxPrintData *arg1 = (wxPrintData *) 0 ;
24154 wxDuplexMode arg2 ;
24155 void *argp1 = 0 ;
24156 int res1 = 0 ;
24157 int val2 ;
24158 int ecode2 = 0 ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char * kwnames[] = {
24162 (char *) "self",(char *) "duplex", NULL
24163 };
24164
24165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24167 if (!SWIG_IsOK(res1)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24169 }
24170 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24171 ecode2 = SWIG_AsVal_int(obj1, &val2);
24172 if (!SWIG_IsOK(ecode2)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24174 }
24175 arg2 = static_cast< wxDuplexMode >(val2);
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 (arg1)->SetDuplex(arg2);
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 resultobj = SWIG_Py_Void();
24183 return resultobj;
24184 fail:
24185 return NULL;
24186 }
24187
24188
24189 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj = 0;
24191 wxPrintData *arg1 = (wxPrintData *) 0 ;
24192 wxPaperSize arg2 ;
24193 void *argp1 = 0 ;
24194 int res1 = 0 ;
24195 int val2 ;
24196 int ecode2 = 0 ;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 char * kwnames[] = {
24200 (char *) "self",(char *) "sizeId", NULL
24201 };
24202
24203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24205 if (!SWIG_IsOK(res1)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24207 }
24208 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24209 ecode2 = SWIG_AsVal_int(obj1, &val2);
24210 if (!SWIG_IsOK(ecode2)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24212 }
24213 arg2 = static_cast< wxPaperSize >(val2);
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 (arg1)->SetPaperId(arg2);
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 resultobj = SWIG_Py_Void();
24221 return resultobj;
24222 fail:
24223 return NULL;
24224 }
24225
24226
24227 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24228 PyObject *resultobj = 0;
24229 wxPrintData *arg1 = (wxPrintData *) 0 ;
24230 wxSize *arg2 = 0 ;
24231 void *argp1 = 0 ;
24232 int res1 = 0 ;
24233 wxSize temp2 ;
24234 PyObject * obj0 = 0 ;
24235 PyObject * obj1 = 0 ;
24236 char * kwnames[] = {
24237 (char *) "self",(char *) "sz", NULL
24238 };
24239
24240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24242 if (!SWIG_IsOK(res1)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24244 }
24245 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24246 {
24247 arg2 = &temp2;
24248 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24249 }
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 (arg1)->SetPaperSize((wxSize const &)*arg2);
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 resultobj = SWIG_Py_Void();
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj = 0;
24265 wxPrintData *arg1 = (wxPrintData *) 0 ;
24266 int arg2 ;
24267 void *argp1 = 0 ;
24268 int res1 = 0 ;
24269 int val2 ;
24270 int ecode2 = 0 ;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 char * kwnames[] = {
24274 (char *) "self",(char *) "quality", NULL
24275 };
24276
24277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24279 if (!SWIG_IsOK(res1)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24281 }
24282 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24283 ecode2 = SWIG_AsVal_int(obj1, &val2);
24284 if (!SWIG_IsOK(ecode2)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24286 }
24287 arg2 = static_cast< int >(val2);
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 (arg1)->SetQuality(arg2);
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 resultobj = SWIG_Py_Void();
24295 return resultobj;
24296 fail:
24297 return NULL;
24298 }
24299
24300
24301 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24302 PyObject *resultobj = 0;
24303 wxPrintData *arg1 = (wxPrintData *) 0 ;
24304 wxPrintBin arg2 ;
24305 void *argp1 = 0 ;
24306 int res1 = 0 ;
24307 int val2 ;
24308 int ecode2 = 0 ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 char * kwnames[] = {
24312 (char *) "self",(char *) "bin", NULL
24313 };
24314
24315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24317 if (!SWIG_IsOK(res1)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24319 }
24320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24321 ecode2 = SWIG_AsVal_int(obj1, &val2);
24322 if (!SWIG_IsOK(ecode2)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24324 }
24325 arg2 = static_cast< wxPrintBin >(val2);
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->SetBin(arg2);
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 resultobj = SWIG_Py_Void();
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj = 0;
24341 wxPrintData *arg1 = (wxPrintData *) 0 ;
24342 wxPrintMode arg2 ;
24343 void *argp1 = 0 ;
24344 int res1 = 0 ;
24345 int val2 ;
24346 int ecode2 = 0 ;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349 char * kwnames[] = {
24350 (char *) "self",(char *) "printMode", NULL
24351 };
24352
24353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24355 if (!SWIG_IsOK(res1)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24357 }
24358 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24359 ecode2 = SWIG_AsVal_int(obj1, &val2);
24360 if (!SWIG_IsOK(ecode2)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24362 }
24363 arg2 = static_cast< wxPrintMode >(val2);
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 (arg1)->SetPrintMode(arg2);
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 resultobj = SWIG_Py_Void();
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24378 PyObject *resultobj = 0;
24379 wxPrintData *arg1 = (wxPrintData *) 0 ;
24380 wxString result;
24381 void *argp1 = 0 ;
24382 int res1 = 0 ;
24383 PyObject *swig_obj[1] ;
24384
24385 if (!args) SWIG_fail;
24386 swig_obj[0] = args;
24387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24388 if (!SWIG_IsOK(res1)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24390 }
24391 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 result = ((wxPrintData const *)arg1)->GetFilename();
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 {
24399 #if wxUSE_UNICODE
24400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24401 #else
24402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24403 #endif
24404 }
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj = 0;
24413 wxPrintData *arg1 = (wxPrintData *) 0 ;
24414 wxString *arg2 = 0 ;
24415 void *argp1 = 0 ;
24416 int res1 = 0 ;
24417 bool temp2 = false ;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char * kwnames[] = {
24421 (char *) "self",(char *) "filename", NULL
24422 };
24423
24424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24426 if (!SWIG_IsOK(res1)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24428 }
24429 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24430 {
24431 arg2 = wxString_in_helper(obj1);
24432 if (arg2 == NULL) SWIG_fail;
24433 temp2 = true;
24434 }
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 (arg1)->SetFilename((wxString const &)*arg2);
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 resultobj = SWIG_Py_Void();
24442 {
24443 if (temp2)
24444 delete arg2;
24445 }
24446 return resultobj;
24447 fail:
24448 {
24449 if (temp2)
24450 delete arg2;
24451 }
24452 return NULL;
24453 }
24454
24455
24456 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24457 PyObject *resultobj = 0;
24458 wxPrintData *arg1 = (wxPrintData *) 0 ;
24459 PyObject *result = 0 ;
24460 void *argp1 = 0 ;
24461 int res1 = 0 ;
24462 PyObject *swig_obj[1] ;
24463
24464 if (!args) SWIG_fail;
24465 swig_obj[0] = args;
24466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24467 if (!SWIG_IsOK(res1)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24469 }
24470 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 resultobj = result;
24478 return resultobj;
24479 fail:
24480 return NULL;
24481 }
24482
24483
24484 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24485 PyObject *resultobj = 0;
24486 wxPrintData *arg1 = (wxPrintData *) 0 ;
24487 PyObject *arg2 = (PyObject *) 0 ;
24488 void *argp1 = 0 ;
24489 int res1 = 0 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "data", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24498 if (!SWIG_IsOK(res1)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 }
24501 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24502 arg2 = obj1;
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 wxPrintData_SetPrivData(arg1,arg2);
24506 wxPyEndAllowThreads(__tstate);
24507 if (PyErr_Occurred()) SWIG_fail;
24508 }
24509 resultobj = SWIG_Py_Void();
24510 return resultobj;
24511 fail:
24512 return NULL;
24513 }
24514
24515
24516 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24517 PyObject *obj;
24518 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24520 return SWIG_Py_Void();
24521 }
24522
24523 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24524 return SWIG_Python_InitShadowInstance(args);
24525 }
24526
24527 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24528 PyObject *resultobj = 0;
24529 wxPageSetupDialogData *result = 0 ;
24530
24531 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24546 PyObject *resultobj = 0;
24547 wxPageSetupDialogData *arg1 = 0 ;
24548 wxPageSetupDialogData *result = 0 ;
24549 void *argp1 = 0 ;
24550 int res1 = 0 ;
24551
24552 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24554 if (!SWIG_IsOK(res1)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24556 }
24557 if (!argp1) {
24558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24559 }
24560 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24564 wxPyEndAllowThreads(__tstate);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24568 return resultobj;
24569 fail:
24570 return NULL;
24571 }
24572
24573
24574 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24575 PyObject *resultobj = 0;
24576 wxPrintData *arg1 = 0 ;
24577 wxPageSetupDialogData *result = 0 ;
24578 void *argp1 = 0 ;
24579 int res1 = 0 ;
24580
24581 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24583 if (!SWIG_IsOK(res1)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24585 }
24586 if (!argp1) {
24587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24588 }
24589 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24604 int argc;
24605 PyObject *argv[2];
24606
24607 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24608 --argc;
24609 if (argc == 0) {
24610 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24611 }
24612 if (argc == 1) {
24613 int _v = 0;
24614 {
24615 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24616 _v = SWIG_CheckState(res);
24617 }
24618 if (!_v) goto check_2;
24619 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24620 }
24621 check_2:
24622
24623 if (argc == 1) {
24624 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24625 }
24626
24627 fail:
24628 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24629 return NULL;
24630 }
24631
24632
24633 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24634 PyObject *resultobj = 0;
24635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24636 void *argp1 = 0 ;
24637 int res1 = 0 ;
24638 PyObject *swig_obj[1] ;
24639
24640 if (!args) SWIG_fail;
24641 swig_obj[0] = args;
24642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24643 if (!SWIG_IsOK(res1)) {
24644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24645 }
24646 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 delete arg1;
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 resultobj = SWIG_Py_Void();
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj = 0;
24663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24664 bool arg2 ;
24665 void *argp1 = 0 ;
24666 int res1 = 0 ;
24667 bool val2 ;
24668 int ecode2 = 0 ;
24669 PyObject * obj0 = 0 ;
24670 PyObject * obj1 = 0 ;
24671 char * kwnames[] = {
24672 (char *) "self",(char *) "flag", NULL
24673 };
24674
24675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24677 if (!SWIG_IsOK(res1)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24679 }
24680 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24681 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24682 if (!SWIG_IsOK(ecode2)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24684 }
24685 arg2 = static_cast< bool >(val2);
24686 {
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 (arg1)->EnableHelp(arg2);
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = SWIG_Py_Void();
24693 return resultobj;
24694 fail:
24695 return NULL;
24696 }
24697
24698
24699 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj = 0;
24701 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24702 bool arg2 ;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705 bool val2 ;
24706 int ecode2 = 0 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 char * kwnames[] = {
24710 (char *) "self",(char *) "flag", NULL
24711 };
24712
24713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24717 }
24718 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24720 if (!SWIG_IsOK(ecode2)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24722 }
24723 arg2 = static_cast< bool >(val2);
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->EnableMargins(arg2);
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 resultobj = SWIG_Py_Void();
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj = 0;
24739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24740 bool arg2 ;
24741 void *argp1 = 0 ;
24742 int res1 = 0 ;
24743 bool val2 ;
24744 int ecode2 = 0 ;
24745 PyObject * obj0 = 0 ;
24746 PyObject * obj1 = 0 ;
24747 char * kwnames[] = {
24748 (char *) "self",(char *) "flag", NULL
24749 };
24750
24751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24755 }
24756 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24757 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24758 if (!SWIG_IsOK(ecode2)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24760 }
24761 arg2 = static_cast< bool >(val2);
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->EnableOrientation(arg2);
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 resultobj = SWIG_Py_Void();
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj = 0;
24777 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24778 bool arg2 ;
24779 void *argp1 = 0 ;
24780 int res1 = 0 ;
24781 bool val2 ;
24782 int ecode2 = 0 ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 char * kwnames[] = {
24786 (char *) "self",(char *) "flag", NULL
24787 };
24788
24789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24791 if (!SWIG_IsOK(res1)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24793 }
24794 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24796 if (!SWIG_IsOK(ecode2)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24798 }
24799 arg2 = static_cast< bool >(val2);
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->EnablePaper(arg2);
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_Py_Void();
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj = 0;
24815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24816 bool arg2 ;
24817 void *argp1 = 0 ;
24818 int res1 = 0 ;
24819 bool val2 ;
24820 int ecode2 = 0 ;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 char * kwnames[] = {
24824 (char *) "self",(char *) "flag", NULL
24825 };
24826
24827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24829 if (!SWIG_IsOK(res1)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24831 }
24832 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24833 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24834 if (!SWIG_IsOK(ecode2)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24836 }
24837 arg2 = static_cast< bool >(val2);
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 (arg1)->EnablePrinter(arg2);
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 resultobj = SWIG_Py_Void();
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24852 PyObject *resultobj = 0;
24853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24854 bool result;
24855 void *argp1 = 0 ;
24856 int res1 = 0 ;
24857 PyObject *swig_obj[1] ;
24858
24859 if (!args) SWIG_fail;
24860 swig_obj[0] = args;
24861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24862 if (!SWIG_IsOK(res1)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24864 }
24865 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (bool)(arg1)->GetDefaultMinMargins();
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 {
24873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24874 }
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24882 PyObject *resultobj = 0;
24883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24884 bool result;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 PyObject *swig_obj[1] ;
24888
24889 if (!args) SWIG_fail;
24890 swig_obj[0] = args;
24891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24892 if (!SWIG_IsOK(res1)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24894 }
24895 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (bool)(arg1)->GetEnableMargins();
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 {
24903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24904 }
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24912 PyObject *resultobj = 0;
24913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24914 bool result;
24915 void *argp1 = 0 ;
24916 int res1 = 0 ;
24917 PyObject *swig_obj[1] ;
24918
24919 if (!args) SWIG_fail;
24920 swig_obj[0] = args;
24921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24922 if (!SWIG_IsOK(res1)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24924 }
24925 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24926 {
24927 PyThreadState* __tstate = wxPyBeginAllowThreads();
24928 result = (bool)(arg1)->GetEnableOrientation();
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 {
24933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24934 }
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24942 PyObject *resultobj = 0;
24943 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24944 bool result;
24945 void *argp1 = 0 ;
24946 int res1 = 0 ;
24947 PyObject *swig_obj[1] ;
24948
24949 if (!args) SWIG_fail;
24950 swig_obj[0] = args;
24951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24952 if (!SWIG_IsOK(res1)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24954 }
24955 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 result = (bool)(arg1)->GetEnablePaper();
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 {
24963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24964 }
24965 return resultobj;
24966 fail:
24967 return NULL;
24968 }
24969
24970
24971 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24972 PyObject *resultobj = 0;
24973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24974 bool result;
24975 void *argp1 = 0 ;
24976 int res1 = 0 ;
24977 PyObject *swig_obj[1] ;
24978
24979 if (!args) SWIG_fail;
24980 swig_obj[0] = args;
24981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 result = (bool)(arg1)->GetEnablePrinter();
24989 wxPyEndAllowThreads(__tstate);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 {
24993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24994 }
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25002 PyObject *resultobj = 0;
25003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25004 bool result;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 PyObject *swig_obj[1] ;
25008
25009 if (!args) SWIG_fail;
25010 swig_obj[0] = args;
25011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25012 if (!SWIG_IsOK(res1)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25014 }
25015 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = (bool)(arg1)->GetEnableHelp();
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
25023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25024 }
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25032 PyObject *resultobj = 0;
25033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25034 bool result;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 PyObject *swig_obj[1] ;
25038
25039 if (!args) SWIG_fail;
25040 swig_obj[0] = args;
25041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25042 if (!SWIG_IsOK(res1)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 }
25045 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 result = (bool)(arg1)->GetDefaultInfo();
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 {
25053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25054 }
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25062 PyObject *resultobj = 0;
25063 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25064 wxPoint result;
25065 void *argp1 = 0 ;
25066 int res1 = 0 ;
25067 PyObject *swig_obj[1] ;
25068
25069 if (!args) SWIG_fail;
25070 swig_obj[0] = args;
25071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25072 if (!SWIG_IsOK(res1)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25074 }
25075 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = (arg1)->GetMarginTopLeft();
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25083 return resultobj;
25084 fail:
25085 return NULL;
25086 }
25087
25088
25089 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25090 PyObject *resultobj = 0;
25091 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25092 wxPoint result;
25093 void *argp1 = 0 ;
25094 int res1 = 0 ;
25095 PyObject *swig_obj[1] ;
25096
25097 if (!args) SWIG_fail;
25098 swig_obj[0] = args;
25099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25100 if (!SWIG_IsOK(res1)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25102 }
25103 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 result = (arg1)->GetMarginBottomRight();
25107 wxPyEndAllowThreads(__tstate);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 }
25110 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25111 return resultobj;
25112 fail:
25113 return NULL;
25114 }
25115
25116
25117 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25118 PyObject *resultobj = 0;
25119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25120 wxPoint result;
25121 void *argp1 = 0 ;
25122 int res1 = 0 ;
25123 PyObject *swig_obj[1] ;
25124
25125 if (!args) SWIG_fail;
25126 swig_obj[0] = args;
25127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25128 if (!SWIG_IsOK(res1)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25130 }
25131 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 result = (arg1)->GetMinMarginTopLeft();
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25139 return resultobj;
25140 fail:
25141 return NULL;
25142 }
25143
25144
25145 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25146 PyObject *resultobj = 0;
25147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25148 wxPoint result;
25149 void *argp1 = 0 ;
25150 int res1 = 0 ;
25151 PyObject *swig_obj[1] ;
25152
25153 if (!args) SWIG_fail;
25154 swig_obj[0] = args;
25155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25156 if (!SWIG_IsOK(res1)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25158 }
25159 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25160 {
25161 PyThreadState* __tstate = wxPyBeginAllowThreads();
25162 result = (arg1)->GetMinMarginBottomRight();
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25174 PyObject *resultobj = 0;
25175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25176 wxPaperSize result;
25177 void *argp1 = 0 ;
25178 int res1 = 0 ;
25179 PyObject *swig_obj[1] ;
25180
25181 if (!args) SWIG_fail;
25182 swig_obj[0] = args;
25183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25184 if (!SWIG_IsOK(res1)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25186 }
25187 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (wxPaperSize)(arg1)->GetPaperId();
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = SWIG_From_int(static_cast< int >(result));
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25202 PyObject *resultobj = 0;
25203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25204 wxSize result;
25205 void *argp1 = 0 ;
25206 int res1 = 0 ;
25207 PyObject *swig_obj[1] ;
25208
25209 if (!args) SWIG_fail;
25210 swig_obj[0] = args;
25211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25212 if (!SWIG_IsOK(res1)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25214 }
25215 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 result = (arg1)->GetPaperSize();
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25223 return resultobj;
25224 fail:
25225 return NULL;
25226 }
25227
25228
25229 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25230 PyObject *resultobj = 0;
25231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25232 wxPrintData *result = 0 ;
25233 void *argp1 = 0 ;
25234 int res1 = 0 ;
25235 PyObject *swig_obj[1] ;
25236
25237 if (!args) SWIG_fail;
25238 swig_obj[0] = args;
25239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25240 if (!SWIG_IsOK(res1)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25242 }
25243 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25244 {
25245 PyThreadState* __tstate = wxPyBeginAllowThreads();
25246 {
25247 wxPrintData &_result_ref = (arg1)->GetPrintData();
25248 result = (wxPrintData *) &_result_ref;
25249 }
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25254 return resultobj;
25255 fail:
25256 return NULL;
25257 }
25258
25259
25260 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25261 PyObject *resultobj = 0;
25262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25263 bool result;
25264 void *argp1 = 0 ;
25265 int res1 = 0 ;
25266 PyObject *swig_obj[1] ;
25267
25268 if (!args) SWIG_fail;
25269 swig_obj[0] = args;
25270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25271 if (!SWIG_IsOK(res1)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25273 }
25274 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 result = (bool)(arg1)->Ok();
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 {
25282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25283 }
25284 return resultobj;
25285 fail:
25286 return NULL;
25287 }
25288
25289
25290 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25291 PyObject *resultobj = 0;
25292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25293 bool arg2 ;
25294 void *argp1 = 0 ;
25295 int res1 = 0 ;
25296 bool val2 ;
25297 int ecode2 = 0 ;
25298 PyObject * obj0 = 0 ;
25299 PyObject * obj1 = 0 ;
25300 char * kwnames[] = {
25301 (char *) "self",(char *) "flag", NULL
25302 };
25303
25304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25306 if (!SWIG_IsOK(res1)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25308 }
25309 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25311 if (!SWIG_IsOK(ecode2)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25313 }
25314 arg2 = static_cast< bool >(val2);
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 (arg1)->SetDefaultInfo(arg2);
25318 wxPyEndAllowThreads(__tstate);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
25321 resultobj = SWIG_Py_Void();
25322 return resultobj;
25323 fail:
25324 return NULL;
25325 }
25326
25327
25328 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25329 PyObject *resultobj = 0;
25330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25331 bool arg2 ;
25332 void *argp1 = 0 ;
25333 int res1 = 0 ;
25334 bool val2 ;
25335 int ecode2 = 0 ;
25336 PyObject * obj0 = 0 ;
25337 PyObject * obj1 = 0 ;
25338 char * kwnames[] = {
25339 (char *) "self",(char *) "flag", NULL
25340 };
25341
25342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25344 if (!SWIG_IsOK(res1)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25346 }
25347 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25348 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25349 if (!SWIG_IsOK(ecode2)) {
25350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25351 }
25352 arg2 = static_cast< bool >(val2);
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 (arg1)->SetDefaultMinMargins(arg2);
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 resultobj = SWIG_Py_Void();
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj = 0;
25368 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25369 wxPoint *arg2 = 0 ;
25370 void *argp1 = 0 ;
25371 int res1 = 0 ;
25372 wxPoint temp2 ;
25373 PyObject * obj0 = 0 ;
25374 PyObject * obj1 = 0 ;
25375 char * kwnames[] = {
25376 (char *) "self",(char *) "pt", NULL
25377 };
25378
25379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25381 if (!SWIG_IsOK(res1)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25383 }
25384 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25385 {
25386 arg2 = &temp2;
25387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25388 }
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 resultobj = SWIG_Py_Void();
25396 return resultobj;
25397 fail:
25398 return NULL;
25399 }
25400
25401
25402 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj = 0;
25404 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25405 wxPoint *arg2 = 0 ;
25406 void *argp1 = 0 ;
25407 int res1 = 0 ;
25408 wxPoint temp2 ;
25409 PyObject * obj0 = 0 ;
25410 PyObject * obj1 = 0 ;
25411 char * kwnames[] = {
25412 (char *) "self",(char *) "pt", NULL
25413 };
25414
25415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25417 if (!SWIG_IsOK(res1)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 }
25420 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25421 {
25422 arg2 = &temp2;
25423 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25424 }
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = SWIG_Py_Void();
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj = 0;
25440 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25441 wxPoint *arg2 = 0 ;
25442 void *argp1 = 0 ;
25443 int res1 = 0 ;
25444 wxPoint temp2 ;
25445 PyObject * obj0 = 0 ;
25446 PyObject * obj1 = 0 ;
25447 char * kwnames[] = {
25448 (char *) "self",(char *) "pt", NULL
25449 };
25450
25451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25453 if (!SWIG_IsOK(res1)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25455 }
25456 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25457 {
25458 arg2 = &temp2;
25459 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25460 }
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 resultobj = SWIG_Py_Void();
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj = 0;
25476 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25477 wxPoint *arg2 = 0 ;
25478 void *argp1 = 0 ;
25479 int res1 = 0 ;
25480 wxPoint temp2 ;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 char * kwnames[] = {
25484 (char *) "self",(char *) "pt", NULL
25485 };
25486
25487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25489 if (!SWIG_IsOK(res1)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25491 }
25492 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25493 {
25494 arg2 = &temp2;
25495 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25500 wxPyEndAllowThreads(__tstate);
25501 if (PyErr_Occurred()) SWIG_fail;
25502 }
25503 resultobj = SWIG_Py_Void();
25504 return resultobj;
25505 fail:
25506 return NULL;
25507 }
25508
25509
25510 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25511 PyObject *resultobj = 0;
25512 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25513 wxPaperSize arg2 ;
25514 void *argp1 = 0 ;
25515 int res1 = 0 ;
25516 int val2 ;
25517 int ecode2 = 0 ;
25518 PyObject * obj0 = 0 ;
25519 PyObject * obj1 = 0 ;
25520 char * kwnames[] = {
25521 (char *) "self",(char *) "id", NULL
25522 };
25523
25524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25526 if (!SWIG_IsOK(res1)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25528 }
25529 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25530 ecode2 = SWIG_AsVal_int(obj1, &val2);
25531 if (!SWIG_IsOK(ecode2)) {
25532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25533 }
25534 arg2 = static_cast< wxPaperSize >(val2);
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
25537 (arg1)->SetPaperId(arg2);
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 resultobj = SWIG_Py_Void();
25542 return resultobj;
25543 fail:
25544 return NULL;
25545 }
25546
25547
25548 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25549 PyObject *resultobj = 0;
25550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25551 wxSize *arg2 = 0 ;
25552 void *argp1 = 0 ;
25553 int res1 = 0 ;
25554 wxSize temp2 ;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char * kwnames[] = {
25558 (char *) "self",(char *) "size", NULL
25559 };
25560
25561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25563 if (!SWIG_IsOK(res1)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25565 }
25566 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25567 {
25568 arg2 = &temp2;
25569 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25570 }
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 (arg1)->SetPaperSize((wxSize const &)*arg2);
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_Py_Void();
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj = 0;
25586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25587 wxPrintData *arg2 = 0 ;
25588 void *argp1 = 0 ;
25589 int res1 = 0 ;
25590 void *argp2 = 0 ;
25591 int res2 = 0 ;
25592 PyObject * obj0 = 0 ;
25593 PyObject * obj1 = 0 ;
25594 char * kwnames[] = {
25595 (char *) "self",(char *) "printData", NULL
25596 };
25597
25598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25600 if (!SWIG_IsOK(res1)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25602 }
25603 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25605 if (!SWIG_IsOK(res2)) {
25606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25607 }
25608 if (!argp2) {
25609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25610 }
25611 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_Py_Void();
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25626 PyObject *resultobj = 0;
25627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25628 void *argp1 = 0 ;
25629 int res1 = 0 ;
25630 PyObject *swig_obj[1] ;
25631
25632 if (!args) SWIG_fail;
25633 swig_obj[0] = args;
25634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25635 if (!SWIG_IsOK(res1)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25637 }
25638 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 (arg1)->CalculateIdFromPaperSize();
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 resultobj = SWIG_Py_Void();
25646 return resultobj;
25647 fail:
25648 return NULL;
25649 }
25650
25651
25652 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25653 PyObject *resultobj = 0;
25654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25655 void *argp1 = 0 ;
25656 int res1 = 0 ;
25657 PyObject *swig_obj[1] ;
25658
25659 if (!args) SWIG_fail;
25660 swig_obj[0] = args;
25661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25662 if (!SWIG_IsOK(res1)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25664 }
25665 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 (arg1)->CalculatePaperSizeFromId();
25669 wxPyEndAllowThreads(__tstate);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 }
25672 resultobj = SWIG_Py_Void();
25673 return resultobj;
25674 fail:
25675 return NULL;
25676 }
25677
25678
25679 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25680 PyObject *obj;
25681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25683 return SWIG_Py_Void();
25684 }
25685
25686 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25687 return SWIG_Python_InitShadowInstance(args);
25688 }
25689
25690 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj = 0;
25692 wxWindow *arg1 = (wxWindow *) 0 ;
25693 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25694 wxPageSetupDialog *result = 0 ;
25695 void *argp1 = 0 ;
25696 int res1 = 0 ;
25697 void *argp2 = 0 ;
25698 int res2 = 0 ;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
25701 char * kwnames[] = {
25702 (char *) "parent",(char *) "data", NULL
25703 };
25704
25705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25707 if (!SWIG_IsOK(res1)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25709 }
25710 arg1 = reinterpret_cast< wxWindow * >(argp1);
25711 if (obj1) {
25712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25713 if (!SWIG_IsOK(res2)) {
25714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25715 }
25716 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25717 }
25718 {
25719 if (!wxPyCheckForApp()) SWIG_fail;
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25722 wxPyEndAllowThreads(__tstate);
25723 if (PyErr_Occurred()) SWIG_fail;
25724 }
25725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25726 return resultobj;
25727 fail:
25728 return NULL;
25729 }
25730
25731
25732 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25733 PyObject *resultobj = 0;
25734 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25735 void *argp1 = 0 ;
25736 int res1 = 0 ;
25737 PyObject *swig_obj[1] ;
25738
25739 if (!args) SWIG_fail;
25740 swig_obj[0] = args;
25741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25742 if (!SWIG_IsOK(res1)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25744 }
25745 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25746 {
25747 PyThreadState* __tstate = wxPyBeginAllowThreads();
25748 delete arg1;
25749
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 resultobj = SWIG_Py_Void();
25754 return resultobj;
25755 fail:
25756 return NULL;
25757 }
25758
25759
25760 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25761 PyObject *resultobj = 0;
25762 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25763 wxPageSetupDialogData *result = 0 ;
25764 void *argp1 = 0 ;
25765 int res1 = 0 ;
25766 PyObject *swig_obj[1] ;
25767
25768 if (!args) SWIG_fail;
25769 swig_obj[0] = args;
25770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25771 if (!SWIG_IsOK(res1)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25773 }
25774 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 {
25778 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25779 result = (wxPageSetupDialogData *) &_result_ref;
25780 }
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
25784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25785 return resultobj;
25786 fail:
25787 return NULL;
25788 }
25789
25790
25791 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25792 PyObject *resultobj = 0;
25793 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25794 wxPageSetupDialogData *result = 0 ;
25795 void *argp1 = 0 ;
25796 int res1 = 0 ;
25797 PyObject *swig_obj[1] ;
25798
25799 if (!args) SWIG_fail;
25800 swig_obj[0] = args;
25801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25802 if (!SWIG_IsOK(res1)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25804 }
25805 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 {
25809 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25810 result = (wxPageSetupDialogData *) &_result_ref;
25811 }
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25823 PyObject *resultobj = 0;
25824 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25825 int result;
25826 void *argp1 = 0 ;
25827 int res1 = 0 ;
25828 PyObject *swig_obj[1] ;
25829
25830 if (!args) SWIG_fail;
25831 swig_obj[0] = args;
25832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25833 if (!SWIG_IsOK(res1)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25835 }
25836 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25837 {
25838 PyThreadState* __tstate = wxPyBeginAllowThreads();
25839 result = (int)(arg1)->ShowModal();
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 resultobj = SWIG_From_int(static_cast< int >(result));
25844 return resultobj;
25845 fail:
25846 return NULL;
25847 }
25848
25849
25850 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25851 PyObject *obj;
25852 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25854 return SWIG_Py_Void();
25855 }
25856
25857 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25858 return SWIG_Python_InitShadowInstance(args);
25859 }
25860
25861 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25862 PyObject *resultobj = 0;
25863 wxPrintDialogData *result = 0 ;
25864
25865 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (wxPrintDialogData *)new wxPrintDialogData();
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25873 return resultobj;
25874 fail:
25875 return NULL;
25876 }
25877
25878
25879 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25880 PyObject *resultobj = 0;
25881 wxPrintData *arg1 = 0 ;
25882 wxPrintDialogData *result = 0 ;
25883 void *argp1 = 0 ;
25884 int res1 = 0 ;
25885
25886 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25888 if (!SWIG_IsOK(res1)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25890 }
25891 if (!argp1) {
25892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25893 }
25894 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25909 PyObject *resultobj = 0;
25910 wxPrintDialogData *arg1 = 0 ;
25911 wxPrintDialogData *result = 0 ;
25912 void *argp1 = 0 ;
25913 int res1 = 0 ;
25914
25915 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25917 if (!SWIG_IsOK(res1)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25919 }
25920 if (!argp1) {
25921 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25922 }
25923 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25924 {
25925 PyThreadState* __tstate = wxPyBeginAllowThreads();
25926 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25938 int argc;
25939 PyObject *argv[2];
25940
25941 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25942 --argc;
25943 if (argc == 0) {
25944 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25945 }
25946 if (argc == 1) {
25947 int _v = 0;
25948 {
25949 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25950 _v = SWIG_CheckState(res);
25951 }
25952 if (!_v) goto check_2;
25953 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25954 }
25955 check_2:
25956
25957 if (argc == 1) {
25958 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25959 }
25960
25961 fail:
25962 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25963 return NULL;
25964 }
25965
25966
25967 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25968 PyObject *resultobj = 0;
25969 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25970 void *argp1 = 0 ;
25971 int res1 = 0 ;
25972 PyObject *swig_obj[1] ;
25973
25974 if (!args) SWIG_fail;
25975 swig_obj[0] = args;
25976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25977 if (!SWIG_IsOK(res1)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25979 }
25980 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25981 {
25982 PyThreadState* __tstate = wxPyBeginAllowThreads();
25983 delete arg1;
25984
25985 wxPyEndAllowThreads(__tstate);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
25988 resultobj = SWIG_Py_Void();
25989 return resultobj;
25990 fail:
25991 return NULL;
25992 }
25993
25994
25995 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25996 PyObject *resultobj = 0;
25997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25998 int result;
25999 void *argp1 = 0 ;
26000 int res1 = 0 ;
26001 PyObject *swig_obj[1] ;
26002
26003 if (!args) SWIG_fail;
26004 swig_obj[0] = args;
26005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26006 if (!SWIG_IsOK(res1)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26008 }
26009 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 resultobj = SWIG_From_int(static_cast< int >(result));
26017 return resultobj;
26018 fail:
26019 return NULL;
26020 }
26021
26022
26023 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26024 PyObject *resultobj = 0;
26025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26026 int result;
26027 void *argp1 = 0 ;
26028 int res1 = 0 ;
26029 PyObject *swig_obj[1] ;
26030
26031 if (!args) SWIG_fail;
26032 swig_obj[0] = args;
26033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26034 if (!SWIG_IsOK(res1)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26036 }
26037 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 resultobj = SWIG_From_int(static_cast< int >(result));
26045 return resultobj;
26046 fail:
26047 return NULL;
26048 }
26049
26050
26051 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26052 PyObject *resultobj = 0;
26053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26054 int result;
26055 void *argp1 = 0 ;
26056 int res1 = 0 ;
26057 PyObject *swig_obj[1] ;
26058
26059 if (!args) SWIG_fail;
26060 swig_obj[0] = args;
26061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26062 if (!SWIG_IsOK(res1)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26064 }
26065 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 resultobj = SWIG_From_int(static_cast< int >(result));
26073 return resultobj;
26074 fail:
26075 return NULL;
26076 }
26077
26078
26079 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26080 PyObject *resultobj = 0;
26081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26082 int result;
26083 void *argp1 = 0 ;
26084 int res1 = 0 ;
26085 PyObject *swig_obj[1] ;
26086
26087 if (!args) SWIG_fail;
26088 swig_obj[0] = args;
26089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26090 if (!SWIG_IsOK(res1)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26092 }
26093 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26094 {
26095 PyThreadState* __tstate = wxPyBeginAllowThreads();
26096 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 resultobj = SWIG_From_int(static_cast< int >(result));
26101 return resultobj;
26102 fail:
26103 return NULL;
26104 }
26105
26106
26107 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26108 PyObject *resultobj = 0;
26109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26110 int result;
26111 void *argp1 = 0 ;
26112 int res1 = 0 ;
26113 PyObject *swig_obj[1] ;
26114
26115 if (!args) SWIG_fail;
26116 swig_obj[0] = args;
26117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26118 if (!SWIG_IsOK(res1)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26120 }
26121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 resultobj = SWIG_From_int(static_cast< int >(result));
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26136 PyObject *resultobj = 0;
26137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26138 bool result;
26139 void *argp1 = 0 ;
26140 int res1 = 0 ;
26141 PyObject *swig_obj[1] ;
26142
26143 if (!args) SWIG_fail;
26144 swig_obj[0] = args;
26145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26146 if (!SWIG_IsOK(res1)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26148 }
26149 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
26157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26158 }
26159 return resultobj;
26160 fail:
26161 return NULL;
26162 }
26163
26164
26165 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26166 PyObject *resultobj = 0;
26167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26168 bool result;
26169 void *argp1 = 0 ;
26170 int res1 = 0 ;
26171 PyObject *swig_obj[1] ;
26172
26173 if (!args) SWIG_fail;
26174 swig_obj[0] = args;
26175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26176 if (!SWIG_IsOK(res1)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26178 }
26179 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26198 bool result;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 PyObject *swig_obj[1] ;
26202
26203 if (!args) SWIG_fail;
26204 swig_obj[0] = args;
26205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26206 if (!SWIG_IsOK(res1)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26208 }
26209 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 {
26217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26218 }
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26226 PyObject *resultobj = 0;
26227 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26228 bool result;
26229 void *argp1 = 0 ;
26230 int res1 = 0 ;
26231 PyObject *swig_obj[1] ;
26232
26233 if (!args) SWIG_fail;
26234 swig_obj[0] = args;
26235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26236 if (!SWIG_IsOK(res1)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26238 }
26239 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 {
26247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26248 }
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj = 0;
26257 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26258 int arg2 ;
26259 void *argp1 = 0 ;
26260 int res1 = 0 ;
26261 int val2 ;
26262 int ecode2 = 0 ;
26263 PyObject * obj0 = 0 ;
26264 PyObject * obj1 = 0 ;
26265 char * kwnames[] = {
26266 (char *) "self",(char *) "v", NULL
26267 };
26268
26269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26271 if (!SWIG_IsOK(res1)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26273 }
26274 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26275 ecode2 = SWIG_AsVal_int(obj1, &val2);
26276 if (!SWIG_IsOK(ecode2)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26278 }
26279 arg2 = static_cast< int >(val2);
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetFromPage(arg2);
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 resultobj = SWIG_Py_Void();
26287 return resultobj;
26288 fail:
26289 return NULL;
26290 }
26291
26292
26293 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26294 PyObject *resultobj = 0;
26295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26296 int arg2 ;
26297 void *argp1 = 0 ;
26298 int res1 = 0 ;
26299 int val2 ;
26300 int ecode2 = 0 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char * kwnames[] = {
26304 (char *) "self",(char *) "v", NULL
26305 };
26306
26307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26309 if (!SWIG_IsOK(res1)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26311 }
26312 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26313 ecode2 = SWIG_AsVal_int(obj1, &val2);
26314 if (!SWIG_IsOK(ecode2)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26316 }
26317 arg2 = static_cast< int >(val2);
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->SetToPage(arg2);
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 resultobj = SWIG_Py_Void();
26325 return resultobj;
26326 fail:
26327 return NULL;
26328 }
26329
26330
26331 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26332 PyObject *resultobj = 0;
26333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26334 int arg2 ;
26335 void *argp1 = 0 ;
26336 int res1 = 0 ;
26337 int val2 ;
26338 int ecode2 = 0 ;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 char * kwnames[] = {
26342 (char *) "self",(char *) "v", NULL
26343 };
26344
26345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26347 if (!SWIG_IsOK(res1)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26349 }
26350 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26351 ecode2 = SWIG_AsVal_int(obj1, &val2);
26352 if (!SWIG_IsOK(ecode2)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26354 }
26355 arg2 = static_cast< int >(val2);
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->SetMinPage(arg2);
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 resultobj = SWIG_Py_Void();
26363 return resultobj;
26364 fail:
26365 return NULL;
26366 }
26367
26368
26369 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26370 PyObject *resultobj = 0;
26371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26372 int arg2 ;
26373 void *argp1 = 0 ;
26374 int res1 = 0 ;
26375 int val2 ;
26376 int ecode2 = 0 ;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 char * kwnames[] = {
26380 (char *) "self",(char *) "v", NULL
26381 };
26382
26383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26385 if (!SWIG_IsOK(res1)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26387 }
26388 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26389 ecode2 = SWIG_AsVal_int(obj1, &val2);
26390 if (!SWIG_IsOK(ecode2)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26392 }
26393 arg2 = static_cast< int >(val2);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 (arg1)->SetMaxPage(arg2);
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_Py_Void();
26401 return resultobj;
26402 fail:
26403 return NULL;
26404 }
26405
26406
26407 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26408 PyObject *resultobj = 0;
26409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26410 int arg2 ;
26411 void *argp1 = 0 ;
26412 int res1 = 0 ;
26413 int val2 ;
26414 int ecode2 = 0 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 char * kwnames[] = {
26418 (char *) "self",(char *) "v", NULL
26419 };
26420
26421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26423 if (!SWIG_IsOK(res1)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26425 }
26426 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26427 ecode2 = SWIG_AsVal_int(obj1, &val2);
26428 if (!SWIG_IsOK(ecode2)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26430 }
26431 arg2 = static_cast< int >(val2);
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 (arg1)->SetNoCopies(arg2);
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
26438 resultobj = SWIG_Py_Void();
26439 return resultobj;
26440 fail:
26441 return NULL;
26442 }
26443
26444
26445 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26446 PyObject *resultobj = 0;
26447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26448 bool arg2 ;
26449 void *argp1 = 0 ;
26450 int res1 = 0 ;
26451 bool val2 ;
26452 int ecode2 = 0 ;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 char * kwnames[] = {
26456 (char *) "self",(char *) "flag", NULL
26457 };
26458
26459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26461 if (!SWIG_IsOK(res1)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26463 }
26464 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26466 if (!SWIG_IsOK(ecode2)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26468 }
26469 arg2 = static_cast< bool >(val2);
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 (arg1)->SetAllPages(arg2);
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 resultobj = SWIG_Py_Void();
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj = 0;
26485 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26486 bool arg2 ;
26487 void *argp1 = 0 ;
26488 int res1 = 0 ;
26489 bool val2 ;
26490 int ecode2 = 0 ;
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 char * kwnames[] = {
26494 (char *) "self",(char *) "flag", NULL
26495 };
26496
26497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26504 if (!SWIG_IsOK(ecode2)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26506 }
26507 arg2 = static_cast< bool >(val2);
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 (arg1)->SetSelection(arg2);
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_Py_Void();
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj = 0;
26523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26524 bool arg2 ;
26525 void *argp1 = 0 ;
26526 int res1 = 0 ;
26527 bool val2 ;
26528 int ecode2 = 0 ;
26529 PyObject * obj0 = 0 ;
26530 PyObject * obj1 = 0 ;
26531 char * kwnames[] = {
26532 (char *) "self",(char *) "flag", NULL
26533 };
26534
26535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26541 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26542 if (!SWIG_IsOK(ecode2)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26544 }
26545 arg2 = static_cast< bool >(val2);
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 (arg1)->SetCollate(arg2);
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 resultobj = SWIG_Py_Void();
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj = 0;
26561 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26562 bool arg2 ;
26563 void *argp1 = 0 ;
26564 int res1 = 0 ;
26565 bool val2 ;
26566 int ecode2 = 0 ;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 char * kwnames[] = {
26570 (char *) "self",(char *) "flag", NULL
26571 };
26572
26573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26575 if (!SWIG_IsOK(res1)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26577 }
26578 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26579 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26580 if (!SWIG_IsOK(ecode2)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26582 }
26583 arg2 = static_cast< bool >(val2);
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 (arg1)->SetPrintToFile(arg2);
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 resultobj = SWIG_Py_Void();
26591 return resultobj;
26592 fail:
26593 return NULL;
26594 }
26595
26596
26597 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26598 PyObject *resultobj = 0;
26599 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26600 bool arg2 ;
26601 void *argp1 = 0 ;
26602 int res1 = 0 ;
26603 bool val2 ;
26604 int ecode2 = 0 ;
26605 PyObject * obj0 = 0 ;
26606 PyObject * obj1 = 0 ;
26607 char * kwnames[] = {
26608 (char *) "self",(char *) "flag", NULL
26609 };
26610
26611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26613 if (!SWIG_IsOK(res1)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26615 }
26616 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26618 if (!SWIG_IsOK(ecode2)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26620 }
26621 arg2 = static_cast< bool >(val2);
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 (arg1)->EnablePrintToFile(arg2);
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 resultobj = SWIG_Py_Void();
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26636 PyObject *resultobj = 0;
26637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26638 bool arg2 ;
26639 void *argp1 = 0 ;
26640 int res1 = 0 ;
26641 bool val2 ;
26642 int ecode2 = 0 ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 char * kwnames[] = {
26646 (char *) "self",(char *) "flag", NULL
26647 };
26648
26649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26651 if (!SWIG_IsOK(res1)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26653 }
26654 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26655 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26656 if (!SWIG_IsOK(ecode2)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26658 }
26659 arg2 = static_cast< bool >(val2);
26660 {
26661 PyThreadState* __tstate = wxPyBeginAllowThreads();
26662 (arg1)->EnableSelection(arg2);
26663 wxPyEndAllowThreads(__tstate);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 }
26666 resultobj = SWIG_Py_Void();
26667 return resultobj;
26668 fail:
26669 return NULL;
26670 }
26671
26672
26673 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26674 PyObject *resultobj = 0;
26675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26676 bool arg2 ;
26677 void *argp1 = 0 ;
26678 int res1 = 0 ;
26679 bool val2 ;
26680 int ecode2 = 0 ;
26681 PyObject * obj0 = 0 ;
26682 PyObject * obj1 = 0 ;
26683 char * kwnames[] = {
26684 (char *) "self",(char *) "flag", NULL
26685 };
26686
26687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26689 if (!SWIG_IsOK(res1)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26691 }
26692 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26694 if (!SWIG_IsOK(ecode2)) {
26695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26696 }
26697 arg2 = static_cast< bool >(val2);
26698 {
26699 PyThreadState* __tstate = wxPyBeginAllowThreads();
26700 (arg1)->EnablePageNumbers(arg2);
26701 wxPyEndAllowThreads(__tstate);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 }
26704 resultobj = SWIG_Py_Void();
26705 return resultobj;
26706 fail:
26707 return NULL;
26708 }
26709
26710
26711 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26712 PyObject *resultobj = 0;
26713 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26714 bool arg2 ;
26715 void *argp1 = 0 ;
26716 int res1 = 0 ;
26717 bool val2 ;
26718 int ecode2 = 0 ;
26719 PyObject * obj0 = 0 ;
26720 PyObject * obj1 = 0 ;
26721 char * kwnames[] = {
26722 (char *) "self",(char *) "flag", NULL
26723 };
26724
26725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26727 if (!SWIG_IsOK(res1)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26729 }
26730 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26731 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26732 if (!SWIG_IsOK(ecode2)) {
26733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26734 }
26735 arg2 = static_cast< bool >(val2);
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 (arg1)->EnableHelp(arg2);
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
26742 resultobj = SWIG_Py_Void();
26743 return resultobj;
26744 fail:
26745 return NULL;
26746 }
26747
26748
26749 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26750 PyObject *resultobj = 0;
26751 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26752 bool result;
26753 void *argp1 = 0 ;
26754 int res1 = 0 ;
26755 PyObject *swig_obj[1] ;
26756
26757 if (!args) SWIG_fail;
26758 swig_obj[0] = args;
26759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26760 if (!SWIG_IsOK(res1)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26762 }
26763 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 {
26771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26772 }
26773 return resultobj;
26774 fail:
26775 return NULL;
26776 }
26777
26778
26779 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26780 PyObject *resultobj = 0;
26781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26782 bool result;
26783 void *argp1 = 0 ;
26784 int res1 = 0 ;
26785 PyObject *swig_obj[1] ;
26786
26787 if (!args) SWIG_fail;
26788 swig_obj[0] = args;
26789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26790 if (!SWIG_IsOK(res1)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26792 }
26793 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 {
26801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26802 }
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26810 PyObject *resultobj = 0;
26811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26812 bool result;
26813 void *argp1 = 0 ;
26814 int res1 = 0 ;
26815 PyObject *swig_obj[1] ;
26816
26817 if (!args) SWIG_fail;
26818 swig_obj[0] = args;
26819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26820 if (!SWIG_IsOK(res1)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26822 }
26823 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26827 wxPyEndAllowThreads(__tstate);
26828 if (PyErr_Occurred()) SWIG_fail;
26829 }
26830 {
26831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26832 }
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26840 PyObject *resultobj = 0;
26841 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26842 bool result;
26843 void *argp1 = 0 ;
26844 int res1 = 0 ;
26845 PyObject *swig_obj[1] ;
26846
26847 if (!args) SWIG_fail;
26848 swig_obj[0] = args;
26849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26850 if (!SWIG_IsOK(res1)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26852 }
26853 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
26856 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26857 wxPyEndAllowThreads(__tstate);
26858 if (PyErr_Occurred()) SWIG_fail;
26859 }
26860 {
26861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26862 }
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26870 PyObject *resultobj = 0;
26871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26872 bool result;
26873 void *argp1 = 0 ;
26874 int res1 = 0 ;
26875 PyObject *swig_obj[1] ;
26876
26877 if (!args) SWIG_fail;
26878 swig_obj[0] = args;
26879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26882 }
26883 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26892 }
26893 return resultobj;
26894 fail:
26895 return NULL;
26896 }
26897
26898
26899 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26900 PyObject *resultobj = 0;
26901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26902 wxPrintData *result = 0 ;
26903 void *argp1 = 0 ;
26904 int res1 = 0 ;
26905 PyObject *swig_obj[1] ;
26906
26907 if (!args) SWIG_fail;
26908 swig_obj[0] = args;
26909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26910 if (!SWIG_IsOK(res1)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26912 }
26913 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 {
26917 wxPrintData &_result_ref = (arg1)->GetPrintData();
26918 result = (wxPrintData *) &_result_ref;
26919 }
26920 wxPyEndAllowThreads(__tstate);
26921 if (PyErr_Occurred()) SWIG_fail;
26922 }
26923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26924 return resultobj;
26925 fail:
26926 return NULL;
26927 }
26928
26929
26930 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26931 PyObject *resultobj = 0;
26932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26933 wxPrintData *arg2 = 0 ;
26934 void *argp1 = 0 ;
26935 int res1 = 0 ;
26936 void *argp2 = 0 ;
26937 int res2 = 0 ;
26938 PyObject * obj0 = 0 ;
26939 PyObject * obj1 = 0 ;
26940 char * kwnames[] = {
26941 (char *) "self",(char *) "printData", NULL
26942 };
26943
26944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26946 if (!SWIG_IsOK(res1)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26948 }
26949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26950 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26951 if (!SWIG_IsOK(res2)) {
26952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26953 }
26954 if (!argp2) {
26955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26956 }
26957 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_Py_Void();
26965 return resultobj;
26966 fail:
26967 return NULL;
26968 }
26969
26970
26971 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26972 PyObject *obj;
26973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26974 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26975 return SWIG_Py_Void();
26976 }
26977
26978 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26979 return SWIG_Python_InitShadowInstance(args);
26980 }
26981
26982 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26983 PyObject *resultobj = 0;
26984 wxWindow *arg1 = (wxWindow *) 0 ;
26985 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26986 wxPrintDialog *result = 0 ;
26987 void *argp1 = 0 ;
26988 int res1 = 0 ;
26989 void *argp2 = 0 ;
26990 int res2 = 0 ;
26991 PyObject * obj0 = 0 ;
26992 PyObject * obj1 = 0 ;
26993 char * kwnames[] = {
26994 (char *) "parent",(char *) "data", NULL
26995 };
26996
26997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26999 if (!SWIG_IsOK(res1)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27001 }
27002 arg1 = reinterpret_cast< wxWindow * >(argp1);
27003 if (obj1) {
27004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27005 if (!SWIG_IsOK(res2)) {
27006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27007 }
27008 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27009 }
27010 {
27011 if (!wxPyCheckForApp()) SWIG_fail;
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27018 return resultobj;
27019 fail:
27020 return NULL;
27021 }
27022
27023
27024 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27025 PyObject *resultobj = 0;
27026 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27027 void *argp1 = 0 ;
27028 int res1 = 0 ;
27029 PyObject *swig_obj[1] ;
27030
27031 if (!args) SWIG_fail;
27032 swig_obj[0] = args;
27033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27034 if (!SWIG_IsOK(res1)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27036 }
27037 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27038 {
27039 PyThreadState* __tstate = wxPyBeginAllowThreads();
27040 delete arg1;
27041
27042 wxPyEndAllowThreads(__tstate);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 resultobj = SWIG_Py_Void();
27046 return resultobj;
27047 fail:
27048 return NULL;
27049 }
27050
27051
27052 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27053 PyObject *resultobj = 0;
27054 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27055 int result;
27056 void *argp1 = 0 ;
27057 int res1 = 0 ;
27058 PyObject *swig_obj[1] ;
27059
27060 if (!args) SWIG_fail;
27061 swig_obj[0] = args;
27062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27065 }
27066 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (int)(arg1)->ShowModal();
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 resultobj = SWIG_From_int(static_cast< int >(result));
27074 return resultobj;
27075 fail:
27076 return NULL;
27077 }
27078
27079
27080 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27081 PyObject *resultobj = 0;
27082 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27083 wxPrintDialogData *result = 0 ;
27084 void *argp1 = 0 ;
27085 int res1 = 0 ;
27086 PyObject *swig_obj[1] ;
27087
27088 if (!args) SWIG_fail;
27089 swig_obj[0] = args;
27090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27091 if (!SWIG_IsOK(res1)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27093 }
27094 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27095 {
27096 PyThreadState* __tstate = wxPyBeginAllowThreads();
27097 {
27098 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27099 result = (wxPrintDialogData *) &_result_ref;
27100 }
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27105 return resultobj;
27106 fail:
27107 return NULL;
27108 }
27109
27110
27111 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27112 PyObject *resultobj = 0;
27113 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27114 wxPrintData *result = 0 ;
27115 void *argp1 = 0 ;
27116 int res1 = 0 ;
27117 PyObject *swig_obj[1] ;
27118
27119 if (!args) SWIG_fail;
27120 swig_obj[0] = args;
27121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27122 if (!SWIG_IsOK(res1)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27124 }
27125 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27126 {
27127 PyThreadState* __tstate = wxPyBeginAllowThreads();
27128 {
27129 wxPrintData &_result_ref = (arg1)->GetPrintData();
27130 result = (wxPrintData *) &_result_ref;
27131 }
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27136 return resultobj;
27137 fail:
27138 return NULL;
27139 }
27140
27141
27142 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27143 PyObject *resultobj = 0;
27144 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27145 wxDC *result = 0 ;
27146 void *argp1 = 0 ;
27147 int res1 = 0 ;
27148 PyObject *swig_obj[1] ;
27149
27150 if (!args) SWIG_fail;
27151 swig_obj[0] = args;
27152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27153 if (!SWIG_IsOK(res1)) {
27154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27155 }
27156 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27157 {
27158 PyThreadState* __tstate = wxPyBeginAllowThreads();
27159 result = (wxDC *)(arg1)->GetPrintDC();
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 {
27164 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27165 }
27166 return resultobj;
27167 fail:
27168 return NULL;
27169 }
27170
27171
27172 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27173 PyObject *obj;
27174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27176 return SWIG_Py_Void();
27177 }
27178
27179 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27180 return SWIG_Python_InitShadowInstance(args);
27181 }
27182
27183 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj = 0;
27185 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27186 wxPrinter *result = 0 ;
27187 void *argp1 = 0 ;
27188 int res1 = 0 ;
27189 PyObject * obj0 = 0 ;
27190 char * kwnames[] = {
27191 (char *) "data", NULL
27192 };
27193
27194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27195 if (obj0) {
27196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27197 if (!SWIG_IsOK(res1)) {
27198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27199 }
27200 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27201 }
27202 {
27203 if (!wxPyCheckForApp()) SWIG_fail;
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 result = (wxPrinter *)new wxPrinter(arg1);
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27210 return resultobj;
27211 fail:
27212 return NULL;
27213 }
27214
27215
27216 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27217 PyObject *resultobj = 0;
27218 wxPrinter *arg1 = (wxPrinter *) 0 ;
27219 void *argp1 = 0 ;
27220 int res1 = 0 ;
27221 PyObject *swig_obj[1] ;
27222
27223 if (!args) SWIG_fail;
27224 swig_obj[0] = args;
27225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27226 if (!SWIG_IsOK(res1)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27228 }
27229 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27230 {
27231 PyThreadState* __tstate = wxPyBeginAllowThreads();
27232 delete arg1;
27233
27234 wxPyEndAllowThreads(__tstate);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 resultobj = SWIG_Py_Void();
27238 return resultobj;
27239 fail:
27240 return NULL;
27241 }
27242
27243
27244 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj = 0;
27246 wxPrinter *arg1 = (wxPrinter *) 0 ;
27247 wxWindow *arg2 = (wxWindow *) 0 ;
27248 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27249 wxWindow *result = 0 ;
27250 void *argp1 = 0 ;
27251 int res1 = 0 ;
27252 void *argp2 = 0 ;
27253 int res2 = 0 ;
27254 void *argp3 = 0 ;
27255 int res3 = 0 ;
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
27258 PyObject * obj2 = 0 ;
27259 char * kwnames[] = {
27260 (char *) "self",(char *) "parent",(char *) "printout", NULL
27261 };
27262
27263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27265 if (!SWIG_IsOK(res1)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27267 }
27268 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27270 if (!SWIG_IsOK(res2)) {
27271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27272 }
27273 arg2 = reinterpret_cast< wxWindow * >(argp2);
27274 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27275 if (!SWIG_IsOK(res3)) {
27276 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27277 }
27278 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27279 {
27280 PyThreadState* __tstate = wxPyBeginAllowThreads();
27281 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 {
27286 resultobj = wxPyMake_wxObject(result, 0);
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj = 0;
27296 wxPrinter *arg1 = (wxPrinter *) 0 ;
27297 wxWindow *arg2 = (wxWindow *) 0 ;
27298 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27299 wxString *arg4 = 0 ;
27300 void *argp1 = 0 ;
27301 int res1 = 0 ;
27302 void *argp2 = 0 ;
27303 int res2 = 0 ;
27304 void *argp3 = 0 ;
27305 int res3 = 0 ;
27306 bool temp4 = false ;
27307 PyObject * obj0 = 0 ;
27308 PyObject * obj1 = 0 ;
27309 PyObject * obj2 = 0 ;
27310 PyObject * obj3 = 0 ;
27311 char * kwnames[] = {
27312 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27313 };
27314
27315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27317 if (!SWIG_IsOK(res1)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27319 }
27320 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27322 if (!SWIG_IsOK(res2)) {
27323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27324 }
27325 arg2 = reinterpret_cast< wxWindow * >(argp2);
27326 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27327 if (!SWIG_IsOK(res3)) {
27328 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27329 }
27330 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27331 {
27332 arg4 = wxString_in_helper(obj3);
27333 if (arg4 == NULL) SWIG_fail;
27334 temp4 = true;
27335 }
27336 {
27337 PyThreadState* __tstate = wxPyBeginAllowThreads();
27338 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27339 wxPyEndAllowThreads(__tstate);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
27342 resultobj = SWIG_Py_Void();
27343 {
27344 if (temp4)
27345 delete arg4;
27346 }
27347 return resultobj;
27348 fail:
27349 {
27350 if (temp4)
27351 delete arg4;
27352 }
27353 return NULL;
27354 }
27355
27356
27357 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27358 PyObject *resultobj = 0;
27359 wxPrinter *arg1 = (wxPrinter *) 0 ;
27360 wxWindow *arg2 = (wxWindow *) 0 ;
27361 bool result;
27362 void *argp1 = 0 ;
27363 int res1 = 0 ;
27364 void *argp2 = 0 ;
27365 int res2 = 0 ;
27366 PyObject * obj0 = 0 ;
27367 PyObject * obj1 = 0 ;
27368 char * kwnames[] = {
27369 (char *) "self",(char *) "parent", NULL
27370 };
27371
27372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27374 if (!SWIG_IsOK(res1)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27376 }
27377 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27379 if (!SWIG_IsOK(res2)) {
27380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27381 }
27382 arg2 = reinterpret_cast< wxWindow * >(argp2);
27383 {
27384 PyThreadState* __tstate = wxPyBeginAllowThreads();
27385 result = (bool)(arg1)->Setup(arg2);
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 {
27390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27391 }
27392 return resultobj;
27393 fail:
27394 return NULL;
27395 }
27396
27397
27398 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27399 PyObject *resultobj = 0;
27400 wxPrinter *arg1 = (wxPrinter *) 0 ;
27401 wxWindow *arg2 = (wxWindow *) 0 ;
27402 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27403 bool arg4 = (bool) true ;
27404 bool result;
27405 void *argp1 = 0 ;
27406 int res1 = 0 ;
27407 void *argp2 = 0 ;
27408 int res2 = 0 ;
27409 void *argp3 = 0 ;
27410 int res3 = 0 ;
27411 bool val4 ;
27412 int ecode4 = 0 ;
27413 PyObject * obj0 = 0 ;
27414 PyObject * obj1 = 0 ;
27415 PyObject * obj2 = 0 ;
27416 PyObject * obj3 = 0 ;
27417 char * kwnames[] = {
27418 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27419 };
27420
27421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27423 if (!SWIG_IsOK(res1)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27425 }
27426 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27428 if (!SWIG_IsOK(res2)) {
27429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27430 }
27431 arg2 = reinterpret_cast< wxWindow * >(argp2);
27432 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27433 if (!SWIG_IsOK(res3)) {
27434 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27435 }
27436 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27437 if (obj3) {
27438 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27439 if (!SWIG_IsOK(ecode4)) {
27440 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27441 }
27442 arg4 = static_cast< bool >(val4);
27443 }
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27447 wxPyEndAllowThreads(__tstate);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
27450 {
27451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27452 }
27453 return resultobj;
27454 fail:
27455 return NULL;
27456 }
27457
27458
27459 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27460 PyObject *resultobj = 0;
27461 wxPrinter *arg1 = (wxPrinter *) 0 ;
27462 wxWindow *arg2 = (wxWindow *) 0 ;
27463 wxDC *result = 0 ;
27464 void *argp1 = 0 ;
27465 int res1 = 0 ;
27466 void *argp2 = 0 ;
27467 int res2 = 0 ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 char * kwnames[] = {
27471 (char *) "self",(char *) "parent", NULL
27472 };
27473
27474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27478 }
27479 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27481 if (!SWIG_IsOK(res2)) {
27482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27483 }
27484 arg2 = reinterpret_cast< wxWindow * >(argp2);
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 result = (wxDC *)(arg1)->PrintDialog(arg2);
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 {
27492 resultobj = wxPyMake_wxObject(result, (bool)0);
27493 }
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxPrinter *arg1 = (wxPrinter *) 0 ;
27503 wxPrintDialogData *result = 0 ;
27504 void *argp1 = 0 ;
27505 int res1 = 0 ;
27506 PyObject *swig_obj[1] ;
27507
27508 if (!args) SWIG_fail;
27509 swig_obj[0] = args;
27510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27511 if (!SWIG_IsOK(res1)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27513 }
27514 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 {
27518 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27519 result = (wxPrintDialogData *) &_result_ref;
27520 }
27521 wxPyEndAllowThreads(__tstate);
27522 if (PyErr_Occurred()) SWIG_fail;
27523 }
27524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27532 PyObject *resultobj = 0;
27533 wxPrinter *arg1 = (wxPrinter *) 0 ;
27534 bool result;
27535 void *argp1 = 0 ;
27536 int res1 = 0 ;
27537 PyObject *swig_obj[1] ;
27538
27539 if (!args) SWIG_fail;
27540 swig_obj[0] = args;
27541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27542 if (!SWIG_IsOK(res1)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27544 }
27545 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 result = (bool)(arg1)->GetAbort();
27549 wxPyEndAllowThreads(__tstate);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 {
27553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27554 }
27555 return resultobj;
27556 fail:
27557 return NULL;
27558 }
27559
27560
27561 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27562 PyObject *resultobj = 0;
27563 wxPrinterError result;
27564
27565 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 result = (wxPrinterError)wxPrinter::GetLastError();
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 resultobj = SWIG_From_int(static_cast< int >(result));
27573 return resultobj;
27574 fail:
27575 return NULL;
27576 }
27577
27578
27579 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27580 PyObject *obj;
27581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27582 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27583 return SWIG_Py_Void();
27584 }
27585
27586 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27587 return SWIG_Python_InitShadowInstance(args);
27588 }
27589
27590 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj = 0;
27592 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27593 wxString *arg1 = (wxString *) &arg1_defvalue ;
27594 wxPyPrintout *result = 0 ;
27595 bool temp1 = false ;
27596 PyObject * obj0 = 0 ;
27597 char * kwnames[] = {
27598 (char *) "title", NULL
27599 };
27600
27601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27602 if (obj0) {
27603 {
27604 arg1 = wxString_in_helper(obj0);
27605 if (arg1 == NULL) SWIG_fail;
27606 temp1 = true;
27607 }
27608 }
27609 {
27610 if (!wxPyCheckForApp()) SWIG_fail;
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27617 {
27618 if (temp1)
27619 delete arg1;
27620 }
27621 return resultobj;
27622 fail:
27623 {
27624 if (temp1)
27625 delete arg1;
27626 }
27627 return NULL;
27628 }
27629
27630
27631 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27632 PyObject *resultobj = 0;
27633 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27634 void *argp1 = 0 ;
27635 int res1 = 0 ;
27636 PyObject *swig_obj[1] ;
27637
27638 if (!args) SWIG_fail;
27639 swig_obj[0] = args;
27640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27641 if (!SWIG_IsOK(res1)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27643 }
27644 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27645 {
27646 PyThreadState* __tstate = wxPyBeginAllowThreads();
27647 delete arg1;
27648
27649 wxPyEndAllowThreads(__tstate);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 }
27652 resultobj = SWIG_Py_Void();
27653 return resultobj;
27654 fail:
27655 return NULL;
27656 }
27657
27658
27659 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27660 PyObject *resultobj = 0;
27661 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27662 PyObject *arg2 = (PyObject *) 0 ;
27663 PyObject *arg3 = (PyObject *) 0 ;
27664 void *argp1 = 0 ;
27665 int res1 = 0 ;
27666 PyObject * obj0 = 0 ;
27667 PyObject * obj1 = 0 ;
27668 PyObject * obj2 = 0 ;
27669 char * kwnames[] = {
27670 (char *) "self",(char *) "self",(char *) "_class", NULL
27671 };
27672
27673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27675 if (!SWIG_IsOK(res1)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27677 }
27678 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27679 arg2 = obj1;
27680 arg3 = obj2;
27681 {
27682 PyThreadState* __tstate = wxPyBeginAllowThreads();
27683 (arg1)->_setCallbackInfo(arg2,arg3);
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 resultobj = SWIG_Py_Void();
27688 return resultobj;
27689 fail:
27690 return NULL;
27691 }
27692
27693
27694 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27695 PyObject *resultobj = 0;
27696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27697 wxString result;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 PyObject *swig_obj[1] ;
27701
27702 if (!args) SWIG_fail;
27703 swig_obj[0] = args;
27704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27705 if (!SWIG_IsOK(res1)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27707 }
27708 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27709 {
27710 PyThreadState* __tstate = wxPyBeginAllowThreads();
27711 result = ((wxPyPrintout const *)arg1)->GetTitle();
27712 wxPyEndAllowThreads(__tstate);
27713 if (PyErr_Occurred()) SWIG_fail;
27714 }
27715 {
27716 #if wxUSE_UNICODE
27717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27718 #else
27719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27720 #endif
27721 }
27722 return resultobj;
27723 fail:
27724 return NULL;
27725 }
27726
27727
27728 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27729 PyObject *resultobj = 0;
27730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27731 wxDC *result = 0 ;
27732 void *argp1 = 0 ;
27733 int res1 = 0 ;
27734 PyObject *swig_obj[1] ;
27735
27736 if (!args) SWIG_fail;
27737 swig_obj[0] = args;
27738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27739 if (!SWIG_IsOK(res1)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 }
27742 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27743 {
27744 PyThreadState* __tstate = wxPyBeginAllowThreads();
27745 result = (wxDC *)(arg1)->GetDC();
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 {
27750 resultobj = wxPyMake_wxObject(result, (bool)0);
27751 }
27752 return resultobj;
27753 fail:
27754 return NULL;
27755 }
27756
27757
27758 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27759 PyObject *resultobj = 0;
27760 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27761 wxDC *arg2 = (wxDC *) 0 ;
27762 void *argp1 = 0 ;
27763 int res1 = 0 ;
27764 void *argp2 = 0 ;
27765 int res2 = 0 ;
27766 PyObject * obj0 = 0 ;
27767 PyObject * obj1 = 0 ;
27768 char * kwnames[] = {
27769 (char *) "self",(char *) "dc", NULL
27770 };
27771
27772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27774 if (!SWIG_IsOK(res1)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27776 }
27777 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27778 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27779 if (!SWIG_IsOK(res2)) {
27780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27781 }
27782 arg2 = reinterpret_cast< wxDC * >(argp2);
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
27785 (arg1)->SetDC(arg2);
27786 wxPyEndAllowThreads(__tstate);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 }
27789 resultobj = SWIG_Py_Void();
27790 return resultobj;
27791 fail:
27792 return NULL;
27793 }
27794
27795
27796 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27797 PyObject *resultobj = 0;
27798 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27799 int arg2 ;
27800 int arg3 ;
27801 void *argp1 = 0 ;
27802 int res1 = 0 ;
27803 int val2 ;
27804 int ecode2 = 0 ;
27805 int val3 ;
27806 int ecode3 = 0 ;
27807 PyObject * obj0 = 0 ;
27808 PyObject * obj1 = 0 ;
27809 PyObject * obj2 = 0 ;
27810 char * kwnames[] = {
27811 (char *) "self",(char *) "w",(char *) "h", NULL
27812 };
27813
27814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27816 if (!SWIG_IsOK(res1)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27818 }
27819 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27820 ecode2 = SWIG_AsVal_int(obj1, &val2);
27821 if (!SWIG_IsOK(ecode2)) {
27822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27823 }
27824 arg2 = static_cast< int >(val2);
27825 ecode3 = SWIG_AsVal_int(obj2, &val3);
27826 if (!SWIG_IsOK(ecode3)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27828 }
27829 arg3 = static_cast< int >(val3);
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 (arg1)->SetPageSizePixels(arg2,arg3);
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 resultobj = SWIG_Py_Void();
27837 return resultobj;
27838 fail:
27839 return NULL;
27840 }
27841
27842
27843 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27844 PyObject *resultobj = 0;
27845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27846 int *arg2 = (int *) 0 ;
27847 int *arg3 = (int *) 0 ;
27848 void *argp1 = 0 ;
27849 int res1 = 0 ;
27850 int temp2 ;
27851 int res2 = SWIG_TMPOBJ ;
27852 int temp3 ;
27853 int res3 = SWIG_TMPOBJ ;
27854 PyObject *swig_obj[1] ;
27855
27856 arg2 = &temp2;
27857 arg3 = &temp3;
27858 if (!args) SWIG_fail;
27859 swig_obj[0] = args;
27860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27861 if (!SWIG_IsOK(res1)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27863 }
27864 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 (arg1)->GetPageSizePixels(arg2,arg3);
27868 wxPyEndAllowThreads(__tstate);
27869 if (PyErr_Occurred()) SWIG_fail;
27870 }
27871 resultobj = SWIG_Py_Void();
27872 if (SWIG_IsTmpObj(res2)) {
27873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27874 } else {
27875 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27876 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27877 }
27878 if (SWIG_IsTmpObj(res3)) {
27879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27880 } else {
27881 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27883 }
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj = 0;
27892 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27893 int arg2 ;
27894 int arg3 ;
27895 void *argp1 = 0 ;
27896 int res1 = 0 ;
27897 int val2 ;
27898 int ecode2 = 0 ;
27899 int val3 ;
27900 int ecode3 = 0 ;
27901 PyObject * obj0 = 0 ;
27902 PyObject * obj1 = 0 ;
27903 PyObject * obj2 = 0 ;
27904 char * kwnames[] = {
27905 (char *) "self",(char *) "w",(char *) "h", NULL
27906 };
27907
27908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27910 if (!SWIG_IsOK(res1)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27912 }
27913 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27914 ecode2 = SWIG_AsVal_int(obj1, &val2);
27915 if (!SWIG_IsOK(ecode2)) {
27916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27917 }
27918 arg2 = static_cast< int >(val2);
27919 ecode3 = SWIG_AsVal_int(obj2, &val3);
27920 if (!SWIG_IsOK(ecode3)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27922 }
27923 arg3 = static_cast< int >(val3);
27924 {
27925 PyThreadState* __tstate = wxPyBeginAllowThreads();
27926 (arg1)->SetPageSizeMM(arg2,arg3);
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 resultobj = SWIG_Py_Void();
27931 return resultobj;
27932 fail:
27933 return NULL;
27934 }
27935
27936
27937 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27938 PyObject *resultobj = 0;
27939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27940 int *arg2 = (int *) 0 ;
27941 int *arg3 = (int *) 0 ;
27942 void *argp1 = 0 ;
27943 int res1 = 0 ;
27944 int temp2 ;
27945 int res2 = SWIG_TMPOBJ ;
27946 int temp3 ;
27947 int res3 = SWIG_TMPOBJ ;
27948 PyObject *swig_obj[1] ;
27949
27950 arg2 = &temp2;
27951 arg3 = &temp3;
27952 if (!args) SWIG_fail;
27953 swig_obj[0] = args;
27954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27955 if (!SWIG_IsOK(res1)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27957 }
27958 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 (arg1)->GetPageSizeMM(arg2,arg3);
27962 wxPyEndAllowThreads(__tstate);
27963 if (PyErr_Occurred()) SWIG_fail;
27964 }
27965 resultobj = SWIG_Py_Void();
27966 if (SWIG_IsTmpObj(res2)) {
27967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27968 } else {
27969 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27971 }
27972 if (SWIG_IsTmpObj(res3)) {
27973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27974 } else {
27975 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27977 }
27978 return resultobj;
27979 fail:
27980 return NULL;
27981 }
27982
27983
27984 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27985 PyObject *resultobj = 0;
27986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27987 int arg2 ;
27988 int arg3 ;
27989 void *argp1 = 0 ;
27990 int res1 = 0 ;
27991 int val2 ;
27992 int ecode2 = 0 ;
27993 int val3 ;
27994 int ecode3 = 0 ;
27995 PyObject * obj0 = 0 ;
27996 PyObject * obj1 = 0 ;
27997 PyObject * obj2 = 0 ;
27998 char * kwnames[] = {
27999 (char *) "self",(char *) "x",(char *) "y", NULL
28000 };
28001
28002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28004 if (!SWIG_IsOK(res1)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28006 }
28007 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28008 ecode2 = SWIG_AsVal_int(obj1, &val2);
28009 if (!SWIG_IsOK(ecode2)) {
28010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28011 }
28012 arg2 = static_cast< int >(val2);
28013 ecode3 = SWIG_AsVal_int(obj2, &val3);
28014 if (!SWIG_IsOK(ecode3)) {
28015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28016 }
28017 arg3 = static_cast< int >(val3);
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 (arg1)->SetPPIScreen(arg2,arg3);
28021 wxPyEndAllowThreads(__tstate);
28022 if (PyErr_Occurred()) SWIG_fail;
28023 }
28024 resultobj = SWIG_Py_Void();
28025 return resultobj;
28026 fail:
28027 return NULL;
28028 }
28029
28030
28031 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28032 PyObject *resultobj = 0;
28033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28034 int *arg2 = (int *) 0 ;
28035 int *arg3 = (int *) 0 ;
28036 void *argp1 = 0 ;
28037 int res1 = 0 ;
28038 int temp2 ;
28039 int res2 = SWIG_TMPOBJ ;
28040 int temp3 ;
28041 int res3 = SWIG_TMPOBJ ;
28042 PyObject *swig_obj[1] ;
28043
28044 arg2 = &temp2;
28045 arg3 = &temp3;
28046 if (!args) SWIG_fail;
28047 swig_obj[0] = args;
28048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28049 if (!SWIG_IsOK(res1)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28051 }
28052 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28053 {
28054 PyThreadState* __tstate = wxPyBeginAllowThreads();
28055 (arg1)->GetPPIScreen(arg2,arg3);
28056 wxPyEndAllowThreads(__tstate);
28057 if (PyErr_Occurred()) SWIG_fail;
28058 }
28059 resultobj = SWIG_Py_Void();
28060 if (SWIG_IsTmpObj(res2)) {
28061 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28062 } else {
28063 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28064 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28065 }
28066 if (SWIG_IsTmpObj(res3)) {
28067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28068 } else {
28069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28071 }
28072 return resultobj;
28073 fail:
28074 return NULL;
28075 }
28076
28077
28078 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj = 0;
28080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28081 int arg2 ;
28082 int arg3 ;
28083 void *argp1 = 0 ;
28084 int res1 = 0 ;
28085 int val2 ;
28086 int ecode2 = 0 ;
28087 int val3 ;
28088 int ecode3 = 0 ;
28089 PyObject * obj0 = 0 ;
28090 PyObject * obj1 = 0 ;
28091 PyObject * obj2 = 0 ;
28092 char * kwnames[] = {
28093 (char *) "self",(char *) "x",(char *) "y", NULL
28094 };
28095
28096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28098 if (!SWIG_IsOK(res1)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28100 }
28101 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28102 ecode2 = SWIG_AsVal_int(obj1, &val2);
28103 if (!SWIG_IsOK(ecode2)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28105 }
28106 arg2 = static_cast< int >(val2);
28107 ecode3 = SWIG_AsVal_int(obj2, &val3);
28108 if (!SWIG_IsOK(ecode3)) {
28109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28110 }
28111 arg3 = static_cast< int >(val3);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 (arg1)->SetPPIPrinter(arg2,arg3);
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = SWIG_Py_Void();
28119 return resultobj;
28120 fail:
28121 return NULL;
28122 }
28123
28124
28125 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28126 PyObject *resultobj = 0;
28127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28128 int *arg2 = (int *) 0 ;
28129 int *arg3 = (int *) 0 ;
28130 void *argp1 = 0 ;
28131 int res1 = 0 ;
28132 int temp2 ;
28133 int res2 = SWIG_TMPOBJ ;
28134 int temp3 ;
28135 int res3 = SWIG_TMPOBJ ;
28136 PyObject *swig_obj[1] ;
28137
28138 arg2 = &temp2;
28139 arg3 = &temp3;
28140 if (!args) SWIG_fail;
28141 swig_obj[0] = args;
28142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28143 if (!SWIG_IsOK(res1)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28145 }
28146 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 (arg1)->GetPPIPrinter(arg2,arg3);
28150 wxPyEndAllowThreads(__tstate);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 resultobj = SWIG_Py_Void();
28154 if (SWIG_IsTmpObj(res2)) {
28155 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28156 } else {
28157 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28159 }
28160 if (SWIG_IsTmpObj(res3)) {
28161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28162 } else {
28163 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28165 }
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28173 PyObject *resultobj = 0;
28174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28175 bool result;
28176 void *argp1 = 0 ;
28177 int res1 = 0 ;
28178 PyObject *swig_obj[1] ;
28179
28180 if (!args) SWIG_fail;
28181 swig_obj[0] = args;
28182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28183 if (!SWIG_IsOK(res1)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28185 }
28186 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 result = (bool)(arg1)->IsPreview();
28190 wxPyEndAllowThreads(__tstate);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 {
28194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28195 }
28196 return resultobj;
28197 fail:
28198 return NULL;
28199 }
28200
28201
28202 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28203 PyObject *resultobj = 0;
28204 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28205 bool arg2 ;
28206 void *argp1 = 0 ;
28207 int res1 = 0 ;
28208 bool val2 ;
28209 int ecode2 = 0 ;
28210 PyObject * obj0 = 0 ;
28211 PyObject * obj1 = 0 ;
28212 char * kwnames[] = {
28213 (char *) "self",(char *) "p", NULL
28214 };
28215
28216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28220 }
28221 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28222 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28223 if (!SWIG_IsOK(ecode2)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28225 }
28226 arg2 = static_cast< bool >(val2);
28227 {
28228 PyThreadState* __tstate = wxPyBeginAllowThreads();
28229 (arg1)->SetIsPreview(arg2);
28230 wxPyEndAllowThreads(__tstate);
28231 if (PyErr_Occurred()) SWIG_fail;
28232 }
28233 resultobj = SWIG_Py_Void();
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28241 PyObject *resultobj = 0;
28242 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28243 int arg2 ;
28244 int arg3 ;
28245 bool result;
28246 void *argp1 = 0 ;
28247 int res1 = 0 ;
28248 int val2 ;
28249 int ecode2 = 0 ;
28250 int val3 ;
28251 int ecode3 = 0 ;
28252 PyObject * obj0 = 0 ;
28253 PyObject * obj1 = 0 ;
28254 PyObject * obj2 = 0 ;
28255 char * kwnames[] = {
28256 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28257 };
28258
28259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28261 if (!SWIG_IsOK(res1)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28263 }
28264 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28265 ecode2 = SWIG_AsVal_int(obj1, &val2);
28266 if (!SWIG_IsOK(ecode2)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28268 }
28269 arg2 = static_cast< int >(val2);
28270 ecode3 = SWIG_AsVal_int(obj2, &val3);
28271 if (!SWIG_IsOK(ecode3)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28273 }
28274 arg3 = static_cast< int >(val3);
28275 {
28276 PyThreadState* __tstate = wxPyBeginAllowThreads();
28277 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 {
28282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28283 }
28284 return resultobj;
28285 fail:
28286 return NULL;
28287 }
28288
28289
28290 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28291 PyObject *resultobj = 0;
28292 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28293 void *argp1 = 0 ;
28294 int res1 = 0 ;
28295 PyObject *swig_obj[1] ;
28296
28297 if (!args) SWIG_fail;
28298 swig_obj[0] = args;
28299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28300 if (!SWIG_IsOK(res1)) {
28301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28302 }
28303 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 (arg1)->OnEndDocument();
28307 wxPyEndAllowThreads(__tstate);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 resultobj = SWIG_Py_Void();
28311 return resultobj;
28312 fail:
28313 return NULL;
28314 }
28315
28316
28317 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28318 PyObject *resultobj = 0;
28319 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28320 void *argp1 = 0 ;
28321 int res1 = 0 ;
28322 PyObject *swig_obj[1] ;
28323
28324 if (!args) SWIG_fail;
28325 swig_obj[0] = args;
28326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28327 if (!SWIG_IsOK(res1)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28329 }
28330 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28331 {
28332 PyThreadState* __tstate = wxPyBeginAllowThreads();
28333 (arg1)->OnBeginPrinting();
28334 wxPyEndAllowThreads(__tstate);
28335 if (PyErr_Occurred()) SWIG_fail;
28336 }
28337 resultobj = SWIG_Py_Void();
28338 return resultobj;
28339 fail:
28340 return NULL;
28341 }
28342
28343
28344 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28345 PyObject *resultobj = 0;
28346 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28347 void *argp1 = 0 ;
28348 int res1 = 0 ;
28349 PyObject *swig_obj[1] ;
28350
28351 if (!args) SWIG_fail;
28352 swig_obj[0] = args;
28353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28356 }
28357 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28358 {
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
28360 (arg1)->OnEndPrinting();
28361 wxPyEndAllowThreads(__tstate);
28362 if (PyErr_Occurred()) SWIG_fail;
28363 }
28364 resultobj = SWIG_Py_Void();
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28372 PyObject *resultobj = 0;
28373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28374 void *argp1 = 0 ;
28375 int res1 = 0 ;
28376 PyObject *swig_obj[1] ;
28377
28378 if (!args) SWIG_fail;
28379 swig_obj[0] = args;
28380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28381 if (!SWIG_IsOK(res1)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28383 }
28384 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 (arg1)->OnPreparePrinting();
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 resultobj = SWIG_Py_Void();
28392 return resultobj;
28393 fail:
28394 return NULL;
28395 }
28396
28397
28398 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj = 0;
28400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28401 int arg2 ;
28402 bool result;
28403 void *argp1 = 0 ;
28404 int res1 = 0 ;
28405 int val2 ;
28406 int ecode2 = 0 ;
28407 PyObject * obj0 = 0 ;
28408 PyObject * obj1 = 0 ;
28409 char * kwnames[] = {
28410 (char *) "self",(char *) "page", NULL
28411 };
28412
28413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28415 if (!SWIG_IsOK(res1)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28417 }
28418 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28419 ecode2 = SWIG_AsVal_int(obj1, &val2);
28420 if (!SWIG_IsOK(ecode2)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28422 }
28423 arg2 = static_cast< int >(val2);
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 result = (bool)(arg1)->HasPage(arg2);
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 {
28431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28432 }
28433 return resultobj;
28434 fail:
28435 return NULL;
28436 }
28437
28438
28439 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28440 PyObject *resultobj = 0;
28441 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28442 int *arg2 = (int *) 0 ;
28443 int *arg3 = (int *) 0 ;
28444 int *arg4 = (int *) 0 ;
28445 int *arg5 = (int *) 0 ;
28446 void *argp1 = 0 ;
28447 int res1 = 0 ;
28448 int temp2 ;
28449 int res2 = SWIG_TMPOBJ ;
28450 int temp3 ;
28451 int res3 = SWIG_TMPOBJ ;
28452 int temp4 ;
28453 int res4 = SWIG_TMPOBJ ;
28454 int temp5 ;
28455 int res5 = SWIG_TMPOBJ ;
28456 PyObject *swig_obj[1] ;
28457
28458 arg2 = &temp2;
28459 arg3 = &temp3;
28460 arg4 = &temp4;
28461 arg5 = &temp5;
28462 if (!args) SWIG_fail;
28463 swig_obj[0] = args;
28464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28465 if (!SWIG_IsOK(res1)) {
28466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28467 }
28468 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
28475 resultobj = SWIG_Py_Void();
28476 if (SWIG_IsTmpObj(res2)) {
28477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28478 } else {
28479 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28481 }
28482 if (SWIG_IsTmpObj(res3)) {
28483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28484 } else {
28485 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28486 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28487 }
28488 if (SWIG_IsTmpObj(res4)) {
28489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28490 } else {
28491 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28493 }
28494 if (SWIG_IsTmpObj(res5)) {
28495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28496 } else {
28497 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28499 }
28500 return resultobj;
28501 fail:
28502 return NULL;
28503 }
28504
28505
28506 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28507 PyObject *obj;
28508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28510 return SWIG_Py_Void();
28511 }
28512
28513 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28514 return SWIG_Python_InitShadowInstance(args);
28515 }
28516
28517 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28518 PyObject *resultobj = 0;
28519 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28520 wxWindow *arg2 = (wxWindow *) 0 ;
28521 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28522 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28523 wxSize const &arg4_defvalue = wxDefaultSize ;
28524 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28525 long arg5 = (long) 0 ;
28526 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28527 wxString *arg6 = (wxString *) &arg6_defvalue ;
28528 wxPreviewCanvas *result = 0 ;
28529 void *argp1 = 0 ;
28530 int res1 = 0 ;
28531 void *argp2 = 0 ;
28532 int res2 = 0 ;
28533 wxPoint temp3 ;
28534 wxSize temp4 ;
28535 long val5 ;
28536 int ecode5 = 0 ;
28537 bool temp6 = false ;
28538 PyObject * obj0 = 0 ;
28539 PyObject * obj1 = 0 ;
28540 PyObject * obj2 = 0 ;
28541 PyObject * obj3 = 0 ;
28542 PyObject * obj4 = 0 ;
28543 PyObject * obj5 = 0 ;
28544 char * kwnames[] = {
28545 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28546 };
28547
28548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28550 if (!SWIG_IsOK(res1)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28552 }
28553 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28554 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28555 if (!SWIG_IsOK(res2)) {
28556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28557 }
28558 arg2 = reinterpret_cast< wxWindow * >(argp2);
28559 if (obj2) {
28560 {
28561 arg3 = &temp3;
28562 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28563 }
28564 }
28565 if (obj3) {
28566 {
28567 arg4 = &temp4;
28568 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28569 }
28570 }
28571 if (obj4) {
28572 ecode5 = SWIG_AsVal_long(obj4, &val5);
28573 if (!SWIG_IsOK(ecode5)) {
28574 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28575 }
28576 arg5 = static_cast< long >(val5);
28577 }
28578 if (obj5) {
28579 {
28580 arg6 = wxString_in_helper(obj5);
28581 if (arg6 == NULL) SWIG_fail;
28582 temp6 = true;
28583 }
28584 }
28585 {
28586 if (!wxPyCheckForApp()) SWIG_fail;
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28593 {
28594 if (temp6)
28595 delete arg6;
28596 }
28597 return resultobj;
28598 fail:
28599 {
28600 if (temp6)
28601 delete arg6;
28602 }
28603 return NULL;
28604 }
28605
28606
28607 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28608 PyObject *obj;
28609 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28610 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28611 return SWIG_Py_Void();
28612 }
28613
28614 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28615 return SWIG_Python_InitShadowInstance(args);
28616 }
28617
28618 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28619 PyObject *resultobj = 0;
28620 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28621 wxFrame *arg2 = (wxFrame *) 0 ;
28622 wxString *arg3 = 0 ;
28623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28625 wxSize const &arg5_defvalue = wxDefaultSize ;
28626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28627 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28628 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28629 wxString *arg7 = (wxString *) &arg7_defvalue ;
28630 wxPreviewFrame *result = 0 ;
28631 int res1 = 0 ;
28632 void *argp2 = 0 ;
28633 int res2 = 0 ;
28634 bool temp3 = false ;
28635 wxPoint temp4 ;
28636 wxSize temp5 ;
28637 long val6 ;
28638 int ecode6 = 0 ;
28639 bool temp7 = false ;
28640 PyObject * obj0 = 0 ;
28641 PyObject * obj1 = 0 ;
28642 PyObject * obj2 = 0 ;
28643 PyObject * obj3 = 0 ;
28644 PyObject * obj4 = 0 ;
28645 PyObject * obj5 = 0 ;
28646 PyObject * obj6 = 0 ;
28647 char * kwnames[] = {
28648 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28649 };
28650
28651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28652 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28653 if (!SWIG_IsOK(res1)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28655 }
28656 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28657 if (!SWIG_IsOK(res2)) {
28658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28659 }
28660 arg2 = reinterpret_cast< wxFrame * >(argp2);
28661 {
28662 arg3 = wxString_in_helper(obj2);
28663 if (arg3 == NULL) SWIG_fail;
28664 temp3 = true;
28665 }
28666 if (obj3) {
28667 {
28668 arg4 = &temp4;
28669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28670 }
28671 }
28672 if (obj4) {
28673 {
28674 arg5 = &temp5;
28675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28676 }
28677 }
28678 if (obj5) {
28679 ecode6 = SWIG_AsVal_long(obj5, &val6);
28680 if (!SWIG_IsOK(ecode6)) {
28681 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28682 }
28683 arg6 = static_cast< long >(val6);
28684 }
28685 if (obj6) {
28686 {
28687 arg7 = wxString_in_helper(obj6);
28688 if (arg7 == NULL) SWIG_fail;
28689 temp7 = true;
28690 }
28691 }
28692 {
28693 if (!wxPyCheckForApp()) SWIG_fail;
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
28699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28700 {
28701 if (temp3)
28702 delete arg3;
28703 }
28704 {
28705 if (temp7)
28706 delete arg7;
28707 }
28708 return resultobj;
28709 fail:
28710 {
28711 if (temp3)
28712 delete arg3;
28713 }
28714 {
28715 if (temp7)
28716 delete arg7;
28717 }
28718 return NULL;
28719 }
28720
28721
28722 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28723 PyObject *resultobj = 0;
28724 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28725 void *argp1 = 0 ;
28726 int res1 = 0 ;
28727 PyObject *swig_obj[1] ;
28728
28729 if (!args) SWIG_fail;
28730 swig_obj[0] = args;
28731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28732 if (!SWIG_IsOK(res1)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28734 }
28735 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 (arg1)->Initialize();
28739 wxPyEndAllowThreads(__tstate);
28740 if (PyErr_Occurred()) SWIG_fail;
28741 }
28742 resultobj = SWIG_Py_Void();
28743 return resultobj;
28744 fail:
28745 return NULL;
28746 }
28747
28748
28749 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28750 PyObject *resultobj = 0;
28751 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28752 void *argp1 = 0 ;
28753 int res1 = 0 ;
28754 PyObject *swig_obj[1] ;
28755
28756 if (!args) SWIG_fail;
28757 swig_obj[0] = args;
28758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28759 if (!SWIG_IsOK(res1)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28761 }
28762 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28763 {
28764 PyThreadState* __tstate = wxPyBeginAllowThreads();
28765 (arg1)->CreateControlBar();
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 resultobj = SWIG_Py_Void();
28770 return resultobj;
28771 fail:
28772 return NULL;
28773 }
28774
28775
28776 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28777 PyObject *resultobj = 0;
28778 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28779 void *argp1 = 0 ;
28780 int res1 = 0 ;
28781 PyObject *swig_obj[1] ;
28782
28783 if (!args) SWIG_fail;
28784 swig_obj[0] = args;
28785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28786 if (!SWIG_IsOK(res1)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28788 }
28789 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 (arg1)->CreateCanvas();
28793 wxPyEndAllowThreads(__tstate);
28794 if (PyErr_Occurred()) SWIG_fail;
28795 }
28796 resultobj = SWIG_Py_Void();
28797 return resultobj;
28798 fail:
28799 return NULL;
28800 }
28801
28802
28803 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28804 PyObject *resultobj = 0;
28805 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28806 wxPreviewControlBar *result = 0 ;
28807 void *argp1 = 0 ;
28808 int res1 = 0 ;
28809 PyObject *swig_obj[1] ;
28810
28811 if (!args) SWIG_fail;
28812 swig_obj[0] = args;
28813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28814 if (!SWIG_IsOK(res1)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28816 }
28817 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
28824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28825 return resultobj;
28826 fail:
28827 return NULL;
28828 }
28829
28830
28831 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28832 PyObject *obj;
28833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28835 return SWIG_Py_Void();
28836 }
28837
28838 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28839 return SWIG_Python_InitShadowInstance(args);
28840 }
28841
28842 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28843 PyObject *resultobj = 0;
28844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28845 long arg2 ;
28846 wxWindow *arg3 = (wxWindow *) 0 ;
28847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28849 wxSize const &arg5_defvalue = wxDefaultSize ;
28850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28851 long arg6 = (long) wxTAB_TRAVERSAL ;
28852 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28853 wxString *arg7 = (wxString *) &arg7_defvalue ;
28854 wxPreviewControlBar *result = 0 ;
28855 void *argp1 = 0 ;
28856 int res1 = 0 ;
28857 long val2 ;
28858 int ecode2 = 0 ;
28859 void *argp3 = 0 ;
28860 int res3 = 0 ;
28861 wxPoint temp4 ;
28862 wxSize temp5 ;
28863 long val6 ;
28864 int ecode6 = 0 ;
28865 bool temp7 = false ;
28866 PyObject * obj0 = 0 ;
28867 PyObject * obj1 = 0 ;
28868 PyObject * obj2 = 0 ;
28869 PyObject * obj3 = 0 ;
28870 PyObject * obj4 = 0 ;
28871 PyObject * obj5 = 0 ;
28872 PyObject * obj6 = 0 ;
28873 char * kwnames[] = {
28874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28875 };
28876
28877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28879 if (!SWIG_IsOK(res1)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28881 }
28882 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28883 ecode2 = SWIG_AsVal_long(obj1, &val2);
28884 if (!SWIG_IsOK(ecode2)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28886 }
28887 arg2 = static_cast< long >(val2);
28888 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28889 if (!SWIG_IsOK(res3)) {
28890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28891 }
28892 arg3 = reinterpret_cast< wxWindow * >(argp3);
28893 if (obj3) {
28894 {
28895 arg4 = &temp4;
28896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28897 }
28898 }
28899 if (obj4) {
28900 {
28901 arg5 = &temp5;
28902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28903 }
28904 }
28905 if (obj5) {
28906 ecode6 = SWIG_AsVal_long(obj5, &val6);
28907 if (!SWIG_IsOK(ecode6)) {
28908 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28909 }
28910 arg6 = static_cast< long >(val6);
28911 }
28912 if (obj6) {
28913 {
28914 arg7 = wxString_in_helper(obj6);
28915 if (arg7 == NULL) SWIG_fail;
28916 temp7 = true;
28917 }
28918 }
28919 {
28920 if (!wxPyCheckForApp()) SWIG_fail;
28921 PyThreadState* __tstate = wxPyBeginAllowThreads();
28922 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28923 wxPyEndAllowThreads(__tstate);
28924 if (PyErr_Occurred()) SWIG_fail;
28925 }
28926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28927 {
28928 if (temp7)
28929 delete arg7;
28930 }
28931 return resultobj;
28932 fail:
28933 {
28934 if (temp7)
28935 delete arg7;
28936 }
28937 return NULL;
28938 }
28939
28940
28941 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28942 PyObject *resultobj = 0;
28943 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28944 int result;
28945 void *argp1 = 0 ;
28946 int res1 = 0 ;
28947 PyObject *swig_obj[1] ;
28948
28949 if (!args) SWIG_fail;
28950 swig_obj[0] = args;
28951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28952 if (!SWIG_IsOK(res1)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28954 }
28955 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28956 {
28957 PyThreadState* __tstate = wxPyBeginAllowThreads();
28958 result = (int)(arg1)->GetZoomControl();
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 resultobj = SWIG_From_int(static_cast< int >(result));
28963 return resultobj;
28964 fail:
28965 return NULL;
28966 }
28967
28968
28969 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj = 0;
28971 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28972 int arg2 ;
28973 void *argp1 = 0 ;
28974 int res1 = 0 ;
28975 int val2 ;
28976 int ecode2 = 0 ;
28977 PyObject * obj0 = 0 ;
28978 PyObject * obj1 = 0 ;
28979 char * kwnames[] = {
28980 (char *) "self",(char *) "zoom", NULL
28981 };
28982
28983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28985 if (!SWIG_IsOK(res1)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28987 }
28988 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28989 ecode2 = SWIG_AsVal_int(obj1, &val2);
28990 if (!SWIG_IsOK(ecode2)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28992 }
28993 arg2 = static_cast< int >(val2);
28994 {
28995 PyThreadState* __tstate = wxPyBeginAllowThreads();
28996 (arg1)->SetZoomControl(arg2);
28997 wxPyEndAllowThreads(__tstate);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 resultobj = SWIG_Py_Void();
29001 return resultobj;
29002 fail:
29003 return NULL;
29004 }
29005
29006
29007 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29008 PyObject *resultobj = 0;
29009 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29010 wxPrintPreview *result = 0 ;
29011 void *argp1 = 0 ;
29012 int res1 = 0 ;
29013 PyObject *swig_obj[1] ;
29014
29015 if (!args) SWIG_fail;
29016 swig_obj[0] = args;
29017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29018 if (!SWIG_IsOK(res1)) {
29019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29020 }
29021 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29025 wxPyEndAllowThreads(__tstate);
29026 if (PyErr_Occurred()) SWIG_fail;
29027 }
29028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29029 return resultobj;
29030 fail:
29031 return NULL;
29032 }
29033
29034
29035 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29036 PyObject *resultobj = 0;
29037 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29038 void *argp1 = 0 ;
29039 int res1 = 0 ;
29040 PyObject *swig_obj[1] ;
29041
29042 if (!args) SWIG_fail;
29043 swig_obj[0] = args;
29044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29045 if (!SWIG_IsOK(res1)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29047 }
29048 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29049 {
29050 PyThreadState* __tstate = wxPyBeginAllowThreads();
29051 (arg1)->OnNext();
29052 wxPyEndAllowThreads(__tstate);
29053 if (PyErr_Occurred()) SWIG_fail;
29054 }
29055 resultobj = SWIG_Py_Void();
29056 return resultobj;
29057 fail:
29058 return NULL;
29059 }
29060
29061
29062 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29063 PyObject *resultobj = 0;
29064 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29065 void *argp1 = 0 ;
29066 int res1 = 0 ;
29067 PyObject *swig_obj[1] ;
29068
29069 if (!args) SWIG_fail;
29070 swig_obj[0] = args;
29071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29072 if (!SWIG_IsOK(res1)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29074 }
29075 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 (arg1)->OnPrevious();
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 resultobj = SWIG_Py_Void();
29083 return resultobj;
29084 fail:
29085 return NULL;
29086 }
29087
29088
29089 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29090 PyObject *resultobj = 0;
29091 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29092 void *argp1 = 0 ;
29093 int res1 = 0 ;
29094 PyObject *swig_obj[1] ;
29095
29096 if (!args) SWIG_fail;
29097 swig_obj[0] = args;
29098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29099 if (!SWIG_IsOK(res1)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29101 }
29102 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 (arg1)->OnFirst();
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 resultobj = SWIG_Py_Void();
29110 return resultobj;
29111 fail:
29112 return NULL;
29113 }
29114
29115
29116 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29117 PyObject *resultobj = 0;
29118 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29119 void *argp1 = 0 ;
29120 int res1 = 0 ;
29121 PyObject *swig_obj[1] ;
29122
29123 if (!args) SWIG_fail;
29124 swig_obj[0] = args;
29125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29126 if (!SWIG_IsOK(res1)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29128 }
29129 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29130 {
29131 PyThreadState* __tstate = wxPyBeginAllowThreads();
29132 (arg1)->OnLast();
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 resultobj = SWIG_Py_Void();
29137 return resultobj;
29138 fail:
29139 return NULL;
29140 }
29141
29142
29143 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29144 PyObject *resultobj = 0;
29145 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29146 void *argp1 = 0 ;
29147 int res1 = 0 ;
29148 PyObject *swig_obj[1] ;
29149
29150 if (!args) SWIG_fail;
29151 swig_obj[0] = args;
29152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29153 if (!SWIG_IsOK(res1)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29155 }
29156 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29157 {
29158 PyThreadState* __tstate = wxPyBeginAllowThreads();
29159 (arg1)->OnGoto();
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
29163 resultobj = SWIG_Py_Void();
29164 return resultobj;
29165 fail:
29166 return NULL;
29167 }
29168
29169
29170 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29171 PyObject *obj;
29172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29174 return SWIG_Py_Void();
29175 }
29176
29177 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29178 return SWIG_Python_InitShadowInstance(args);
29179 }
29180
29181 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29182 PyObject *resultobj = 0;
29183 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29184 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29185 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29186 wxPrintPreview *result = 0 ;
29187 int res1 = 0 ;
29188 int res2 = 0 ;
29189 void *argp3 = 0 ;
29190 int res3 = 0 ;
29191
29192 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29193 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29194 if (!SWIG_IsOK(res1)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29196 }
29197 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29198 if (!SWIG_IsOK(res2)) {
29199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29200 }
29201 if (swig_obj[2]) {
29202 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29203 if (!SWIG_IsOK(res3)) {
29204 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29205 }
29206 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29207 }
29208 {
29209 if (!wxPyCheckForApp()) SWIG_fail;
29210 PyThreadState* __tstate = wxPyBeginAllowThreads();
29211 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29212 wxPyEndAllowThreads(__tstate);
29213 if (PyErr_Occurred()) SWIG_fail;
29214 }
29215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29216 return resultobj;
29217 fail:
29218 return NULL;
29219 }
29220
29221
29222 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29223 PyObject *resultobj = 0;
29224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29225 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29226 wxPrintData *arg3 = (wxPrintData *) 0 ;
29227 wxPrintPreview *result = 0 ;
29228 int res1 = 0 ;
29229 int res2 = 0 ;
29230 void *argp3 = 0 ;
29231 int res3 = 0 ;
29232
29233 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29234 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29235 if (!SWIG_IsOK(res1)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29237 }
29238 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29239 if (!SWIG_IsOK(res2)) {
29240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29241 }
29242 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29243 if (!SWIG_IsOK(res3)) {
29244 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29245 }
29246 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29247 {
29248 if (!wxPyCheckForApp()) SWIG_fail;
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29251 wxPyEndAllowThreads(__tstate);
29252 if (PyErr_Occurred()) SWIG_fail;
29253 }
29254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29255 return resultobj;
29256 fail:
29257 return NULL;
29258 }
29259
29260
29261 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29262 int argc;
29263 PyObject *argv[4];
29264
29265 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29266 --argc;
29267 if ((argc >= 2) && (argc <= 3)) {
29268 int _v = 0;
29269 if (argc > 2) {
29270 {
29271 void *vptr = 0;
29272 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29273 _v = SWIG_CheckState(res);
29274 }
29275 if (!_v) goto check_1;
29276 }
29277 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29278 }
29279 check_1:
29280
29281 if (argc == 3) {
29282 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29283 }
29284
29285 fail:
29286 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29287 return NULL;
29288 }
29289
29290
29291 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29292 PyObject *resultobj = 0;
29293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29294 void *argp1 = 0 ;
29295 int res1 = 0 ;
29296 PyObject *swig_obj[1] ;
29297
29298 if (!args) SWIG_fail;
29299 swig_obj[0] = args;
29300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29301 if (!SWIG_IsOK(res1)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29303 }
29304 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29305 {
29306 PyThreadState* __tstate = wxPyBeginAllowThreads();
29307 delete arg1;
29308
29309 wxPyEndAllowThreads(__tstate);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 resultobj = SWIG_Py_Void();
29313 return resultobj;
29314 fail:
29315 return NULL;
29316 }
29317
29318
29319 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29320 PyObject *resultobj = 0;
29321 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29322 int arg2 ;
29323 bool result;
29324 void *argp1 = 0 ;
29325 int res1 = 0 ;
29326 int val2 ;
29327 int ecode2 = 0 ;
29328 PyObject * obj0 = 0 ;
29329 PyObject * obj1 = 0 ;
29330 char * kwnames[] = {
29331 (char *) "self",(char *) "pageNum", NULL
29332 };
29333
29334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29336 if (!SWIG_IsOK(res1)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29338 }
29339 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29340 ecode2 = SWIG_AsVal_int(obj1, &val2);
29341 if (!SWIG_IsOK(ecode2)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29343 }
29344 arg2 = static_cast< int >(val2);
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (bool)(arg1)->SetCurrentPage(arg2);
29348 wxPyEndAllowThreads(__tstate);
29349 if (PyErr_Occurred()) SWIG_fail;
29350 }
29351 {
29352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29353 }
29354 return resultobj;
29355 fail:
29356 return NULL;
29357 }
29358
29359
29360 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29361 PyObject *resultobj = 0;
29362 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29363 int result;
29364 void *argp1 = 0 ;
29365 int res1 = 0 ;
29366 PyObject *swig_obj[1] ;
29367
29368 if (!args) SWIG_fail;
29369 swig_obj[0] = args;
29370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29371 if (!SWIG_IsOK(res1)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29373 }
29374 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29375 {
29376 PyThreadState* __tstate = wxPyBeginAllowThreads();
29377 result = (int)(arg1)->GetCurrentPage();
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 resultobj = SWIG_From_int(static_cast< int >(result));
29382 return resultobj;
29383 fail:
29384 return NULL;
29385 }
29386
29387
29388 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29389 PyObject *resultobj = 0;
29390 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29391 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29392 void *argp1 = 0 ;
29393 int res1 = 0 ;
29394 int res2 = 0 ;
29395 PyObject * obj0 = 0 ;
29396 PyObject * obj1 = 0 ;
29397 char * kwnames[] = {
29398 (char *) "self",(char *) "printout", NULL
29399 };
29400
29401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29403 if (!SWIG_IsOK(res1)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29405 }
29406 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29407 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29408 if (!SWIG_IsOK(res2)) {
29409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29410 }
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 (arg1)->SetPrintout(arg2);
29414 wxPyEndAllowThreads(__tstate);
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
29417 resultobj = SWIG_Py_Void();
29418 return resultobj;
29419 fail:
29420 return NULL;
29421 }
29422
29423
29424 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29425 PyObject *resultobj = 0;
29426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29427 wxPyPrintout *result = 0 ;
29428 void *argp1 = 0 ;
29429 int res1 = 0 ;
29430 PyObject *swig_obj[1] ;
29431
29432 if (!args) SWIG_fail;
29433 swig_obj[0] = args;
29434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29435 if (!SWIG_IsOK(res1)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29437 }
29438 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (wxPyPrintout *)(arg1)->GetPrintout();
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 {
29446 resultobj = wxPyMake_wxObject(result, 0);
29447 }
29448 return resultobj;
29449 fail:
29450 return NULL;
29451 }
29452
29453
29454 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29455 PyObject *resultobj = 0;
29456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29457 wxPyPrintout *result = 0 ;
29458 void *argp1 = 0 ;
29459 int res1 = 0 ;
29460 PyObject *swig_obj[1] ;
29461
29462 if (!args) SWIG_fail;
29463 swig_obj[0] = args;
29464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29465 if (!SWIG_IsOK(res1)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29467 }
29468 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29469 {
29470 PyThreadState* __tstate = wxPyBeginAllowThreads();
29471 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 {
29476 resultobj = wxPyMake_wxObject(result, 0);
29477 }
29478 return resultobj;
29479 fail:
29480 return NULL;
29481 }
29482
29483
29484 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29485 PyObject *resultobj = 0;
29486 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29487 wxFrame *arg2 = (wxFrame *) 0 ;
29488 void *argp1 = 0 ;
29489 int res1 = 0 ;
29490 void *argp2 = 0 ;
29491 int res2 = 0 ;
29492 PyObject * obj0 = 0 ;
29493 PyObject * obj1 = 0 ;
29494 char * kwnames[] = {
29495 (char *) "self",(char *) "frame", NULL
29496 };
29497
29498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29500 if (!SWIG_IsOK(res1)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29502 }
29503 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29505 if (!SWIG_IsOK(res2)) {
29506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29507 }
29508 arg2 = reinterpret_cast< wxFrame * >(argp2);
29509 {
29510 PyThreadState* __tstate = wxPyBeginAllowThreads();
29511 (arg1)->SetFrame(arg2);
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 resultobj = SWIG_Py_Void();
29516 return resultobj;
29517 fail:
29518 return NULL;
29519 }
29520
29521
29522 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj = 0;
29524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29525 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29526 void *argp1 = 0 ;
29527 int res1 = 0 ;
29528 void *argp2 = 0 ;
29529 int res2 = 0 ;
29530 PyObject * obj0 = 0 ;
29531 PyObject * obj1 = 0 ;
29532 char * kwnames[] = {
29533 (char *) "self",(char *) "canvas", NULL
29534 };
29535
29536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29538 if (!SWIG_IsOK(res1)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29540 }
29541 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29543 if (!SWIG_IsOK(res2)) {
29544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29545 }
29546 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 (arg1)->SetCanvas(arg2);
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 resultobj = SWIG_Py_Void();
29554 return resultobj;
29555 fail:
29556 return NULL;
29557 }
29558
29559
29560 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29561 PyObject *resultobj = 0;
29562 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29563 wxFrame *result = 0 ;
29564 void *argp1 = 0 ;
29565 int res1 = 0 ;
29566 PyObject *swig_obj[1] ;
29567
29568 if (!args) SWIG_fail;
29569 swig_obj[0] = args;
29570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29571 if (!SWIG_IsOK(res1)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29573 }
29574 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29575 {
29576 PyThreadState* __tstate = wxPyBeginAllowThreads();
29577 result = (wxFrame *)(arg1)->GetFrame();
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 {
29582 resultobj = wxPyMake_wxObject(result, 0);
29583 }
29584 return resultobj;
29585 fail:
29586 return NULL;
29587 }
29588
29589
29590 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29591 PyObject *resultobj = 0;
29592 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29593 wxPreviewCanvas *result = 0 ;
29594 void *argp1 = 0 ;
29595 int res1 = 0 ;
29596 PyObject *swig_obj[1] ;
29597
29598 if (!args) SWIG_fail;
29599 swig_obj[0] = args;
29600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29601 if (!SWIG_IsOK(res1)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29603 }
29604 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29608 wxPyEndAllowThreads(__tstate);
29609 if (PyErr_Occurred()) SWIG_fail;
29610 }
29611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29612 return resultobj;
29613 fail:
29614 return NULL;
29615 }
29616
29617
29618 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29619 PyObject *resultobj = 0;
29620 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29621 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29622 wxDC *arg3 = 0 ;
29623 bool result;
29624 void *argp1 = 0 ;
29625 int res1 = 0 ;
29626 void *argp2 = 0 ;
29627 int res2 = 0 ;
29628 void *argp3 = 0 ;
29629 int res3 = 0 ;
29630 PyObject * obj0 = 0 ;
29631 PyObject * obj1 = 0 ;
29632 PyObject * obj2 = 0 ;
29633 char * kwnames[] = {
29634 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29635 };
29636
29637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29639 if (!SWIG_IsOK(res1)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29641 }
29642 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29643 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29644 if (!SWIG_IsOK(res2)) {
29645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29646 }
29647 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29648 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29649 if (!SWIG_IsOK(res3)) {
29650 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29651 }
29652 if (!argp3) {
29653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29654 }
29655 arg3 = reinterpret_cast< wxDC * >(argp3);
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
29662 {
29663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29664 }
29665 return resultobj;
29666 fail:
29667 return NULL;
29668 }
29669
29670
29671 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29672 PyObject *resultobj = 0;
29673 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29674 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29675 wxDC *arg3 = 0 ;
29676 bool result;
29677 void *argp1 = 0 ;
29678 int res1 = 0 ;
29679 void *argp2 = 0 ;
29680 int res2 = 0 ;
29681 void *argp3 = 0 ;
29682 int res3 = 0 ;
29683 PyObject * obj0 = 0 ;
29684 PyObject * obj1 = 0 ;
29685 PyObject * obj2 = 0 ;
29686 char * kwnames[] = {
29687 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29688 };
29689
29690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29692 if (!SWIG_IsOK(res1)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29694 }
29695 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29697 if (!SWIG_IsOK(res2)) {
29698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29699 }
29700 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29701 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29702 if (!SWIG_IsOK(res3)) {
29703 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29704 }
29705 if (!argp3) {
29706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29707 }
29708 arg3 = reinterpret_cast< wxDC * >(argp3);
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 {
29716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29717 }
29718 return resultobj;
29719 fail:
29720 return NULL;
29721 }
29722
29723
29724 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29725 PyObject *resultobj = 0;
29726 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29727 int arg2 ;
29728 bool result;
29729 void *argp1 = 0 ;
29730 int res1 = 0 ;
29731 int val2 ;
29732 int ecode2 = 0 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char * kwnames[] = {
29736 (char *) "self",(char *) "pageNum", NULL
29737 };
29738
29739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29741 if (!SWIG_IsOK(res1)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29743 }
29744 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29745 ecode2 = SWIG_AsVal_int(obj1, &val2);
29746 if (!SWIG_IsOK(ecode2)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29748 }
29749 arg2 = static_cast< int >(val2);
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 result = (bool)(arg1)->RenderPage(arg2);
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 {
29757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29758 }
29759 return resultobj;
29760 fail:
29761 return NULL;
29762 }
29763
29764
29765 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29766 PyObject *resultobj = 0;
29767 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29768 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29769 void *argp1 = 0 ;
29770 int res1 = 0 ;
29771 void *argp2 = 0 ;
29772 int res2 = 0 ;
29773 PyObject * obj0 = 0 ;
29774 PyObject * obj1 = 0 ;
29775 char * kwnames[] = {
29776 (char *) "self",(char *) "canvas", NULL
29777 };
29778
29779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29781 if (!SWIG_IsOK(res1)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29783 }
29784 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29785 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29786 if (!SWIG_IsOK(res2)) {
29787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29788 }
29789 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 (arg1)->AdjustScrollbars(arg2);
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 resultobj = SWIG_Py_Void();
29797 return resultobj;
29798 fail:
29799 return NULL;
29800 }
29801
29802
29803 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29804 PyObject *resultobj = 0;
29805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29806 wxPrintDialogData *result = 0 ;
29807 void *argp1 = 0 ;
29808 int res1 = 0 ;
29809 PyObject *swig_obj[1] ;
29810
29811 if (!args) SWIG_fail;
29812 swig_obj[0] = args;
29813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29814 if (!SWIG_IsOK(res1)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29816 }
29817 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 {
29821 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29822 result = (wxPrintDialogData *) &_result_ref;
29823 }
29824 wxPyEndAllowThreads(__tstate);
29825 if (PyErr_Occurred()) SWIG_fail;
29826 }
29827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29828 return resultobj;
29829 fail:
29830 return NULL;
29831 }
29832
29833
29834 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29835 PyObject *resultobj = 0;
29836 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29837 int arg2 ;
29838 void *argp1 = 0 ;
29839 int res1 = 0 ;
29840 int val2 ;
29841 int ecode2 = 0 ;
29842 PyObject * obj0 = 0 ;
29843 PyObject * obj1 = 0 ;
29844 char * kwnames[] = {
29845 (char *) "self",(char *) "percent", NULL
29846 };
29847
29848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29850 if (!SWIG_IsOK(res1)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29852 }
29853 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29854 ecode2 = SWIG_AsVal_int(obj1, &val2);
29855 if (!SWIG_IsOK(ecode2)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29857 }
29858 arg2 = static_cast< int >(val2);
29859 {
29860 PyThreadState* __tstate = wxPyBeginAllowThreads();
29861 (arg1)->SetZoom(arg2);
29862 wxPyEndAllowThreads(__tstate);
29863 if (PyErr_Occurred()) SWIG_fail;
29864 }
29865 resultobj = SWIG_Py_Void();
29866 return resultobj;
29867 fail:
29868 return NULL;
29869 }
29870
29871
29872 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29873 PyObject *resultobj = 0;
29874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29875 int result;
29876 void *argp1 = 0 ;
29877 int res1 = 0 ;
29878 PyObject *swig_obj[1] ;
29879
29880 if (!args) SWIG_fail;
29881 swig_obj[0] = args;
29882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29883 if (!SWIG_IsOK(res1)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29885 }
29886 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 result = (int)(arg1)->GetZoom();
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 resultobj = SWIG_From_int(static_cast< int >(result));
29894 return resultobj;
29895 fail:
29896 return NULL;
29897 }
29898
29899
29900 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29901 PyObject *resultobj = 0;
29902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29903 int result;
29904 void *argp1 = 0 ;
29905 int res1 = 0 ;
29906 PyObject *swig_obj[1] ;
29907
29908 if (!args) SWIG_fail;
29909 swig_obj[0] = args;
29910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29911 if (!SWIG_IsOK(res1)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29913 }
29914 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29915 {
29916 PyThreadState* __tstate = wxPyBeginAllowThreads();
29917 result = (int)(arg1)->GetMaxPage();
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 resultobj = SWIG_From_int(static_cast< int >(result));
29922 return resultobj;
29923 fail:
29924 return NULL;
29925 }
29926
29927
29928 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29929 PyObject *resultobj = 0;
29930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29931 int result;
29932 void *argp1 = 0 ;
29933 int res1 = 0 ;
29934 PyObject *swig_obj[1] ;
29935
29936 if (!args) SWIG_fail;
29937 swig_obj[0] = args;
29938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29939 if (!SWIG_IsOK(res1)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29941 }
29942 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29943 {
29944 PyThreadState* __tstate = wxPyBeginAllowThreads();
29945 result = (int)(arg1)->GetMinPage();
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 resultobj = SWIG_From_int(static_cast< int >(result));
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29957 PyObject *resultobj = 0;
29958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29959 bool result;
29960 void *argp1 = 0 ;
29961 int res1 = 0 ;
29962 PyObject *swig_obj[1] ;
29963
29964 if (!args) SWIG_fail;
29965 swig_obj[0] = args;
29966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29967 if (!SWIG_IsOK(res1)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29969 }
29970 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 result = (bool)(arg1)->Ok();
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 {
29978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29979 }
29980 return resultobj;
29981 fail:
29982 return NULL;
29983 }
29984
29985
29986 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29987 PyObject *resultobj = 0;
29988 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29989 bool arg2 ;
29990 void *argp1 = 0 ;
29991 int res1 = 0 ;
29992 bool val2 ;
29993 int ecode2 = 0 ;
29994 PyObject * obj0 = 0 ;
29995 PyObject * obj1 = 0 ;
29996 char * kwnames[] = {
29997 (char *) "self",(char *) "ok", NULL
29998 };
29999
30000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30002 if (!SWIG_IsOK(res1)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30004 }
30005 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30006 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30007 if (!SWIG_IsOK(ecode2)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30009 }
30010 arg2 = static_cast< bool >(val2);
30011 {
30012 PyThreadState* __tstate = wxPyBeginAllowThreads();
30013 (arg1)->SetOk(arg2);
30014 wxPyEndAllowThreads(__tstate);
30015 if (PyErr_Occurred()) SWIG_fail;
30016 }
30017 resultobj = SWIG_Py_Void();
30018 return resultobj;
30019 fail:
30020 return NULL;
30021 }
30022
30023
30024 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30025 PyObject *resultobj = 0;
30026 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30027 bool arg2 ;
30028 bool result;
30029 void *argp1 = 0 ;
30030 int res1 = 0 ;
30031 bool val2 ;
30032 int ecode2 = 0 ;
30033 PyObject * obj0 = 0 ;
30034 PyObject * obj1 = 0 ;
30035 char * kwnames[] = {
30036 (char *) "self",(char *) "interactive", NULL
30037 };
30038
30039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30041 if (!SWIG_IsOK(res1)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30043 }
30044 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30045 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30046 if (!SWIG_IsOK(ecode2)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30048 }
30049 arg2 = static_cast< bool >(val2);
30050 {
30051 PyThreadState* __tstate = wxPyBeginAllowThreads();
30052 result = (bool)(arg1)->Print(arg2);
30053 wxPyEndAllowThreads(__tstate);
30054 if (PyErr_Occurred()) SWIG_fail;
30055 }
30056 {
30057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30058 }
30059 return resultobj;
30060 fail:
30061 return NULL;
30062 }
30063
30064
30065 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30066 PyObject *resultobj = 0;
30067 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30068 void *argp1 = 0 ;
30069 int res1 = 0 ;
30070 PyObject *swig_obj[1] ;
30071
30072 if (!args) SWIG_fail;
30073 swig_obj[0] = args;
30074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30075 if (!SWIG_IsOK(res1)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30077 }
30078 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30079 {
30080 PyThreadState* __tstate = wxPyBeginAllowThreads();
30081 (arg1)->DetermineScaling();
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 resultobj = SWIG_Py_Void();
30086 return resultobj;
30087 fail:
30088 return NULL;
30089 }
30090
30091
30092 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30093 PyObject *obj;
30094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30096 return SWIG_Py_Void();
30097 }
30098
30099 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30100 return SWIG_Python_InitShadowInstance(args);
30101 }
30102
30103 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30104 PyObject *resultobj = 0;
30105 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30106 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30107 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30108 wxPyPrintPreview *result = 0 ;
30109 int res1 = 0 ;
30110 int res2 = 0 ;
30111 void *argp3 = 0 ;
30112 int res3 = 0 ;
30113
30114 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30115 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30116 if (!SWIG_IsOK(res1)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30118 }
30119 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30120 if (!SWIG_IsOK(res2)) {
30121 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30122 }
30123 if (swig_obj[2]) {
30124 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30125 if (!SWIG_IsOK(res3)) {
30126 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30127 }
30128 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30129 }
30130 {
30131 if (!wxPyCheckForApp()) SWIG_fail;
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
30133 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30134 wxPyEndAllowThreads(__tstate);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30138 return resultobj;
30139 fail:
30140 return NULL;
30141 }
30142
30143
30144 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30145 PyObject *resultobj = 0;
30146 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30147 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30148 wxPrintData *arg3 = (wxPrintData *) 0 ;
30149 wxPyPrintPreview *result = 0 ;
30150 int res1 = 0 ;
30151 int res2 = 0 ;
30152 void *argp3 = 0 ;
30153 int res3 = 0 ;
30154
30155 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30156 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30157 if (!SWIG_IsOK(res1)) {
30158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30159 }
30160 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30161 if (!SWIG_IsOK(res2)) {
30162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30163 }
30164 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30165 if (!SWIG_IsOK(res3)) {
30166 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30167 }
30168 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30169 {
30170 if (!wxPyCheckForApp()) SWIG_fail;
30171 PyThreadState* __tstate = wxPyBeginAllowThreads();
30172 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30173 wxPyEndAllowThreads(__tstate);
30174 if (PyErr_Occurred()) SWIG_fail;
30175 }
30176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30177 return resultobj;
30178 fail:
30179 return NULL;
30180 }
30181
30182
30183 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30184 int argc;
30185 PyObject *argv[4];
30186
30187 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30188 --argc;
30189 if ((argc >= 2) && (argc <= 3)) {
30190 int _v = 0;
30191 if (argc > 2) {
30192 {
30193 void *vptr = 0;
30194 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30195 _v = SWIG_CheckState(res);
30196 }
30197 if (!_v) goto check_1;
30198 }
30199 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30200 }
30201 check_1:
30202
30203 if (argc == 3) {
30204 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30205 }
30206
30207 fail:
30208 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30209 return NULL;
30210 }
30211
30212
30213 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30214 PyObject *resultobj = 0;
30215 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30216 PyObject *arg2 = (PyObject *) 0 ;
30217 PyObject *arg3 = (PyObject *) 0 ;
30218 void *argp1 = 0 ;
30219 int res1 = 0 ;
30220 PyObject * obj0 = 0 ;
30221 PyObject * obj1 = 0 ;
30222 PyObject * obj2 = 0 ;
30223 char * kwnames[] = {
30224 (char *) "self",(char *) "self",(char *) "_class", NULL
30225 };
30226
30227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30229 if (!SWIG_IsOK(res1)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30231 }
30232 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30233 arg2 = obj1;
30234 arg3 = obj2;
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 (arg1)->_setCallbackInfo(arg2,arg3);
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 resultobj = SWIG_Py_Void();
30242 return resultobj;
30243 fail:
30244 return NULL;
30245 }
30246
30247
30248 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30249 PyObject *obj;
30250 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30252 return SWIG_Py_Void();
30253 }
30254
30255 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30256 return SWIG_Python_InitShadowInstance(args);
30257 }
30258
30259 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30260 PyObject *resultobj = 0;
30261 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30262 wxFrame *arg2 = (wxFrame *) 0 ;
30263 wxString *arg3 = 0 ;
30264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30266 wxSize const &arg5_defvalue = wxDefaultSize ;
30267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30268 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30269 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30270 wxString *arg7 = (wxString *) &arg7_defvalue ;
30271 wxPyPreviewFrame *result = 0 ;
30272 void *argp1 = 0 ;
30273 int res1 = 0 ;
30274 void *argp2 = 0 ;
30275 int res2 = 0 ;
30276 bool temp3 = false ;
30277 wxPoint temp4 ;
30278 wxSize temp5 ;
30279 long val6 ;
30280 int ecode6 = 0 ;
30281 bool temp7 = false ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 PyObject * obj2 = 0 ;
30285 PyObject * obj3 = 0 ;
30286 PyObject * obj4 = 0 ;
30287 PyObject * obj5 = 0 ;
30288 PyObject * obj6 = 0 ;
30289 char * kwnames[] = {
30290 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30291 };
30292
30293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30295 if (!SWIG_IsOK(res1)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30297 }
30298 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30299 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30300 if (!SWIG_IsOK(res2)) {
30301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30302 }
30303 arg2 = reinterpret_cast< wxFrame * >(argp2);
30304 {
30305 arg3 = wxString_in_helper(obj2);
30306 if (arg3 == NULL) SWIG_fail;
30307 temp3 = true;
30308 }
30309 if (obj3) {
30310 {
30311 arg4 = &temp4;
30312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30313 }
30314 }
30315 if (obj4) {
30316 {
30317 arg5 = &temp5;
30318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30319 }
30320 }
30321 if (obj5) {
30322 ecode6 = SWIG_AsVal_long(obj5, &val6);
30323 if (!SWIG_IsOK(ecode6)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30325 }
30326 arg6 = static_cast< long >(val6);
30327 }
30328 if (obj6) {
30329 {
30330 arg7 = wxString_in_helper(obj6);
30331 if (arg7 == NULL) SWIG_fail;
30332 temp7 = true;
30333 }
30334 }
30335 {
30336 if (!wxPyCheckForApp()) SWIG_fail;
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30339 wxPyEndAllowThreads(__tstate);
30340 if (PyErr_Occurred()) SWIG_fail;
30341 }
30342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30343 {
30344 if (temp3)
30345 delete arg3;
30346 }
30347 {
30348 if (temp7)
30349 delete arg7;
30350 }
30351 return resultobj;
30352 fail:
30353 {
30354 if (temp3)
30355 delete arg3;
30356 }
30357 {
30358 if (temp7)
30359 delete arg7;
30360 }
30361 return NULL;
30362 }
30363
30364
30365 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30366 PyObject *resultobj = 0;
30367 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30368 PyObject *arg2 = (PyObject *) 0 ;
30369 PyObject *arg3 = (PyObject *) 0 ;
30370 void *argp1 = 0 ;
30371 int res1 = 0 ;
30372 PyObject * obj0 = 0 ;
30373 PyObject * obj1 = 0 ;
30374 PyObject * obj2 = 0 ;
30375 char * kwnames[] = {
30376 (char *) "self",(char *) "self",(char *) "_class", NULL
30377 };
30378
30379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30381 if (!SWIG_IsOK(res1)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30383 }
30384 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30385 arg2 = obj1;
30386 arg3 = obj2;
30387 {
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
30389 (arg1)->_setCallbackInfo(arg2,arg3);
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 resultobj = SWIG_Py_Void();
30394 return resultobj;
30395 fail:
30396 return NULL;
30397 }
30398
30399
30400 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30401 PyObject *resultobj = 0;
30402 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30403 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30404 void *argp1 = 0 ;
30405 int res1 = 0 ;
30406 void *argp2 = 0 ;
30407 int res2 = 0 ;
30408 PyObject * obj0 = 0 ;
30409 PyObject * obj1 = 0 ;
30410 char * kwnames[] = {
30411 (char *) "self",(char *) "canvas", NULL
30412 };
30413
30414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30416 if (!SWIG_IsOK(res1)) {
30417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30418 }
30419 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30421 if (!SWIG_IsOK(res2)) {
30422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30423 }
30424 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30425 {
30426 PyThreadState* __tstate = wxPyBeginAllowThreads();
30427 (arg1)->SetPreviewCanvas(arg2);
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 resultobj = SWIG_Py_Void();
30432 return resultobj;
30433 fail:
30434 return NULL;
30435 }
30436
30437
30438 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30439 PyObject *resultobj = 0;
30440 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30441 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30442 void *argp1 = 0 ;
30443 int res1 = 0 ;
30444 void *argp2 = 0 ;
30445 int res2 = 0 ;
30446 PyObject * obj0 = 0 ;
30447 PyObject * obj1 = 0 ;
30448 char * kwnames[] = {
30449 (char *) "self",(char *) "bar", NULL
30450 };
30451
30452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30454 if (!SWIG_IsOK(res1)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30456 }
30457 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30459 if (!SWIG_IsOK(res2)) {
30460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30461 }
30462 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30463 {
30464 PyThreadState* __tstate = wxPyBeginAllowThreads();
30465 (arg1)->SetControlBar(arg2);
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 resultobj = SWIG_Py_Void();
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30477 PyObject *resultobj = 0;
30478 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30479 void *argp1 = 0 ;
30480 int res1 = 0 ;
30481 PyObject *swig_obj[1] ;
30482
30483 if (!args) SWIG_fail;
30484 swig_obj[0] = args;
30485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30486 if (!SWIG_IsOK(res1)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30488 }
30489 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 (arg1)->Initialize();
30493 wxPyEndAllowThreads(__tstate);
30494 if (PyErr_Occurred()) SWIG_fail;
30495 }
30496 resultobj = SWIG_Py_Void();
30497 return resultobj;
30498 fail:
30499 return NULL;
30500 }
30501
30502
30503 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30504 PyObject *resultobj = 0;
30505 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 PyObject *swig_obj[1] ;
30509
30510 if (!args) SWIG_fail;
30511 swig_obj[0] = args;
30512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30513 if (!SWIG_IsOK(res1)) {
30514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30515 }
30516 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30517 {
30518 PyThreadState* __tstate = wxPyBeginAllowThreads();
30519 (arg1)->CreateCanvas();
30520 wxPyEndAllowThreads(__tstate);
30521 if (PyErr_Occurred()) SWIG_fail;
30522 }
30523 resultobj = SWIG_Py_Void();
30524 return resultobj;
30525 fail:
30526 return NULL;
30527 }
30528
30529
30530 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30531 PyObject *resultobj = 0;
30532 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30533 void *argp1 = 0 ;
30534 int res1 = 0 ;
30535 PyObject *swig_obj[1] ;
30536
30537 if (!args) SWIG_fail;
30538 swig_obj[0] = args;
30539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30540 if (!SWIG_IsOK(res1)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30542 }
30543 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30544 {
30545 PyThreadState* __tstate = wxPyBeginAllowThreads();
30546 (arg1)->CreateControlBar();
30547 wxPyEndAllowThreads(__tstate);
30548 if (PyErr_Occurred()) SWIG_fail;
30549 }
30550 resultobj = SWIG_Py_Void();
30551 return resultobj;
30552 fail:
30553 return NULL;
30554 }
30555
30556
30557 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30558 PyObject *obj;
30559 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30561 return SWIG_Py_Void();
30562 }
30563
30564 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30565 return SWIG_Python_InitShadowInstance(args);
30566 }
30567
30568 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30569 PyObject *resultobj = 0;
30570 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30571 long arg2 ;
30572 wxWindow *arg3 = (wxWindow *) 0 ;
30573 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30574 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30575 wxSize const &arg5_defvalue = wxDefaultSize ;
30576 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30577 long arg6 = (long) 0 ;
30578 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30579 wxString *arg7 = (wxString *) &arg7_defvalue ;
30580 wxPyPreviewControlBar *result = 0 ;
30581 void *argp1 = 0 ;
30582 int res1 = 0 ;
30583 long val2 ;
30584 int ecode2 = 0 ;
30585 void *argp3 = 0 ;
30586 int res3 = 0 ;
30587 wxPoint temp4 ;
30588 wxSize temp5 ;
30589 long val6 ;
30590 int ecode6 = 0 ;
30591 bool temp7 = false ;
30592 PyObject * obj0 = 0 ;
30593 PyObject * obj1 = 0 ;
30594 PyObject * obj2 = 0 ;
30595 PyObject * obj3 = 0 ;
30596 PyObject * obj4 = 0 ;
30597 PyObject * obj5 = 0 ;
30598 PyObject * obj6 = 0 ;
30599 char * kwnames[] = {
30600 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30601 };
30602
30603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30605 if (!SWIG_IsOK(res1)) {
30606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30607 }
30608 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30609 ecode2 = SWIG_AsVal_long(obj1, &val2);
30610 if (!SWIG_IsOK(ecode2)) {
30611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30612 }
30613 arg2 = static_cast< long >(val2);
30614 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30615 if (!SWIG_IsOK(res3)) {
30616 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30617 }
30618 arg3 = reinterpret_cast< wxWindow * >(argp3);
30619 if (obj3) {
30620 {
30621 arg4 = &temp4;
30622 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30623 }
30624 }
30625 if (obj4) {
30626 {
30627 arg5 = &temp5;
30628 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30629 }
30630 }
30631 if (obj5) {
30632 ecode6 = SWIG_AsVal_long(obj5, &val6);
30633 if (!SWIG_IsOK(ecode6)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30635 }
30636 arg6 = static_cast< long >(val6);
30637 }
30638 if (obj6) {
30639 {
30640 arg7 = wxString_in_helper(obj6);
30641 if (arg7 == NULL) SWIG_fail;
30642 temp7 = true;
30643 }
30644 }
30645 {
30646 if (!wxPyCheckForApp()) SWIG_fail;
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
30648 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30649 wxPyEndAllowThreads(__tstate);
30650 if (PyErr_Occurred()) SWIG_fail;
30651 }
30652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30653 {
30654 if (temp7)
30655 delete arg7;
30656 }
30657 return resultobj;
30658 fail:
30659 {
30660 if (temp7)
30661 delete arg7;
30662 }
30663 return NULL;
30664 }
30665
30666
30667 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30668 PyObject *resultobj = 0;
30669 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30670 PyObject *arg2 = (PyObject *) 0 ;
30671 PyObject *arg3 = (PyObject *) 0 ;
30672 void *argp1 = 0 ;
30673 int res1 = 0 ;
30674 PyObject * obj0 = 0 ;
30675 PyObject * obj1 = 0 ;
30676 PyObject * obj2 = 0 ;
30677 char * kwnames[] = {
30678 (char *) "self",(char *) "self",(char *) "_class", NULL
30679 };
30680
30681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30683 if (!SWIG_IsOK(res1)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30685 }
30686 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30687 arg2 = obj1;
30688 arg3 = obj2;
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 (arg1)->_setCallbackInfo(arg2,arg3);
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
30695 resultobj = SWIG_Py_Void();
30696 return resultobj;
30697 fail:
30698 return NULL;
30699 }
30700
30701
30702 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30703 PyObject *resultobj = 0;
30704 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30705 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30706 void *argp1 = 0 ;
30707 int res1 = 0 ;
30708 void *argp2 = 0 ;
30709 int res2 = 0 ;
30710 PyObject * obj0 = 0 ;
30711 PyObject * obj1 = 0 ;
30712 char * kwnames[] = {
30713 (char *) "self",(char *) "preview", NULL
30714 };
30715
30716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30718 if (!SWIG_IsOK(res1)) {
30719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30720 }
30721 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30723 if (!SWIG_IsOK(res2)) {
30724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30725 }
30726 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30727 {
30728 PyThreadState* __tstate = wxPyBeginAllowThreads();
30729 (arg1)->SetPrintPreview(arg2);
30730 wxPyEndAllowThreads(__tstate);
30731 if (PyErr_Occurred()) SWIG_fail;
30732 }
30733 resultobj = SWIG_Py_Void();
30734 return resultobj;
30735 fail:
30736 return NULL;
30737 }
30738
30739
30740 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30741 PyObject *resultobj = 0;
30742 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30743 void *argp1 = 0 ;
30744 int res1 = 0 ;
30745 PyObject *swig_obj[1] ;
30746
30747 if (!args) SWIG_fail;
30748 swig_obj[0] = args;
30749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30750 if (!SWIG_IsOK(res1)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30752 }
30753 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30754 {
30755 PyThreadState* __tstate = wxPyBeginAllowThreads();
30756 (arg1)->CreateButtons();
30757 wxPyEndAllowThreads(__tstate);
30758 if (PyErr_Occurred()) SWIG_fail;
30759 }
30760 resultobj = SWIG_Py_Void();
30761 return resultobj;
30762 fail:
30763 return NULL;
30764 }
30765
30766
30767 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30768 PyObject *resultobj = 0;
30769 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30770 int arg2 ;
30771 void *argp1 = 0 ;
30772 int res1 = 0 ;
30773 int val2 ;
30774 int ecode2 = 0 ;
30775 PyObject * obj0 = 0 ;
30776 PyObject * obj1 = 0 ;
30777 char * kwnames[] = {
30778 (char *) "self",(char *) "zoom", NULL
30779 };
30780
30781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30783 if (!SWIG_IsOK(res1)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30785 }
30786 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30787 ecode2 = SWIG_AsVal_int(obj1, &val2);
30788 if (!SWIG_IsOK(ecode2)) {
30789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30790 }
30791 arg2 = static_cast< int >(val2);
30792 {
30793 PyThreadState* __tstate = wxPyBeginAllowThreads();
30794 (arg1)->SetZoomControl(arg2);
30795 wxPyEndAllowThreads(__tstate);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 resultobj = SWIG_Py_Void();
30799 return resultobj;
30800 fail:
30801 return NULL;
30802 }
30803
30804
30805 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30806 PyObject *obj;
30807 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30808 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30809 return SWIG_Py_Void();
30810 }
30811
30812 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30813 return SWIG_Python_InitShadowInstance(args);
30814 }
30815
30816 static PyMethodDef SwigMethods[] = {
30817 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30819 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30821 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30823 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30824 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30826 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30833 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30835 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30837 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30838 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30839 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30840 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30841 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30844 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30846 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30849 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30850 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30852 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30854 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30855 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30856 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30857 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30861 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30863 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30866 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30868 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30871 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
30874 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30875 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30877 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30879 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30881 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30884 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30891 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30893 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30898 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30899 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30901 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30904 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30906 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30908 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30912 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30913 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30916 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30917 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30919 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30921 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30922 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30925 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30926 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30927 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30929 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30930 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30931 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30932 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30933 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30935 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30938 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30939 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30947 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30948 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30950 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30951 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30953 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30955 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30956 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30958 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30964 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30965 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30968 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30969 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30971 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30973 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30975 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30977 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30979 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30981 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30982 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30985 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30986 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30987 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30988 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30989 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30990 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30992 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31000 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31002 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31005 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31006 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31009 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31010 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31012 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31013 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31014 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31017 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31019 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31021 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31022 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31023 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31026 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31028 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31030 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31032 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31034 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31035 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31036 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31039 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31041 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31042 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31043 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31045 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31047 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31048 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31052 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31053 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31054 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31055 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31059 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31060 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31062 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31063 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31064 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31066 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31067 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31068 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31071 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31072 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31073 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31075 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31084 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31085 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31086 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31087 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31089 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31090 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31093 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31094 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31096 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31099 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31100 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31101 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31104 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31105 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31107 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31108 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31110 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31115 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31116 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31122 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31123 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31125 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31129 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31131 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31132 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31133 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31134 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31136 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31137 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31138 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31140 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31142 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31143 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31145 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31146 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31147 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31148 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31149 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31150 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31155 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31156 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31158 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31159 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31160 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31163 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31164 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31167 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31168 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31176 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31177 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31178 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31179 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31180 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31181 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31182 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31183 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31184 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31185 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31188 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31189 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31190 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31192 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31193 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31195 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31196 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31198 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31200 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31201 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31203 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31206 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31207 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31208 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31209 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31210 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31212 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31213 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31214 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31215 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31216 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31217 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31224 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31225 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31227 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31228 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31229 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31232 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31233 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31237 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31238 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31239 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31241 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31242 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31243 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31244 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31248 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31249 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31251 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31252 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31253 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31254 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31258 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31259 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31261 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31263 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31265 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31266 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31268 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31270 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31271 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31272 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31273 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31274 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31275 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31276 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31278 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31279 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31281 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31283 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31284 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31287 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31289 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31290 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31292 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31300 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31301 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31302 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31303 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31304 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31305 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31306 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31307 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31308 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31310 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31318 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31319 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31320 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31321 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31322 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31323 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31324 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31325 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31326 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31328 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31336 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31337 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31338 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31339 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31340 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31341 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31342 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31343 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31344 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31345 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31346 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31347 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31348 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31349 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31350 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31351 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31352 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31353 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31354 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31355 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31356 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31357 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31358 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31363 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31366 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31367 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31370 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31372 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31374 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31375 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31376 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31377 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31383 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31384 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31385 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31386 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31387 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31388 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31389 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31390 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31391 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31392 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31393 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31394 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31395 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31396 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31397 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31407 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31408 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31409 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31410 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31412 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31413 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31414 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31415 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31416 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31417 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31418 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31419 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31420 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31421 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31422 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31423 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31424 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31425 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31426 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31427 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31428 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31442 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31443 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31444 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31445 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31446 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31447 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31449 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31450 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31452 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31453 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31454 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31455 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31456 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31457 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31458 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31460 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31466 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31467 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31468 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31469 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31470 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31472 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31474 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31475 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31478 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31480 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31482 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31484 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31485 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31488 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31489 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31490 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31491 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31493 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31494 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31495 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31497 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31498 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31500 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31501 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31502 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31503 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31504 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31505 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31507 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31509 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31510 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31511 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31512 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31513 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31514 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31515 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31516 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31517 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31518 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31520 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31522 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31523 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31526 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31527 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31532 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31534 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31535 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31536 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31537 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31540 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31541 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31542 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31543 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31545 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31546 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31551 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31552 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31553 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31554 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31555 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31559 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31561 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31562 { NULL, NULL, 0, NULL }
31563 };
31564
31565
31566 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31567
31568 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31569 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31570 }
31571 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31572 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31573 }
31574 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31575 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31576 }
31577 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31578 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31579 }
31580 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31581 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31582 }
31583 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31584 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31585 }
31586 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31587 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31588 }
31589 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31590 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31591 }
31592 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31593 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31594 }
31595 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31596 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31597 }
31598 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31599 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31600 }
31601 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31603 }
31604 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31605 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31606 }
31607 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31608 return (void *)((wxEvent *) ((wxPyEvent *) x));
31609 }
31610 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31611 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31612 }
31613 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31614 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31615 }
31616 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31618 }
31619 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31620 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31621 }
31622 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31623 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31624 }
31625 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31626 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31627 }
31628 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31629 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31630 }
31631 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31632 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31633 }
31634 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31635 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31636 }
31637 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31639 }
31640 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31641 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31642 }
31643 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31644 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31645 }
31646 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31648 }
31649 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31650 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31651 }
31652 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31653 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31654 }
31655 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31656 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31657 }
31658 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31659 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31660 }
31661 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31662 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31663 }
31664 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31665 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31666 }
31667 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31668 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31669 }
31670 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31672 }
31673 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31674 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31675 }
31676 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31677 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31678 }
31679 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31680 return (void *)((wxEvent *) ((wxShowEvent *) x));
31681 }
31682 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31683 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31684 }
31685 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31687 }
31688 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31690 }
31691 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31692 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31693 }
31694 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31695 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31696 }
31697 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31698 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31699 }
31700 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31701 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31702 }
31703 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31704 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31705 }
31706 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31707 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31708 }
31709 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31710 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31711 }
31712 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31713 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31714 }
31715 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31716 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31717 }
31718 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31719 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31720 }
31721 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31722 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31723 }
31724 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31725 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31726 }
31727 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31728 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31729 }
31730 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31732 }
31733 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31735 }
31736 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31738 }
31739 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31741 }
31742 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31743 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31744 }
31745 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31746 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31747 }
31748 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31749 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31750 }
31751 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31752 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31753 }
31754 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31755 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31756 }
31757 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31758 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31759 }
31760 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31761 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31762 }
31763 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31764 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31765 }
31766 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31767 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31768 }
31769 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31770 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31771 }
31772 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31773 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31774 }
31775 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31776 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31777 }
31778 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31779 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31780 }
31781 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31782 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31783 }
31784 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31785 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31786 }
31787 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31788 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31789 }
31790 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31791 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31792 }
31793 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31794 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31795 }
31796 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31797 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31798 }
31799 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31800 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31801 }
31802 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31803 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31804 }
31805 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31806 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31807 }
31808 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31809 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31810 }
31811 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31812 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31813 }
31814 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31815 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31816 }
31817 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31818 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31819 }
31820 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31821 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31822 }
31823 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31824 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31825 }
31826 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31827 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31828 }
31829 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31830 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31831 }
31832 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31833 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31834 }
31835 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31836 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31837 }
31838 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31839 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31840 }
31841 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31842 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31843 }
31844 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31845 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31846 }
31847 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31848 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31849 }
31850 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31851 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31852 }
31853 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31854 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31855 }
31856 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31857 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31858 }
31859 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31860 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31861 }
31862 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31863 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31864 }
31865 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31866 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31867 }
31868 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31869 return (void *)((wxFrame *) ((wxTipWindow *) x));
31870 }
31871 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31872 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31873 }
31874 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31875 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31876 }
31877 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31878 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31879 }
31880 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31881 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31882 }
31883 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31884 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31885 }
31886 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31888 }
31889 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31891 }
31892 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31894 }
31895 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31897 }
31898 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) ((wxSizerItem *) x));
31900 }
31901 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31903 }
31904 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31906 }
31907 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31909 }
31910 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31912 }
31913 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31915 }
31916 static void *_p_wxSizerTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) ((wxSizer *) x));
31918 }
31919 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31921 }
31922 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31924 }
31925 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31927 }
31928 static void *_p_wxEventTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) ((wxEvent *) x));
31930 }
31931 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) ((wxFontData *) x));
31933 }
31934 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) ((wxPrintData *) x));
31936 }
31937 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31939 }
31940 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31942 }
31943 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31945 }
31946 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31948 }
31949 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31951 }
31952 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31954 }
31955 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31957 }
31958 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31960 }
31961 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31963 }
31964 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31966 }
31967 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31969 }
31970 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31972 }
31973 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31975 }
31976 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31978 }
31979 static void *_p_wxControlTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31981 }
31982 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31984 }
31985 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31987 }
31988 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) ((wxFSFile *) x));
31990 }
31991 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31993 }
31994 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31996 }
31997 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31999 }
32000 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) ((wxColourData *) x));
32002 }
32003 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32005 }
32006 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32008 }
32009 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32011 }
32012 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32014 }
32015 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32017 }
32018 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32020 }
32021 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32023 }
32024 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32026 }
32027 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32029 }
32030 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32032 }
32033 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32035 }
32036 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32038 }
32039 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32041 }
32042 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32043 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32044 }
32045 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32046 return (void *)((wxObject *) ((wxPrinter *) x));
32047 }
32048 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32049 return (void *)((wxObject *) ((wxMenuItem *) x));
32050 }
32051 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32053 }
32054 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32055 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32056 }
32057 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32059 }
32060 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32061 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32062 }
32063 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32064 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32065 }
32066 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32067 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32068 }
32069 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32070 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32071 }
32072 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32073 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32074 }
32075 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32076 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32077 }
32078 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32079 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32080 }
32081 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32082 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32083 }
32084 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32085 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32086 }
32087 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32088 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32089 }
32090 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32091 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32092 }
32093 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32094 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32095 }
32096 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32097 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32098 }
32099 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32100 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32101 }
32102 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32103 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32104 }
32105 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32106 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32107 }
32108 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32109 return (void *)((wxObject *) ((wxImageHandler *) x));
32110 }
32111 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32112 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32113 }
32114 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32115 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32116 }
32117 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32118 return (void *)((wxObject *) ((wxEvtHandler *) x));
32119 }
32120 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32121 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32122 }
32123 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32124 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32125 }
32126 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32128 }
32129 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32131 }
32132 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32133 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32134 }
32135 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32136 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32137 }
32138 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32140 }
32141 static void *_p_wxImageTo_p_wxObject(void *x) {
32142 return (void *)((wxObject *) ((wxImage *) x));
32143 }
32144 static void *_p_wxFrameTo_p_wxObject(void *x) {
32145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32146 }
32147 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32148 return (void *)((wxObject *) ((wxPyPrintout *) x));
32149 }
32150 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32151 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32152 }
32153 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32154 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32155 }
32156 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32158 }
32159 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32161 }
32162 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32164 }
32165 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32166 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32167 }
32168 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32169 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32170 }
32171 static void *_p_wxWindowTo_p_wxObject(void *x) {
32172 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32173 }
32174 static void *_p_wxMenuTo_p_wxObject(void *x) {
32175 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32176 }
32177 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32179 }
32180 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32182 }
32183 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32185 }
32186 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32188 }
32189 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32191 }
32192 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32194 }
32195 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32197 }
32198 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32200 }
32201 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32203 }
32204 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32206 }
32207 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32209 }
32210 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32212 }
32213 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32215 }
32216 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32218 }
32219 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32220 return (void *)((wxObject *) ((wxPrintPreview *) x));
32221 }
32222 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32223 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32224 }
32225 static void *_p_wxPanelTo_p_wxObject(void *x) {
32226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32227 }
32228 static void *_p_wxDialogTo_p_wxObject(void *x) {
32229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32230 }
32231 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32233 }
32234 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32236 }
32237 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32239 }
32240 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32241 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32242 }
32243 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32244 return (void *)((wxObject *) ((wxPrintDialog *) x));
32245 }
32246 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32247 return (void *)((wxObject *) ((wxFileSystem *) x));
32248 }
32249 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32251 }
32252 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32253 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32254 }
32255 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32256 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32257 }
32258 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32259 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32260 }
32261 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32262 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32263 }
32264 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32265 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32266 }
32267 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32269 }
32270 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32271 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32272 }
32273 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32275 }
32276 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32278 }
32279 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32280 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32281 }
32282 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32283 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32284 }
32285 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32287 }
32288 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32290 }
32291 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32292 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32293 }
32294 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32295 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32296 }
32297 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32298 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32299 }
32300 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32301 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32302 }
32303 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32304 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32305 }
32306 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32307 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32308 }
32309 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32310 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32311 }
32312 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32313 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32314 }
32315 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32316 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32317 }
32318 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32319 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32320 }
32321 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32322 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32323 }
32324 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32325 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32326 }
32327 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32328 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32329 }
32330 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32331 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32332 }
32333 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32334 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32335 }
32336 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32337 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32338 }
32339 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32340 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32341 }
32342 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32343 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32344 }
32345 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32346 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32347 }
32348 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32349 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32350 }
32351 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32352 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32353 }
32354 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32355 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32356 }
32357 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32358 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32359 }
32360 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32361 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32362 }
32363 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32364 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32365 }
32366 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32367 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32368 }
32369 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32370 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32371 }
32372 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32373 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32374 }
32375 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32376 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32377 }
32378 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32380 }
32381 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32382 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32383 }
32384 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32385 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32386 }
32387 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32388 return (void *)((wxWindow *) ((wxMenuBar *) x));
32389 }
32390 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32391 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32392 }
32393 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32394 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32395 }
32396 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32397 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32398 }
32399 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32401 }
32402 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32403 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32404 }
32405 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32407 }
32408 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32410 }
32411 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32413 }
32414 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32415 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32416 }
32417 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32418 return (void *)((wxWindow *) ((wxPanel *) x));
32419 }
32420 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32421 return (void *)((wxWindow *) ((wxStatusBar *) x));
32422 }
32423 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32424 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32425 }
32426 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32428 }
32429 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32430 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32431 }
32432 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32433 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32434 }
32435 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32436 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32437 }
32438 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32439 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32440 }
32441 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32442 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32443 }
32444 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32445 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32446 }
32447 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32448 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32449 }
32450 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32451 return (void *)((wxWindow *) ((wxSashWindow *) x));
32452 }
32453 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32454 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32455 }
32456 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32457 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32458 }
32459 static void *_p_wxControlTo_p_wxWindow(void *x) {
32460 return (void *)((wxWindow *) ((wxControl *) x));
32461 }
32462 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32463 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32464 }
32465 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32467 }
32468 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32469 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32470 }
32471 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32472 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32473 }
32474 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32475 return (void *)((wxWindow *) ((wxPyWindow *) x));
32476 }
32477 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32478 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32479 }
32480 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32481 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32482 }
32483 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32484 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32485 }
32486 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32487 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32488 }
32489 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32490 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32491 }
32492 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32493 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32494 }
32495 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32496 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32497 }
32498 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32499 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32500 }
32501 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32502 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32503 }
32504 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32505 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32506 }
32507 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32508 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32509 }
32510 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32511 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32512 }
32513 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32514 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32515 }
32516 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32517 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32518 }
32519 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32520 return (void *)((wxDialog *) ((wxColourDialog *) x));
32521 }
32522 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32523 return (void *)((wxDialog *) ((wxDirDialog *) x));
32524 }
32525 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32526 return (void *)((wxDialog *) ((wxFontDialog *) x));
32527 }
32528 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32529 return (void *)((wxDialog *) ((wxFileDialog *) x));
32530 }
32531 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32532 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32533 }
32534 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32535 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32536 }
32537 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32538 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32539 }
32540 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32541 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32542 }
32543 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32544 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32545 }
32546 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32547 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32548 }
32549 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32550 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32551 }
32552 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32553 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32554 }
32555 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32556 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32557 }
32558 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32559 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32560 }
32561 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32562 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32563 }
32564 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32565 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32566 }
32567 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32568 return (void *)((wxPanel *) ((wxPyPanel *) x));
32569 }
32570 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32571 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32572 }
32573 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32574 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32575 }
32576 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32577 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32578 }
32579 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32580 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32581 }
32582 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32583 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32584 }
32585 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32586 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32587 }
32588 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32589 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32590 }
32591 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32592 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32593 }
32594 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32595 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32596 }
32597 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32598 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32599 }
32600 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32601 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32602 }
32603 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32604 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32605 }
32606 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32607 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32608 }
32609 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32610 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32611 }
32612 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32613 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32614 }
32615 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32616 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32617 }
32618 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32619 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32620 }
32621 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32623 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};
32624 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32665 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32696 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32697 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32698 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32700 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32734 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32735 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32736 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32737 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32738 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32739 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32740 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32741 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32742 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32743 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32744 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32745 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32746 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32747 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32748 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32749 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32786
32787 static swig_type_info *swig_type_initial[] = {
32788 &_swigt__p_bool,
32789 &_swigt__p_char,
32790 &_swigt__p_form_ops_t,
32791 &_swigt__p_int,
32792 &_swigt__p_unsigned_char,
32793 &_swigt__p_unsigned_int,
32794 &_swigt__p_unsigned_long,
32795 &_swigt__p_wxANIHandler,
32796 &_swigt__p_wxAcceleratorTable,
32797 &_swigt__p_wxActivateEvent,
32798 &_swigt__p_wxArrayInt,
32799 &_swigt__p_wxBMPHandler,
32800 &_swigt__p_wxBitmap,
32801 &_swigt__p_wxBoxSizer,
32802 &_swigt__p_wxCURHandler,
32803 &_swigt__p_wxCalculateLayoutEvent,
32804 &_swigt__p_wxChildFocusEvent,
32805 &_swigt__p_wxClipboardTextEvent,
32806 &_swigt__p_wxCloseEvent,
32807 &_swigt__p_wxColour,
32808 &_swigt__p_wxColourData,
32809 &_swigt__p_wxColourDialog,
32810 &_swigt__p_wxCommandEvent,
32811 &_swigt__p_wxContextMenuEvent,
32812 &_swigt__p_wxControl,
32813 &_swigt__p_wxControlWithItems,
32814 &_swigt__p_wxDC,
32815 &_swigt__p_wxDateEvent,
32816 &_swigt__p_wxDialog,
32817 &_swigt__p_wxDirDialog,
32818 &_swigt__p_wxDisplayChangedEvent,
32819 &_swigt__p_wxDropFilesEvent,
32820 &_swigt__p_wxDuplexMode,
32821 &_swigt__p_wxEraseEvent,
32822 &_swigt__p_wxEvent,
32823 &_swigt__p_wxEvtHandler,
32824 &_swigt__p_wxFSFile,
32825 &_swigt__p_wxFileDialog,
32826 &_swigt__p_wxFileSystem,
32827 &_swigt__p_wxFindDialogEvent,
32828 &_swigt__p_wxFindReplaceData,
32829 &_swigt__p_wxFindReplaceDialog,
32830 &_swigt__p_wxFlexGridSizer,
32831 &_swigt__p_wxFocusEvent,
32832 &_swigt__p_wxFont,
32833 &_swigt__p_wxFontData,
32834 &_swigt__p_wxFontDialog,
32835 &_swigt__p_wxFrame,
32836 &_swigt__p_wxGBSizerItem,
32837 &_swigt__p_wxGIFHandler,
32838 &_swigt__p_wxGridBagSizer,
32839 &_swigt__p_wxGridSizer,
32840 &_swigt__p_wxHtmlLinkInfo,
32841 &_swigt__p_wxICOHandler,
32842 &_swigt__p_wxIcon,
32843 &_swigt__p_wxIconBundle,
32844 &_swigt__p_wxIconizeEvent,
32845 &_swigt__p_wxIdleEvent,
32846 &_swigt__p_wxImage,
32847 &_swigt__p_wxImageHandler,
32848 &_swigt__p_wxIndividualLayoutConstraint,
32849 &_swigt__p_wxInitDialogEvent,
32850 &_swigt__p_wxJPEGHandler,
32851 &_swigt__p_wxKeyEvent,
32852 &_swigt__p_wxLayoutAlgorithm,
32853 &_swigt__p_wxLayoutConstraints,
32854 &_swigt__p_wxMDIChildFrame,
32855 &_swigt__p_wxMDIClientWindow,
32856 &_swigt__p_wxMDIParentFrame,
32857 &_swigt__p_wxMaximizeEvent,
32858 &_swigt__p_wxMenu,
32859 &_swigt__p_wxMenuBar,
32860 &_swigt__p_wxMenuEvent,
32861 &_swigt__p_wxMenuItem,
32862 &_swigt__p_wxMessageDialog,
32863 &_swigt__p_wxMiniFrame,
32864 &_swigt__p_wxMouseCaptureChangedEvent,
32865 &_swigt__p_wxMouseCaptureLostEvent,
32866 &_swigt__p_wxMouseEvent,
32867 &_swigt__p_wxMoveEvent,
32868 &_swigt__p_wxMultiChoiceDialog,
32869 &_swigt__p_wxNavigationKeyEvent,
32870 &_swigt__p_wxNcPaintEvent,
32871 &_swigt__p_wxNotifyEvent,
32872 &_swigt__p_wxNumberEntryDialog,
32873 &_swigt__p_wxObject,
32874 &_swigt__p_wxPCXHandler,
32875 &_swigt__p_wxPNGHandler,
32876 &_swigt__p_wxPNMHandler,
32877 &_swigt__p_wxPageSetupDialog,
32878 &_swigt__p_wxPageSetupDialogData,
32879 &_swigt__p_wxPaintEvent,
32880 &_swigt__p_wxPaletteChangedEvent,
32881 &_swigt__p_wxPanel,
32882 &_swigt__p_wxPaperSize,
32883 &_swigt__p_wxPasswordEntryDialog,
32884 &_swigt__p_wxPoint,
32885 &_swigt__p_wxPopupWindow,
32886 &_swigt__p_wxPreviewCanvas,
32887 &_swigt__p_wxPreviewControlBar,
32888 &_swigt__p_wxPreviewFrame,
32889 &_swigt__p_wxPrintData,
32890 &_swigt__p_wxPrintDialog,
32891 &_swigt__p_wxPrintDialogData,
32892 &_swigt__p_wxPrintPreview,
32893 &_swigt__p_wxPrinter,
32894 &_swigt__p_wxProgressDialog,
32895 &_swigt__p_wxPyApp,
32896 &_swigt__p_wxPyCommandEvent,
32897 &_swigt__p_wxPyEvent,
32898 &_swigt__p_wxPyHtmlListBox,
32899 &_swigt__p_wxPyImageHandler,
32900 &_swigt__p_wxPyPanel,
32901 &_swigt__p_wxPyPopupTransientWindow,
32902 &_swigt__p_wxPyPreviewControlBar,
32903 &_swigt__p_wxPyPreviewFrame,
32904 &_swigt__p_wxPyPrintPreview,
32905 &_swigt__p_wxPyPrintout,
32906 &_swigt__p_wxPyScrolledWindow,
32907 &_swigt__p_wxPySizer,
32908 &_swigt__p_wxPyTaskBarIcon,
32909 &_swigt__p_wxPyVListBox,
32910 &_swigt__p_wxPyVScrolledWindow,
32911 &_swigt__p_wxPyValidator,
32912 &_swigt__p_wxPyWindow,
32913 &_swigt__p_wxQueryLayoutInfoEvent,
32914 &_swigt__p_wxQueryNewPaletteEvent,
32915 &_swigt__p_wxRect,
32916 &_swigt__p_wxRegion,
32917 &_swigt__p_wxSashEvent,
32918 &_swigt__p_wxSashLayoutWindow,
32919 &_swigt__p_wxSashWindow,
32920 &_swigt__p_wxScrollEvent,
32921 &_swigt__p_wxScrollWinEvent,
32922 &_swigt__p_wxScrolledWindow,
32923 &_swigt__p_wxSetCursorEvent,
32924 &_swigt__p_wxShowEvent,
32925 &_swigt__p_wxSingleChoiceDialog,
32926 &_swigt__p_wxSize,
32927 &_swigt__p_wxSizeEvent,
32928 &_swigt__p_wxSizer,
32929 &_swigt__p_wxSizerItem,
32930 &_swigt__p_wxSplashScreen,
32931 &_swigt__p_wxSplashScreenWindow,
32932 &_swigt__p_wxSplitterEvent,
32933 &_swigt__p_wxSplitterWindow,
32934 &_swigt__p_wxStaticBoxSizer,
32935 &_swigt__p_wxStatusBar,
32936 &_swigt__p_wxStdDialogButtonSizer,
32937 &_swigt__p_wxString,
32938 &_swigt__p_wxSysColourChangedEvent,
32939 &_swigt__p_wxTIFFHandler,
32940 &_swigt__p_wxTaskBarIcon,
32941 &_swigt__p_wxTaskBarIconEvent,
32942 &_swigt__p_wxTextEntryDialog,
32943 &_swigt__p_wxTipWindow,
32944 &_swigt__p_wxToolBar,
32945 &_swigt__p_wxTopLevelWindow,
32946 &_swigt__p_wxUpdateUIEvent,
32947 &_swigt__p_wxValidator,
32948 &_swigt__p_wxVisualAttributes,
32949 &_swigt__p_wxWindow,
32950 &_swigt__p_wxWindowCreateEvent,
32951 &_swigt__p_wxWindowDestroyEvent,
32952 &_swigt__p_wxXPMHandler,
32953 };
32954
32955 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32977 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}};
32978 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32979 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}};
32980 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33008 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}};
33009 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33014 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
33015 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33023 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_wxTipWindow, _p_wxTipWindowTo_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}};
33024 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33036 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}};
33037 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33066 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
33067 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33069 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}};
33070 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33075 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}};
33076 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}};
33077 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33080 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}};
33081 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33092 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}};
33093 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}};
33094 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33100 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}};
33101 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33102 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}};
33103 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33114 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}};
33115 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33117 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
33118 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33119 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_wxTipWindow, _p_wxTipWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
33120
33121 static swig_cast_info *swig_cast_initial[] = {
33122 _swigc__p_bool,
33123 _swigc__p_char,
33124 _swigc__p_form_ops_t,
33125 _swigc__p_int,
33126 _swigc__p_unsigned_char,
33127 _swigc__p_unsigned_int,
33128 _swigc__p_unsigned_long,
33129 _swigc__p_wxANIHandler,
33130 _swigc__p_wxAcceleratorTable,
33131 _swigc__p_wxActivateEvent,
33132 _swigc__p_wxArrayInt,
33133 _swigc__p_wxBMPHandler,
33134 _swigc__p_wxBitmap,
33135 _swigc__p_wxBoxSizer,
33136 _swigc__p_wxCURHandler,
33137 _swigc__p_wxCalculateLayoutEvent,
33138 _swigc__p_wxChildFocusEvent,
33139 _swigc__p_wxClipboardTextEvent,
33140 _swigc__p_wxCloseEvent,
33141 _swigc__p_wxColour,
33142 _swigc__p_wxColourData,
33143 _swigc__p_wxColourDialog,
33144 _swigc__p_wxCommandEvent,
33145 _swigc__p_wxContextMenuEvent,
33146 _swigc__p_wxControl,
33147 _swigc__p_wxControlWithItems,
33148 _swigc__p_wxDC,
33149 _swigc__p_wxDateEvent,
33150 _swigc__p_wxDialog,
33151 _swigc__p_wxDirDialog,
33152 _swigc__p_wxDisplayChangedEvent,
33153 _swigc__p_wxDropFilesEvent,
33154 _swigc__p_wxDuplexMode,
33155 _swigc__p_wxEraseEvent,
33156 _swigc__p_wxEvent,
33157 _swigc__p_wxEvtHandler,
33158 _swigc__p_wxFSFile,
33159 _swigc__p_wxFileDialog,
33160 _swigc__p_wxFileSystem,
33161 _swigc__p_wxFindDialogEvent,
33162 _swigc__p_wxFindReplaceData,
33163 _swigc__p_wxFindReplaceDialog,
33164 _swigc__p_wxFlexGridSizer,
33165 _swigc__p_wxFocusEvent,
33166 _swigc__p_wxFont,
33167 _swigc__p_wxFontData,
33168 _swigc__p_wxFontDialog,
33169 _swigc__p_wxFrame,
33170 _swigc__p_wxGBSizerItem,
33171 _swigc__p_wxGIFHandler,
33172 _swigc__p_wxGridBagSizer,
33173 _swigc__p_wxGridSizer,
33174 _swigc__p_wxHtmlLinkInfo,
33175 _swigc__p_wxICOHandler,
33176 _swigc__p_wxIcon,
33177 _swigc__p_wxIconBundle,
33178 _swigc__p_wxIconizeEvent,
33179 _swigc__p_wxIdleEvent,
33180 _swigc__p_wxImage,
33181 _swigc__p_wxImageHandler,
33182 _swigc__p_wxIndividualLayoutConstraint,
33183 _swigc__p_wxInitDialogEvent,
33184 _swigc__p_wxJPEGHandler,
33185 _swigc__p_wxKeyEvent,
33186 _swigc__p_wxLayoutAlgorithm,
33187 _swigc__p_wxLayoutConstraints,
33188 _swigc__p_wxMDIChildFrame,
33189 _swigc__p_wxMDIClientWindow,
33190 _swigc__p_wxMDIParentFrame,
33191 _swigc__p_wxMaximizeEvent,
33192 _swigc__p_wxMenu,
33193 _swigc__p_wxMenuBar,
33194 _swigc__p_wxMenuEvent,
33195 _swigc__p_wxMenuItem,
33196 _swigc__p_wxMessageDialog,
33197 _swigc__p_wxMiniFrame,
33198 _swigc__p_wxMouseCaptureChangedEvent,
33199 _swigc__p_wxMouseCaptureLostEvent,
33200 _swigc__p_wxMouseEvent,
33201 _swigc__p_wxMoveEvent,
33202 _swigc__p_wxMultiChoiceDialog,
33203 _swigc__p_wxNavigationKeyEvent,
33204 _swigc__p_wxNcPaintEvent,
33205 _swigc__p_wxNotifyEvent,
33206 _swigc__p_wxNumberEntryDialog,
33207 _swigc__p_wxObject,
33208 _swigc__p_wxPCXHandler,
33209 _swigc__p_wxPNGHandler,
33210 _swigc__p_wxPNMHandler,
33211 _swigc__p_wxPageSetupDialog,
33212 _swigc__p_wxPageSetupDialogData,
33213 _swigc__p_wxPaintEvent,
33214 _swigc__p_wxPaletteChangedEvent,
33215 _swigc__p_wxPanel,
33216 _swigc__p_wxPaperSize,
33217 _swigc__p_wxPasswordEntryDialog,
33218 _swigc__p_wxPoint,
33219 _swigc__p_wxPopupWindow,
33220 _swigc__p_wxPreviewCanvas,
33221 _swigc__p_wxPreviewControlBar,
33222 _swigc__p_wxPreviewFrame,
33223 _swigc__p_wxPrintData,
33224 _swigc__p_wxPrintDialog,
33225 _swigc__p_wxPrintDialogData,
33226 _swigc__p_wxPrintPreview,
33227 _swigc__p_wxPrinter,
33228 _swigc__p_wxProgressDialog,
33229 _swigc__p_wxPyApp,
33230 _swigc__p_wxPyCommandEvent,
33231 _swigc__p_wxPyEvent,
33232 _swigc__p_wxPyHtmlListBox,
33233 _swigc__p_wxPyImageHandler,
33234 _swigc__p_wxPyPanel,
33235 _swigc__p_wxPyPopupTransientWindow,
33236 _swigc__p_wxPyPreviewControlBar,
33237 _swigc__p_wxPyPreviewFrame,
33238 _swigc__p_wxPyPrintPreview,
33239 _swigc__p_wxPyPrintout,
33240 _swigc__p_wxPyScrolledWindow,
33241 _swigc__p_wxPySizer,
33242 _swigc__p_wxPyTaskBarIcon,
33243 _swigc__p_wxPyVListBox,
33244 _swigc__p_wxPyVScrolledWindow,
33245 _swigc__p_wxPyValidator,
33246 _swigc__p_wxPyWindow,
33247 _swigc__p_wxQueryLayoutInfoEvent,
33248 _swigc__p_wxQueryNewPaletteEvent,
33249 _swigc__p_wxRect,
33250 _swigc__p_wxRegion,
33251 _swigc__p_wxSashEvent,
33252 _swigc__p_wxSashLayoutWindow,
33253 _swigc__p_wxSashWindow,
33254 _swigc__p_wxScrollEvent,
33255 _swigc__p_wxScrollWinEvent,
33256 _swigc__p_wxScrolledWindow,
33257 _swigc__p_wxSetCursorEvent,
33258 _swigc__p_wxShowEvent,
33259 _swigc__p_wxSingleChoiceDialog,
33260 _swigc__p_wxSize,
33261 _swigc__p_wxSizeEvent,
33262 _swigc__p_wxSizer,
33263 _swigc__p_wxSizerItem,
33264 _swigc__p_wxSplashScreen,
33265 _swigc__p_wxSplashScreenWindow,
33266 _swigc__p_wxSplitterEvent,
33267 _swigc__p_wxSplitterWindow,
33268 _swigc__p_wxStaticBoxSizer,
33269 _swigc__p_wxStatusBar,
33270 _swigc__p_wxStdDialogButtonSizer,
33271 _swigc__p_wxString,
33272 _swigc__p_wxSysColourChangedEvent,
33273 _swigc__p_wxTIFFHandler,
33274 _swigc__p_wxTaskBarIcon,
33275 _swigc__p_wxTaskBarIconEvent,
33276 _swigc__p_wxTextEntryDialog,
33277 _swigc__p_wxTipWindow,
33278 _swigc__p_wxToolBar,
33279 _swigc__p_wxTopLevelWindow,
33280 _swigc__p_wxUpdateUIEvent,
33281 _swigc__p_wxValidator,
33282 _swigc__p_wxVisualAttributes,
33283 _swigc__p_wxWindow,
33284 _swigc__p_wxWindowCreateEvent,
33285 _swigc__p_wxWindowDestroyEvent,
33286 _swigc__p_wxXPMHandler,
33287 };
33288
33289
33290 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33291
33292 static swig_const_info swig_const_table[] = {
33293 {0, 0, 0, 0.0, 0, 0}};
33294
33295 #ifdef __cplusplus
33296 }
33297 #endif
33298 /* -----------------------------------------------------------------------------
33299 * Type initialization:
33300 * This problem is tough by the requirement that no dynamic
33301 * memory is used. Also, since swig_type_info structures store pointers to
33302 * swig_cast_info structures and swig_cast_info structures store pointers back
33303 * to swig_type_info structures, we need some lookup code at initialization.
33304 * The idea is that swig generates all the structures that are needed.
33305 * The runtime then collects these partially filled structures.
33306 * The SWIG_InitializeModule function takes these initial arrays out of
33307 * swig_module, and does all the lookup, filling in the swig_module.types
33308 * array with the correct data and linking the correct swig_cast_info
33309 * structures together.
33310 *
33311 * The generated swig_type_info structures are assigned staticly to an initial
33312 * array. We just loop though that array, and handle each type individually.
33313 * First we lookup if this type has been already loaded, and if so, use the
33314 * loaded structure instead of the generated one. Then we have to fill in the
33315 * cast linked list. The cast data is initially stored in something like a
33316 * two-dimensional array. Each row corresponds to a type (there are the same
33317 * number of rows as there are in the swig_type_initial array). Each entry in
33318 * a column is one of the swig_cast_info structures for that type.
33319 * The cast_initial array is actually an array of arrays, because each row has
33320 * a variable number of columns. So to actually build the cast linked list,
33321 * we find the array of casts associated with the type, and loop through it
33322 * adding the casts to the list. The one last trick we need to do is making
33323 * sure the type pointer in the swig_cast_info struct is correct.
33324 *
33325 * First off, we lookup the cast->type name to see if it is already loaded.
33326 * There are three cases to handle:
33327 * 1) If the cast->type has already been loaded AND the type we are adding
33328 * casting info to has not been loaded (it is in this module), THEN we
33329 * replace the cast->type pointer with the type pointer that has already
33330 * been loaded.
33331 * 2) If BOTH types (the one we are adding casting info to, and the
33332 * cast->type) are loaded, THEN the cast info has already been loaded by
33333 * the previous module so we just ignore it.
33334 * 3) Finally, if cast->type has not already been loaded, then we add that
33335 * swig_cast_info to the linked list (because the cast->type) pointer will
33336 * be correct.
33337 * ----------------------------------------------------------------------------- */
33338
33339 #ifdef __cplusplus
33340 extern "C" {
33341 #if 0
33342 } /* c-mode */
33343 #endif
33344 #endif
33345
33346 #if 0
33347 #define SWIGRUNTIME_DEBUG
33348 #endif
33349
33350 SWIGRUNTIME void
33351 SWIG_InitializeModule(void *clientdata) {
33352 size_t i;
33353 swig_module_info *module_head;
33354 static int init_run = 0;
33355
33356 clientdata = clientdata;
33357
33358 if (init_run) return;
33359 init_run = 1;
33360
33361 /* Initialize the swig_module */
33362 swig_module.type_initial = swig_type_initial;
33363 swig_module.cast_initial = swig_cast_initial;
33364
33365 /* Try and load any already created modules */
33366 module_head = SWIG_GetModule(clientdata);
33367 if (module_head) {
33368 swig_module.next = module_head->next;
33369 module_head->next = &swig_module;
33370 } else {
33371 /* This is the first module loaded */
33372 swig_module.next = &swig_module;
33373 SWIG_SetModule(clientdata, &swig_module);
33374 }
33375
33376 /* Now work on filling in swig_module.types */
33377 #ifdef SWIGRUNTIME_DEBUG
33378 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33379 #endif
33380 for (i = 0; i < swig_module.size; ++i) {
33381 swig_type_info *type = 0;
33382 swig_type_info *ret;
33383 swig_cast_info *cast;
33384
33385 #ifdef SWIGRUNTIME_DEBUG
33386 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33387 #endif
33388
33389 /* if there is another module already loaded */
33390 if (swig_module.next != &swig_module) {
33391 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33392 }
33393 if (type) {
33394 /* Overwrite clientdata field */
33395 #ifdef SWIGRUNTIME_DEBUG
33396 printf("SWIG_InitializeModule: found type %s\n", type->name);
33397 #endif
33398 if (swig_module.type_initial[i]->clientdata) {
33399 type->clientdata = swig_module.type_initial[i]->clientdata;
33400 #ifdef SWIGRUNTIME_DEBUG
33401 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33402 #endif
33403 }
33404 } else {
33405 type = swig_module.type_initial[i];
33406 }
33407
33408 /* Insert casting types */
33409 cast = swig_module.cast_initial[i];
33410 while (cast->type) {
33411 /* Don't need to add information already in the list */
33412 ret = 0;
33413 #ifdef SWIGRUNTIME_DEBUG
33414 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33415 #endif
33416 if (swig_module.next != &swig_module) {
33417 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33418 #ifdef SWIGRUNTIME_DEBUG
33419 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33420 #endif
33421 }
33422 if (ret) {
33423 if (type == swig_module.type_initial[i]) {
33424 #ifdef SWIGRUNTIME_DEBUG
33425 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33426 #endif
33427 cast->type = ret;
33428 ret = 0;
33429 } else {
33430 /* Check for casting already in the list */
33431 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33432 #ifdef SWIGRUNTIME_DEBUG
33433 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33434 #endif
33435 if (!ocast) ret = 0;
33436 }
33437 }
33438
33439 if (!ret) {
33440 #ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33442 #endif
33443 if (type->cast) {
33444 type->cast->prev = cast;
33445 cast->next = type->cast;
33446 }
33447 type->cast = cast;
33448 }
33449 cast++;
33450 }
33451 /* Set entry in modules->types array equal to the type */
33452 swig_module.types[i] = type;
33453 }
33454 swig_module.types[i] = 0;
33455
33456 #ifdef SWIGRUNTIME_DEBUG
33457 printf("**** SWIG_InitializeModule: Cast List ******\n");
33458 for (i = 0; i < swig_module.size; ++i) {
33459 int j = 0;
33460 swig_cast_info *cast = swig_module.cast_initial[i];
33461 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33462 while (cast->type) {
33463 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33464 cast++;
33465 ++j;
33466 }
33467 printf("---- Total casts: %d\n",j);
33468 }
33469 printf("**** SWIG_InitializeModule: Cast List ******\n");
33470 #endif
33471 }
33472
33473 /* This function will propagate the clientdata field of type to
33474 * any new swig_type_info structures that have been added into the list
33475 * of equivalent types. It is like calling
33476 * SWIG_TypeClientData(type, clientdata) a second time.
33477 */
33478 SWIGRUNTIME void
33479 SWIG_PropagateClientData(void) {
33480 size_t i;
33481 swig_cast_info *equiv;
33482 static int init_run = 0;
33483
33484 if (init_run) return;
33485 init_run = 1;
33486
33487 for (i = 0; i < swig_module.size; i++) {
33488 if (swig_module.types[i]->clientdata) {
33489 equiv = swig_module.types[i]->cast;
33490 while (equiv) {
33491 if (!equiv->converter) {
33492 if (equiv->type && !equiv->type->clientdata)
33493 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33494 }
33495 equiv = equiv->next;
33496 }
33497 }
33498 }
33499 }
33500
33501 #ifdef __cplusplus
33502 #if 0
33503 {
33504 /* c-mode */
33505 #endif
33506 }
33507 #endif
33508
33509
33510
33511 #ifdef __cplusplus
33512 extern "C" {
33513 #endif
33514
33515 /* Python-specific SWIG API */
33516 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33517 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33518 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33519
33520 /* -----------------------------------------------------------------------------
33521 * global variable support code.
33522 * ----------------------------------------------------------------------------- */
33523
33524 typedef struct swig_globalvar {
33525 char *name; /* Name of global variable */
33526 PyObject *(*get_attr)(void); /* Return the current value */
33527 int (*set_attr)(PyObject *); /* Set the value */
33528 struct swig_globalvar *next;
33529 } swig_globalvar;
33530
33531 typedef struct swig_varlinkobject {
33532 PyObject_HEAD
33533 swig_globalvar *vars;
33534 } swig_varlinkobject;
33535
33536 SWIGINTERN PyObject *
33537 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33538 return PyString_FromString("<Swig global variables>");
33539 }
33540
33541 SWIGINTERN PyObject *
33542 swig_varlink_str(swig_varlinkobject *v) {
33543 PyObject *str = PyString_FromString("(");
33544 swig_globalvar *var;
33545 for (var = v->vars; var; var=var->next) {
33546 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33547 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33548 }
33549 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33550 return str;
33551 }
33552
33553 SWIGINTERN int
33554 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33555 PyObject *str = swig_varlink_str(v);
33556 fprintf(fp,"Swig global variables ");
33557 fprintf(fp,"%s\n", PyString_AsString(str));
33558 Py_DECREF(str);
33559 return 0;
33560 }
33561
33562 SWIGINTERN void
33563 swig_varlink_dealloc(swig_varlinkobject *v) {
33564 swig_globalvar *var = v->vars;
33565 while (var) {
33566 swig_globalvar *n = var->next;
33567 free(var->name);
33568 free(var);
33569 var = n;
33570 }
33571 }
33572
33573 SWIGINTERN PyObject *
33574 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33575 PyObject *res = NULL;
33576 swig_globalvar *var = v->vars;
33577 while (var) {
33578 if (strcmp(var->name,n) == 0) {
33579 res = (*var->get_attr)();
33580 break;
33581 }
33582 var = var->next;
33583 }
33584 if (res == NULL && !PyErr_Occurred()) {
33585 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33586 }
33587 return res;
33588 }
33589
33590 SWIGINTERN int
33591 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33592 int res = 1;
33593 swig_globalvar *var = v->vars;
33594 while (var) {
33595 if (strcmp(var->name,n) == 0) {
33596 res = (*var->set_attr)(p);
33597 break;
33598 }
33599 var = var->next;
33600 }
33601 if (res == 1 && !PyErr_Occurred()) {
33602 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33603 }
33604 return res;
33605 }
33606
33607 SWIGINTERN PyTypeObject*
33608 swig_varlink_type(void) {
33609 static char varlink__doc__[] = "Swig var link object";
33610 static PyTypeObject varlink_type;
33611 static int type_init = 0;
33612 if (!type_init) {
33613 const PyTypeObject tmp
33614 = {
33615 PyObject_HEAD_INIT(NULL)
33616 0, /* Number of items in variable part (ob_size) */
33617 (char *)"swigvarlink", /* Type name (tp_name) */
33618 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33619 0, /* Itemsize (tp_itemsize) */
33620 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33621 (printfunc) swig_varlink_print, /* Print (tp_print) */
33622 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33623 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33624 0, /* tp_compare */
33625 (reprfunc) swig_varlink_repr, /* tp_repr */
33626 0, /* tp_as_number */
33627 0, /* tp_as_sequence */
33628 0, /* tp_as_mapping */
33629 0, /* tp_hash */
33630 0, /* tp_call */
33631 (reprfunc)swig_varlink_str, /* tp_str */
33632 0, /* tp_getattro */
33633 0, /* tp_setattro */
33634 0, /* tp_as_buffer */
33635 0, /* tp_flags */
33636 varlink__doc__, /* tp_doc */
33637 0, /* tp_traverse */
33638 0, /* tp_clear */
33639 0, /* tp_richcompare */
33640 0, /* tp_weaklistoffset */
33641 #if PY_VERSION_HEX >= 0x02020000
33642 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33643 #endif
33644 #if PY_VERSION_HEX >= 0x02030000
33645 0, /* tp_del */
33646 #endif
33647 #ifdef COUNT_ALLOCS
33648 0,0,0,0 /* tp_alloc -> tp_next */
33649 #endif
33650 };
33651 varlink_type = tmp;
33652 varlink_type.ob_type = &PyType_Type;
33653 type_init = 1;
33654 }
33655 return &varlink_type;
33656 }
33657
33658 /* Create a variable linking object for use later */
33659 SWIGINTERN PyObject *
33660 SWIG_Python_newvarlink(void) {
33661 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33662 if (result) {
33663 result->vars = 0;
33664 }
33665 return ((PyObject*) result);
33666 }
33667
33668 SWIGINTERN void
33669 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33670 swig_varlinkobject *v = (swig_varlinkobject *) p;
33671 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33672 if (gv) {
33673 size_t size = strlen(name)+1;
33674 gv->name = (char *)malloc(size);
33675 if (gv->name) {
33676 strncpy(gv->name,name,size);
33677 gv->get_attr = get_attr;
33678 gv->set_attr = set_attr;
33679 gv->next = v->vars;
33680 }
33681 }
33682 v->vars = gv;
33683 }
33684
33685 SWIGINTERN PyObject *
33686 SWIG_globals() {
33687 static PyObject *_SWIG_globals = 0;
33688 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33689 return _SWIG_globals;
33690 }
33691
33692 /* -----------------------------------------------------------------------------
33693 * constants/methods manipulation
33694 * ----------------------------------------------------------------------------- */
33695
33696 /* Install Constants */
33697 SWIGINTERN void
33698 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33699 PyObject *obj = 0;
33700 size_t i;
33701 for (i = 0; constants[i].type; ++i) {
33702 switch(constants[i].type) {
33703 case SWIG_PY_POINTER:
33704 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33705 break;
33706 case SWIG_PY_BINARY:
33707 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33708 break;
33709 default:
33710 obj = 0;
33711 break;
33712 }
33713 if (obj) {
33714 PyDict_SetItemString(d, constants[i].name, obj);
33715 Py_DECREF(obj);
33716 }
33717 }
33718 }
33719
33720 /* -----------------------------------------------------------------------------*/
33721 /* Fix SwigMethods to carry the callback ptrs when needed */
33722 /* -----------------------------------------------------------------------------*/
33723
33724 SWIGINTERN void
33725 SWIG_Python_FixMethods(PyMethodDef *methods,
33726 swig_const_info *const_table,
33727 swig_type_info **types,
33728 swig_type_info **types_initial) {
33729 size_t i;
33730 for (i = 0; methods[i].ml_name; ++i) {
33731 const char *c = methods[i].ml_doc;
33732 if (c && (c = strstr(c, "swig_ptr: "))) {
33733 int j;
33734 swig_const_info *ci = 0;
33735 const char *name = c + 10;
33736 for (j = 0; const_table[j].type; ++j) {
33737 if (strncmp(const_table[j].name, name,
33738 strlen(const_table[j].name)) == 0) {
33739 ci = &(const_table[j]);
33740 break;
33741 }
33742 }
33743 if (ci) {
33744 size_t shift = (ci->ptype) - types;
33745 swig_type_info *ty = types_initial[shift];
33746 size_t ldoc = (c - methods[i].ml_doc);
33747 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33748 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33749 if (ndoc) {
33750 char *buff = ndoc;
33751 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33752 if (ptr) {
33753 strncpy(buff, methods[i].ml_doc, ldoc);
33754 buff += ldoc;
33755 strncpy(buff, "swig_ptr: ", 10);
33756 buff += 10;
33757 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33758 methods[i].ml_doc = ndoc;
33759 }
33760 }
33761 }
33762 }
33763 }
33764 }
33765
33766 #ifdef __cplusplus
33767 }
33768 #endif
33769
33770 /* -----------------------------------------------------------------------------*
33771 * Partial Init method
33772 * -----------------------------------------------------------------------------*/
33773
33774 #ifdef __cplusplus
33775 extern "C"
33776 #endif
33777 SWIGEXPORT void SWIG_init(void) {
33778 PyObject *m, *d;
33779
33780 /* Fix SwigMethods to carry the callback ptrs when needed */
33781 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33782
33783 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33784 d = PyModule_GetDict(m);
33785
33786 SWIG_InitializeModule(0);
33787 SWIG_InstallConstants(d,swig_const_table);
33788
33789
33790 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33791 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33792 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33793 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33794 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33795 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33796 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33797 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33798 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33799 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33800 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33801 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33802 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33803 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33804 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33805 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33806 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33807 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33808 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33809 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33810 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33811 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33812 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33813 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33814 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33815 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33816 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33817 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33818 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33819 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
33820 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33821 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33822 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33823 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33824 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
33825 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
33826 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33827 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33828 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33829 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33830 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33831 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33832 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33833 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33834 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33835 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33836 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33837 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33838 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33839 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33840 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33841 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33842 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33843 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33844 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33845 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33846 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33847 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33848 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33849 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33850 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33851 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33852 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33853 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33854 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33855 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33856 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33857 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33858 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33859 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33860 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33861 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33862 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33863 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33864 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33865 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33866 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33867 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33868 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33869 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33870 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33871 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33872 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33873 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33874 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33875 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33876 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33877 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33878 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33879 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33880 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33881 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33882 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33883 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33884 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33885 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33886 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33887 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33888 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33889 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33890 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33891 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33892 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33893 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33894 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33895
33896 // Map renamed classes back to their common name for OOR
33897 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33898 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33899 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33900
33901 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33902 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33903 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33904 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33905 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33906 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33907 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33908 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33909 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33910 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33911 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33912 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33913 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33914 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33915 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33916 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33917 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33918 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33919 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33920 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33921 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33922 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33923 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33924 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33925 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33926 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33927 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33928 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33929 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33930 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
33931 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33932 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33933 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33934 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33935 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
33936 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
33937 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
33938 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
33939 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
33940 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
33941 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
33942 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
33943 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33944 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33945 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33946 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33947 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33948 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33949 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33950 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33951 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33954 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33955 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33956 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33957 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33958 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33959 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33960 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33961 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33962 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33963 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33964 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33965 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33966 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33967 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33968 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33969 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33970 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33971 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33972 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33973 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33974 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33975 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33976 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33977 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33978 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33979 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33980 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33981 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33982 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33983 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33984 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33985 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33986 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33987 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33988 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33989 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33990 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33991 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33992 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33993 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33994 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33995 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33996 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33997 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33998 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33999 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34000 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34001 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34002 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34003 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34004 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34005
34006 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34007
34008 }
34009